/* ───────────────────────────────────────────────────────────
   Deliney — Promo site styles
   Built on the Deliney design tokens (deliney-tokens.css)
   ─────────────────────────────────────────────────────────── */

:root {
  --maxw: 1180px;
  --site-pad: 28px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--clay-soft); color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--site-pad); }

/* paper grain texture overlay, very subtle */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(31,26,20,.025) 1px, transparent 1px);
  background-size: 4px 4px;
}
body > *:not(.cc-root) { position: relative; z-index: 1; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), opacity .15s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-clay { background: var(--clay); color: #FFFBF5; box-shadow: var(--shadow-fab); }
.btn-clay:hover { opacity: .92; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--divider-strong); }
.btn-ghost:hover { background: var(--surface); }
.btn-lg { font-size: 16px; padding: 16px 28px; }

/* ── Eyebrow / micro labels ── */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--clay); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }

.serif-display { font-family: var(--font-serif); line-height: 1.04; letter-spacing: -.5px; font-weight: 700; }
.lead { font-size: 19px; color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }

/* ───── Header / nav ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--divider); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-brand); font-size: 21px; font-weight: 700; letter-spacing: -.3px; }
.brand .mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); transition: color .15s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--divider-strong);
  background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink-soft);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.theme-toggle:hover { background: var(--surface); color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; }

/* ───── Hero ───── */
.hero { padding-top: 70px; padding-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); margin: 20px 0 0; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero .lead { margin-top: 22px; max-width: 30em; }

.waitlist { margin-top: 32px; max-width: 440px; }

.wl-row { display: flex; gap: 8px; max-width: 460px; margin-bottom: 12px; }
.wl-row input[type="email"] {
  flex: 1; min-width: 0; padding: 13px 16px;
  border-radius: var(--r-field); border: 1.5px solid var(--divider);
  background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 15px;
  outline: none; transition: border-color .15s;
}
.wl-row input[type="email"]::placeholder { color: var(--ink-mute); }
.wl-row input[type="email"]:focus { border-color: var(--clay); }
[data-theme="dark"] .wl-row input[type="email"] { background: var(--surface-alt); }
.wl-done {
  display: flex; align-items: center; gap: 8px;
  color: var(--sage); font-weight: 600; font-size: 15px; margin-bottom: 12px;
}
.wl-error { font-size: 14px; color: var(--clay); margin-bottom: 12px; }

