/* ============================================================
   ShotCanvas — Redesign · "Liquid Gold"
   Deep-toned, motion-forward. One WebGL signature effect in the
   hero; glass surfaces, restrained serif type, champagne accent.
   Instrument Serif (display) · Inter Tight (body) · JetBrains Mono.
   ============================================================ */

:root {
  /* Deep base */
  --black:    #08080A;
  --black-2:  #0C0C10;
  --black-3:  #121218;
  --black-4:  #1A1A22;

  /* Champagne accent */
  --gold:     #F2C14E;
  --gold-2:   #F8D277;
  --gold-deep:#D9A532;
  --bronze:   #6E5526;
  --tomato:   #E8502F;

  /* Cream ink on dark */
  --cream:     #FBF6EC;
  --cream-86:  rgba(251,246,236,.86);
  --cream-64:  rgba(251,246,236,.64);
  --cream-44:  rgba(251,246,236,.44);
  --cream-28:  rgba(251,246,236,.28);

  /* Lines + glass */
  --line:     rgba(251,246,236,.10);
  --line-2:   rgba(251,246,236,.16);
  --glass-bg: rgba(255,250,240,.045);
  --glass-bg-2: rgba(255,250,240,.07);
  --glass-hi: rgba(255,250,240,.14);

  /* Type */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1240px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-padding-top: 90px;
  /* Firefox — thin track always reserved; thumb only tints while scrolling */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
html.is-scrolling { scrollbar-color: var(--gold-deep) transparent; }
/* WebKit/Blink — floating champagne pill that only appears while scrolling.
   The 12px gutter stays reserved (no layout shift); only the thumb fades in. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: transparent;
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}
html.is-scrolling::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  background-clip: padding-box;
}
html.is-scrolling::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }

/* Scroll-progress indicator — hidden by default, shown on mobile (see media query) */
.scroll-progress { display: none; }
@media (min-width: 1600px) { html { font-size: 17px; } }
@media (min-width: 2200px) { html { font-size: 18.5px; } }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--sans);
  color: var(--cream-86);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Grain over the whole page — kills banding on dark gradients */
  background-image:
    radial-gradient(1100px 700px at 12% -8%, rgba(242,193,78,.06), transparent 60%),
    radial-gradient(900px 600px at 108% 4%, rgba(242,193,78,.04), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.92 0 0 0 0 0.75 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--gold); color: var(--black); padding: 10px 16px;
  border-radius: 999px; font-weight: 600;
}
.skip:focus { left: 16px; }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 5vw, 48px); }
.mono { font-family: var(--mono); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), border-color .25s var(--ease), color .2s;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.975); }

/* Primary CTA: flat champagne gold — identical to the OG site's .btn-accent. */
.btn-accent {
  background: var(--gold);
  color: #1A1407; font-weight: 600;
  box-shadow: 0 8px 24px -10px rgba(217,165,50,.7);
}
.btn-accent:hover {
  transform: translateY(-2px);
  background: #F7CD66;
  box-shadow: 0 14px 34px -12px rgba(217,165,50,.9);
}
.btn-glass {
  background: var(--glass-bg-2); color: var(--cream);
  border-color: var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: var(--glass-hi); border-color: var(--cream-44); transform: translateY(-2px); }
.full { width: 100%; justify-content: center; }

/* Bottom section nav — shown only on small screens (see media query) */
.botnav { display: none; }

/* Hero variant switcher (prototype affordance, bottom-left) */
.hero-switch {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 5px; padding: 6px;
  border-radius: 999px;
  background: rgba(11,11,15,.72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,250,240,.08);
}
.hero-switch .hs-label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--cream-44); padding: 0 4px 0 6px; }
.hero-switch button {
  border: 0; background: transparent; color: var(--cream-64);
  font-family: var(--mono); font-size: 11px; letter-spacing: .03em;
  padding: 7px 13px; border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.hero-switch button:hover { color: var(--cream); }
.hero-switch button.active { background: var(--gold); color: #18120A; font-weight: 600; }
@media (max-width: 860px) { .hero-switch { display: none; } } /* desktop affordance */
/* Hero animations hidden for now (HERO_ANIMATION=false): keep the variant
   switcher and the animated scroll cue out so the hero matches the OG site. */
.hero-switch[hidden] { display: none; }

/* ── Glass surface ─────────────────────────────────────── */
/* Robust surface: no backdrop-filter / mask-border on the base — those
   produced edge-strip artifacts when cards animate in. Over the near-black
   sections the blur was invisible anyway; a translucent fill + top sheen
   reads identically and never glitches. Frosting is opted-in per element
   (nav, hero studio panel) where it's genuinely over the shader. */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255,250,240,.055), rgba(255,250,240,.022));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(255,250,240,.10),
    0 30px 60px -32px rgba(0,0,0,.85);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--black) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 23px; color: var(--cream); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand sup { font-family: var(--mono); font-size: 9.5px; color: var(--cream-44); letter-spacing: .14em; margin-left: 1px; }

