/* ─────────────────────────────────────────────────────────────
   Plater landing — brand-led (purple + cream), editorial bones
   ─────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --primary:       #6941C6;
  --primary-light: #7c5cd6;
  --primary-dark:  #4f30a3;
  --primary-50:    #f5f1ff;
  --primary-100:   #ece4ff;
  --primary-200:   #d8ccfb;
  --accent:        #f59e0b;  /* amber */
  --accent-warm:   #fff3d6;

  /* Soft alternating section tints (no cream) */
  --lavender:      #f5f1ff;   /* pale purple wash */
  --lavender-2:    #ebe3ff;
  --peach:         #ffe9d6;   /* one warm peach accent section */

  /* Surfaces — WHITE-first */
  --paper:         #ffffff;
  --paper-2:       #f5f1ff;   /* alias: pale purple */
  --paper-3:       #ebe3ff;

  --ink:           #1a1430;
  --ink-2:         #2e2547;
  --muted:         #6b6485;
  --muted-2:       #706B88;
  --rule:          #ece7f5;
  --rule-strong:   #d8d1ea;

  --script:  'Pacifico', 'Brush Script MT', cursive;
  --display: 'Sofia Sans', system-ui, sans-serif;
  --sans:    'Sofia Sans', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* Dark-mode fixes for elements with hardcoded white surfaces */
