/* Fish Identifier by Seabook. Hand-written CSS, no build step.
   Theme: one dark ocean theme, one accent (Seabook lime).
   Shape rule: interactive = pill; cards = 28px shell / 22px core (double bezel);
   devices = 46px shell / 39px core; small badges = 14px.
   z-index scale: content 0, grain 3, dock 8, nav 10, menu 20, skip link 30. */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #050B18;
  --core: #0B172F;
  --core-2: #091327;
  --text: #EEF2F9;
  --muted: #A3B0C6;
  --faint: #8190AA;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --shell: rgba(255, 255, 255, .035);
  --accent: #D4EE52;
  --accent-hover: #E0F57A;
  --accent-ink: #0C1500;
  --accent-soft: rgba(212, 238, 82, .12);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --gutter: clamp(16px, 4.5vw, 48px);
  --max: 1200px;
  --section: clamp(96px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--bg); color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* The page gets deeper as you scroll: surface blue at the top, abyss at the bottom. */
  background:
    radial-gradient(90% 60% at 70% 0%, rgba(40, 110, 220, .28), transparent 60%),
    linear-gradient(180deg, #0B2250 0, #071531 900px, #050B18 2600px, #03060E 100%);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 30; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 40px; pointer-events: none; }

/* Fixed grain overlay (never on scrolling containers). */
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type */
.h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.sub { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 46ch; margin-top: 16px; text-wrap: pretty; }
.head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .sub { margin-left: auto; margin-right: auto; }

/* Buttons: pill + nested icon ("button in button"). */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  font: 500 15px/1 var(--font); white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .3s var(--ease);
}
.btn:has(.btn__icon) { padding-right: 6px; }
.btn:active { transform: scale(.98); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--lg { height: 56px; font-size: 17px; padding-left: 24px; }
.btn__icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12, 21, 0, .1);
  transition: transform .45s var(--ease);
}
.btn--lg .btn__icon { width: 44px; height: 44px; }
.btn__icon svg { width: 15px; height: 15px; fill: currentColor; }
@media (hover: hover) {
  .btn--accent:hover { background: var(--accent-hover); }
  .btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.06); }
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 26px 0 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .08);
  font: 600 17px/1.1 var(--font); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .3s var(--ease);
}
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 450; letter-spacing: 0; opacity: .75; margin-bottom: 2px; }
.store--primary { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.store:active { transform: scale(.98); }
@media (hover: hover) {
  .store:hover { background: rgba(255, 255, 255, .1); }
  .store--primary:hover { background: var(--accent-hover); }
}

/* Floating glass nav pill (fixed, so backdrop blur is allowed here). */
.nav { position: fixed; z-index: 10; top: 14px; left: 0; right: 0; padding: 0 12px; pointer-events: none; }
.nav__pill {
  pointer-events: auto;
  max-width: 1120px; margin: 0 auto; height: 60px;
  display: flex; align-items: center; gap: 20px;
  padding: 0 8px 0 14px; border-radius: 999px;
  background: rgba(8, 18, 40, .5);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px -24px rgba(0, 6, 24, .8);
  transition: background-color .4s var(--ease);
}
.nav.is-stuck .nav__pill { background: rgba(6, 14, 32, .82); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand__name { font-weight: 600; letter-spacing: -.02em; }
.brand__by { color: var(--faint); font-size: 15px; }
.nav__links { display: none; gap: 28px; }
.nav__links a { font-size: 15px; color: var(--muted); transition: color .25s var(--ease); }
@media (hover: hover) { .nav__links a:hover { color: var(--text); } }
.burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .burger { display: none; }
}
@media (max-width: 899px) {
  .btn--nav .btn__icon { display: none; }
  .btn--nav { padding: 0 16px; height: 40px; }
  .nav__pill { gap: 8px; }
}
@media (max-width: 480px) {
  .brand { display: grid; grid-template-columns: auto auto; column-gap: 10px; }
  .brand img { grid-row: span 2; }
  .brand__name { font-size: 15px; line-height: 1.15; }
  .brand__by { font-size: 13px; line-height: 1.15; }
}

.menu {
  position: fixed; inset: 0; z-index: 20;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 96px 24px 40px;
  background: rgba(5, 11, 24, .88);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font-size: 40px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.menu nav a, .menu > .btn { opacity: 0; transform: translateY(28px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 55ms + 60ms); }
.menu.is-open nav a, .menu.is-open > .btn { opacity: 1; transform: none; }
.menu > .btn { align-self: flex-start; }
body.menu-open .nav { z-index: 21; }

/* Hero */
.hero { position: relative; padding: 128px 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.rays {
  position: absolute; inset: 0 0 auto 0; height: 110%; pointer-events: none;
  background:
    conic-gradient(from 196deg at 72% -12%, transparent 0deg, rgba(150, 200, 255, .09) 6deg, transparent 12deg, rgba(150, 200, 255, .06) 22deg, transparent 30deg, rgba(150, 200, 255, .08) 40deg, transparent 50deg, rgba(150, 200, 255, .05) 60deg, transparent 72deg);
  filter: blur(14px);
  -webkit-mask-image: linear-gradient(#000 20%, transparent 85%); mask-image: linear-gradient(#000 20%, transparent 85%);
}
.hero__grid { position: relative; display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 40px; min-height: min(calc(100dvh - 200px), 760px); } }
.pill {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 28px;
}
.hero__title { font-size: clamp(38px, calc(4vw + 22px), 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
.hero__title .line { display: block; }
.line--accent { color: var(--accent); }
.hero__lede { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; color: var(--muted); max-width: 34ch; text-wrap: pretty; }
.hero .stores { margin-top: 36px; }

.hero__visual { position: relative; justify-self: center; width: min(68vw, 340px); perspective: 1400px; }
.device {
  position: relative; z-index: 1;
  padding: 7px; border-radius: 46px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .16), 0 60px 120px -50px rgba(0, 8, 30, .95), 0 24px 48px -24px rgba(0, 10, 40, .6);
}
.device__core { position: relative; overflow: hidden; border-radius: 39px; background: var(--core-2); aspect-ratio: 760 / 1374; }
.device__core img { width: 100%; height: 100%; object-fit: cover; }
.device--hero { transform: rotate(-2deg); }

.scanline { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.scanline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); }
.scanline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 90px; margin-bottom: -2px; background: linear-gradient(to bottom, transparent, rgba(212, 238, 82, .16)); }

.sonar { position: absolute; z-index: 0; left: 50%; top: 36%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.sonar i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(212, 238, 82, .4); opacity: 0; }

.result { position: absolute; z-index: 2; left: -30%; bottom: -5%; width: 300px; padding: 6px; border-radius: 26px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 6, 24, .9); }
.result__core { border-radius: 20px; padding: 16px 18px; background: #0C1A37; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.result__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.result__latin { margin-top: 12px; font-size: 21px; font-style: italic; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; padding-bottom: 2px; }
.result__common { font-size: 14px; color: var(--muted); margin-top: 2px; }
.result__data { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--line); }
.result__data dt { font-size: 12px; color: var(--faint); }
.result__data dd { font-size: 15px; font-weight: 500; margin-top: 2px; font-variant-numeric: tabular-nums; }
.saved {
  position: absolute; z-index: 2; right: -14%; top: 10%;
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px;
  background: #0C1A37; box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 48px -20px rgba(0, 6, 24, .9);
  font-size: 14px; font-weight: 500;
}
.saved svg { width: 22px; height: 22px; fill: var(--accent); }
@media (max-width: 1023px) {
  .device--hero { transform: none; }
  .result { left: -10%; bottom: -12%; width: 232px; }
  .result__core { padding: 12px 14px; }
  .result__latin { font-size: 18px; margin-top: 8px; }
  .result__data { display: none; }
  .saved { right: -6%; top: 6%; }
  .hero__visual { margin-bottom: 44px; }
}

/* Statement */
.statement { padding: var(--section) 0; }
.statement__text { font-size: clamp(28px, 4.2vw, 56px); line-height: 1.2; letter-spacing: -.035em; font-weight: 500; max-width: 27ch; text-wrap: pretty; }
.inline-pic { display: inline-block; height: .92em; width: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 999px; vertical-align: -.14em; margin: 0 .04em; }

/* How it works */
.story { padding: var(--section) 0; }
.story__grid { display: grid; gap: 56px; }
.story__steps { position: relative; padding-left: 28px; }
.rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.rail > span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(1); }
.step { padding: 0 0 64px; }
.step h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; line-height: 1.1; font-weight: 600; }
.step p { color: var(--muted); margin-top: 12px; max-width: 40ch; }
.step__shot { margin-top: 28px; width: min(72vw, 300px); }
.story__stage { display: none; }
@media (min-width: 1024px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 0; transition: opacity .5s var(--ease); }
  .js .step { opacity: .28; }
  .js .step.is-active { opacity: 1; }
  .step__shot { display: none; }
  .story__stage { display: flex; justify-content: center; position: sticky; top: calc(50vh - min(34vh, 330px)); height: min(68vh, 660px); align-self: start; }
  .device--stage { height: 100%; }
  .device--stage .device__core { height: 100%; width: auto; }
  .device--stage img { position: absolute; inset: 0; opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); }
  .device--stage img.is-active { opacity: 1; transform: none; }
}