.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--cream-64); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1.5px;
  background: var(--gold); transition: right .28s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--cream); }
.nav-right .btn { padding: 9px 18px; font-size: 13.5px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--glass-bg);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--cream); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none; flex-direction: column;
  padding: 8px clamp(20px,4vw,48px) 24px;
  background: color-mix(in srgb, var(--black) 94%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-drawer a { padding: 16px 0; font-family: var(--serif); font-size: 24px; color: var(--cream); border-bottom: 1px solid var(--line); }
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer .drawer-cta { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
  isolation: isolate;
}
/* OG-style static hero background: true black + subtle champagne glows */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 560px at 78% -10%, rgba(242,193,78,.14), transparent 62%),
    radial-gradient(820px 480px at -8% 30%, rgba(242,193,78,.05), transparent 60%),
    #0B0B0D;
}
/* Hero animation hidden for now — re-enable via HERO_ANIMATION in app.js */
.hero-canvas { display: none; position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s ease; }
.hero-canvas.live { opacity: 1; }
/* gentle readability + bottom fade into the page (subtle — OG look) */
.hero-veil {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,11,13,.55) 0%, rgba(11,11,13,.18) 34%, transparent 60%),
    linear-gradient(0deg, #0B0B0D 3%, transparent 38%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center;
}

/* OG eyebrow: inline editorial mono, no pill/dot/glow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  color: var(--gold); margin-bottom: 28px;
}
.eyebrow-no { color: var(--gold-deep); }
.eyebrow-tick { width: 24px; height: 1px; background: rgba(251,246,236,.3); }
.price-note { text-align: center; margin: 24px auto 0; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--cream-44); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero-title {
  font-size: clamp(54px, 7.2vw, 100px); line-height: .94; letter-spacing: -0.035em;
  color: var(--cream);
  text-shadow: 0 1px 40px rgba(0,0,0,.4);
  text-wrap: balance; /* even lines, no orphan words */
}
.hero-title em {
  font-style: italic; color: var(--gold);
}
.hero-gallery { display: none; } /* mobile-only — desktop uses the studio panel */
.hero-sub { margin: 30px 0 38px; font-size: clamp(16px,1.3vw,19px); line-height: 1.6; color: var(--cream-64); max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* CTA audience split — Studio on desktop, app download on mobile */
.cta-mobile { display: none; }

/* App Store / Google Play badges */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 14px;
  background: var(--cream); color: #15110A;
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(242,193,78,.5); }
.store-badge svg { width: 21px; height: 21px; flex: none; }
.store-badge .sb-text { text-align: left; line-height: 1.05; }
.store-badge .sb-text small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: #6b6256; }
.store-badge .sb-text b { display: block; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
/* Show only the badge that matches the visitor's OS; web/desktop shows both. */
[data-platform="ios"] .store-badge--android,
[data-platform="android"] .store-badge--ios { display: none; }
.cta-note { position: relative; margin: 18px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--cream-44); }

.hero-stats { display: flex; align-items: center; gap: 26px; margin: 46px 0 0; }
.hero-stats dt { font-family: var(--serif); font-size: clamp(34px,3.4vw,46px); color: var(--cream); line-height: 1; }
.hero-stats dd { margin: 6px 0 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-44); }
.hero-stats .div { width: 1px; height: 42px; background: var(--line-2); }

/* Hero scroll cue */
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid var(--cream-28); border-radius: 999px;
  display: none; /* scroll cue hidden for now — not part of the OG hero */
}
.hero-scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(12px); } }

/* ── Floating glass studio panel ───────────────────────── */
.hero-panel { perspective: 1400px; }
.panel-tilt { position: relative; transform-style: preserve-3d; transition: transform .25s var(--ease); will-change: transform; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-12px); } }

.studio {
  padding: 0; overflow: hidden;
  /* darker translucent fill + real frost — this one IS over the shader */
  background: linear-gradient(180deg, rgba(22,20,26,.62), rgba(10,10,14,.72));
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  animation: floaty 7s ease-in-out infinite alternate;
}
.studio-chrome {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  background: rgba(255,250,240,.04); border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--black-4); }
.dots i:nth-child(1) { background: var(--tomato); }
.dots i:nth-child(2) { background: var(--gold); }
.dots i:nth-child(3) { background: var(--cream-28); }
.url { flex: 1; font-family: var(--mono); font-size: 11px; color: var(--cream-44); background: rgba(0,0,0,.35); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url b { color: var(--gold); font-weight: 500; }
.pill { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--gold); border: 1px solid rgba(242,193,78,.4); padding: 5px 9px; border-radius: 999px; }