[data-theme="dark"] .story-sticker { color: #1a1430; }
[data-theme="dark"] .story-sticker span { color: #6b6485; }
[data-theme="dark"] .hf-qr { color: #1a1430; }
[data-theme="dark"] .map-driver { background: #1a1430; color: #fff; }
[data-theme="dark"] .receipt .rtot { border-top-color: var(--rule-strong); }
[data-theme="dark"] .price-cta { border-color: var(--ink-2); color: var(--ink); }
[data-theme="dark"] .price-cta:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
[data-theme="dark"] .btn-outline { border-color: var(--ink-2); color: var(--ink); }
[data-theme="dark"] .btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
[data-theme="dark"] .price-card.featured .price-cta { background: #fff; color: var(--primary-dark); border-color: #fff; }
[data-theme="dark"] .price-card.featured::before { color: #1a1430; }
[data-theme="dark"] .lang-swap .flash { color: #1a1430; }
/* Bespoke band: --ink flips near-white in dark mode, so use a dark surface instead */
[data-theme="dark"] .price-bespoke { background: var(--paper-3); border-color: var(--rule-strong); }
[data-theme="dark"] .pb-side .price-cta { color: #1a1430; }
[data-theme="dark"] .pb-side .price-cta:hover { background: #fff; color: #1a1430; border-color: #fff; }
/* High-touch path card uses the same --ink surface */
[data-theme="dark"] .path-help { background: var(--paper-3); border-color: var(--rule-strong); }
[data-theme="dark"] .path-help .btn-accent { color: #1a1430; }
[data-theme="dark"] .path-help .btn-accent:hover { background: #fff; color: #1a1430; }

[data-theme="dark"] {
  --primary:       #9b7bec;
  --primary-light: #b59cf2;
  --primary-dark:  #6941C6;
  --primary-50:    #24193f;
  --primary-100:   #2e2154;
  --primary-200:   #3a2a6b;
  --accent:        #fbbf24;
  --accent-warm:   #2d2517;
  --lavender:      #1b1530;
  --lavender-2:    #25203d;
  --peach:         #2d2517;
  --paper:         #0f0b1a;
  --paper-2:       #1b1530;
  --paper-3:       #25203d;
  --ink:           #faf6ef;
  --ink-2:         #d8d1eb;
  --muted:         #8a83a3;
  --muted-2:       #8B85A3;
  --rule:          #25203d;
  --rule-strong:   #362f52;
  /* readable foreground for text/icons sitting on the dark primary-50 chips */
  --on-tint:       #c3b1f5;
}

/* Dark-mode chip legibility: --primary / --primary-dark are too dark to read on
   the dark primary-50 tint, so swap chip foregrounds to a light lavender. */
[data-theme="dark"] .pill-purple,
[data-theme="dark"] .board-col h6 .count,
[data-theme="dark"] .bullets .bn,
[data-theme="dark"] .menu-action,
[data-theme="dark"] .price-trial,
[data-theme="dark"] .log-tag.feature,
[data-theme="dark"] .faq-q .sign,
[data-theme="dark"] .contact-line .ico,
[data-theme="dark"] .cookie-icon,
[data-theme="dark"] .kb-chime,
[data-theme="dark"] .board-tally .bt-num { color: var(--on-tint); }
[data-theme="dark"] .pill-purple { border-color: var(--primary-200); }

/* Lift the live board off the page so it reads as a card in dark mode */
[data-theme="dark"] .board { background: var(--paper-2); }
[data-theme="dark"] .board-head { background: var(--paper-3); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Lenis smooth-scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .25s ease, color .25s ease;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; }
.script  { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.mono  { font-family: var(--mono); font-weight: 400; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }

/* ───── Nav ───────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-logo { display: flex; align-items: center; height: 32px; color: var(--primary); }
.nav-logo img, .nav-logo svg { height: 30px; width: auto; display: block; }
.logo-img { height: 30px; width: auto; display: block; }
.nav-logo .logo-dark, .footer-logo .logo-dark { display: none; }
[data-theme="dark"] .nav-logo .logo-light,
[data-theme="dark"] .footer-logo .logo-light { display: none; }
[data-theme="dark"] .nav-logo .logo-dark,
[data-theme="dark"] .footer-logo .logo-dark { display: block; }

.nav-links { display: none; gap: 28px; }
@media (min-width: 820px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: color .15s;
}
.nav-link:hover { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform .15s, background .15s, color .15s, border-color .15s, box-shadow .15s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(105,65,198,.6); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--paper-2); color: var(--primary); border-color: var(--rule); }

/* ───── Hero ───────────────────────────── */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% 40% 30%;
  background: radial-gradient(55% 55% at 50% 50%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; right: -5%; top: 15%;
  width: 300px; height: 300px;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 70%);
  pointer-events: none; z-index: 0; filter: blur(20px);
}
.hero > * { position: relative; z-index: 1; }

/* Hero two-column layout */
.hero-split {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-split { grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 6vw, 72px); }
}
.hero-copy { max-width: 640px; }

/* Hero centered layout + floating chips */
.hero-center {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 5vw, 52px) 0 clamp(4px, 2vw, 16px);
}
.hero-copy--center {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy--center .hero-sub { max-width: 56ch; margin-left: auto; margin-right: auto; }
.hero-copy--center .hero-cta { justify-content: center; }
.hero-copy--center .hero-note { text-align: center; }

.hero-chips { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
@media (max-width: 1060px) {
  /* Reflow floating chips into a tidy static strip below the hero copy */
  .hero-center { display: flex; flex-direction: column; }
  .hero-copy--center { order: 1; }
  .hero-chips {
    position: static; inset: auto; order: 2;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
    gap: 10px; margin-top: clamp(28px, 6vw, 40px);
    pointer-events: auto;
  }
  .hero-chip {
    position: static !important;
    top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    flex: 0 0 auto;
    animation: none !important;
    opacity: 1 !important; filter: none !important; transform: none !important;
  }
}

.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 8px 11px;
  white-space: nowrap;
  box-shadow: 0 18px 38px -22px rgba(26, 20, 48, 0.42);
  opacity: 0;
  animation: chipIn .7s ease forwards, chipFloat 7s ease-in-out infinite;
}
[data-theme="dark"] .hero-chip { background: var(--paper-2); }
.chip-a { top: 8%;  left: 0;      animation-delay: .05s; }
.chip-b { top: 1%;  right: 1%;    animation-delay: .16s; }
.chip-c { top: 41%; left: -3%;    animation-delay: .28s; }
.chip-d { top: 47%; right: -2%;   animation-delay: .40s; }
.chip-e { bottom: 5%;  left: 4%;  animation-delay: .52s; }
.chip-f { bottom: 13%; right: 3%; animation-delay: .64s; }
.chip-b, .chip-e { animation-duration: .7s, 8.5s; }
.chip-c, .chip-f { animation-duration: .7s, 6s; }

.chip-label { font-weight: 600; font-size: 12.5px; color: var(--ink); }
.chip-metric { flex-direction: column; align-items: flex-start; gap: 2px; }
.chip-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.chip-metric-v { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.chip-metric-v.is-accent { color: var(--primary); }
.hero-chip .ho-status.pop, .chip-metric-v.pop { animation: chipPop .42s ease; }

@keyframes chipIn { from { opacity: 0; filter: blur(7px); } to { opacity: 1; filter: blur(0); } }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes chipPop { 0% { transform: scale(1); } 40% { transform: scale(1.13); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-chip { animation: none; opacity: 1; filter: none; }
  .hero-chip .ho-status.pop, .chip-metric-v.pop { animation: none; }
}
.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 960px) {
  .hero-visual { aspect-ratio: 4/5; margin: 0 0 0 auto; }
}
.hero-photo {
  margin: 0;
  position: relative;
  width: 100%; height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--lavender);
  box-shadow: 0 40px 80px -40px rgba(26, 20, 48, 0.35);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,20,48,.2));
  pointer-events: none;
}

/* Floating callouts over hero photo */
.hero-float {
  position: absolute;
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 20px 50px -20px rgba(26, 20, 48, 0.35), 0 2px 8px rgba(26,20,48,.06);
  border: 1px solid var(--rule);
  animation: float 6s ease-in-out infinite;
}
.hero-float-order {
  top: 6%;
  right: -6%;
  width: 240px;
  animation-delay: .3s;
}
.hero-float-qr {
  bottom: 8%;
  left: -8%;
  display: flex;
  gap: 12px;
  align-items: center;
  animation-delay: 1s;
}
@media (max-width: 720px) {
  .hero-float-order { top: 4%; right: 4%; width: 200px; }
  .hero-float-qr { bottom: 4%; left: 4%; }
}
.hf-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.hf-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.8s ease-in-out infinite;
}
.hf-items {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}
.hf-foot {
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.hf-amt { font-weight: 700; color: var(--ink); font-size: 13px; }
.hf-qr {
  width: 52px; height: 52px;
  color: var(--ink);
  flex-shrink: 0;
  border-radius: 6px;
  padding: 2px;
  background: #fff;
}
.hf-qr-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hf-qr-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Hero live-orders panel */
.live-panel {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: clamp(12px, 1.8vw, 18px);
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(26, 20, 48, 0.35);
  padding: clamp(18px, 2.4vw, 26px);
}
.lp-head { display: flex; align-items: center; justify-content: space-between; }
.lp-title {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--ink);
}
.lp-live {
  width: 9px; height: 9px; border-radius: 50%; background: #28c840;
  box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.5); animation: lpPulse 1.8s infinite;
}
@keyframes lpPulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(40, 200, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0); }
}
.lp-clock { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Hero interactive menu */
.hm-table {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-50);
  padding: 5px 10px; border-radius: 999px;
}
.hm-tabs { display: flex; gap: 8px; }
.hm-tab {
  flex: 1; padding: 9px 6px; border: 1px solid var(--rule); border-radius: 11px;
  background: var(--paper-2); cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--muted);
  transition: all .15s;
}
.hm-tab:hover { color: var(--ink-2); }
.hm-tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="dark"] .hm-tab.is-on { background: var(--primary); border-color: var(--primary); }
.hm-list { display: flex; flex-direction: column; gap: 9px; flex: 1; min-height: 0; }
.hm-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 14px;
  padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s;
}
.hm-item:hover { border-color: var(--primary); }
.hm-item.has-qty { border-color: color-mix(in oklab, var(--primary) 40%, transparent); background: var(--primary-50); }
.hm-item.pop { animation: hmPop .28s ease; }
@keyframes hmPop { 0% { transform: scale(1); } 45% { transform: scale(0.97); } 100% { transform: scale(1); } }
.hm-item-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hm-item-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.hm-item-desc { font-size: 12px; color: var(--muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-item-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hm-item-price { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: -0.01em; }
.hm-item-add, .hm-item-qty {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1;
}
.hm-item-add { background: var(--paper-2); color: var(--primary); border: 1px solid var(--rule); }
.hm-item:hover .hm-item-add { background: var(--primary); color: #fff; border-color: var(--primary); }
.hm-item-qty { background: var(--primary); color: #fff; font-size: 13px; }
.hm-cart {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 14px;
  padding: 11px 12px 11px 16px; transition: background .2s, border-color .2s;
}
.hm-cart.is-active { background: var(--ink); border-color: var(--ink); }
[data-theme="dark"] .hm-cart.is-active { background: var(--paper-3); border-color: var(--rule-strong); }
.hm-cart-info { display: flex; flex-direction: column; gap: 1px; }
.hm-cart-count { font-size: 12px; color: var(--muted); }
.hm-cart.is-active .hm-cart-count { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .hm-cart.is-active .hm-cart-count { color: var(--muted); }
.hm-cart-total { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.hm-cart.is-active .hm-cart-total { color: #fff; }
[data-theme="dark"] .hm-cart.is-active .hm-cart-total { color: var(--ink); }
.hm-order {
  border: 0; border-radius: 10px; padding: 11px 16px; cursor: pointer;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  background: var(--primary); color: #fff; transition: background .15s, transform .1s;
}
.hm-order:hover { background: var(--primary-dark); }
.hm-order:active { transform: scale(0.97); }
.hm-order.sent { background: #1f8a5b; }

/* Hero live-orders dashboard */
.ho-channels { display: flex; gap: 8px; }
.ho-ch {
  flex: 1; display: flex; flex-direction: column; gap: 3px;
  border: 1px solid var(--rule); border-radius: 11px;
  padding: 9px 11px; background: var(--paper-2);
}
.ho-ch-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.ho-ch-v { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: -0.01em; color: var(--ink); }
.ho-ch.is-accent { background: var(--primary-50); border-color: color-mix(in oklab, var(--primary) 30%, transparent); }
.ho-ch.is-accent .ho-ch-v { color: var(--primary); }

.ho-feed { display: flex; flex-direction: column; gap: 9px; flex: 1; min-height: 0; overflow: hidden; }
.ho-order {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--rule); border-radius: 13px;
  padding: 11px 13px; background: var(--paper-2);
  animation: hoIn .42s cubic-bezier(.22,1,.36,1);
}
@keyframes hoIn { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: none; } }
.ho-order-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.ho-order-top { display: flex; align-items: center; gap: 8px; }
.ho-chan {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px; flex-shrink: 0;
}
.ho-chan.dine { color: var(--primary); background: var(--primary-50); }
.ho-chan.delivery { color: #2a6fdb; background: color-mix(in oklab, #2a6fdb 13%, transparent); }
.ho-chan.pickup { color: #b06a16; background: color-mix(in oklab, #b06a16 15%, transparent); }
.ho-order-label { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.ho-order-desc { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ho-order-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.ho-order-total { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.ho-status {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.ho-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ho-status.s0 { color: #1f8a5b; background: color-mix(in oklab, #1f8a5b 13%, transparent); }
.ho-status.s1 { color: #b06a16; background: color-mix(in oklab, #b06a16 15%, transparent); }
.ho-status.s2 { color: var(--muted); background: var(--paper-3); }

.ho-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); border-radius: 14px; padding: 12px 14px 12px 16px;
}
[data-theme="dark"] .ho-foot { background: var(--paper-3); border: 1px solid var(--rule-strong); }
.ho-foot-info { display: flex; flex-direction: column; gap: 1px; }
.ho-foot-k { font-size: 12px; color: rgba(255,255,255,0.7); }
[data-theme="dark"] .ho-foot-k { color: var(--muted); }
.ho-foot-v { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: #fff; }
[data-theme="dark"] .ho-foot-v { color: var(--ink); }
.ho-foot-badge {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--primary); padding: 6px 11px; border-radius: 999px;
}

.hero-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px; color: var(--ink-2);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.pill-purple { background: var(--primary-50); color: var(--primary-dark); border-color: var(--primary-100); }
.pill-purple .dot { background: var(--primary); animation: pulse 1.8s ease-in-out infinite; }

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.hero-title .accent { color: var(--primary); font-family: var(--script); font-weight: 400; letter-spacing: 0; font-style: normal; }
.hero-title .accent { color: var(--primary); font-style: italic; }
.hero-title .under {
  position: relative;
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--primary);
  white-space: nowrap;
}
.hero-title .under::after { display: none; }
.hero-sub {
  font-size: 18px; line-height: 1.55; color: var(--ink-2);
  max-width: 52ch;
  margin: clamp(20px, 3vw, 28px) 0 clamp(24px, 4vw, 32px) 0;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta .note { color: var(--muted); font-size: 13px; margin-left: 4px; }

/* stats strip */
.hero-stats {
  margin-top: clamp(48px, 8vw, 88px);
  display: grid; gap: 0;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 780px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:nth-child(2n) { border-right: 1px solid var(--rule); }
@media (min-width: 780px) { .hero-stat:nth-child(4n) { border-right: none; } }
.hero-stat .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1; letter-spacing: -0.035em;
  color: var(--primary);
}
.hero-stat .lab {
  font-size: 12px; color: var(--muted);
  margin-top: 10px; line-height: 1.4;
}

/* Demo modal */
.demo-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}
.demo-modal.show { display: flex; }
.demo-backdrop {
  position: absolute; inset: 0;
  background: color-mix(in oklab, var(--ink) 58%, transparent);
  backdrop-filter: blur(6px);
  animation: demoFade .2s ease;
}
.demo-dialog {
  position: relative; z-index: 1;
  width: min(1060px, 100%);
  max-height: 90vh; overflow: auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow: 0 50px 100px -40px rgba(26,20,48,0.6);
  animation: demoPop .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes demoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes demoPop { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.demo-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--paper);
  color: var(--ink-2); cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s ease, color .15s ease;
}
.demo-close:hover { background: var(--wash); color: var(--ink); }
.demo-head { margin-bottom: clamp(18px, 2.5vw, 26px); padding-right: 44px; }
.demo-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--primary);
}
.demo-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); animation: pulse 1.8s ease-in-out infinite;
}
.demo-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.12; letter-spacing: -.02em;
  color: var(--ink); margin: 12px 0 6px;
}
.demo-sub { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 56ch; }
.demo-board { margin-top: 0; }

/* Live board mock */
.board {
  margin-top: clamp(44px, 7vw, 72px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 40px 80px -40px rgba(26,20,48,0.28),
    0 10px 30px -20px rgba(105,65,198,0.3);
}
.board-head {
  padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.board-head .url { display: flex; align-items: center; gap: 10px; }
.board-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.board-head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 500; }
.board-head .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.board-grid { display: grid; }
@media (min-width: 760px) { .board-grid { grid-template-columns: repeat(3, 1fr); } }
.board-col { padding: 22px 22px; border-right: 1px solid var(--rule); }
.board-col:last-child { border-right: 0; }
.board-col h6 {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 18px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.board-col h6 .count {
  background: var(--primary-50); color: var(--primary-dark);
  padding: 3px 10px; border-radius: 999px;
  letter-spacing: 0; font-size: 12px;
}
.ticket {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.ticket:first-of-type { border-top: 0; padding-top: 0; }
.ticket .tn { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.ticket .ti { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ticket .tt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); margin-top: 6px; text-transform: uppercase; }
.ticket.ready .tt { color: var(--primary); }

/* "Today so far" tally tile inside the live board */
.board-tally {
  margin-top: 28px; padding: 16px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 10px;
}
.board-tally .bt-label {
  font-size: 12px; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px;
}
.board-tally .bt-row { display: flex; justify-content: space-between; align-items: baseline; }
.board-tally .bt-num {
  font-family: var(--display); font-size: 28px;
  color: var(--primary-dark); letter-spacing: -.02em;
}

/* ───── Photo strip ───────────────────────────── */
.photos {
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}
.photos.photos-tight { padding: clamp(48px, 6vw, 80px) 0; }
.photos > .wrap { max-width: min(1680px, calc(100% - 2 * var(--gutter))); padding: 0; }
.photos-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .photos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .photos-grid.photos-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
.photo {
  margin: 0;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--lavender);
  aspect-ratio: 4/5;
}
.photo.photo-tall { aspect-ratio: 4/5; }
@media (min-width: 720px) {
  .photo { aspect-ratio: auto; height: 600px; }
  .photo.photo-tall { height: 600px; }
  .photos-grid.photos-grid-2 .photo { height: 560px; }
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.photo:hover img { transform: scale(1.03); }
.photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  color: #1a1430;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

/* ───── Chapter layout ───────────────────────────── */
.chapter {
  padding: clamp(56px, 7vw, 100px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.chapter-purple {
  background: var(--primary);
  color: #fff;
  border-top-color: transparent;
}
.chapter-cream { background: var(--lavender); border-top-color: var(--lavender); }
.chapter-peach { background: var(--peach); border-top-color: var(--peach); }

.chapter-head {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 760px;
}

/* How it works — step journey */
.howit-rail {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
}
.hr-step {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--paper);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-2);
}
.hr-step b { font-weight: 700; color: var(--primary); }
.hr-arrow { color: var(--muted-2, var(--muted)); font-size: 16px; }
@media (max-width: 560px) { .hr-arrow { display: none; } .howit-rail { flex-direction: column; align-items: stretch; } }

.step-head {
  display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 24px);
  max-width: 820px;
}
.step-num {
  flex-shrink: 0;
  width: clamp(52px, 5vw, 64px); height: clamp(52px, 5vw, 64px);
  border-radius: 50%;
  background: var(--primary-50); color: var(--primary-dark, var(--primary));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px);
}
.chapter-cream .step-num { background: rgba(105,65,198,.12); }

.chapter-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(60px, 7.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: flex; align-items: baseline; gap: 10px;
}
.chapter-num .of {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; color: var(--muted);
  text-transform: uppercase;
}
.chapter-purple .chapter-num { color: var(--accent); }
.chapter-purple .chapter-num .of { color: rgba(255,255,255,.7); }

.chapter-kicker {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.chapter-purple .chapter-kicker { color: var(--accent); }
.chapter-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  color: inherit;
}
.chapter-title em { font-family: var(--script); font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--primary); }
.chapter-purple .chapter-title em { color: var(--accent); }
.chapter-purple .chapter-title .accent { color: var(--accent); font-style: italic; }

.chapter-meta {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); align-self: end;
}
.chapter-purple .chapter-meta { color: rgba(255,255,255,.7); }

.chapter-body { display: grid; gap: clamp(32px, 6vw, 72px); }
@media (min-width: 900px) {
  .chapter-body.split { grid-template-columns: 1fr 1fr; align-items: start; }
  .chapter-body.split.reverse > :first-child { order: 2; }
}

.chapter-desc {
  font-size: 17px; line-height: 1.6;
  color: var(--ink-2);
  max-width: 50ch;
}
.chapter-purple .chapter-desc { color: rgba(255,255,255,.88); }

.bullets { list-style: none; padding: 0; margin: 28px 0 0 0; }
.bullets li {
  display: grid;
  grid-template-columns: 28px 1fr;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
  gap: 14px;
}
.bullets li:last-child { border-bottom: 1px solid var(--rule); }
.bullets .bn {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.bullets .bt { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.chapter-purple .bullets li { border-top-color: rgba(255,255,255,.2); }
.chapter-purple .bullets li:last-child { border-bottom-color: rgba(255,255,255,.2); }
.chapter-purple .bullets .bn { background: rgba(255,255,255,.15); color: #fff; }
.chapter-purple .bullets .bt { color: rgba(255,255,255,.9); }

/* ───── Mockup card base ───────────────────────────── */
.mock {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 20px 50px -30px rgba(26,20,48,0.2);
}
.mock-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.mock-head .pill-purple { padding: 3px 10px; font-size: 12px; }

/* menu mock */
.menu-row {
  display: grid; grid-template-columns: 1fr auto;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
  gap: 16px;
  align-items: baseline;
}
.menu-row:last-of-type { border-bottom: 0; }
.menu-row .t { font-weight: 600; font-size: 16px; color: var(--ink); }
.menu-row .d { font-size: 12px; color: var(--muted); margin-top: 2px; }
.menu-row .p { font-family: var(--mono); font-size: 13px; color: var(--primary); font-weight: 600; }
.menu-row.sold { opacity: .5; }
.menu-row.sold .t::after {
  content: "86"; display: inline-block;
  margin-left: 10px; padding: 2px 8px;
  background: var(--accent-warm); color: var(--accent);
  border-radius: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
}
.menu-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.menu-action {
  padding: 10px 16px;
  background: var(--primary-50); color: var(--primary-dark);
  border-radius: 999px; font-size: 12px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.menu-action .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* receipt ticket */
.receipt {
  background: var(--paper);
  padding: 26px 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  max-width: 380px; margin: 0 auto;
  box-shadow: 0 1px 0 var(--rule), 0 20px 40px -20px rgba(26,20,48,0.2);
  position: relative;
  border-radius: 2px;
}
.receipt::before, .receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background-image: radial-gradient(circle at 6px 5px, var(--paper-2) 4px, transparent 4.5px);
  background-size: 12px 10px; background-repeat: repeat-x;
}
.receipt::before { top: -9px; transform: rotate(180deg); }
.receipt::after  { bottom: -9px; }
.receipt h6 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.025em; margin: 0 0 4px; color: var(--ink); }
.receipt .rsub { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.receipt .rdiv {
  margin: 14px 0 6px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.14em; color: var(--primary); text-transform: uppercase;
}
.receipt .rdiv::before, .receipt .rdiv::after { content:""; flex:1; border-top: 1px dashed var(--rule); }
.receipt .rrow { display: flex; justify-content: space-between; padding: 5px 0; }
.receipt .rtot {
  display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--ink);
  font-size: 13px; color: var(--ink);
  font-weight: 600;
}
.receipt .rtot .acc { color: var(--primary); }
.receipt .rfoot { text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted); letter-spacing: 0.14em; }

/* map card */
.map-card {
  position: relative;
  background: var(--primary-50);
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--primary-100);
}
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-chip {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
}
.map-driver {
  position: absolute; top: 60%; left: 70%;
  background: var(--ink); color: #fff;
  padding: 6px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 6px;
}
.map-driver::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.zones { display: grid; gap: 0; margin-top: 16px; }
.zone-row {
  display: grid;
  grid-template-columns: 20px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.zone-row:last-child { border-bottom: 1px solid var(--rule); }
.zone-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--primary); }
.zone-dot.z2 { background: var(--primary-light); }
.zone-dot.z3 { background: var(--primary-200); }
.zone-row .t { font-size: 14px; font-weight: 500; color: var(--ink); }
.zone-row .r { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.zone-row .f { font-family: var(--mono); font-size: 14px; color: var(--primary); font-weight: 600; }

/* Language swap */
.lang-swap {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.lang-swap .flash {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 2px 16px;
  border-radius: 6px;
  font-style: italic;
  transition: all .25s;
}
.lang-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 24px;
}
.lang-pills span {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8);
  text-transform: uppercase;
}

.social-card {
  background: var(--paper); color: var(--ink);
  border-radius: 14px; padding: 22px;
  margin-top: 28px; max-width: 480px;
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.4);
}
.social-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.social-avatar {
  width: 34px; height: 34px;
  border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--script); font-size: 14px;
}
.social-name { font-weight: 600; font-size: 14px; }
.social-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

/* brand preview */
.brand-preview {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 34px 28px 26px;
  background: var(--paper);
  position: relative;
  box-shadow: 0 20px 50px -30px rgba(26,20,48,0.2);
}
.brand-preview-head {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
  position: absolute; top: -7px; left: 20px;
  background: var(--paper); padding: 0 10px;
}
.brand-logo {
  font-family: var(--script);
  font-size: 48px; line-height: 1.2;
  letter-spacing: 0; color: var(--primary);
  display: flex; align-items: baseline; gap: 8px;
}
.brand-logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); transform: translateY(-4px); transition: background .15s; }
.brand-sub { color: var(--muted); margin-top: 6px; font-size: 15px; }
.brand-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.brand-dots { display: flex; gap: 8px; }
.brand-dots .d {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer; transition: transform .12s;
}
.brand-dots .d:hover { transform: scale(1.1); }
.brand-dots .d.on { border-color: var(--ink); transform: scale(1.08); }

/* device stack */
.device-stack { display: grid; gap: 16px; }

/* ───── Big quote ───────────────────────────── */
.quote {
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "“";
  font-family: var(--script);
  font-size: 500px; line-height: 1; color: var(--primary-light);
  position: absolute; top: -120px; left: -20px; opacity: .3;
  pointer-events: none;
}
.quote blockquote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 auto;
  max-width: 22ch;
  text-wrap: balance;
  position: relative;
}
.quote blockquote em { font-family: var(--script); font-weight: 400; font-style: normal; letter-spacing: 0; color: var(--accent); }
.quote .sig {
  margin-top: 36px;
  font-size: 14px; color: rgba(255,255,255,.75);
}
.quote .sig strong { color: #fff; font-weight: 600; }

/* ───── Pricing ───────────────────────────── */
.pricing { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.price-head {
  display: grid; gap: 24px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
@media (min-width: 900px) { .price-head { grid-template-columns: 1fr 1fr; align-items: end; } }

.price-grid {
  display: grid; gap: 16px;
}
@media (min-width: 720px)  { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }

.price-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(26,20,48,0.2); }
.price-card.featured {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 30px 60px -30px rgba(105,65,198,.6);
}
.price-card.featured::before {
  content: "MOST POPULAR";
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--ink);
  padding: 4px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
}
.price-name { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 6px; }
.price-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.price-card.featured .price-tag { color: var(--accent); }
.price-cost { display: flex; align-items: baseline; gap: 6px; }
.price-cost .amt { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.035em; }
.price-cost .per { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.price-card.featured .price-cost .per { color: rgba(255,255,255,.7); }
.price-trial {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--primary-50); color: var(--primary-dark);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  align-self: flex-start;
  white-space: nowrap;
}
.price-trial .check {
  width: 12px; height: 12px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.price-card.featured .price-trial { background: rgba(255,255,255,.15); color: #fff; }
.price-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-feats li {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.price-feats li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary-50);
}
.price-feats li::after {
  content: ""; position: absolute; left: 3px; top: 5px;
  width: 8px; height: 8px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.price-card.featured .price-feats li { color: rgba(255,255,255,.92); }
.price-card.featured .price-feats li::before { background: rgba(255,255,255,.2); }
.price-card.featured .price-feats li::after { background: #fff; }

.price-cta {
  padding: 13px 0; text-align: center;
  border: 1px solid var(--ink); color: var(--ink);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  transition: all .15s;
}
.price-cta:hover { background: var(--ink); color: #fff; }
.price-cta.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.price-cta.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.price-card.featured .price-cta {
  background: #fff; color: var(--primary); border-color: #fff;
}
.price-card.featured .price-cta:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* Self-serve comparison table */
.pc {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(26,20,48,0.28);
}
@media (max-width: 760px) { .pc { overflow-x: auto; } }
.pc-col {
  flex: 1 1 0; min-width: 150px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--rule);
}
.pc-col:last-child { border-right: none; }
.pc-col-labels { flex: 1.7 1 0; min-width: 220px; background: var(--wash, color-mix(in oklab, var(--primary) 3%, var(--paper))); }
.pc-rec {
  background: color-mix(in oklab, var(--primary) 7%, var(--paper));
  position: relative;
}
.pc-rec .pc-head { background: color-mix(in oklab, var(--primary) 6%, transparent); }

.pc-head {
  padding: clamp(20px, 2.2vw, 28px) clamp(16px, 1.6vw, 22px);
  min-height: 188px;
  display: flex; flex-direction: column; gap: 8px;
  border-bottom: 1px solid var(--rule);
}
.pc-head .price-cta { margin-top: auto; }
.pc-head-labels { gap: 12px; justify-content: flex-start; }
.pc-head-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink);
}
.pc-head-note { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: auto; }

.pc-plan-name { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.pc-plan-cost { display: flex; align-items: baseline; gap: 5px; }
.pc-plan-cost .amt { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: -0.035em; color: var(--ink); }
.pc-plan-cost .per { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pc-plan-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.pc-rec .pc-plan-tag { color: var(--primary-dark, var(--primary)); }

.pc-rec::before {
  content: "RECOMMENDED";
  position: absolute; top: 12px; right: 12px;
  background: var(--primary); color: #fff;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  padding: 5px 9px; border-radius: 999px;
}

.pc-cap, .pc-cell {
  height: 56px; display: flex; align-items: center;
  padding: 0 clamp(16px, 1.6vw, 22px);
  border-bottom: 1px solid var(--rule);
}
.pc-col > :last-child { border-bottom: none; }
.pc-cap { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.pc-cell { justify-content: center; }
.pc-yes { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-50, color-mix(in oklab, var(--primary) 14%, transparent)); color: var(--primary); }
.pc-yes svg { width: 15px; height: 15px; }
.pc-rec .pc-yes { background: var(--primary); color: #fff; }
.pc-no { color: var(--muted-2, var(--muted)); font-size: 18px; }
.pc-cell-label { display: none; }

/* Mobile: reflow the comparison table into self-labeled plan cards */
@media (max-width: 760px) {
  .pc {
    display: flex; flex-direction: column;
    overflow-x: visible;
    border: none; border-radius: 0;
    box-shadow: none; background: transparent;
    gap: 16px;
  }
  .pc-col-labels { display: none; }
  .pc-col {
    flex: none; min-width: 0;
    border: 1px solid var(--rule); border-radius: 16px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 18px 44px -34px rgba(26,20,48,0.30);
  }
  .pc-rec {
    border-color: color-mix(in oklab, var(--primary) 45%, var(--rule));
    box-shadow: 0 22px 50px -30px color-mix(in oklab, var(--primary) 40%, transparent);
  }
  .pc-rec::before { top: 14px; right: 14px; }
  .pc-head { min-height: 0; padding: 22px 20px; }
  .pc-cap, .pc-cell {
    height: auto; min-height: 52px;
    justify-content: space-between;
    padding: 12px 20px;
  }
  .pc-cell { justify-content: space-between; gap: 16px; }
  .pc-cell-label {
    display: block;
    font-size: 15px; font-weight: 500; color: var(--ink-2);
    text-align: left;
  }
  .pc-no { color: var(--muted-2, var(--muted)); }
}

/* Personalized band */
.price-bespoke {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border: 1px solid var(--rule); border-radius: 18px;
  background: var(--ink); color: #fff;
}
.price-bespoke .eyebrow { color: var(--accent); }
.pb-copy { max-width: 56ch; }
.pb-title { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; letter-spacing: -0.02em; margin: 10px 0 8px; color: #fff; }
.pb-desc { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.74); }
.pb-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 180px; }
.pb-price { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; }
.pb-side .price-cta { background: var(--accent); color: var(--ink); border-color: var(--accent); padding-left: 28px; padding-right: 28px; }
.pb-side .price-cta:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Scenario guide */
.price-scenarios { margin-top: clamp(40px, 6vw, 64px); }
.ps-head {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 22px;
}
.ps-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .ps-grid { grid-template-columns: repeat(3, 1fr); } }
.ps-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--rule); border-radius: 16px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 8px;
}
.ps-card-rec { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.ps-flag {
  position: absolute; top: -10px; left: 24px;
  background: var(--primary); color: #fff;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.ps-when { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ps-rec { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.ps-rec strong { color: var(--primary); font-weight: 700; }
.ps-card p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 2px 0 0; }

/* ───── Changelog ───────────────────────────── */
.log { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--rule); background: var(--lavender); }
.log-head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.log-list { display: grid; gap: 0; }
.log-entry {
  display: grid; gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--rule-strong);
  align-items: start;
}
.log-entry:last-child { border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 780px) {
  .log-entry { grid-template-columns: 180px 1fr 140px; }
}
.log-date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.log-title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 6px 0; color: var(--ink); }
.log-body { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 62ch; }
.log-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  justify-self: start;
}
.log-tag.feature { background: var(--primary-50); color: var(--primary-dark); }
.log-tag.fix     { background: var(--accent-warm); color: var(--accent); }
.log-tag.imp     { background: var(--peach); color: var(--ink-2); }