/* Bento */
.features { padding: var(--section) 0; }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cell { position: relative; padding: 6px; border-radius: 28px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); }
.cell__core { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, var(--core), var(--core-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.cell__body { padding: 24px 26px 28px; }
.cell h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.cell__body > p:not(.stat):not(.match) { color: var(--muted); font-size: 16px; margin-top: 6px; max-width: 40ch; }
.cell__media { position: relative; aspect-ratio: 880 / 532; overflow: hidden; }
.cell__media img { width: 100%; height: 100%; object-fit: cover; }
.cell__media--short { aspect-ratio: 900 / 460; }

/* Spotlight border that follows the cursor. */
.cell::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 238, 82, .55), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s var(--ease);
}
@media (hover: hover) { .bento:hover .cell::before { opacity: 1; } }

.vf { position: absolute; left: 30%; top: 14%; width: 40%; height: 72%; }
.vf i { position: absolute; width: 38px; height: 38px; border: 3px solid var(--accent); border-radius: 12px; transition: transform .7s var(--spring), opacity .4s var(--ease); transition-delay: .35s; }
.vf i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.vf i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.match { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 16px; padding: 9px 16px; border-radius: 999px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(212, 238, 82, .28); font-size: 14px; transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: .9s; }
.match span { font-weight: 600; }
.match em { color: var(--muted); }