.studio-body { display: grid; grid-template-columns: 52px 1fr 152px; min-height: 380px; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.4)); }
.studio-rail { display: flex; flex-direction: column; gap: 9px; padding: 13px 9px; border-right: 1px solid var(--line); }
.thumb { aspect-ratio: 9/16; border-radius: 6px; border: 1px solid var(--line-2); }
.thumb.t-gold { background: linear-gradient(165deg, var(--gold), var(--gold-deep)); }
.thumb.t-ink { background: var(--black); position: relative; }
.thumb.t-ink::after { content: ""; position: absolute; left: 22%; right: 22%; top: 26%; height: 3px; border-radius: 2px; background: var(--gold); }
.thumb.t-cream { background: linear-gradient(165deg, var(--cream), #D9CFBC); }
.thumb.t-split { background: linear-gradient(180deg, var(--gold-deep) 48%, var(--black) 48%); }
.thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(242,193,78,.35); }

.studio-canvas {
  position: relative; display: grid; place-items: center; padding: 30px 24px 36px;
  background: radial-gradient(rgba(255,250,240,.06) 1px, transparent 1.6px) 0 0 / 17px 17px;
}
.canvas-tag { position: absolute; top: 12px; left: 16px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--cream-28); }
.shot {
  width: min(62%, 210px); aspect-ratio: 9/15.4; background: var(--black);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 9% 9% 10%;
  display: flex; flex-direction: column; gap: 7%;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.85), 0 0 50px -16px rgba(242,193,78,.18);
}
.shot-hl { font-family: var(--serif); font-size: clamp(15px,1.5vw,19px); line-height: 1.04; letter-spacing: -.02em; color: var(--cream); }
.shot-hl em { font-style: italic; color: var(--gold); }
.device { flex: 1; background: #100F12; border: 1px solid var(--line-2); border-radius: 12px; padding: 11% 9%; display: flex; flex-direction: column; gap: 8%; }
.d-bal { height: 26%; border-radius: 7px; background: linear-gradient(150deg, var(--gold), var(--gold-deep)); }
.d-row { height: 4px; border-radius: 2px; background: var(--cream-28); }
.d-bars { flex: 1; display: flex; align-items: flex-end; gap: 7%; }
.d-bars i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--gold), rgba(242,193,78,.3)); }

.ai-toast {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: var(--cream); color: #1A1407; font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,.7); animation: toast 9s var(--ease) infinite;
}
@keyframes toast { 0%,8% { opacity: 0; transform: translate(-50%,8px); } 16%,58% { opacity: 1; transform: translate(-50%,0); } 66%,100% { opacity: 0; transform: translate(-50%,-6px); } }

/* selection ring + handles around the device (OG editor look) */
.device-slot { position: relative; flex: 1; display: flex; min-height: 0; }
.studio-ring { position: absolute; inset: -7px -6px; border: 1.5px dashed rgba(242,193,78,.85); border-radius: 14px; pointer-events: none; animation: ringPulse 2.6s var(--ease) infinite; }
.studio-ring i { position: absolute; width: 7px; height: 7px; background: var(--gold); border-radius: 2px; box-shadow: 0 0 0 2px #0a0a0e; }
.studio-ring i:nth-child(1) { top: -4px; left: -4px; }
.studio-ring i:nth-child(2) { top: -4px; right: -4px; }
.studio-ring i:nth-child(3) { bottom: -4px; left: -4px; }
.studio-ring i:nth-child(4) { bottom: -4px; right: -4px; }
@keyframes ringPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* properties panel (right column) */
.studio-props { display: flex; flex-direction: column; gap: 12px; padding: 14px 12px; background: rgba(255,250,240,.03); border-left: 1px solid var(--line); }
.studio-prop { display: flex; flex-direction: column; gap: 5px; }
.studio-prop small { font-family: var(--mono); font-size: 8px; letter-spacing: .16em; color: var(--cream-44); }
.studio-prop > span { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--cream-86); background: rgba(255,250,240,.05); border: 1px solid var(--line); padding: 6px 9px; border-radius: 7px; }
.studio-prop > span.studio-swatches { display: flex; gap: 4px; background: none; border: 0; padding: 2px 0; }
.studio-swatches i { width: 15px; height: 15px; border-radius: 4px; border: 1px solid var(--line-2); }
.studio-swatches i:nth-child(2) { box-shadow: 0 0 0 2px rgba(242,193,78,.4); }
.studio-export { margin-top: auto; background: var(--gold); color: #1A1407; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-align: center; padding: 10px 8px; border-radius: 999px; box-shadow: 0 10px 22px -8px rgba(217,165,50,.5); }

/* tape label (sits outside the frame, top-left) */
.studio-tape { position: absolute; top: -12px; left: -10px; z-index: 3; background: var(--gold); color: #1A1407; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; padding: 6px 11px; border: 1px dashed rgba(0,0,0,.3); transform: rotate(-4deg); box-shadow: 0 8px 16px -6px rgba(0,0,0,.55); }

.float-chip {
  position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  padding: 10px 14px; border-radius: 999px; color: var(--cream);
  background: rgba(18,18,24,.66); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); will-change: transform;
}
.chip-export { right: -18px; bottom: 56px; color: var(--gold); border-color: rgba(242,193,78,.35); }
.chip-ai { left: -26px; top: 64px; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,250,240,.02); overflow: hidden; padding: 16px 0;
  position: relative; z-index: 2;
}
.marquee-row { display: flex; align-items: center; gap: 38px; width: max-content; white-space: nowrap; animation: marquee 46s linear infinite; font-family: var(--serif); font-size: 22px; color: var(--cream-64); }
.marquee-row em { font-style: italic; color: var(--gold); }
.marquee-row b { color: var(--gold-deep); font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding-top: clamp(40px, 6vw, 80px); }