/* Demoted / compact product updates */
.log-compact { padding: clamp(48px, 6vw, 80px) 0; }
.log-mini-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.log-mini-sub { font-size: 15px; color: var(--muted); }
.log-highlights { display: grid; gap: 14px; }
@media (min-width: 720px) { .log-highlights { grid-template-columns: 1fr 1fr; } }
.log-hl {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 14px;
}
.log-hl-tag {
  flex-shrink: 0; margin-top: 2px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary-dark);
}
.log-hl-tag.safe { background: var(--accent-warm); color: var(--accent); }
.log-hl-title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 5px; }
.log-hl p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }

.log-acc { margin-top: 18px; border-top: 1px solid var(--rule-strong); }
.log-acc-sum {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary);
}
.log-acc-sum::-webkit-details-marker { display: none; }
.log-acc-sum:hover { color: var(--primary-dark); }
.log-acc-ico { font-size: 22px; line-height: 1; transition: transform .2s ease; }
.log-acc[open] .log-acc-ico { transform: rotate(45deg); }
.log-acc-body { padding-bottom: 4px; }
.log-acc-body .log-entry:first-child { border-top: 1px solid var(--rule); }
.log-acc-all {
  display: inline-block; margin-top: 22px;
  font-size: 14px; color: var(--primary); font-weight: 500;
  border-bottom: 1px solid var(--primary); padding-bottom: 4px;
}