.cell__phone { width: min(82%, 300px); margin: 8px auto -40%; transition: transform .6s var(--ease); }
.cell--screen .cell__core { min-height: 520px; }
@media (hover: hover) { .cell--screen:hover .cell__phone { transform: translateY(-10px); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 26px 28px; margin-top: auto; }
.chips li { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--spring); }
.chips li.is-on { background: var(--accent); color: var(--accent-ink); box-shadow: none; transform: scale(1.04); }

.stat { font-size: 46px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.stat small { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--faint); margin-top: 8px; }

.badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.badge svg { width: 24px; height: 24px; fill: var(--text); }
.badge--accent svg { fill: var(--accent); }
.cell--sync .cell__core { padding-top: 26px; }
.cell--sync .duo { margin-left: 26px; }
.thumbs { position: relative; padding: 14px 14px 0; min-height: 250px; }
.thumbs img { aspect-ratio: 360 / 223; object-fit: cover; border-radius: 16px; }
.thumbs img:first-child { width: 80%; transform: rotate(-3deg); }
.thumbs img:last-child { position: absolute; right: 14px; top: 44%; width: 62%; transform: rotate(4deg); box-shadow: 0 0 0 5px var(--core), 0 24px 40px -20px rgba(0, 6, 24, .9); transition: transform .6s var(--ease); }
@media (hover: hover) { .cell--coll:hover .thumbs img:last-child { transform: rotate(1deg) translateY(-6px); } }
.cell--coll .cell__body { margin-top: auto; padding-top: 40px; }
.duo { display: flex; gap: 8px; }
.cell--sync .cell__core { background: radial-gradient(120% 140% at 100% 0%, rgba(212, 238, 82, .14), transparent 55%), linear-gradient(180deg, var(--core), var(--core-2)); }