.section-head { max-width: 720px; margin: 0 auto clamp(48px,6vw,72px); text-align: center; }
.kicker { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.section-head h2 { font-size: clamp(40px, 6vw, 78px); line-height: .98; letter-spacing: -0.025em; color: var(--cream); }
.section-head h2 em { font-style: italic; color: var(--gold); }
.section-head p { margin: 22px auto 0; font-size: 17px; line-height: 1.65; color: var(--cream-64); max-width: 44em; }
.section-head a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.card { padding: 32px 30px; }

/* ── Features ──────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { display: flex; flex-direction: column; gap: 14px; min-height: 380px; transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s; }
.feature:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--glass-bg-2); }
.card-no { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--gold); }
.feature h3 { font-size: 29px; line-height: 1.06; color: var(--cream); }
.feature p { margin: 0; font-size: 14.5px; color: var(--cream-64); line-height: 1.6; }
.viz { margin-top: auto; height: 116px; border-radius: 14px; position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(0,0,0,.3), rgba(0,0,0,.5)); }

.viz-templates { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 14px; }
.viz-templates .vt { border-radius: 8px; border: 1px solid var(--line-2); }
.vt-1 { background: linear-gradient(165deg, var(--gold), var(--gold-deep)); }
.vt-2 { background: var(--black); position: relative; box-shadow: 0 0 0 1px rgba(242,193,78,.4); }
.vt-2::after { content: ""; position: absolute; left: 20%; right: 20%; top: 30%; height: 3px; background: var(--gold); border-radius: 2px; }
.vt-3 { background: linear-gradient(165deg, var(--cream), #CBC1AE); }
.vt-4 { background: linear-gradient(180deg, var(--gold-deep) 50%, var(--black) 50%); }
.feature:hover .vt-1 { transform: translateY(-4px); } .feature:hover .vt-2 { transform: translateY(4px); }
.feature:hover .vt-3 { transform: translateY(-4px); } .feature:hover .vt-4 { transform: translateY(4px); }
.viz-templates .vt { transition: transform .4s var(--ease); }

.viz-ai { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 22px; }
.viz-ai .bar { height: 9px; border-radius: 5px; background: linear-gradient(90deg, var(--gold), rgba(242,193,78,.1)); width: 100%; transform-origin: left; animation: type 4s var(--ease) infinite; }
.viz-ai .bar:nth-child(2) { width: 78%; animation-delay: .3s; } .viz-ai .bar.short { width: 52%; animation-delay: .6s; }
@keyframes type { 0%,100% { transform: scaleX(.2); opacity: .35; } 50% { transform: scaleX(1); opacity: 1; } }
.viz-ai .spark { position: absolute; right: 16px; top: 14px; color: var(--gold); font-size: 18px; animation: pulse 2.4s infinite; }

.viz-export { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--cream-64); }
.viz-export .lyr { width: 64%; padding: 7px 12px; border-radius: 7px; border: 1px solid var(--line-2); background: rgba(255,250,240,.03); text-align: center; transition: transform .35s var(--ease), color .3s; }
.viz-export .lyr:nth-child(1) { transform: translateY(2px) rotate(-2deg); }
.viz-export .lyr:nth-child(3) { transform: translateY(-2px) rotate(2deg); }
.feature:hover .viz-export .lyr:nth-child(1) { transform: translateX(-14px) rotate(-4deg); color: var(--gold); }
.feature:hover .viz-export .lyr:nth-child(3) { transform: translateX(14px) rotate(4deg); color: var(--gold); }

/* ── Workflow ──────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: var(--line-2); }
.step-no { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--gold); opacity: .9; }
.step h3 { font-size: 25px; color: var(--cream); }
.step p { margin: 0; font-size: 14.5px; color: var(--cream-64); line-height: 1.6; }

/* ── Showcase — realistic finished store screenshots ───── */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gshot { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shot-card {
  position: relative; aspect-ratio: 9 / 16.4; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); padding: 20px 16px 0;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gshot:hover .shot-card { transform: translateY(-6px); box-shadow: 0 32px 64px -30px rgba(0,0,0,.95); }
.gshot figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--cream-44); text-align: center; }