.platforms { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.platform { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }
.platform svg { width: 19px; height: 19px; opacity: .8; }
.platforms .sep { width: 1px; height: 22px; background: var(--divider-strong); }

/* ── Store download badges ── */
.store-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #15110d; color: #FCF8F1;
  border: 1px solid transparent; border-radius: 14px;
  padding: 10px 18px 10px 15px;
  transition: transform .16s var(--ease), opacity .2s var(--ease), background .2s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge:active { transform: translateY(0); }
.store-badge svg { width: 23px; height: 23px; flex-shrink: 0; }
.store-badge .lab { display: flex; flex-direction: column; line-height: 1.12; }
.store-badge .lab small { font-size: 9.5px; font-weight: 500; letter-spacing: .3px; opacity: .74; }
.store-badge .lab strong { font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; letter-spacing: -.2px; }
[data-theme="dark"] .store-badge { background: #0E0B07; border-color: var(--divider-strong); }
/* ghost web variant */
.store-badge.web { background: transparent; color: var(--ink); border-color: var(--divider-strong); }
.store-badge.web:hover { background: var(--surface); }
.store-badge.web svg { opacity: .85; }

.store-note { font-size: 12.5px; color: var(--ink-mute); margin-top: 14px; padding-left: 2px; }
.store-note a { color: var(--clay); font-weight: 600; }
.store-note a:hover { text-decoration: underline; }

/* ───── Phone frame ───── */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::after {
  content: ""; position: absolute; inset: 8% 14%; z-index: 0;
  background: radial-gradient(closest-side, var(--clay-soft), transparent 78%);
  opacity: .55; filter: blur(8px);
}
.phone {
  position: relative; z-index: 1; width: 300px; height: 624px; border-radius: 46px;
  background: #15110d; padding: 11px; box-shadow: 0 30px 70px -20px rgba(31,26,20,.42), 0 8px 22px rgba(31,26,20,.18);
}
.phone-screen { width: 100%; height: 100%; border-radius: 36px; background: var(--bg); overflow: hidden; position: relative; }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 108px; height: 26px; background: #15110d; border-radius: 0 0 16px 16px; z-index: 5; }

/* tiny screenshot UI inside phone */
.scr { padding: 40px 16px 0; height: 100%; font-size: 12px; }
.scr-statusbar { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 8px; font-size: 11px; font-weight: 600; color: var(--ink); }
.scr-statusbar .dots { display: flex; gap: 4px; align-items: center; }
.scr-greet-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-mute); }
.scr-greet { font-family: var(--font-serif); font-size: 21px; line-height: 1.08; margin-top: 4px; }
.scr-greet em { font-style: italic; color: var(--clay); }
.scr-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center; font-family: var(--font-serif); font-size: 14px; }
.scr-card { background: var(--surface); border: 1px solid var(--divider); border-radius: 18px; padding: 14px; margin-top: 10px; }
.scr-cardlabel { font-size: 8.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }
.scr-hero-amt { font-family: var(--font-serif); font-size: 30px; letter-spacing: -.5px; margin-top: 6px; }
.scr-hero-amt .dec { font-size: 16px; opacity: .5; }
.scr-curr-row { display: flex; gap: 12px; margin-top: 11px; }
.scr-curr .c-lab { font-size: 8px; font-weight: 700; letter-spacing: .6px; color: var(--ink-mute); text-transform: uppercase; }
.scr-curr .c-val { font-family: var(--font-mono); font-size: 12px; font-weight: 600; margin-top: 2px; }
.scr-curr .divx { width: 1px; height: 26px; background: var(--divider); }
.scr-bar { height: 7px; border-radius: 999px; background: var(--surface-alt); overflow: hidden; margin-top: 11px; position: relative; }
.scr-bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; background: var(--clay); border-radius: 999px; }
.scr-bar-meta { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--ink-soft); margin-top: 6px; }
.scr-sec-title { font-family: var(--font-serif); font-size: 16px; margin: 16px 0 8px; }
.scr-tx { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.scr-tx + .scr-tx { border-top: 1px solid var(--divider); }
.scr-tx .gl { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.scr-tx > div { min-width: 0; }
.scr-tx .nm { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-tx .mt { font-size: 9px; color: var(--ink-mute); margin-top: 1px; white-space: nowrap; }
.scr-tx .amt { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.scr-tx-list { background: var(--surface); border: 1px solid var(--divider); border-radius: 16px; padding: 2px 13px; }

/* ───── Section scaffolding ───── */
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0 0; }
.section-head .lead { margin-top: 18px; }

/* ───── Moat / item-level demo ───── */
.moat { background: var(--surface); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.moat-demo { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: center; margin-top: 56px; }

.receipt {
  background: #FCF8F1; color: #2a2017; width: 100%; max-width: 320px; margin: 0 auto;
  border-radius: 6px; padding: 26px 26px 30px; font-family: var(--font-mono); font-size: 12.5px;
  box-shadow: 0 18px 40px -16px rgba(31,26,20,.3);
  position: relative;
  -webkit-mask: radial-gradient(7px at 7px 50%, transparent 98%, #000) repeat-y left / 14px 18px,
                radial-gradient(7px at calc(100% - 7px) 50%, transparent 98%, #000) repeat-y right / 14px 18px,
                linear-gradient(#000 0 0) padding-box;
  -webkit-mask-composite: source-over; mask-composite: add;
}
.receipt-head { text-align: center; border-bottom: 1px dashed rgba(42,32,23,.35); padding-bottom: 12px; margin-bottom: 12px; }
.receipt-store { font-family: var(--font-serif); font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.receipt-sub { font-size: 10px; opacity: .6; margin-top: 3px; letter-spacing: .5px; }
.receipt-line { display: flex; align-items: center; gap: 8px; padding: 6.5px 8px; border-radius: 6px; margin: 0 -8px; transition: background .3s var(--ease); position: relative; }
.receipt-line .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.receipt-line .pr { flex-shrink: 0; }
.receipt-line .tag {
  flex-shrink: 0; margin-left: auto;
  font-family: var(--font-sans); font-size: 8px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; opacity: 0; transform: translateX(-4px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease); white-space: nowrap;
}
.receipt-line.lit { background: rgba(181,97,61,.09); }
.receipt-line.lit .tag { opacity: 1; transform: translateX(0) scale(1); }
.receipt-total { display: flex; justify-content: space-between; border-top: 1px dashed rgba(42,32,23,.35); margin-top: 12px; padding-top: 12px; font-weight: 700; font-size: 13.5px; }

.breakdown-card { background: var(--bg); border: 1px solid var(--divider); border-radius: var(--r-card-lg); padding: 28px; }
.breakdown-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.breakdown-head .t { font-family: var(--font-serif); font-size: 21px; }
.breakdown-head .n { font-size: 12px; color: var(--ink-mute); font-weight: 600; }
.stack-bar { height: 16px; border-radius: 999px; overflow: hidden; display: flex; background: var(--surface-alt); }
.stack-bar > span { height: 100%; width: 0; transition: width .9s var(--ease); }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; margin-top: 24px; }
.legend-item { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.legend-item.show { opacity: 1; transform: none; }
.legend-item .sw { width: 11px; height: 11px; border-radius: 4px; flex-shrink: 0; }
.legend-item .lg-nm { font-size: 13px; font-weight: 500; }
.legend-item .lg-amt { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.moat-foot { margin-top: 26px; font-size: 13px; color: var(--ink-mute); display: flex; align-items: center; gap: 8px; }

/* ───── Feature cards ───── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.feat-card { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-card-lg); padding: 30px; transition: transform .25s var(--ease), border-color .25s var(--ease); }
.feat-card:hover { transform: translateY(-4px); border-color: var(--divider-strong); }
.feat-card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.feat-card .ic svg { width: 25px; height: 25px; }
.feat-card h3 { font-family: var(--font-serif); font-size: 21px; margin: 0 0 9px; font-weight: 700; }
.feat-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.feat-card.wide { grid-column: span 1; }

/* ───── Analytics strip ───── */
.analytics { background: var(--surface); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.an-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.donut-wrap { display: flex; justify-content: center; align-items: center; gap: 34px; flex-wrap: wrap; }
@property --donut-sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.donut { width: 220px; height: 220px; border-radius: 50%; position: relative; }
.donut::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--donut-grad, transparent);
  -webkit-mask: conic-gradient(#000 var(--donut-sweep), transparent 0deg);
  mask: conic-gradient(#000 var(--donut-sweep), transparent 0deg);
}
.donut.spin::before { animation: donut-sweep 1.15s cubic-bezier(.34,.9,.3,1) forwards; }
@keyframes donut-sweep { from { --donut-sweep: 0deg; } to { --donut-sweep: 360deg; } }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; z-index: 2; }
.donut-center .big { font-family: var(--font-serif); font-size: 27px; }
.donut-center .sm { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-mute); font-weight: 700; margin-top: 2px; }
.donut-legend { display: flex; flex-direction: column; gap: 12px; }
.donut-legend .row { display: flex; align-items: center; gap: 11px; font-size: 13.5px; }
.donut-wrap.played .donut-legend .row { opacity: 0; transform: translateY(7px); animation: donut-legend-in .5s cubic-bezier(.4,0,.2,1) forwards; }
.donut-wrap.played .donut-legend .row:nth-child(1) { animation-delay: .42s; }
.donut-wrap.played .donut-legend .row:nth-child(2) { animation-delay: .52s; }
.donut-wrap.played .donut-legend .row:nth-child(3) { animation-delay: .62s; }
.donut-wrap.played .donut-legend .row:nth-child(4) { animation-delay: .72s; }
.donut-wrap.played .donut-legend .row:nth-child(5) { animation-delay: .82s; }
.donut-wrap.played .donut-legend .row:nth-child(6) { animation-delay: .92s; }
@keyframes donut-legend-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .donut.spin::before { animation: none; --donut-sweep: 360deg; }
  .donut-wrap.played .donut-legend .row { animation: none; opacity: 1; transform: none; }
}
.donut-legend .sw { width: 11px; height: 11px; border-radius: 4px; }
.donut-legend .pct { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); padding-left: 20px; }

/* ───── Pricing ───── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 56px auto 0; }
.price-card { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-card-lg); padding: 34px; position: relative; display: flex; flex-direction: column; }
.price-card.feature { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.price-badge { position: absolute; top: -12px; right: 26px; background: var(--clay); color: #FFFBF5; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
.price-tier { font-family: var(--font-serif); font-size: 24px; font-weight: 700; }
.price-tier-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.price-amt { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price-amt .num { font-family: var(--font-serif); font-size: 44px; font-weight: 700; letter-spacing: -1px; }
.price-amt .per { font-size: 14px; color: var(--ink-mute); }
.price-amt .placeholder { font-size: 13px; color: var(--ink-mute); font-style: italic; }
.price-list { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 13px; }
.price-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink-soft); }
.price-list li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--clay); }
.price-list li.muted { color: var(--ink-mute); }
.price-list li.muted svg { color: var(--ink-mute); }
.price-card .btn { margin-top: auto; }

/* ───── FAQ ───── */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--divider); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; text-align: left; font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--ink); }
.faq-q .chev { width: 22px; height: 22px; flex-shrink: 0; color: var(--clay); transition: transform .3s var(--ease); }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { margin: 0; padding: 0 4px 24px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 64ch; }

/* ───── Final CTA ───── */
.cta-band { padding: 92px 0; }
.cta-card { background: var(--clay); border-radius: 34px; padding: 64px 56px; color: #FFF7F0; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-card::after { content: ""; position: absolute; left: -60px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-card h2 { font-family: var(--font-serif); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.06; margin: 0; font-weight: 700; }
.cta-card h2 em { font-style: italic; }
.cta-card p { font-size: 16px; opacity: .9; margin: 16px 0 0; max-width: 34ch; }
/* waitlist form on clay CTA card */
.cta-card .wl-row { margin-top: 26px; }
.cta-card .wl-row input[type="email"] {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,247,240,.3);
  color: #FFF7F0;
}
.cta-card .wl-row input[type="email"]::placeholder { color: rgba(255,247,240,.45); }
.cta-card .wl-row input[type="email"]:focus { border-color: rgba(255,247,240,.65); }
[data-theme="dark"] .cta-card .wl-row input[type="email"] {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,247,240,.3);
  color: #FFF7F0;
}
.cta-card .wl-row .btn-clay { background: #FFFBF5; color: var(--clay); }
.cta-card .wl-row .btn-clay:hover { background: #fff; }
.cta-card .wl-done { color: rgba(255,247,240,.9); }
.cta-card .store-note { color: rgba(255,247,240,.6); margin-top: 10px; }
/* store badges on the clay band */
.cta-card .store-badges { margin-top: 28px; }
.cta-card .store-badge { background: #FFFBF5; color: var(--clay); border-color: transparent; }
.cta-card .store-badge:hover { background: #fff; }
.cta-card .store-badge.web { background: transparent; color: #FFF7F0; border-color: rgba(255,247,240,.4); }
.cta-card .store-badge.web:hover { background: rgba(255,255,255,.1); }

.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.qr-frame { background: #FFFBF5; padding: 14px; border-radius: 20px; }
.qr-frame svg { width: 132px; height: 132px; }
.cta-qr .qr-cap { font-size: 12.5px; opacity: .9; text-align: center; max-width: 16ch; }

/* share card (waitlist mode, replaces QR) */
.wl-share-inner {
  width: 210px; height: auto;
  border: 1.5px solid rgba(255,247,240,.28);
  border-radius: 14px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 18px 16px; gap: 11px; box-sizing: border-box;
}
.wl-share-label { font-size: 11.5px; line-height: 1.4; font-weight: 500; color: rgba(255,247,240,.75); margin: 0; }
.wl-share-url-row {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,247,240,.22);
  border-radius: 8px; padding: 6px 10px;
  width: 100%; box-sizing: border-box;
}
.wl-share-url-text { font-size: 10px; color: #FFF7F0; font-family: var(--font-mono, monospace); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-copy-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,247,240,.9); font-size: 10px; font-weight: 600;
  padding: 0; font-family: var(--font-sans); flex-shrink: 0;
  transition: opacity .15s;
}
.wl-copy-btn:hover { opacity: .65; }
.wl-share-actions { display: flex; gap: 6px; width: 100%; }
.wl-share-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600;
  color: #FFF7F0; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,247,240,.25);
  border-radius: 8px; padding: 6px 10px;
  text-decoration: none; transition: background .15s; white-space: nowrap;
}
.wl-share-btn:hover { background: rgba(255,255,255,.22); }

/* ───── Footer ───── */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--divider); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer-blurb { font-size: 14px; color: var(--ink-soft); max-width: 30ch; line-height: 1.6; }

/* footer newsletter */
.footer-news { margin-top: 22px; max-width: 320px; }
.footer-news-label { font-size: 13px; color: var(--ink-soft); margin: 0 0 9px; }
.footer-news form { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--divider-strong); border-radius: var(--r-pill); padding: 4px 4px 4px 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.footer-news form:focus-within { border-color: var(--clay); box-shadow: 0 0 0 4px var(--clay-soft); }
.footer-news input { flex: 1; border: none; background: transparent; outline: none; font-family: var(--font-sans); font-size: 14px; color: var(--ink); min-width: 0; }
.footer-news input::placeholder { color: var(--ink-mute); }
.footer-news button { border: none; cursor: pointer; background: var(--clay); color: #FFFBF5; border-radius: var(--r-pill); width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0; transition: opacity .15s var(--ease); }
.footer-news button:hover { opacity: .9; }
.footer-news button svg { width: 17px; height: 17px; }
.footer-news.done form { display: none; }
.footer-news .news-success { display: none; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--sage); }
.footer-news.done .news-success { display: flex; }
.footer-news .news-note { font-size: 11.5px; color: var(--ink-mute); margin: 9px 0 0; padding-left: 2px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); padding: 6px 0; transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--clay); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--divider); flex-wrap: wrap; }
.footer-bottom .copy { font-size: 13px; color: var(--ink-mute); }
.langs { display: flex; gap: 8px; }
.lang-chip { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--divider); color: var(--ink-soft); }
.lang-chip.active { background: var(--clay-soft); color: var(--ink); border-color: transparent; }

/* ───── Scroll reveal ───── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ───── Mobile menu ───── */
.mobile-menu { display: none; }

/* ─────────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: left; }
  .hero-copy { max-width: 600px; }
  .moat-demo, .an-grid, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .an-grid .an-visual { order: -1; }
}

@media (max-width: 760px) {
  :root { --site-pad: 20px; }
  .nav-links { display: none; }
  .nav-actions .btn-text { display: none; }
  .nav-burger { display: block; }
  .section-pad { padding: 68px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .cta-card { padding: 44px 28px; }
  .legend { grid-template-columns: 1fr; }
  .platforms .sep { display: none; }

  .mobile-menu {
    position: fixed; inset: 68px 0 auto; z-index: 49; background: var(--bg);
    border-bottom: 1px solid var(--divider); padding: 14px var(--site-pad) 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s var(--ease);
  }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 4px; font-size: 17px; font-family: var(--font-serif); border-bottom: 1px solid var(--divider); }
  .mobile-menu .btn { width: 100%; margin-top: 18px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 38px; }
  .phone { width: 270px; height: 562px; }
}

