/* ============================================================
   Wine List AI — landing site
   Compiled from the Claude Design template "Wine List AI Landing".
   Old-world refined · parchment + ink · terracotta accent.
   Self-contained: fonts self-hosted, no external requests.
   ============================================================ */

/* ── Self-hosted fonts (latin subsets) ─────────────────────── */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/newsreader-roman-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/newsreader-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/geist-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/plexmono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/plexmono-500-latin.woff2') format('woff2');
}

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --wla-paper:      #f3ecdd;
  --wla-paper-2:    #ece3d0;
  --wla-paper-3:    #f9f3e4;
  --wla-paper-edge: #e2d6bc;

  --wla-ink:      #1c1815;
  --wla-ink-2:    #4a4239;
  --wla-ink-3:    #7a6f5f;
  --wla-ink-rule: rgba(28, 24, 21, 0.14);
  --wla-ink-soft: rgba(28, 24, 21, 0.06);

  --wla-accent-light: #b8623a;
  --wla-accent-dark:  #d68961;
  --wla-accent:      var(--wla-accent-light);
  --wla-accent-hov:  color-mix(in oklch, var(--wla-accent) 82%, black);
  --wla-accent-soft: color-mix(in oklch, var(--wla-accent) 14%, transparent);

  --wla-claret:     #7a2424;
  --wla-rose:       #c97a78;
  --wla-white-wine: #d4b876;
  --wla-sparkling:  #e0c98f;
  --wla-rating:     #9c7a3a;

  --wla-font-display: 'Newsreader', 'Source Serif Pro', Georgia, serif;
  --wla-font-ui:      'Geist', -apple-system, 'SF Pro Text', system-ui, sans-serif;
  --wla-font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wla-shadow-sm: 0 1px 0 rgba(28,24,21,0.04), 0 1px 2px rgba(28,24,21,0.05);
  --wla-shadow-md: 0 2px 4px rgba(28,24,21,0.04), 0 8px 24px rgba(28,24,21,0.08);
  --wla-shadow-lg: 0 4px 8px rgba(28,24,21,0.05), 0 16px 48px rgba(28,24,21,0.12);

  --wla-ease:     cubic-bezier(0.32, 0.72, 0.32, 1);
  --wla-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wla-dur-2: 220ms;
}

/* Fallbacks for browsers without oklch color-mix */
@supports not (color: color-mix(in oklch, red, blue)) {
  :root { --wla-accent-hov: #9c4f2d; --wla-accent-soft: rgba(184,98,58,0.14); }
  [data-theme="dark"] { --wla-accent-hov: #e0a07f; --wla-accent-soft: rgba(214,137,97,0.16); }
}

[data-theme="dark"] {
  --wla-paper:      #25201a;
  --wla-paper-2:    #2e2820;
  --wla-paper-3:    #383128;
  --wla-paper-edge: #41382e;

  --wla-ink:      #f0e8d6;
  --wla-ink-2:    #b2a690;
  --wla-ink-3:    #786c5b;
  --wla-ink-rule: rgba(240, 232, 214, 0.14);
  --wla-ink-soft: rgba(240, 232, 214, 0.06);

  --wla-accent:      var(--wla-accent-dark);
  --wla-accent-hov:  color-mix(in oklch, var(--wla-accent) 88%, white);
  --wla-accent-soft: color-mix(in oklch, var(--wla-accent) 16%, transparent);

  --wla-claret:     #b34848;
  --wla-rose:       #d68a87;
  --wla-white-wine: #d4b876;
  --wla-sparkling:  #e8d49a;
  --wla-rating:     #c9a14a;

  --wla-shadow-md: 0 2px 4px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.35);
  --wla-shadow-lg: 0 4px 8px rgba(0,0,0,0.35), 0 16px 48px rgba(0,0,0,0.45);
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wla-paper);
  color: var(--wla-ink);
  font-family: var(--wla-font-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--wla-accent); text-decoration: none; transition: color var(--wla-dur-2) var(--wla-ease); }
a:hover { color: var(--wla-accent-hov); }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
::selection { background: var(--wla-accent-soft); }

