/* Palit — shared styles. Mobile first. */

:root {
  --bg: #f7f4ee;
  --bg-tint: #f0ece3;
  --surface: #fffdf9;
  --ink: #1c1b19;
  --ink-2: #4a4741;
  --muted: #6b675f;
  --line: #e4dfd4;
  --line-strong: #d3cdbf;
  --accent: #d9733b;
  --accent-ink: #a8481a; /* accent for small text: 5.6:1 on --bg */
  --accent-soft: #f6e3d6;
  --ok: #3f7d4e;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(28, 27, 25, 0.05), 0 2px 8px rgba(28, 27, 25, 0.04);
  --shadow-md: 0 2px 4px rgba(28, 27, 25, 0.04), 0 12px 32px rgba(28, 27, 25, 0.08);
  --shadow-lg: 0 4px 8px rgba(28, 27, 25, 0.04), 0 28px 70px rgba(28, 27, 25, 0.14);

  --gutter: 16px;
  --header-h: 64px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
canvas {
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.wordmark span {
  color: var(--accent);
}
.wordmark-sm {
  font-size: 22px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn[disabled] {
  opacity: 0.65;
  cursor: default;
  transform: none;
}
.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: #000;
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}
.btn-accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(217, 115, 59, 0.28);
}
.btn-accent:hover {
  background: #e0804d;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom-color: var(--line);
}
.nav-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-row .wordmark {
  margin-right: auto;
}
.site-nav {
  display: none;
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.menu-open .nav-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-open .nav-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
/* mobile dropdown */
.menu-open .site-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 16px;
  box-shadow: var(--shadow-md);
}
.menu-open .site-nav a {
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.menu-open .site-nav a:last-child {
  border-bottom: 0;
}

@media (min-width: 820px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: flex;
    gap: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .site-nav a {
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    padding: 8px 14px;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .site-nav a:hover {
    color: var(--ink);
    background: rgba(28, 27, 25, 0.06);
  }
  .nav-row {
    position: relative;
  }
}

/* ---------- type ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 5.2vw, 56px);
}
h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.eyebrow-light {
  color: #f0a77c;
}
.accent {
  color: var(--accent);
}
.fine {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.center {
  text-align: center;
  margin-top: 28px;
  max-width: 62ch;
  margin-inline: auto;
}

/* ---------- sections ---------- */
.section {
  padding: 72px 0;
}
.section-tint {
  background: var(--bg-tint);
}
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section-sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 60ch;
}

@media (min-width: 820px) {
  :root {
    --gutter: 32px;
  }
  .section {
    padding: 112px 0;
  }
  .section-head {
    margin-bottom: 56px;
  }
}

/* reveal (only when JS is on) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- hero ---------- */
.hero {
  padding: 28px 0 56px;
  overflow: clip;
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(217, 115, 59, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 115, 59, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(217, 115, 59, 0);
  }
}
.hero h1 {
  font-size: clamp(46px, 12.5vw, 104px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.96;
}
.lede {
  margin-top: 24px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.cta-row .btn {
  flex: 1 1 160px;
}
.hero-fine {
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}
.hero-visual .stage {
  aspect-ratio: 1 / 1;
  max-height: 560px;
  width: 100%;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 50% 18%, #fffdf9 0%, #f3eee4 55%, #e9e2d4 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.stage-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

@media (min-width: 960px) {
  .hero {
    padding: 56px 0 96px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }
  .cta-row .btn {
    flex: 0 0 auto;
  }
}

/* ---------- stage (3D container + fallback) ---------- */
.stage {
  position: relative;
  overflow: hidden;
}
.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
.stage-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8%;
  transition: opacity 0.6s ease;
}
.stage-fallback .iso {
  width: 100%;
  height: 100%;
  max-width: 460px;
}
.stage.is-ready .stage-fallback {
  opacity: 0;
  pointer-events: none;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: s;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
}
.step-ico {
  display: block;
  width: 40px;
  height: 40px;
  margin: 22px 0 22px;
  color: var(--ink);
}
.step h3 {
  margin-bottom: 10px;
}
.step p {
  color: var(--ink-2);
  font-size: 15.5px;
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ---------- compare ---------- */
.compare {
  display: grid;
  gap: 16px;
}
.compare-col {
  border-radius: var(--r-lg);
  padding: 30px 26px;
}
.compare-col h3 {
  font-size: 22px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  min-height: 30px;
}
.compare-col li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  font-size: 17px;
  border-top: 1px solid;
}
.compare-old {
  background: transparent;
  border: 1px dashed var(--line-strong);
  color: var(--ink-2);
}
.compare-old li {
  border-color: var(--line);
}
.compare-new {
  background: var(--ink);
  color: #f7f4ee;
  box-shadow: var(--shadow-lg);
}
.compare-new li {
  border-color: rgba(255, 255, 255, 0.12);
}
.compare-new .wordmark {
  color: #fff;
  font-size: 30px;
}
.mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 600;
}
.mark-x {
  background: rgba(28, 27, 25, 0.07);
  color: var(--muted);
}
.mark-ok {
  background: var(--accent);
  color: var(--ink);
}
.mark-ok svg {
  width: 14px;
  height: 14px;
}
@media (min-width: 820px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .compare-col {
    padding: 40px 40px 34px;
  }
}

/* ---------- dashboard mock ---------- */
.dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1080px;
  margin-inline: auto;
}
.dash-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbf8f2;
}
.dash-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}
.dash-sample {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-body {
  display: grid;
  gap: 16px;
  padding: 16px;
  user-select: none;
}
.pallet-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
}
.pc-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pc-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 4px 0 14px;
}
.pc-stack {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: linear-gradient(#ede6d8, #e6dece);
  border-radius: 12px;
  margin-bottom: 14px;
}
.pc-stack i {
  display: block;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(90deg, #57534d 0 24%, var(--accent) 24% 30%, #57534d 30% 74%, var(--accent) 74% 80%, #57534d 80%);
}
.pc-stack::after {
  content: '';
  display: block;
  height: 7px;
  border-radius: 2px;
  background: #c9a26d;
  margin-top: 2px;
}
.pc-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.pc-meta dt {
  color: var(--muted);
}
.pc-meta dd {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot-ok {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}
.pc-btn {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 600;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  margin-bottom: 14px;
}
.search svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
}
.search-text {
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-hit {
  margin-left: auto;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
}
.box-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bx {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px 13px;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.bx b {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.bx span {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bx small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bx.is-sel {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 115, 59, 0.14);
}
.bx.is-sel b {
  color: var(--accent-ink);
}
.detail {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #f7f4ee;
}
.detail-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.detail-sub {
  font-size: 13.5px;
  color: #cfc9bc;
  margin-top: 2px;
}
.fetch-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
}
.fetch-btn small {
  font-weight: 500;
  letter-spacing: 0;
  font-size: 12.5px;
}
@media (min-width: 560px) {
  .box-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .dash-body {
    grid-template-columns: 250px minmax(0, 1fr);
    padding: 24px;
    gap: 24px;
  }
  .box-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- pricing ---------- */
.toggle-row {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.seg {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  background: rgba(28, 27, 25, 0.07);
  border-radius: 999px;
  max-width: 100%;
}
.seg button {
  border: 0;
  background: transparent;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.seg button.is-on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.seg-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-grid {
  display: grid;
  gap: 16px;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price-card.is-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-blurb {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
}
.price .amt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price .per {
  color: var(--muted);
  font-size: 15px;
}
.price-note {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  min-height: 1.5em;
}
.ticks {
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
  flex: 1;
}
.ticks li {
  position: relative;
  padding-left: 26px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.ticks strong {
  color: var(--ink);
  font-weight: 600;
}
.price-card .btn {
  width: 100%;
}
@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .price-card {
    padding: 36px 32px 32px;
  }
}

.fees {
  margin-top: 28px;
  background: transparent;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 26px 22px;
}
.fees-head h3 {
  font-size: 20px;
}
.fees-head p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}
.fee-list {
  margin-top: 18px;
}
.fee-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.fee-list strong {
  display: block;
  font-weight: 600;
  font-size: 16px;
}
.fee-list span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.fee-amt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.03em;
  text-align: left;
  flex-basis: 100%;
}
.fee-amt s {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}
.fee-amt em {
  font-style: normal;
  color: var(--ok);
}
.fee-amt small {
  display: block;
  font-family: var(--font);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 34ch;
}
@media (min-width: 520px) {
  .fee-amt {
    flex-basis: auto;
    text-align: right;
  }
  .fee-amt small {
    margin-left: auto;
  }
}
@media (min-width: 820px) {
  .fees {
    padding: 34px 40px;
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 40px;
  }
  .fee-list {
    margin-top: 0;
  }
  .fee-list li:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  gap: 8px;
}
.faq {
  max-width: 820px;
}
.faq details {
  border-top: 1px solid var(--line-strong);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.faq summary:hover::after {
  background-color: var(--surface);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 44px 24px 2px;
  color: var(--ink-2);
  font-size: 16.5px;
  display: grid;
  gap: 12px;
  max-width: 70ch;
}
.faq details[open] .faq-a {
  animation: faqIn 0.3s ease;
}
@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- CTA / waitlist ---------- */
.section-cta {
  padding-top: 24px;
}
.cta-card {
  background: var(--ink);
  color: #f7f4ee;
  border-radius: 32px;
  padding: 36px 22px;
  display: grid;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 115, 59, 0.32), rgba(217, 115, 59, 0) 70%);
  pointer-events: none;
}
.cta-copy,
.wl-form {
  position: relative;
}
.cta-copy h2 {
  font-size: clamp(34px, 5.4vw, 56px);
  color: #fff;
}
.cta-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: #d6d0c4;
  font-size: 17.5px;
  max-width: 44ch;
}
.wl-form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 13.5px;
  font-weight: 500;
  color: #e3ddd0;
}
.req {
  color: #b9b2a3;
  font-weight: 400;
}
.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px; /* prevents iOS zoom */
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input::placeholder {
  color: #8a8579;
}
.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wl-form .btn {
  margin-top: 6px;
}
.wl-form .btn:focus-visible {
  outline-color: #fff;
}
.form-status {
  min-height: 1.5em;
  font-size: 14.5px;
  color: #d6d0c4;
}
.form-status[data-kind='success'] {
  color: #9fe0b0;
}
.form-status[data-kind='error'] {
  color: #ffb199;
}
@media (min-width: 900px) {
  .cta-card {
    padding: 64px 56px;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 52px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.footer-tag {
  margin-top: 10px;
  color: var(--ink-2);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  padding: 4px 0;
}
.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-fine {
  color: var(--muted);
  font-size: 13.5px;
  display: grid;
  gap: 4px;
}
@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
    align-items: start;
  }
  .footer-fine {
    text-align: right;
  }
}

/* ---------- configurator ---------- */
.cfg {
  padding: 12px 0 40px;
}
.cfg-grid {
  display: grid;
  gap: 24px;
}
.cfg-stage-wrap {
  position: relative;
  min-width: 0;
}
.cfg-stage {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 520px;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 50% 18%, #fffdf9 0%, #f3eee4 55%, #e9e2d4 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.stage-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--r-lg);
}
.stage-ui > * {
  pointer-events: auto;
}
.chip-row {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.view-bar {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.view-bar button {
  min-height: 38px;
  min-width: 56px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.view-bar button:hover {
  background: rgba(28, 27, 25, 0.06);
}
.view-bar button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
.stage-hint {
  position: absolute;
  right: 16px;
  top: 20px;
  font-size: 12px;
  color: var(--muted);
  display: none;
}
.cfg-stage-wrap.no-webgl .stage-ui {
  display: none;
}
.cfg-stage.no-webgl .stage-fallback {
  opacity: 1;
}

.cfg-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px 28px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.cfg-title {
  font-size: clamp(34px, 6vw, 48px);
  letter-spacing: -0.045em;
}
.cfg-sub {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16px;
}
.pkg-fieldset {
  border: 0;
  padding: 0;
  margin: 26px 0 0;
  min-width: 0;
}
.label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 0;
}
.pkg-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pkg-opt {
  position: relative;
  display: block;
  cursor: pointer;
}
.pkg-opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.pkg-card {
  display: grid;
  gap: 2px;
  padding: 14px 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  height: 100%;
}
.pkg-opt:hover .pkg-card {
  border-color: var(--ink);
}
.pkg-opt input:checked + .pkg-card {
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--ink), var(--shadow-md);
}
.pkg-opt input:focus-visible + .pkg-card {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.pkg-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.pkg-totes {
  font-size: 13px;
  color: var(--muted);
}
.pkg-price {
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
}
.cfg-block {
  margin-top: 22px;
}
.specs {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.specs dt {
  color: var(--muted);
  flex: none;
}
.specs dd {
  font-weight: 500;
  text-align: right;
}
.cfg-price {
  margin: 22px 0 6px;
}
.cfg-price .amt {
  font-size: 60px;
}
.cfg-fees {
  margin: 14px 0 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.cfg-fees s {
  color: var(--muted);
}
.cfg-panel .fine {
  text-align: center;
  margin-top: 12px;
}
.note-soon {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--accent-ink);
  font-weight: 500;
}

@media (min-width: 560px) {
  .stage-hint {
    display: block;
  }
}
@media (min-width: 980px) {
  .cfg {
    padding: 20px 0 64px;
  }
  .cfg-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
    gap: 32px;
    align-items: start;
  }
  .cfg-stage-wrap {
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }
  .cfg-stage {
    aspect-ratio: auto;
    max-height: none;
    height: clamp(560px, calc(100vh - 120px), 780px);
  }
  .cfg-panel {
    padding: 36px 34px 34px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