/* ───── FAQ ───────────────────────────── */
.faq { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.faq-list { margin-top: clamp(32px, 5vw, 40px); }
.faq-item {
  border-top: 1px solid var(--rule);
  position: relative;
  padding: 0 24px;
  margin: 0 -24px;
  border-radius: 16px;
  transition: background .4s ease, box-shadow .4s ease;
}
.faq-item::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% 0%, var(--primary-50) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
  z-index: -1;
}
.faq-item.open::before { opacity: 1; }
.faq-item.open {
  background: transparent;
  box-shadow: 0 2px 0 var(--rule) inset, 0 -2px 0 var(--rule) inset;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .15s;
}
.faq-q:hover { color: var(--primary); }
.faq-q .idx { font-family: var(--mono); font-size: 12px; color: var(--primary); min-width: 36px; letter-spacing: 0.1em; }
.faq-q .sign {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500;
  transition: transform .35s cubic-bezier(.4,1.5,.5,1), background .25s ease, color .25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .sign {
  transform: rotate(135deg) scale(1.08);
  background: var(--primary); color: #fff;
}
.faq-q { transition: color .2s ease; }
.faq-q .idx { transition: color .25s ease, transform .35s cubic-bezier(.4,1.5,.5,1); }
.faq-item.open .faq-q .idx { color: var(--primary); transform: translateX(2px); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-a { max-height: 460px; }
.faq-a-inner {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease .08s, transform .35s cubic-bezier(.2,.8,.2,1) .08s;
}
.faq-item.open .faq-a-inner { opacity: 1; transform: translateY(0); }
.faq-item { transition: background .3s ease; }
.faq-a-inner {
  padding: 0 0 28px 52px;
  font-size: 16px; line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
}
.faq-lead {
  margin: 0 0 8px;
  font-size: 17px; line-height: 1.5;
  font-weight: 600; color: var(--ink);
}
.faq-a-inner p { margin: 0; }
.faq-a-inner p + p { margin-top: 8px; }

/* ───── Contact ───────────────────────────── */
.contact { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--rule); background: var(--lavender); }

/* Two paths: self-serve vs high-touch */
.paths { padding: 0 0 clamp(48px, 7vw, 88px); }
.paths-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .paths-grid { grid-template-columns: 1fr 1fr; } }
.path-card {
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 20px; border: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.path-self { background: var(--paper); }
.path-help { background: var(--ink); border-color: var(--ink); color: #fff; }
.path-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.path-help .path-kicker { color: var(--accent); }
.path-title { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.path-help .path-title { color: #fff; }
.path-desc { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 42ch; margin: 0; }
.path-help .path-desc { color: rgba(255,255,255,0.76); }
.path-card .btn { margin-top: 6px; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark, var(--primary)); color: #fff; transform: translateY(-1px); }
.path-help .btn-accent:hover { background: #fff; color: var(--ink); }
.path-note { font-size: 13px; color: var(--muted); }
.path-help .path-note { color: rgba(255,255,255,0.55); }

/* Bespoke inclusions card */
.bespoke-card { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
.bespoke-card-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.bespoke-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 11px; }
.bespoke-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.bespoke-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--primary); font-weight: 700; }

/* Form segmented control */
.form-seg { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--rule-strong); border-radius: 11px; background: var(--lavender); }
.form-seg button { flex: 1; padding: 11px 12px; border: none; background: transparent; border-radius: 7px; font: 500 14px var(--sans); color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.form-seg button:hover { color: var(--ink); }
.form-seg button.on { background: var(--primary); color: #fff; box-shadow: 0 1px 3px rgba(26,20,48,0.18); }
.form.is-bespoke { box-shadow: 0 0 0 1px var(--primary) inset, 0 20px 50px -30px rgba(105,65,198,0.4); }

/* Selects match inputs */
.field select {
  width: 100%; padding: 12px 38px 12px 14px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font: 400 15px/1.5 var(--sans);
  border-radius: 8px; outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236941C6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 13px center;
  transition: border-color .15s, box-shadow .15s;
}
.field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }

.contact-grid { display: grid; gap: clamp(36px, 6vw, 64px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-lines { margin-top: 32px; }
.contact-line {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 16px; padding: 20px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.contact-line:last-child { border-bottom: 1px solid var(--rule); }
.contact-line .ico {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-line .lbl { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.contact-line .val { font-family: var(--display); font-size: 20px; color: var(--ink); }

.form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
  display: grid; gap: 18px;
  box-shadow: 0 20px 50px -30px rgba(26,20,48,0.15);
}
.field label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font: 400 15px/1.5 var(--sans);
  border-radius: 8px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ──────────────────────────────────────────────
   Language selector
   ────────────────────────────────────────────── */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--rule-strong); background: var(--paper);
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: border-color .15s, color .15s;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-flag {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted); background: var(--paper-2);
  border: 1px solid var(--rule); border-radius: 4px;
  padding: 2px 4px; line-height: 1;
}
.lang-code { letter-spacing: 0.02em; }
.lang-chev { color: var(--muted); transition: transform .2s; }
.lang.open .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 200px; padding: 6px;
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(26,20,48,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 60;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border: 0; border-radius: 9px; background: transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; text-align: left; transition: background .12s;
}
.lang-opt:hover { background: var(--paper-2); }
.lang-opt .lang-name { font-weight: 600; color: var(--ink); }
.lang-opt .lang-full { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.lang-opt.is-on { background: var(--primary-50); }
.lang-opt.is-on .lang-name { color: var(--primary); }

.lang-auto {
  display: flex; align-items: center; gap: 9px;
  margin-top: 4px; padding: 11px 10px;
  border-top: 1px solid var(--rule);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.lang-auto > svg { color: var(--primary); flex-shrink: 0; }
.lang-switch {
  margin-left: auto; width: 38px; height: 22px; padding: 0;
  border: 0; border-radius: 999px; background: var(--rule-strong);
  position: relative; cursor: pointer; transition: background .18s;
}
.lang-switch.on { background: var(--primary); }
.lang-knob {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: transform .18s; box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.lang-switch.on .lang-knob { transform: translateX(16px); }

@media (max-width: 600px) {
  .lang-btn { padding: 7px 9px; }
  .lang-menu { right: 0; }
}

/* Contact form — mobile readability */
@media (max-width: 600px) {
  .contact { padding: clamp(56px, 12vw, 72px) 0; }
  .form { padding: 22px 18px; gap: 16px; border-radius: 14px; }
  /* 16px text stops iOS Safari from auto-zooming on focus */
  .field input, .field textarea, .field select { font-size: 16px; padding: 13px 14px; }
  .field select { padding-right: 38px; }
  .field label { font-size: 12.5px; }
  .form-seg { flex-wrap: wrap; }
  .form-seg button { font-size: 13.5px; padding: 12px 10px; }
  .form #contactSubmit { width: 100%; justify-content: center; }
  .contact-line { grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; }
  .contact-line .val { font-size: 18px; word-break: break-word; }
}

/* ───── Final CTA ───────────────────────────── */
.final {
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  margin: 48px var(--gutter) 0;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.final::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(40% 40% at 50% 50%, color-mix(in oklab, var(--primary-light) 60%, transparent), transparent 70%);
  pointer-events: none;
}
.final > * { position: relative; }
.final-mark { text-align: center; margin-bottom: clamp(20px, 3vw, 32px); line-height: 0; }
.final-mark-img { display: inline-block; width: auto; height: clamp(56px, 8vw, 92px); }
.final .pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.final .pill .dot { background: var(--accent); }
.final h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 10vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 20px 0 0;
  text-wrap: balance;
  color: #fff;
}
.final h2 em { font-family: var(--script); font-weight: 400; font-style: normal; letter-spacing: 0; color: var(--accent); }
.final p {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  max-width: 520px; margin: 24px auto 0;
  line-height: 1.55;
}
.final .cta {
  margin-top: clamp(32px, 5vw, 44px);
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.final .btn-primary { background: #fff; color: var(--primary); }
.final .btn-primary:hover { background: var(--accent); color: var(--ink); }
.final .btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.final .btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ───── Footer ───────────────────────────── */
.footer { padding: 64px 0 32px; background: var(--paper); border-top: 1px solid var(--rule); }
.footer-top {
  display: grid; gap: 48px;
  padding-bottom: 48px;
}
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-logo { text-align: left; }
.footer-logo .logo-img { height: 34px; width: auto; margin: 0; }
.footer-logo .tag { color: var(--muted); max-width: 30ch; line-height: 1.55; margin-top: 18px; font-size: 13px; }
.footer h4 {
  font-size: 12px; color: var(--muted-2);
  margin: 0 0 18px 0; font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a { font-size: 14px; color: var(--ink); transition: color .15s; }
.footer a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--muted);
}

/* ───── Cookie consent bar ───────────────────────────── */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--rule-strong);
  box-shadow: 0 -14px 40px -24px rgba(26,20,48,0.4);
  transform: translateY(calc(100% + 24px));
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.cookie-bar.show { transform: none !important; }
.cookie-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}
.cookie-icon {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary);
}
.cookie-text {
  flex: 1; min-width: 240px;
  font-size: 13.5px; line-height: 1.55; color: var(--ink-2);
}
.cookie-text strong { color: var(--ink); font-weight: 600; }
.cookie-text a { color: var(--primary); font-weight: 500; border-bottom: 1px solid color-mix(in oklab, var(--primary) 40%, transparent); }
.cookie-text a:hover { border-bottom-color: var(--primary); }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: all .15s;
}
.cookie-btn.decline { border: 1px solid var(--rule-strong); color: var(--ink-2); }
.cookie-btn.decline:hover { border-color: var(--ink); color: var(--ink); }
.cookie-btn.accept { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.cookie-btn.accept:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(105,65,198,.6); }
@media (max-width: 640px) {
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ───── Legal / document pages ───────────────────────────── */
.legal-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
.legal-hero .eyebrow { margin-bottom: 18px; }
.legal-hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6.2vw, 80px); line-height: .98; letter-spacing: -0.035em;
  margin: 0; color: var(--ink);
}
.legal-hero .legal-meta {
  margin-top: 22px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .06em; color: var(--muted); text-transform: uppercase;
}
.legal-body { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.legal-grid { display: grid; gap: clamp(36px, 6vw, 72px); align-items: start; }
@media (min-width: 940px) { .legal-grid { grid-template-columns: 240px 1fr; } }
.legal-toc { position: sticky; top: 96px; align-self: start; }
.legal-toc-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--rule); }
.legal-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; font-size: 13.5px; color: var(--muted); border-left: 1px solid transparent; transition: color .15s, border-color .15s; }
.legal-toc a:hover, .legal-toc a.active { color: var(--primary); border-left-color: var(--primary); }
@media (max-width: 939px) { .legal-toc { display: none; } }
.legal-content { max-width: 54ch; }
.legal-content section { padding-top: 8px; }
.legal-content section + section { margin-top: clamp(34px, 5vw, 52px); }
.legal-content h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 16px; color: var(--ink);
  display: flex; align-items: baseline; gap: 14px;
}
.legal-content h2 .legal-num { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--primary); letter-spacing: .04em; }
.legal-content h3 { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; margin: 26px 0 8px; color: var(--ink); }
.legal-content p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px; }
.legal-content ul.legal-list { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal-content ul.legal-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal-content ul.legal-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.legal-content a.inline { color: var(--primary); border-bottom: 1px solid color-mix(in oklab, var(--primary) 40%, transparent); }
.legal-content a.inline:hover { border-bottom-color: var(--primary); }
.legal-callout {
  margin: 18px 0; padding: 18px 22px; border-radius: 12px;
  background: var(--primary-50); border: 1px solid var(--primary-100);
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
}
.legal-callout strong { color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; font-size: 14px; line-height: 1.5; border-bottom: 1px solid var(--rule); vertical-align: top; }
.legal-table th { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.legal-table td { color: var(--ink-2); }
.legal-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 640px) { .legal-table td:first-child { white-space: normal; width: 36%; } }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 500; transition: color .15s; }
.legal-back:hover { color: var(--primary); }