/* Paper texture — pure CSS, no asset */
.wla-paper-tex {
  background-color: var(--wla-paper);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(122, 89, 56, 0.04) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(122, 89, 56, 0.03) 0, transparent 50%),
    repeating-linear-gradient(0deg, rgba(28,24,21,0.012) 0px, rgba(28,24,21,0.012) 1px, transparent 1px, transparent 3px);
}
[data-theme="dark"] .wla-paper-tex {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(214, 137, 97, 0.03) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(214, 137, 97, 0.02) 0, transparent 50%),
    repeating-linear-gradient(0deg, rgba(237,229,212,0.012) 0px, rgba(237,229,212,0.012) 1px, transparent 1px, transparent 3px);
}

/* ── Motion ────────────────────────────────────────────────── */
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes drift  { 0% { transform: rotate(2.5deg) translateY(0); } 50% { transform: rotate(2.5deg) translateY(-10px); } 100% { transform: rotate(2.5deg) translateY(0); } }

.rise { animation: riseIn 0.9s var(--wla-ease-out) both; }
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--wla-ease-out), transform 0.8s var(--wla-ease-out);
  transition-delay: var(--rd, 0s);
}
[data-reveal].on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .phone-hero { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Layout ────────────────────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  max-width: 1180px; margin: 0 auto; padding: 26px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-name { font-family: var(--wla-font-display); font-style: italic; font-weight: 500; font-size: 21px; letter-spacing: -0.01em; color: var(--wla-ink); }
.brand-tag {
  font-family: var(--wla-font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--wla-accent); border: 1px solid var(--wla-accent); border-radius: 4px; padding: 2px 5px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--wla-ink-2); }
.nav-link:hover { color: var(--wla-ink); }
.nav-cta {
  font-size: 14px; font-weight: 500; background: var(--wla-ink); color: var(--wla-paper);
  border-radius: 999px; padding: 10px 20px; transition: transform var(--wla-dur-2) var(--wla-ease), color var(--wla-dur-2) var(--wla-ease);
}
.nav-cta:hover { transform: translateY(-2px); color: var(--wla-paper); }

/* ── Eyebrow / shared type ─────────────────────────────────── */
.eyebrow {
  font-family: var(--wla-font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--wla-accent); text-transform: uppercase;
}
.section-h {
  font-family: var(--wla-font-display); font-weight: 400;
  font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.018em; text-wrap: pretty;
}
.lede { font-size: 16px; line-height: 1.65; color: var(--wla-ink-2); text-wrap: pretty; }