@media (min-width: 640px) and (max-width: 1023px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell--photo, .cell--sync { grid-column: span 2; }
  .cell--screen { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .cell--photo { grid-column: 1 / span 4; grid-row: 1; }
  .cell--screen { grid-column: 5 / span 2; grid-row: 1; }
  .cell--traits { grid-column: 1 / span 2; grid-row: 2; }
  .cell--dive { grid-column: 3 / span 2; grid-row: 2; }
  .cell--coll { grid-column: 5 / span 2; grid-row: 2; }
  .cell--sync { grid-column: 1 / span 6; grid-row: 3; }
  .cell--photo .cell__media { aspect-ratio: auto; flex: 1; min-height: 360px; }
  .cell--screen .cell__core { min-height: 600px; }
  .cell--sync .cell__core { flex-direction: row; align-items: center; padding: 0 0 0 26px; }
  .cell--sync .duo { margin-left: 0; }
  .cell--sync .cell__body { padding: 30px 28px; }
}

/* Logbook fan */
.log { padding: var(--section) 0 calc(var(--section) + 40px); overflow: hidden; }
.fan { display: grid; place-items: center; padding-top: 24px; }
.fan__item { grid-area: 1 / 1; width: clamp(180px, 22vw, 300px); }
.fan__item--c { z-index: 2; }
.fan__item--l { transform: translate(-72%, 36px) rotate(-8deg); }
.fan__item--r { transform: translate(72%, 36px) rotate(8deg); }
@media (max-width: 639px) {
  .fan__item { width: 52vw; }
  .fan__item--l { transform: translate(-46%, 24px) rotate(-8deg); }
  .fan__item--r { transform: translate(46%, 24px) rotate(8deg); }
}

/* Audience */
.who { padding: var(--section) 0; }
.who__grid { display: grid; gap: 48px; }
.who__list { display: grid; gap: 40px; }
.who__list li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.who__list h3 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.who__list p { color: var(--muted); margin-top: 6px; max-width: 48ch; }
@media (min-width: 1024px) {
  .who__grid { grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
  .who__title { position: sticky; top: 120px; }
  .who__list { gap: 56px; padding-top: 8px; }
}

/* Guide: horizontal scroll-snap row */
.guide { padding: var(--section) 0; }
.guide__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2)) 28px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent;
}
.guide__track li { scroll-snap-align: start; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, var(--core), var(--core-2)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .06); }
.guide__track h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.guide__track p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.guide__track:focus-visible { outline-offset: -2px; border-radius: 0; }

/* FAQ: open list, no accordion */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; gap: 40px; }
.faq__grid dt { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.faq__grid dd { color: var(--muted); margin-top: 8px; max-width: 52ch; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1fr; gap: 48px 72px; } }

/* Final CTA */
.cta { position: relative; overflow: hidden; padding: calc(var(--section) + 20px) 0 var(--section); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent); }
.cta__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.cta__icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 20px 40px -16px rgba(0, 10, 40, .9); }
.cta__title { margin-top: 28px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; max-width: 14ch; text-wrap: balance; }
.cta .stores { margin-top: 32px; }
.qr { display: none; }
@media (min-width: 1024px) {
  .cta__grid { grid-template-columns: 1.4fr .6fr; }
  .qr { display: block; justify-self: end; text-align: center; }
  .qr__core { padding: 6px; border-radius: 28px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-2); }
  .qr__core img { width: 200px; height: 200px; padding: 18px; border-radius: 22px; background: #F2F5FA; }
  .qr figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 22ch; margin-left: auto; margin-right: auto; }
}