/* ───── Reveal animations ───────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ───── Tweaks ───────────────────────────── */
.tweaks {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  padding: 20px 22px;
  width: 288px;
  box-shadow: 0 20px 60px -20px rgba(26,20,48,0.3);
  display: none;
  font-size: 13px;
}
.tweaks.show { display: block; }
.tweaks h5 {
  font-size: 12px; color: var(--muted);
  margin: 0 0 14px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.tweaks h5 .live { color: var(--primary); display: flex; align-items: center; gap: 6px; }
.tweaks h5 .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  animation: pulse 1.6s ease-in-out infinite;
}
.tweaks .group { margin-bottom: 16px; }
.tweaks label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.tw-swatches { display: flex; gap: 8px; }
.tw-swatch {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent; transition: transform .1s;
}
.tw-swatch:hover { transform: scale(1.12); }
.tw-swatch.active { border-color: var(--ink); }
.tw-input {
  width: 100%; padding: 10px 12px; background: var(--paper-2);
  border: 1px solid var(--rule); color: var(--ink);
  font-size: 14px; border-radius: 6px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.tw-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.tw-seg { display: flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; background: var(--paper-2); }
.tw-seg button {
  flex: 1; padding: 6px 10px; border-radius: 999px;
  font-size: 12px; color: var(--muted);
  font-weight: 500; letter-spacing: 0.02em;
}
.tw-seg button.on { background: var(--primary); color: #fff; }

/* ───── Social stack (Ch 04b) ─────────────────────── */
.social-stack {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: 460px;
  margin-left: auto;
}
.social-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 24px 60px -30px rgba(26, 20, 48, 0.35), 0 2px 8px rgba(26,20,48,.05);
  border: 1px solid var(--rule);
}
.social-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.social-avatar {
  width: 38px; height: 38px;
  border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--script); font-size: 15px;
  flex-shrink: 0;
}
.social-name { font-weight: 600; font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.social-verified {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
}
.social-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-top: 2px; }
.social-photo {
  position: relative;
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 12px;
}
.social-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-photo-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.02em;
}
.social-foot {
  display: flex; gap: 18px;
  padding-top: 12px; border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--muted);
}