/* per-app card backgrounds (each app's own extracted palette) */
.shot--finance { background: radial-gradient(120% 80% at 82% -12%, rgba(242,193,78,.22), transparent 58%), #09090c; --ac: #F2C14E; }
.shot--fitness { background: radial-gradient(120% 80% at 18% -12%, rgba(91,130,255,.30), transparent 58%), #07070b; --ac: #5B82FF; }
.shot--budget  { background: linear-gradient(165deg, #F4C65A, #D9A532); --ac: #F2C14E; }
.shot--travel  { background: radial-gradient(120% 80% at 80% -12%, rgba(232,80,47,.32), transparent 58%), #0b0809; --ac: #FF7A52; }
.shot--habits  { background: linear-gradient(165deg, #EC5A38, #C23B1D); --ac: #FF8A5C; }

.shot-head { position: relative; z-index: 1; }
.shot-kicker { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; color: var(--ac); margin-bottom: 7px; }
.shot-title { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.0; letter-spacing: -.02em; color: var(--cream); }
.shot-title em { font-style: italic; color: var(--ac); }
.shot--budget .shot-kicker { color: #6E3A0E; }
.shot--budget .shot-title { color: #221A06; }
.shot--budget .shot-title em { color: #5A2E08; }
.shot--habits .shot-kicker { color: rgba(255,250,240,.72); }
.shot--habits .shot-title em { color: #2A0E06; }

/* device */
.phone {
  margin: 13px auto 0; width: 78%; flex: 1 1 auto; min-height: 0;
  background: #0c0c11; border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px 22px 0 0; padding: 6px 6px 0;
  box-shadow: 0 -8px 40px -18px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06);
}
.screen {
  position: relative; height: 100%; background: #0a0a0e;
  border-radius: 17px 17px 0 0; overflow: hidden;
  padding: 9px 10px 0; display: flex; flex-direction: column; gap: 7px;
  font-family: var(--sans);
}
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 28%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.16); z-index: 3; }

.sb { display: flex; justify-content: space-between; align-items: center; font-size: 8px; font-weight: 700; color: var(--cream-64); }
.sb .sig { width: 15px; height: 7px; border-radius: 2px; background: var(--cream-44); }
.scr-label { font-size: 9px; color: var(--cream-44); font-weight: 600; }
.scr-big { font-family: var(--serif); font-size: 20px; line-height: 1; letter-spacing: -.02em; color: var(--cream); }
.scr-big small { font-family: var(--sans); font-size: 10px; color: var(--cream-44); font-weight: 500; }
.chg { font-size: 8.5px; font-weight: 700; }
.chg.up { color: #5ED48B; }
.spark { width: 100%; height: 36px; }

.rows { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; gap: 7px; font-size: 9px; }
.row .ic { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 8px; color: var(--ac); flex: none; }
.row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.row .rn { flex: 1; color: var(--cream-64); }
.row .rv { font-weight: 700; color: var(--cream); }

.ring-wrap { position: relative; align-self: center; display: grid; place-items: center; margin: 2px 0; }
.rings, .donut { width: 76px; height: 76px; }
.ring-mid { position: absolute; font-family: var(--serif); font-size: 15px; color: var(--cream); }

.travel-photo { height: 66px; border-radius: 9px; position: relative; overflow: hidden; background: linear-gradient(160deg, #E8502F, #6E2412); }
.travel-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 28% 18%, rgba(255,221,150,.45), transparent 60%); }
.tp-tag { position: absolute; left: 8px; bottom: 7px; font-size: 9px; font-weight: 700; color: #fff; z-index: 1; }

.week { display: flex; gap: 5px; margin: 1px 0 2px; }
.week i { width: 13px; height: 13px; border-radius: 50%; background: rgba(255,255,255,.10); }
.week i.f { background: var(--ac); }
.chk { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.22); display: grid; place-items: center; font-size: 9px; color: #0a0a0e; flex: none; }
.chk.on { background: var(--ac); border-color: var(--ac); }

.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 0 9px; border-top: 1px solid rgba(255,255,255,.06); }
.tabbar i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.10); }
.tabbar i.on { background: var(--ac); }

/* ── Pricing ───────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.price { display: flex; flex-direction: column; gap: 16px; padding: 38px 34px; overflow: hidden; }
.price-pro { background: linear-gradient(180deg, rgba(242,193,78,.08), var(--glass-bg)); border-color: rgba(242,193,78,.3); }
.pro-glow { position: absolute; right: -120px; top: -100px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(242,193,78,.35), transparent 70%); pointer-events: none; }
.price-top { display: flex; align-items: center; justify-content: space-between; }
.price-name { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-64); }
.price-pro .price-name { color: var(--gold); }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--glass-bg-2); border: 1px solid var(--line-2); color: var(--cream-64); }
.tag-gold { background: rgba(242,193,78,.14); border-color: rgba(242,193,78,.35); color: var(--gold); }
.price-amt { font-family: var(--serif); font-size: 70px; line-height: 1; letter-spacing: -.03em; color: var(--cream); }
.price-amt .cur { font-size: 30px; vertical-align: top; margin-right: 2px; color: var(--cream-64); }
.price-amt .per { display: inline-block; margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--cream-44); vertical-align: middle; }
.price-block { display: flex; flex-direction: column; gap: 7px; }
.price-sub { margin: 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--cream-64); }
.price-sub b { color: var(--cream); font-weight: 600; }
.price-desc { margin: 0; font-size: 14px; color: var(--cream-64); }
.price-list { list-style: none; padding: 18px 0; margin: 0; display: flex; flex-direction: column; gap: 11px; border-top: 1px solid var(--line); }
.price-list li { display: flex; align-items: baseline; gap: 11px; font-size: 14.5px; color: var(--cream-86); }
.price-list li::before { content: "→"; font-family: var(--mono); color: var(--gold); flex: none; }
.price-list b { color: var(--cream); font-weight: 600; }
.price .btn { margin-top: auto; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(255,250,240,.05), rgba(255,250,240,.02)); overflow: hidden; transition: border-color .25s, background .25s; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item[open] { border-color: rgba(242,193,78,.35); background: var(--glass-bg-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; font-family: var(--serif); font-size: 22px; color: var(--cream); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--cream-64), var(--cream-64)) center / 12px 1.6px no-repeat, linear-gradient(var(--cream-64), var(--cream-64)) center / 1.6px 12px no-repeat; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.faq-item[open] summary::after { border-color: var(--gold); background: var(--gold) linear-gradient(#1A1407, #1A1407) center / 12px 1.6px no-repeat; }
.faq-a { padding: 0 26px 24px; }
.faq-a p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--cream-64); }
.faq-a a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ── CTA ───────────────────────────────────────────────── */
.cta-section { padding-top: clamp(20px,4vw,50px); }
.cta { text-align: center; padding: clamp(48px,7vw,84px) clamp(28px,5vw,72px); overflow: hidden; background: linear-gradient(180deg, rgba(242,193,78,.08), var(--glass-bg)); border-color: rgba(242,193,78,.24); }
.cta-glow { position: absolute; left: 50%; top: -40%; transform: translateX(-50%); width: 700px; max-width: 120%; height: 500px; background: radial-gradient(circle, rgba(242,193,78,.3), transparent 62%); pointer-events: none; }
.cta h2 { position: relative; font-size: clamp(40px,6vw,84px); line-height: .96; letter-spacing: -.03em; color: var(--cream); }
.cta h2 em { font-style: italic; color: var(--gold); }
.cta p { position: relative; margin: 22px auto 34px; max-width: 38em; font-size: 17px; color: var(--cream-64); }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 60px 0 34px; background: rgba(0,0,0,.3); }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 0.8fr 1fr; gap: 30px 26px; }
.footer-brand p { margin: 16px 0 0; font-size: 14px; color: var(--cream-44); max-width: 34em; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-44); font-weight: 500; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--cream-64); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--cream-44); }
.footer-bottom .mono { font-family: var(--mono); }

/* ============================================================
   SCROLL REVEAL (degrades to visible without JS)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { max-width: 460px; }
  .hero-veil { background: linear-gradient(0deg, var(--black) 4%, rgba(8,8,10,.35) 40%, transparent 75%); }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3), .step:nth-child(3) { grid-column: 1 / -1; }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links, .nav-right, .nav-toggle { display: none; }
  .nav, .nav.scrolled { background: color-mix(in srgb, var(--black) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }

  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } /* clear the bottom nav */

  /* On-brand scroll-progress bar pinned to the top edge */
  .scroll-progress {
    display: block; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
    transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
    box-shadow: 0 0 12px -1px rgba(242,193,78,.6);
    will-change: transform;
  }

  /* Tighter rhythm — the desktop whitespace feels empty on a phone */
  .section { padding: 64px 0; }
  .section-tight { padding-top: 34px; }
  .section-head { text-align: left; margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(34px, 9vw, 50px); }
  .section-head p { margin-left: 0; font-size: 16px; }

  /* Hero = one full-screen editorial section: headline anchored near the top,
     primary actions anchored at the bottom, with negative space between. */
  .hero {
    min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; align-items: stretch; padding: 0;
  }
  /* Span the content across the screen: message up top, CTAs anchored at the
     bottom, flexible space between — fills any device height. */
  .hero-inner { flex: 1; display: flex; flex-direction: column; padding-block: 88px 92px; }
  /* Three zones spread across the screen: headline / description / actions. */
  .hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
  .eyebrow { font-size: 10.5px; gap: 0; margin-bottom: 20px; }
  .eyebrow-no, .eyebrow-tick { display: none; }
  .hero-title { letter-spacing: -0.03em; }
  .hero-sub { display: none; }     /* replaced by the screenshot gallery on mobile */
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-desktop { display: none; }
  .cta-mobile { display: inline-flex; }
  .hero-stats { display: none; }   /* no stat clutter on mobile */
  .hero-panel { display: none; }   /* drop the editor mock so the hero stays one clean screen */
  .hero-scroll { display: none; }
  .float-chip { display: none; }

  /* Screenshot gallery — a fan of finished screenshots filling the middle zone */
  .hero-gallery { display: block; position: relative; flex: 1 1 auto; min-height: 150px; margin: 2px 0; }
  .hg-card { position: absolute; top: 50%; left: 50%; aspect-ratio: 9 / 18.6; }
  .hg-front { height: 99%; transform: translate(-50%, -50%); z-index: 3; }
  .hg-side { height: 84%; opacity: .9; z-index: 1; }
  .hg-left  { transform: translate(-50%, -50%) translateX(-46%) rotate(-8deg); }
  .hg-right { transform: translate(-50%, -50%) translateX(46%) rotate(8deg); }
  .hg-card .phone {
    width: 100%; height: 100%; margin: 0; padding: 5px; flex: none;
    border-radius: 26px; border: 1px solid rgba(255,255,255,.12); background: #0c0c11;
    box-shadow: 0 26px 56px -22px rgba(0,0,0,.92), inset 0 1px 0 rgba(255,255,255,.06);
  }
  .hg-front .phone { box-shadow: 0 38px 72px -24px rgba(0,0,0,.95), 0 0 0 1px rgba(242,193,78,.14), inset 0 1px 0 rgba(255,255,255,.08); }
  .hg-card .screen { height: 100%; border-radius: 22px; }
  .hg-card .notch { top: 7px; }

  .marquee-row { font-size: 18px; gap: 26px; }

  .feature-grid, .steps, .pricing-grid, .footer-inner { grid-template-columns: 1fr; }
  .feature, .step { min-height: 0; }
  .feature .viz { height: 104px; }
  .card { padding: 26px 22px; }

  .shots {
    grid-template-columns: none;
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * clamp(20px, 4vw, 48px));
    padding: 4px clamp(20px, 4vw, 48px) 10px;
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .gshot { flex: 0 0 66%; scroll-snap-align: center; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* ── Closing CTA — tighter, full-width store buttons ── */
  .cta { padding: 46px 24px 44px; }
  .cta h2 { font-size: clamp(31px, 8.5vw, 44px); }
  .cta p { font-size: 15.5px; margin: 16px auto 26px; }
  .cta-actions { width: 100%; flex-direction: column; gap: 12px; }
  .store-badges { width: 100%; flex-direction: column; gap: 11px; }
  .store-badge { width: 100%; justify-content: center; padding: 15px 18px; border-radius: 16px; }
  .cta-note { font-size: 10px; line-height: 1.7; margin-top: 22px; }

  /* ── Bottom section nav — always present, one icon per section ── */
  .botnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; justify-content: space-around; align-items: stretch; gap: 2px;
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
    background: rgba(10,10,13,.86);
    border-top: 1px solid var(--line-2);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    box-shadow: 0 -12px 40px -18px rgba(0,0,0,.95);
  }
  .botnav a {
    position: relative; flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 5px 2px 3px;
    font-family: var(--mono); font-size: 8.5px; letter-spacing: .03em;
    color: var(--cream-44);
    transition: color .2s var(--ease);
  }
  .botnav a svg { width: 21px; height: 21px; stroke: currentColor; fill: none;
    stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .botnav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .botnav a::before { content: ""; position: absolute; top: -7px; width: 18px; height: 2px;
    border-radius: 0 0 2px 2px; background: var(--gold); opacity: 0; transition: opacity .2s var(--ease); }
  .botnav a:active { color: var(--cream); }
  .botnav a.active { color: var(--gold); }
  .botnav a.active::before { opacity: 1; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(46px, 15vw, 66px); }
  .card { padding: 26px 22px; }
}
/* Short phones (e.g. iPhone SE): shrink the hero so the full-screen
   spread still fits without the CTAs sliding under the bottom nav. */
@media (max-width: 860px) and (max-height: 730px) {
  .hero-inner { padding-block: 76px 82px; }
  .hero-copy { gap: 16px; }
  .hero-title { font-size: clamp(36px, 12vw, 48px); }
  .hero-sub { font-size: 14.5px; }
}

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

/* ============================================================
   LEGAL PAGES (privacy / terms) — dark editorial prose
   ============================================================ */
.legal-page { padding: 132px 0 96px; }
.legal-header { max-width: 760px; margin: 0 auto; }
.legal-header .no { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.legal-header h1 { font-family: var(--serif); font-size: clamp(44px, 7vw, 76px); line-height: .98; letter-spacing: -.03em; color: var(--cream); }
.legal-meta { margin: 18px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--cream-44); }
.legal-content { max-width: 760px; margin: 30px auto 0; }
.legal-content h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; color: var(--cream); margin: 50px 0 14px; }
.legal-content h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--cream-86); margin: 30px 0 8px; }
.legal-content p { margin: 0 0 16px; font-size: 16px; line-height: 1.75; color: var(--cream-64); }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.legal-content li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.7; color: var(--cream-64); }
.legal-content li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--gold); font-family: var(--mono); }
.legal-content strong { color: var(--cream); font-weight: 600; }
.legal-callout { position: relative; margin: 30px 0 10px; padding: 24px 26px 8px; border: 1px solid rgba(242,193,78,.3); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(242,193,78,.09), rgba(242,193,78,.02)); }
.legal-callout p { color: var(--cream-86); }
.legal-callout strong { color: var(--gold); }
@media (max-width: 860px) {
  .legal-page { padding: 104px 0 72px; }
  .legal-content h2 { margin-top: 40px; }
}