/* ── App Store badge ───────────────────────────────────────── */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--wla-ink); color: var(--wla-paper);
  border-radius: 14px; padding: 13px 24px 13px 20px;
  box-shadow: var(--wla-shadow-md);
  transition: transform var(--wla-dur-2) var(--wla-ease), box-shadow var(--wla-dur-2) var(--wla-ease);
}
.appstore:hover { transform: translateY(-3px); box-shadow: var(--wla-shadow-lg); color: var(--wla-paper); }
.appstore svg { flex-shrink: 0; }
.appstore-lines { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore-top { font-size: 10.5px; letter-spacing: 0.06em; opacity: 0.75; }
.appstore-store { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
/* "Coming soon" variant — not yet on the App Store */
.appstore.is-soon { cursor: default; }
.appstore.is-soon:hover { transform: none; box-shadow: var(--wla-shadow-md); }
.appstore .soon-flag {
  margin-left: 4px; align-self: center;
  font-family: var(--wla-font-mono); font-size: 8.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wla-paper);
  border: 0.5px solid rgba(240,232,214,0.4); border-radius: 999px; padding: 3px 7px;
}

.text-link {
  font-size: 14px; font-weight: 500; color: var(--wla-ink-2);
  border-bottom: 1px solid var(--wla-ink-rule); padding-bottom: 2px;
}
.text-link:hover { color: var(--wla-ink); }

.microcopy {
  font-family: var(--wla-font-mono); font-size: 12px; color: var(--wla-ink-3); letter-spacing: 0.08em;
}

/* ── Hero ──────────────────────────────────────────────────── */
.page { min-height: 100vh; color: var(--wla-ink); font-family: var(--wla-font-ui); overflow-x: hidden; }

.hero {
  max-width: 1180px; margin: 0 auto; padding: 64px 40px 130px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 70px;
}
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-eyebrow { margin-bottom: 26px; }
.hero-h1 {
  margin: 0 0 28px; font-family: var(--wla-font-display); font-weight: 400;
  font-size: clamp(40px, 7vw, 66px); line-height: 1.04; letter-spacing: -0.018em;
}
.hero-h1 span { display: block; }
.hero-h1 em { font-weight: 500; }
.hero-lede { margin: 0 0 36px; font-size: 17px; max-width: 32em; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-note { margin-top: 30px; }

.hero-visual { flex: 0 0 auto; position: relative; margin: 0 auto; }
.hero-glow {
  position: absolute; inset: -60px -40px;
  background: radial-gradient(ellipse at 55% 40%, var(--wla-accent-soft) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Phone mockup ──────────────────────────────────────────── */
.phone {
  position: relative; width: 312px;
  background: #161310; border-radius: 50px; padding: 12px;
  box-shadow: 0 4px 8px rgba(28,24,21,0.08), 0 30px 70px rgba(28,24,21,0.25);
}
.phone-hero {
  animation: drift 7s ease-in-out infinite;
  transform: rotate(2.5deg);
  box-shadow: 0 4px 8px rgba(28,24,21,0.08), 0 40px 90px rgba(28,24,21,0.3);
}
.phone-screen {
  border-radius: 39px; overflow: hidden; background: var(--wla-paper);
  height: 632px; position: relative;
}
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 25px; border-radius: 999px; background: #161310; z-index: 3;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 26px 0; font-family: var(--wla-font-mono); font-size: 12px; color: var(--wla-ink-2);
}
.batt { width: 16px; height: 8px; border: 1px solid var(--wla-ink-3); border-radius: 2px; display: inline-flex; padding: 1px; }
.batt > span { width: 70%; background: var(--wla-ink-2); border-radius: 1px; }

.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--wla-accent); color: #fff7ec;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wla-font-display); font-style: italic; font-weight: 500; font-size: 15px;
}
.screen-kicker {
  font-family: var(--wla-font-ui); font-weight: 500; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wla-ink-3);
}
.screen-greet {
  margin-top: 9px; font-family: var(--wla-font-display); font-size: 31px; font-weight: 400;
  letter-spacing: -0.018em; line-height: 1.08;
}
.screen-greet em { font-weight: 500; }