/* Instagram story */
.social-story {
  position: relative;
  width: 200px;
  aspect-ratio: 9/16;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  justify-self: end;
  margin-top: -60px;
  margin-right: 16px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.5);
  transform: rotate(4deg);
}
.story-head {
  position: absolute; top: 18px; left: 14px; right: 14px;
  z-index: 3; display: flex; align-items: center; gap: 10px;
}
.story-avatar {
  position: relative;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--script); font-size: 13px;
  flex-shrink: 0;
}
.story-ring {
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
  z-index: -1;
  padding: 2px;
}
.story-meta { color: #fff; }
.story-name { font-size: 12px; font-weight: 600; }
.story-time { font-size: 12px; opacity: .7; }
.story-progress {
  position: absolute; top: 8px; left: 10px; right: 10px;
  z-index: 3; display: flex; gap: 3px;
}
.story-progress span {
  flex: 1; height: 2px; background: rgba(255,255,255,.4); border-radius: 2px;
}
.story-progress span.active { background: #fff; }
.story-body {
  position: absolute; inset: 0;
}
.story-body img { width: 100%; height: 100%; object-fit: cover; }
.story-body::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.5));
}
.story-sticker {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-4deg);
  background: #fff; color: var(--ink);
  font-family: var(--display); font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 2;
}
.story-sticker strong { display: block; font-size: 18px; color: var(--primary); font-weight: 700; margin: 2px 0; }
.story-sticker span { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.story-cta {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.3);
  z-index: 3;
}
.social-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  font-size: 12px;
  color: var(--primary-dark);
  width: fit-content;
}
.social-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.8s ease-in-out infinite;
}
.social-badge strong { color: var(--primary); }

@media (max-width: 720px) {
  .social-story {
    justify-self: center;
    margin-top: 0;
    margin-right: 0;
    transform: none;
  }
}

/* ───── Brand swatch live recolor ───────────────────────── */
#brandKicker, #brandYou, #brandLogo, #brandDot {
  transition: color .35s ease, background-color .35s ease;
}
@keyframes brandPulse {
  0%   { transform: scale(1);    filter: brightness(1); }
  40%  { transform: scale(1.06); filter: brightness(1.18); }
  100% { transform: scale(1);    filter: brightness(1); }
}
.brand-pulse { animation: brandPulse .55s cubic-bezier(.4,0,.2,1); transform-origin: left center; }
#brandDot.brand-pulse, #brandLogo.brand-pulse { transform-origin: center; }


/* ──────────────────────────────────────────────
   Ch 02 — Kitchen board + receipt stack
   ────────────────────────────────────────────── */
.ch2-stack {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
  padding: 30px 0;
}
.ch2-stack .receipt {
  position: relative;
  z-index: 3;
  margin-right: -40px;
  margin-top: 60px;
  transform: rotate(2.5deg);
}
.kb-board {
  position: relative;
  z-index: 1;
  width: 460px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(26,20,48,0.3), 0 8px 24px -12px rgba(26,20,48,0.15);
  overflow: hidden;
  transform: rotate(-2deg);
  align-self: flex-start;
  margin-left: -10px;
}
.kb-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
}
.kb-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.kb-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22,163,74,.5);
  animation: kbPulse 1.6s ease-in-out infinite;
}
@keyframes kbPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); }
  50% { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}
.kb-chime {
  font-family: var(--mono); font-size: 12px;
  color: var(--primary);
  padding: 3px 8px; background: var(--primary-50);
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.kb-lanes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
}
.kb-lane {
  background: var(--paper);
  padding: 12px 10px;
  min-height: 180px;
}
.kb-lane.is-active { background: var(--primary-50); }
.kb-lane-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--rule-strong);
  margin-bottom: 10px;
}
.kb-count {
  background: var(--ink); color: #fff;
  padding: 1px 6px; border-radius: 999px;
  font-size: 12px;
}
.kb-lane.is-active .kb-count { background: var(--primary); }
.kb-tix {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 12px;
}
.kb-tix-active {
  background: var(--paper);
  border-color: var(--primary-200);
  box-shadow: 0 4px 12px -6px rgba(105,65,198,.3);
}
.kb-tix-done {
  background: rgba(22,163,74,.05);
  border-color: rgba(22,163,74,.25);
}
.kb-name {
  font-weight: 600; color: var(--ink);
  margin-bottom: 4px; font-size: 12px;
}
.kb-row { color: var(--muted); font-size: 12px; line-height: 1.5; }
.kb-time {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted-2); margin-top: 6px;
  letter-spacing: 0.04em;
}
.kb-time-done { color: #16a34a; font-weight: 600; }
.kb-progress {
  margin-top: 8px;
  height: 3px; background: var(--rule); border-radius: 999px; overflow: hidden;
}
.kb-progress-fill {
  width: 62%; height: 100%; background: var(--primary);
  animation: kbProgress 3.5s ease-in-out infinite;
}
@keyframes kbProgress {
  0%, 100% { width: 62%; }
  50% { width: 78%; }
}

@media (max-width: 880px) {
  .ch2-stack { flex-direction: column; }
  .ch2-stack .receipt { margin: -20px 0 0; transform: none; }
  .kb-board { transform: none; width: 100%; max-width: 460px; }
}

/* ──────────────────────────────────────────────
   Ch 04 — Translated menu mockup (purple section)
   ────────────────────────────────────────────── */
.lang-stack {
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.lang-menu-mock {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 16px 18px;
  color: #fff;
  margin-top: 6px;
}
.lang-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; margin-bottom: 10px;
  border-bottom: 1px dashed rgba(255,255,255,.16);
  gap: 12px;
}
.lang-menu-title {
  font-family: var(--script);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0;
}
.lang-menu-flags {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.lang-menu-flag {
  font-family: var(--mono); font-size: 12px;
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.7);
  letter-spacing: 0.04em;
}
.lang-menu-flag.is-on { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.32); }
.lang-menu-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.1);
}
.lang-menu-row:last-of-type { border-bottom: 0; }
.lang-menu-row-bg { animation: langFade 6s ease-in-out infinite; }
@keyframes langFade {
  0%, 50%, 100% { opacity: 1; transform: translateY(0); }
  40% { opacity: 0; transform: translateY(-4px); }
  60% { opacity: 0; transform: translateY(4px); }
}
.lang-menu-name {
  font-size: 14px; font-weight: 600;
  margin-bottom: 2px;
}
.lang-menu-translit { font-family: var(--display); }
.lang-menu-desc {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}
.lang-menu-price {
  font-family: var(--mono); font-size: 13px;
  color: var(--accent); font-weight: 700;
  white-space: nowrap;
}
.lang-menu-foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
  font-family: var(--mono); font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.04em;
}
.lang-menu-foot-icon {
  display: inline-flex; width: 16px; height: 16px;
  align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.12);
  color: var(--accent);
  font-size: 12px;
  animation: langSpin 4s linear infinite;
}
@keyframes langSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* ──────────────────────────────────────────────
   Ch 05 — Brand preview + phone mockup
   ────────────────────────────────────────────── */