/* ============================================================
   GUIDE + 404 PAGES — dark editorial (ported from old inline styles)
   ============================================================ */
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,250,240,.06); border-color: var(--cream-44); transform: translateY(-2px); }

.guide { max-width: 820px; margin: 0 auto; padding: 130px 0 90px; }
.guide .eyebrow-line { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; margin-bottom: 16px; }
.guide h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; font-size: clamp(40px, 6.5vw, 68px); line-height: 1.0; color: var(--cream); margin: 0 0 18px; }
.guide h1 em { font-style: italic; color: var(--gold); }
.guide .lede { font-size: 19px; line-height: 1.6; color: var(--cream-64); max-width: 640px; margin: 0 0 8px; }
.guide h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; font-size: clamp(26px, 4vw, 34px); color: var(--cream); margin: 52px 0 14px; }
.guide h3 { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin: 30px 0 8px; }
.guide p { line-height: 1.75; color: var(--cream-64); margin: 0 0 16px; font-size: 16px; }
.guide a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.guide ul, .guide ol, .guide .steps { padding-left: 22px; line-height: 1.7; color: var(--cream-64); margin: 0 0 18px; }
.guide li { margin: 7px 0; }
.guide .steps > li { margin: 18px 0; }
.guide table { width: 100%; border-collapse: collapse; margin: 20px 0 10px; background: rgba(255,250,240,.03); border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; font-size: 14.5px; }
.guide th, .guide td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--cream-64); }
.guide th { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(242,193,78,.10); color: var(--gold); }
.guide tr:last-child td { border-bottom: none; }
.guide td b { font-family: var(--mono); font-weight: 600; font-size: 13.5px; color: var(--cream); }
.guide .req { color: var(--tomato); font-weight: 600; }
.guide .opt, .guide .varies { color: var(--cream-44); }
.guide .yes { color: var(--gold); font-weight: 600; }
.guide .note { background: linear-gradient(180deg, rgba(242,193,78,.08), rgba(242,193,78,.02)); border: 1px solid rgba(242,193,78,.28); border-radius: var(--r-md); padding: 18px 20px; margin: 22px 0; font-size: 14.5px; line-height: 1.6; color: var(--cream-86); }
.guide .note b { color: var(--gold); }
.guide .cta-row { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.guide code { font-family: var(--mono); font-size: 13px; background: rgba(255,250,240,.07); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--gold-2); }
.guide pre { background: #050506; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 18px 20px; overflow-x: auto; margin: 18px 0; }
.guide pre code { background: none; border: none; padding: 0; font-size: 13px; color: var(--cream-86); }
.guide pre .c { color: var(--gold); }
.guide .toolgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.guide .tool { border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 16px 18px; background: rgba(255,250,240,.02); }
.guide .tool b { font-family: var(--mono); font-size: 13px; color: var(--cream); }
.guide .tool span { display: block; font-size: 13.5px; color: var(--cream-64); margin-top: 4px; line-height: 1.5; }

.nf { max-width: 640px; margin: 0 auto; padding: 168px 0 130px; text-align: center; }
.nf .code { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.nf h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 84px); line-height: 1; color: var(--cream); margin: 0 0 16px; }
.nf p { color: var(--cream-64); font-size: 17px; margin: 0 0 28px; }
.nf .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) {
  .guide { padding-top: 104px; }
  .guide .toolgrid { grid-template-columns: 1fr; }
  .nf { padding-top: 120px; }
}