.scan-cta {
  background: var(--wla-ink); border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 13px; box-shadow: 0 8px 24px rgba(28,24,21,0.12);
}
.scan-ico {
  width: 38px; height: 38px; border-radius: 50%; background: var(--wla-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.scan-label { font-family: var(--wla-font-ui); font-weight: 500; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(237,229,212,0.6); }
.scan-title { font-family: var(--wla-font-display); font-style: italic; font-size: 17.5px; color: var(--wla-paper); letter-spacing: -0.01em; margin-top: 2px; }

.recent-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.recent-title { font-family: var(--wla-font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.recent-all { font-size: 12px; font-weight: 500; color: var(--wla-accent); }

.scan-row {
  background: var(--wla-paper-2); border: 0.5px solid var(--wla-ink-rule); border-radius: 12px;
  padding: 12px 14px; display: flex; align-items: center; gap: 13px;
}
.bottle {
  width: 36px; height: 50px; border-radius: 4px; background: var(--wla-paper-3);
  border: 0.5px solid var(--wla-ink-rule); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; flex-shrink: 0;
}
.bottle.sm { width: 34px; height: 48px; }
.bottle .dot { width: 8px; height: 8px; border-radius: 50%; }
.bottle .r1 { width: 18px; height: 1.5px; background: var(--wla-ink-rule); }
.bottle .r2 { width: 12px; height: 1.5px; background: var(--wla-ink-rule); }
.scan-date { font-family: var(--wla-font-mono); font-size: 10px; color: var(--wla-ink-3); }
.scan-name { font-family: var(--wla-font-display); font-weight: 500; font-size: 14px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan-meta { font-size: 11px; color: var(--wla-ink-2); margin-top: 3px; }

/* ── "How it works" section ───────────────────────────────── */
.split {
  max-width: 1180px; margin: 0 auto; padding: 110px 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 80px;
}
.split.ruled { border-top: 0.5px solid var(--wla-ink-rule); }
.split-copy { flex: 1 1 440px; min-width: 0; }
.split-visual { flex: 0 0 auto; margin: 0 auto; }

.steps { display: flex; flex-direction: column; gap: 36px; margin-top: 48px; }
.step { display: flex; gap: 22px; }
.step-num { font-family: var(--wla-font-display); font-size: 24px; color: var(--wla-accent); line-height: 1.2; min-width: 36px; }
.step-title { font-family: var(--wla-font-display); font-weight: 500; font-size: 19px; margin-bottom: 7px; }
.step-body { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--wla-ink-2); max-width: 30em; }

/* Recommendations phone */
.recs-head { padding: 52px 18px 16px; text-align: center; border-bottom: 0.5px solid var(--wla-ink-rule); }
.recs-kicker { font-family: var(--wla-font-ui); font-weight: 500; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wla-ink-3); margin-bottom: 3px; }
.recs-title { font-family: var(--wla-font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.chips { padding: 12px 18px 0; display: flex; gap: 7px; overflow: hidden; }
.chip { padding: 6px 13px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.chip.on { background: var(--wla-ink); color: var(--wla-paper); }
.chip.off { color: var(--wla-ink-2); border: 0.5px solid var(--wla-ink-rule); }
.recs-count { padding: 20px 18px 6px; display: flex; align-items: baseline; gap: 10px; }
.recs-count .n { font-family: var(--wla-font-mono); font-size: 44px; letter-spacing: -0.04em; line-height: 1; }
.recs-count .t { font-family: var(--wla-font-display); font-weight: 500; font-size: 16px; line-height: 1.2; letter-spacing: -0.01em; }
.rec-list { padding: 14px 18px 0; display: flex; flex-direction: column; gap: 16px; }
.rec {
  background: var(--wla-paper-2); border: 0.5px solid var(--wla-ink-rule); border-radius: 12px;
  padding: 14px; position: relative; display: flex; gap: 12px;
}
.rec-badge {
  position: absolute; top: -8px; left: 12px; background: var(--wla-paper);
  border: 0.5px solid var(--wla-ink-rule); border-radius: 999px; padding: 2px 9px;
  font-family: var(--wla-font-mono); font-size: 9px; color: var(--wla-ink-2); letter-spacing: 0.12em;
}
.rec-name { font-family: var(--wla-font-display); font-weight: 500; font-size: 13.5px; }
.rec-origin { font-family: var(--wla-font-mono); font-size: 9px; color: var(--wla-ink-3); letter-spacing: 0.1em; margin-top: 3px; }
.rec-notes { font-size: 10.5px; color: var(--wla-ink-2); margin-top: 5px; }
.rec-score { text-align: right; flex-shrink: 0; }
.rec-score .val { font-family: var(--wla-font-mono); font-weight: 500; font-size: 19px; color: var(--wla-rating); }
.rec-score .track { width: 52px; height: 2px; background: var(--wla-ink-soft); border-radius: 2px; margin: 6px 0 8px; }
.rec-score .bar { width: 0; height: 100%; background: var(--wla-rating); border-radius: 2px; transition: width 1.1s var(--wla-ease-out); }
.rec-score .price { font-family: var(--wla-font-mono); font-size: 12px; color: var(--wla-ink-2); }

/* ── Atmospheric band (replaces the design's photo slot) ───── */
.vibe-wrap { max-width: 1260px; margin: 0 auto; padding: 20px 40px 0; }
.vibe {
  position: relative; height: 440px; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(214,137,97,0.30) 0%, transparent 55%),
    radial-gradient(90% 80% at 20% 90%, rgba(122,36,36,0.42) 0%, transparent 60%),
    linear-gradient(150deg, #2a211a 0%, #171210 55%, #0f0b09 100%);
  box-shadow: inset 0 0 120px rgba(0,0,0,0.5);
}
.vibe::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}
.vibe-glass { position: absolute; right: 9%; bottom: 0; opacity: 0.9; }
.vibe-cap { margin-top: 14px; font-family: var(--wla-font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--wla-ink-3); text-align: right; }

/* ── Calibration card ─────────────────────────────────────── */
.taglist { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--wla-ink-2); border: 0.5px solid var(--wla-ink-rule); background: var(--wla-paper-2);
}
.tag.active { color: var(--wla-accent); border: 1px solid var(--wla-accent); background: var(--wla-accent-soft); }

.cal-card {
  flex: 0 0 auto; margin: 0 auto; width: 420px; max-width: 100%;
  background: var(--wla-paper-2); border: 0.5px solid var(--wla-ink-rule); border-radius: 16px;
  padding: 36px 34px 40px; box-shadow: var(--wla-shadow-md);
}
.cal-top { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.cal-step { font-family: var(--wla-font-mono); font-size: 11px; color: var(--wla-ink-3); letter-spacing: 0.12em; }
.cal-progress { flex: 1; height: 2px; background: var(--wla-ink-soft); border-radius: 2px; }
.cal-progress > span { display: block; width: 33%; height: 100%; background: var(--wla-accent); border-radius: 2px; }
.cal-kicker { font-family: var(--wla-font-ui); font-weight: 500; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wla-ink-3); margin-bottom: 12px; }
.cal-q { font-family: var(--wla-font-display); font-size: 27px; font-weight: 400; letter-spacing: -0.018em; line-height: 1.12; margin-bottom: 28px; }
.cal-q em { font-weight: 500; }
.cal-big { text-align: center; font-family: var(--wla-font-display); font-size: 84px; font-weight: 300; line-height: 1; margin-bottom: 26px; }
.cal-slider { position: relative; }
.cal-ticks { display: flex; justify-content: space-between; align-items: flex-end; height: 18px; }
.cal-tick { width: 1.5px; background: var(--wla-ink-rule); transition: background 0.3s var(--wla-ease); }
.cal-knob {
  position: absolute; top: -4px; left: 4%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--wla-paper);
  border: 1.5px solid var(--wla-accent); box-shadow: 0 2px 6px rgba(28,24,21,0.18);
  transition: left 1.1s var(--wla-ease-out);
}
.cal-legend { display: flex; justify-content: space-between; margin-top: 16px; font-family: var(--wla-font-ui); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wla-ink-3); }

/* ── Cellar (dark band) ───────────────────────────────────── */
/* `color` is re-declared here so the scoped [data-theme="dark"] var flip
   actually reaches inherited text (color inherits as a computed value). */
.cellar { padding: 130px 40px; color: var(--wla-ink); background-color: var(--wla-paper); }
.cellar-inner { max-width: 1180px; margin: 0 auto; }
.cellar-head { text-align: center; max-width: 640px; margin: 0 auto 70px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.stat {
  background: var(--wla-paper-2); border: 0.5px solid var(--wla-ink-rule); border-radius: 16px; padding: 28px;
  transition: transform var(--wla-dur-2) var(--wla-ease), box-shadow var(--wla-dur-2) var(--wla-ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--wla-shadow-lg); }
.stat-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.stat-label { font-family: var(--wla-font-ui); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wla-ink-3); }
.stat-num { font-family: var(--wla-font-mono); font-size: 34px; letter-spacing: -0.03em; }
.stat-rows { display: flex; flex-direction: column; gap: 14px; }
.stat-row { display: flex; align-items: center; gap: 10px; }
.stat-row.ruled { border-bottom: 0.5px solid var(--wla-ink-rule); padding-bottom: 12px; }
.stat-date { font-family: var(--wla-font-mono); font-size: 11px; color: var(--wla-ink-3); }
.stat-name { font-family: var(--wla-font-display); font-weight: 500; font-size: 15px; flex: 1; }
.stat-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.stat-score { font-family: var(--wla-font-mono); font-size: 13px; color: var(--wla-rating); }
.stat-saved { font-family: var(--wla-font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--wla-ink-3); }

/* ── Final CTA ─────────────────────────────────────────────── */
.finale { max-width: 1180px; margin: 0 auto; padding: 140px 40px 90px; text-align: center; }
.finale-rule { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 36px; }
.finale-rule span { width: 64px; height: 0.5px; background: var(--wla-ink-rule); }
.finale-h {
  margin: 0 0 20px; font-family: var(--wla-font-display); font-style: italic; font-weight: 400;
  font-size: clamp(38px, 6vw, 52px); letter-spacing: -0.018em; line-height: 1.08;
}
.finale-p { margin: 0 auto 40px; font-size: 16px; line-height: 1.6; color: var(--wla-ink-2); max-width: 34em; text-wrap: pretty; }
.finale-actions { display: flex; justify-content: center; }
.finale-note { margin-top: 26px; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  max-width: 1180px; margin: 0 auto; padding: 30px 40px 44px; border-top: 0.5px solid var(--wla-ink-rule);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-brand { display: flex; align-items: baseline; gap: 7px; }
.footer-brand .n { font-family: var(--wla-font-display); font-style: italic; font-weight: 500; font-size: 16px; }
.footer-brand .t { font-family: var(--wla-font-mono); font-size: 9px; letter-spacing: 0.16em; color: var(--wla-ink-3); }
.footer-links { display: flex; gap: 26px; font-size: 13px; }
.footer-links a { color: var(--wla-ink-2); }
.footer-links a:hover { color: var(--wla-ink); }
.footer-copy { font-family: var(--wla-font-mono); font-size: 11px; color: var(--wla-ink-3); letter-spacing: 0.08em; }

/* ── Scroll glass flourish ─────────────────────────────────── */
.scroll-glass {
  position: fixed; bottom: 26px; right: 26px; z-index: 50;
  background: var(--wla-paper-3); border: 0.5px solid var(--wla-ink-rule);
  border-radius: 999px; padding: 10px 9px 7px; box-shadow: var(--wla-shadow-md);
}

/* ── Content pages (privacy / support) ─────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 40px 120px; }
.doc-eyebrow { margin-bottom: 20px; }
.doc h1 {
  font-family: var(--wla-font-display); font-weight: 400; font-size: clamp(36px, 6vw, 50px);
  letter-spacing: -0.018em; line-height: 1.08; margin-bottom: 12px;
}
.doc .updated { font-family: var(--wla-font-mono); font-size: 12px; color: var(--wla-ink-3); letter-spacing: 0.08em; margin-bottom: 44px; }
.doc h2 {
  font-family: var(--wla-font-display); font-weight: 500; font-size: 24px; letter-spacing: -0.01em;
  margin: 44px 0 14px;
}
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--wla-ink-2); }
.doc p { margin-bottom: 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--wla-ink); font-weight: 600; }
.doc a { border-bottom: 1px solid var(--wla-ink-rule); }
.doc-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin-bottom: 40px; color: var(--wla-ink-2); }
.doc-back:hover { color: var(--wla-ink); }
.callout {
  background: var(--wla-paper-2); border: 0.5px solid var(--wla-ink-rule); border-left: 2px solid var(--wla-accent);
  border-radius: 12px; padding: 20px 24px; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 40px 24px 90px; gap: 48px; }
  .hero-copy { flex-basis: 100%; }
  .hero-visual { order: 2; }
  .nav { padding: 20px 24px; }
  .split { padding: 80px 24px; gap: 56px; }
  .steps { margin-top: 36px; }
  .cellar { padding: 96px 24px; }
  .finale { padding: 100px 24px 70px; }
  .vibe-wrap { padding: 12px 24px 0; }
  .vibe { height: 340px; }
  .footer { padding: 28px 24px 40px; }
  .wrap { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 620px) {
  .nav-links { gap: 16px; }
  .nav-link { display: none; }              /* keep nav tidy on phones; CTA + brand remain */
  .hero-h1 { font-size: clamp(34px, 11vw, 46px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { gap: 16px; }
  .doc { padding: 24px 24px 90px; }
  .footer { justify-content: flex-start; }
}

@media (max-width: 360px) {
  .phone { width: 88vw; }
  .phone-screen { height: 178vw; }
}