.brand-stack {
  display: flex; align-items: flex-end; gap: 40px;
  position: relative;
  justify-content: center;
  min-height: 460px;
}
.brand-stack .brand-preview {
  flex: 1; max-width: 380px;
  margin-right: 0;
  z-index: 1;
}
.brand-phone {
  --brand-accent: var(--primary);
  position: relative;
  z-index: 2;
  width: 300px;
  background: #fff;
  border: 10px solid var(--ink);
  border-radius: 40px;
  padding: 28px 20px 24px;
  box-shadow: 0 40px 80px -30px rgba(26,20,48,0.45), 0 12px 30px -14px rgba(26,20,48,0.25);
  transform: rotate(4deg);
  transition: transform .4s cubic-bezier(.4,1.5,.5,1);
}
.brand-phone:hover { transform: rotate(0deg); }
.brand-phone-notch {
  position: absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 18px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
}
.brand-phone-bar {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--paper-2);
  border-radius: 999px;
  font-family: var(--mono); font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.brand-phone-bar-lock { font-size: 12px; opacity: .7; }
.brand-phone-hero {
  display: flex; flex-direction: column;
  padding: 16px 16px 14px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--brand-accent) 18%, transparent),
    color-mix(in oklab, var(--brand-accent) 6%, transparent));
  border-radius: 14px;
  margin-bottom: 16px;
  transition: background .35s ease;
}
.brand-phone-hero-name {
  font-family: var(--script);
  font-size: 30px; line-height: 1.1;
  color: var(--brand-accent);
  transition: color .35s ease;
}
.brand-phone-hero-tag {
  font-size: 12px; color: var(--muted);
  margin-top: 4px;
}
.brand-phone-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 6px;
  border-bottom: 1px dashed var(--rule);
  font-size: 14px;
  color: var(--ink);
}
.brand-phone-row:last-of-type { border-bottom: 0; }
.brand-phone-price {
  font-family: var(--mono); font-size: 13px;
  font-weight: 700;
  color: var(--brand-accent);
  transition: color .35s ease;
}
.brand-phone-cta {
  display: block;
  margin-top: 16px;
  padding: 12px 0;
  text-align: center;
  background: var(--brand-accent);
  color: #fff;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background .35s ease;
}

@media (max-width: 880px) {
  .brand-stack { flex-direction: column; align-items: stretch; gap: 24px; }
  .brand-stack .brand-preview { margin-right: 0; max-width: none; }
  .brand-phone { align-self: center; transform: none; }
}


/* Dark-mode: keep the bezel + notch + dynamic-island consistent (these are
   meant to read as a black phone regardless of theme). The screen itself
   follows --paper/--ink so it picks up the dark theme like the rest of the
   site. */
[data-theme="dark"] .brand-phone { border-color: #1a1430; }
[data-theme="dark"] .brand-phone-notch { background: #000; }
[data-theme="dark"] .bp-status { color: var(--ink); }
[data-theme="dark"] .bp-signal i { background: var(--ink); }
[data-theme="dark"] .bp-battery { border-color: var(--ink); }
[data-theme="dark"] .bp-battery::after { background: var(--ink); }
[data-theme="dark"] .bp-home { background: rgba(255,255,255,.45); }


/* ───── Brand-phone v2 — full iPhone mockup ───────────── */
.brand-phone {
  --brand-accent: var(--primary);
  position: relative; z-index: 2;
  width: 300px;
  background: transparent;
  border: 0;
  padding: 0;
  transform: rotate(4deg);
  transition: transform .4s cubic-bezier(.4,1.5,.5,1);
  filter: drop-shadow(0 30px 50px rgba(26,20,48,.3));
}
.brand-phone:hover { transform: rotate(0deg); }
.brand-phone-frame {
  background: linear-gradient(160deg, #1a1430 0%, #2e2547 100%);
  border-radius: 38px;
  padding: 12px;
  position: relative;
}
.brand-phone-screen {
  background: var(--paper);
  color: var(--ink);
  border-radius: 28px;
  overflow: hidden;
  padding: 36px 14px 14px;
  position: relative;
  min-height: 480px;
}
.brand-phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #000; border-radius: 999px;
  z-index: 4;
  display: flex; align-items: center; justify-content: center;
  gap: 30px;
}
.bp-speaker { width: 30px; height: 4px; background: #1a1a1a; border-radius: 4px; }
.bp-camera  { width: 6px; height: 6px; background: #15151f; border-radius: 50%; box-shadow: inset 0 0 0 1px #2a2a35; }
.bp-home {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 4px; background: rgba(255,255,255,.6); border-radius: 4px; z-index: 4;
}
.bp-status {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; color: #1a1430;
  padding: 0 4px 6px;
}
.bp-status-right { display: inline-flex; gap: 4px; align-items: center; }
.bp-signal { display: inline-flex; gap: 1px; align-items: flex-end; }
.bp-signal i { display: inline-block; width: 2px; background: #1a1430; border-radius: 1px; }
.bp-signal i:nth-child(1){ height: 3px; } .bp-signal i:nth-child(2){ height: 5px; }
.bp-signal i:nth-child(3){ height: 7px; } .bp-signal i:nth-child(4){ height: 9px; }
.bp-wifi { font-size: 12px; }
.bp-battery { width: 18px; height: 8px; border: 1px solid #1a1430; border-radius: 2px; position: relative; }
.bp-battery::after { content: ""; position: absolute; inset: 1px; width: 70%; background: #1a1430; border-radius: 1px; }

.brand-phone-bar {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--paper-2); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  margin-bottom: 12px;
}
.brand-phone-bar-lock { font-size: 12px; opacity: .8; }

.brand-phone-hero {
  padding: 12px 12px 10px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--brand-accent) 22%, transparent),
    color-mix(in oklab, var(--brand-accent) 6%, transparent));
  border-radius: 12px; margin-bottom: 12px;
  transition: background .35s ease;
}
.brand-phone-hero-name {
  font-family: var(--script); font-size: 26px; line-height: 1; color: var(--brand-accent); display:block;
  transition: color .35s ease;
}
.brand-phone-hero-tag { font-size: 12px; color: var(--muted); margin-top: 4px; display:block; }

.bp-tabs { display: flex; gap: 4px; margin-bottom: 10px; background: var(--paper-2); border-radius: 10px; padding: 3px; }
.bp-tab {
  flex: 1; padding: 6px 0; font-size: 12px; font-weight: 600;
  background: transparent; border: 0; border-radius: 8px;
  color: var(--muted); cursor: pointer;
  transition: all .2s ease;
}
.bp-tab.is-on { background: #fff; color: var(--brand-accent); box-shadow: 0 2px 6px rgba(0,0,0,.06); }

.bp-section-title {
  font-family: var(--script); font-size: 16px; color: var(--brand-accent);
  margin: 6px 4px 4px; transition: color .35s ease;
}
.bp-item {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 4px; border-bottom: 1px dashed var(--rule);
  text-align: left; font: inherit; color: var(--ink);
  transition: background .2s, transform .15s;
}
.bp-item:last-of-type { border-bottom: 0; }
.bp-item:hover { background: rgba(105,65,198,.05); border-radius: 6px; }
.bp-item:active { transform: scale(.98); }
.bp-row-text { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.bp-desc { font-size: 12px; color: var(--muted); }
.brand-phone-price { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--brand-accent); transition: color .35s ease; }

@keyframes bpPop { 0% { transform: scale(1); } 40% { transform: scale(1.05); background: rgba(105,65,198,.12); } 100% { transform: scale(1); } }
.bp-pop { animation: bpPop .45s ease-out; }

.bp-info-row { display: flex; justify-content: space-between; padding: 8px 4px; border-bottom: 1px dashed var(--rule); font-size: 12px; color: var(--ink); }
.bp-info-row span:first-child { color: var(--muted); }
.bp-review { padding: 8px 4px; border-bottom: 1px dashed var(--rule); }
.bp-review:last-child { border-bottom: 0; }
.bp-stars { color: var(--accent); font-size: 12px; margin-bottom: 3px; }
.bp-review-text { font-size: 12px; color: var(--ink); line-height: 1.4; }

.bp-cart {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 8px 8px 8px 12px;
  background: var(--paper-2); border-radius: 12px;
}
.bp-cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-accent); color: #fff;
  font-size: 12px; font-weight: 700;
  transition: background .35s ease;
}
.bp-cart-label { font-size: 12px; color: var(--muted); flex: 1; }
.bp-cart .brand-phone-cta {
  margin: 0; padding: 8px 14px; font-size: 12px;
  background: var(--brand-accent); color: #fff; border: 0;
  border-radius: 999px; cursor: pointer; font-weight: 700;
  transition: background .35s ease;
}

@media (max-width: 880px) {
  .brand-phone { transform: none; }
}


/* ──────────────────────────────────────────────
   The one big selling section (#what)
   ────────────────────────────────────────────── */
.sell { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); position: relative; }
.sell-lead { max-width: 920px; }
.sell-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.0; letter-spacing: -0.035em;
  margin: 16px 0 0; color: var(--ink);
  text-wrap: balance;
}
.sell-title em { font-family: var(--script); font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--primary); }
.sell-sub {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2);
  max-width: 60ch; margin: clamp(20px, 3vw, 28px) 0 0;
  text-wrap: pretty;
}

/* Showcase: product visual + what-you-get pillars */
.sell-showcase {
  display: grid; gap: clamp(36px, 5vw, 72px);
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: clamp(44px, 6vw, 80px);
}
@media (min-width: 940px) {
  .sell-showcase { grid-template-columns: minmax(280px, 0.85fr) 1.15fr; align-items: center; }
}
.sell-phone-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: clamp(28px, 4vw, 48px) 0;
  border-radius: 24px;
  background:
    radial-gradient(80% 70% at 50% 0%, color-mix(in oklab, var(--primary) 12%, transparent), transparent 70%),
    var(--lavender);
}
.sell-phone-tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}
.sell-phone-wrap .brand-phone { transform: rotate(-3deg); }
.sell-phone-wrap .brand-phone:hover { transform: rotate(0); }

.sell-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sell-point {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  align-items: start;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--rule);
}
.sell-point:last-child { border-bottom: 1px solid var(--rule); }
.sp-ico {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary);
  flex-shrink: 0;
}
.sp-ico svg { width: 24px; height: 24px; }
.sell-point h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 1.9vw, 22px); line-height: 1.2; letter-spacing: -0.02em;
  margin: 4px 0 6px; color: var(--ink);
}
.sell-point p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 46ch; }