/* Footer */
.foot { padding: 40px 0 120px; font-size: 15px; color: var(--muted); box-shadow: inset 0 1px 0 var(--line); }
.foot__grid { display: grid; gap: 18px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot__links a { transition: color .25s var(--ease); }
@media (hover: hover) { .foot__links a:hover { color: var(--text); } }
.foot__copy { color: var(--faint); }
@media (min-width: 900px) {
  .foot { padding-bottom: 40px; }
  .foot__grid { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 36px; }
  .foot .brand { margin-right: 0; }
}

/* Mobile download dock (fixed, so blur is allowed) */
.dock {
  position: fixed; z-index: 8; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 24px;
  background: rgba(8, 18, 40, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 48px -16px rgba(0, 6, 24, .9);
  transform: translateY(calc(100% + 32px)); transition: transform .55s var(--ease);
}
.dock[hidden] { display: none; }
.dock.is-shown { transform: none; }
.dock img { width: 36px; height: 36px; border-radius: 9px; }
.dock > span { margin-right: auto; font-size: 14px; line-height: 1.25; }
.dock small { display: block; color: var(--muted); font-size: 12px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Motion. Content is fully visible without JS; `.js` enables entrance states. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .load { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
  .js .hero__title .w { display: inline-block; opacity: 0; transform: translateY(.3em); filter: blur(10px); animation: word .9s var(--ease) forwards; animation-delay: calc(100ms + var(--i) * 55ms); }

  .js .device--hero { animation: phone-in 1.3s var(--ease) .15s both; }
  .js .scanline { animation: scan 1.4s var(--ease) 1.05s both; }
  .js .sonar i { animation: ping 2s var(--ease-out) both; }
  .js .sonar i:nth-child(1) { animation-delay: 1.15s; }
  .js .sonar i:nth-child(2) { animation-delay: 1.5s; }
  .js .sonar i:nth-child(3) { animation-delay: 1.85s; }
  .js .result { animation: pop .75s var(--spring) 2.35s both; transform-origin: 20% 100%; }
  .js .saved { animation: pop .6s var(--spring) 3s both; transform-origin: 100% 50%; }

  .js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--rd, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; filter: none; }

  .js .vf i { opacity: 0; }
  .js .vf i:nth-child(1) { transform: translate(-18px, -18px); }
  .js .vf i:nth-child(2) { transform: translate(18px, -18px); }
  .js .vf i:nth-child(3) { transform: translate(-18px, 18px); }
  .js .vf i:nth-child(4) { transform: translate(18px, 18px); }
  .js .is-in .vf i { opacity: 1; transform: none; }
  .js .cell--photo .match { opacity: 0; transform: translateY(8px); }
  .js .cell--photo.is-in .match { opacity: 1; transform: none; }

  @supports (animation-timeline: view()) {
    .statement__text { view-timeline: --lit block; }
    .js .statement__text .w { opacity: .2; animation: lit linear both; animation-timeline: --lit; animation-range: cover calc(16% + var(--p) * 36%) cover calc(21% + var(--p) * 36%); }

    .story__steps { view-timeline: --steps block; }
    .rail > span { transform: scaleY(0); animation: fill linear both; animation-timeline: --steps; animation-range: contain 0% contain 100%; }

    .fan { view-timeline: --fan block; }
    .fan__item--l { animation: fan-l linear both; animation-timeline: --fan; animation-range: entry 20% cover 50%; }
    .fan__item--r { animation: fan-r linear both; animation-timeline: --fan; animation-range: entry 20% cover 50%; }
    .fan__item--c { animation: fan-c linear both; animation-timeline: --fan; animation-range: entry 20% cover 50%; }
  }
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(70px) rotateX(26deg) scale(.94); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes scan { 0% { opacity: 0; transform: translateY(8%); } 12%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(82%); } }
@keyframes ping { 0% { opacity: .9; transform: scale(.25); } 100% { opacity: 0; transform: scale(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lit { to { opacity: 1; } }
@keyframes fill { to { transform: scaleY(1); } }
@keyframes fan-l { from { transform: translate(-10%, 90px) rotate(0deg); } }
@keyframes fan-r { from { transform: translate(10%, 90px) rotate(0deg); } }
@keyframes fan-c { from { transform: translateY(60px) scale(.96); } }
@media (max-width: 1023px) {
  @keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotateX(22deg) scale(.95); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  .sonar, .scanline { display: none; }
  .device--stage img { transition: opacity .2s linear; transform: none !important; }
  .btn, .store, .btn__icon, .chips li, .cell__phone, .dock, .menu, .menu nav a, .menu > .btn, .burger span { transition-duration: .01ms !important; }
}