/* The margin / commission band — what owners are really buying */
.sell-margin {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(32px, 4vw, 52px);
  border-radius: 24px;
  background: var(--ink); color: #fff;
  position: relative; overflow: hidden;
}
@media (min-width: 860px) { .sell-margin { grid-template-columns: 1fr 1fr; } }
.sell-margin .eyebrow { color: var(--accent); }
.sm-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -0.03em;
  margin: 14px 0 0; color: #fff; text-wrap: balance;
}
.sm-desc { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 18px 0 26px; max-width: 46ch; }
.sm-copy .btn-primary { background: #fff; color: var(--primary); }
.sm-copy .btn-primary:hover { background: var(--accent); color: var(--ink); }

.sm-compare {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 32px);
  display: grid; gap: 22px;
}
.smc-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.smc-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.66); }
.smc-bar { height: 16px; border-radius: 999px; background: rgba(255,255,255,0.10); overflow: hidden; }
.smc-bar span { display: block; height: 100%; border-radius: 999px; }
.smc-them .smc-bar span { background: rgba(255,255,255,0.32); }
.smc-us .smc-bar span { background: var(--accent); }
.smc-val { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.smc-them .smc-val { color: rgba(255,255,255,0.9); }
.smc-us .smc-val { color: var(--accent); }
.smc-val small { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.01em; color: rgba(255,255,255,0.6); }
.smc-foot { font-size: 12px; color: rgba(255,255,255,0.45); text-align: left; }

/* Dark theme: the band's --ink surface flips light, so pin it dark */
[data-theme="dark"] .sell-margin { background: var(--paper-3); border: 1px solid var(--rule-strong); }
[data-theme="dark"] .sm-copy .btn-primary { background: var(--primary); color: #fff; }
[data-theme="dark"] .sm-copy .btn-primary:hover { background: var(--accent); color: var(--ink); }

/* Kitchen board — dark-mode parity for the active lane */
[data-theme="dark"] .kb-lane.is-active { background: rgba(155,123,236,.10); }
[data-theme="dark"] .kb-tix-active { background: var(--paper); border-color: rgba(155,123,236,.35); }
[data-theme="dark"] .kb-tix-done   { background: rgba(45,212,191,.07); border-color: rgba(45,212,191,.28); }
[data-theme="dark"] .kb-count      { background: var(--ink-2); color: #f8f4ee; }
[data-theme="dark"] .kb-lane.is-active .kb-count { background: var(--primary); color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   Mobile friendliness — nav menu, overflow guards, fluid widths
   ═══════════════════════════════════════════════════════════════ */

/* Never allow horizontal scroll from a stray fixed width (clip keeps sticky working) */
html, body { max-width: 100%; overflow-x: clip; }
* { min-width: 0; }

/* ── Hamburger + dropdown menu (shown < 820px) ── */
.nav-toggle { display: none; }
.nav-cta-mobile { display: none; }
@media (max-width: 819px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border-radius: 11px;
    border: 1px solid var(--rule-strong); background: var(--paper-2);
    flex: 0 0 auto; order: 5;
  }
  .nav-toggle span {
    display: block; height: 2px; width: 100%; background: var(--ink);
    border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
  }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-inner { gap: 12px; }
  /* Top-bar CTA collapses into the dropdown; keep lang + theme reachable */
  .nav-right > .btn-primary { display: none; }

  .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 26px 44px -26px rgba(26,20,48,.34);
    padding: 8px 18px 18px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .nav.nav-open .nav-links {
    transform: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-links .nav-link {
    padding: 14px 6px; font-size: 16px; font-weight: 500;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links .nav-link:last-of-type { border-bottom: none; }
  .nav-cta-mobile {
    display: inline-flex; justify-content: center; text-align: center;
    width: 100%; margin-top: 14px;
  }
}

/* ── Neutralize direct-edited fixed pixel widths so content reflows ── */
@media (max-width: 960px) {
  .hero-copy--center,
  .hero-title,
  .hero-sub,
  .sell-title,
  .sell-point > div,
  .sell-point p,
  .price-head h2,
  .contact .display,
  .contact-grid p,
  .chapter-head h2,
  .chapter .display,
  .chapter-title,
  .brand-stack,
  .brand-logo {
    width: auto !important;
    max-width: 100% !important;
  }
  .hero-sub { height: auto !important; font-size: clamp(15px, 2.3vw, 20px) !important; }
  .hero-title { font-size: clamp(46px, 12vw, 96px) !important; line-height: 1.05; letter-spacing: -0.02em; }
}

/* ── General small-screen polish ── */
@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding-left: 18px; padding-right: 18px; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  /* keep tap targets comfortable */
  .nav-link, .btn { min-height: 44px; }
}

/* ── Whole-page mobile readability pass ── */
/* Kill any sub-pixel horizontal scroll from rotated/oversized mockups */
html, body { overflow-x: clip; }

@media (max-width: 600px) {
  /* Phone mockup: sit straight and scale to fit narrow screens */
  .sell-phone-wrap { height: auto !important; padding: 24px 0; }
  .sell-phone-wrap .brand-phone,
  .sell-phone-wrap .brand-phone:hover { transform: none; }
  .brand-phone { width: min(300px, 86vw); }

  /* Body copy: lift the smallest text to a comfortable reading size */
  .sell-point p,
  .pb-desc,
  .ps-card p { font-size: 16px; line-height: 1.6; }
  .sell-point h3 { font-size: 19px; }

  /* Bespoke band: stack cleanly, full-width CTA */
  .price-bespoke { flex-direction: column; align-items: stretch; text-align: left; gap: 18px; }
  .pb-side { align-items: stretch; min-width: 0; }
  .pb-side .price-cta { width: 100%; justify-content: center; text-align: center; }

  /* Comparison plan cards: a touch more breathing room */
  .pc-head { padding: 20px 18px; }
  .pc-cap, .pc-cell { padding: 13px 18px; }

  /* Section rhythm: trim very large vertical padding on phones */
  .sell, .pricing, .faq, .quote { padding-top: clamp(48px, 12vw, 72px); padding-bottom: clamp(48px, 12vw, 72px); }

  /* FAQ questions: keep them tappable and readable */
  .faq-q { font-size: 17px; }
}

/* ── How It Works: mockups on small screens ── */
@media (max-width: 560px) {
  /* Kitchen board: 3 cramped lanes → readable, spaced single column */
  .ch2-stack { gap: 22px; padding: 8px 0; }
  .kb-board { padding-bottom: 6px; }
  .kb-lanes { grid-template-columns: 1fr; gap: 10px; background: transparent; padding: 10px; }
  .kb-lane { min-height: 0; border-radius: 12px; padding: 14px 14px 16px; }
  .kb-lane-head { font-size: 12px; margin-bottom: 10px; }
  .kb-tix { font-size: 13px; padding: 12px 12px; margin-top: 8px; }
  .kb-name { font-size: 13.5px; }
  .kb-row { font-size: 13px; line-height: 1.5; }
  /* Receipt sits below the board, straight and full width */
  .ch2-stack .receipt { transform: none; align-self: stretch; margin: 0; }
  .receipt { width: 100%; padding: 24px 24px; }
  .receipt .rrow { padding: 7px 0; font-size: 14px; }
}

/* touch-targets */
@media (max-width:899px){.footer ul{gap:0}.footer ul a{display:inline-flex;align-items:center;min-height:40px}.legal-back{min-height:44px}.legal-content a.inline{display:inline-block;padding:6px 0}}

/* ── keyboard: skip link, one focus ring everywhere, nothing hidden under the sticky nav ── */
html { scroll-padding-top: 88px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg, #fff); font-weight: 700; text-decoration: none; transition: top .15s ease; }
[data-theme="dark"] .skip-link { color: #0f0b1a; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
:where(a, button, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 3px solid #6941C6; outline-offset: 2px; }
[data-theme="dark"] :where(a, button, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline-color: #A28AE8; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* targets: 24px with a fine pointer, 44px on phones and touch screens */
.nav-links a.nav-link, .legal-back { display: inline-flex; align-items: center; min-height: 24px; }
@media (max-width: 767px), (pointer: coarse) { .nav-links a, .legal-back, .legal-toc a, .lang-btn, .lang-opt, .nav-toggle, .theme-toggle { min-height: 44px; } .nav-toggle, .lang-btn, .theme-toggle { min-width: 44px; } }

/* forced colours (Windows contrast themes) drop button fills: keep an outline */
@media (forced-colors: active) { .btn { border: 1px solid currentColor; } }

/* logo: the wordmark-mask span shipped without styles, so the legal pages showed no logo at all */
.wordmark-mask { display: block; width: 74px; height: 30px; flex-shrink: 0; background-color: currentColor; -webkit-mask: url("site/logo.svg") no-repeat left center / contain; mask: url("site/logo.svg") no-repeat left center / contain; }
/* forced colours remove background fills: keep the masked logo and the menu bars in the system text colour */
@media (forced-colors: active) { .wordmark-mask, .nav-toggle span { forced-color-adjust: none; background-color: CanvasText; } .nav-logo .wordmark-mask { background-color: LinkText; } }

/* Metric-matched fallback for Inter (measured against Arial in Edge; same for Bulgarian and Latin): body text keeps
   its line breaks when the web font swaps in. Overrides keep Inter's 0.969/0.242 metrics. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 599; size-adjust: 106%; ascent-override: 91.40%; descent-override: 22.85%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 900; size-adjust: 102.5%; ascent-override: 94.52%; descent-override: 23.63%; line-gap-override: 0%; }

/* sentence-case labels on the legal pages */
.legal-hero .legal-meta,.legal-toc-label,.legal-table th{font-family:inherit;font-size:13px;letter-spacing:0;text-transform:none;font-weight:600}
