/* Practuna landing
   Design read: B2B landing for SAT program owners, calm and concrete, native CSS.
   Dials: DESIGN_VARIANCE 6, MOTION_INTENSITY 4, VISUAL_DENSITY 4.
   Shape rule: cards 16px, inner UI pieces 10px, buttons and chips full pill.
   One accent (cobalt). Green and red appear only as correct/incorrect state. */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: oklch(0.982 0.004 255);
  --surface: oklch(0.996 0.002 255);
  --surface-2: oklch(0.958 0.008 258);
  --line: oklch(0.905 0.01 258);
  --text: oklch(0.22 0.022 262);
  --muted: oklch(0.47 0.02 262);
  --accent: oklch(0.5 0.16 264);
  --accent-hover: oklch(0.44 0.16 264);
  --accent-ink: oklch(0.985 0.004 255);
  --accent-soft: oklch(0.935 0.035 264);
  --accent-softer: oklch(0.965 0.018 264);
  --good: oklch(0.52 0.12 155);
  --bad: oklch(0.54 0.17 27);
  --todo: oklch(0.55 0.17 27);
  --shadow: 0 1px 2px oklch(0.4 0.04 262 / 0.06), 0 12px 32px -12px oklch(0.4 0.06 262 / 0.18);

  --r-card: 16px;
  --r-ui: 10px;
  --r-pill: 999px;

  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.17 0.012 262);
    --surface: oklch(0.205 0.014 262);
    --surface-2: oklch(0.24 0.016 262);
    --line: oklch(0.31 0.018 262);
    --text: oklch(0.95 0.006 262);
    --muted: oklch(0.73 0.016 262);
    --accent: oklch(0.72 0.13 264);
    --accent-hover: oklch(0.78 0.12 264);
    --accent-ink: oklch(0.17 0.02 262);
    --accent-soft: oklch(0.3 0.06 264);
    --accent-softer: oklch(0.24 0.035 264);
    --good: oklch(0.74 0.13 155);
    --bad: oklch(0.72 0.15 27);
    --todo: oklch(0.74 0.15 27);
    --shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 16px 40px -16px oklch(0 0 0 / 0.55);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--surface); padding: 8px 14px; border-radius: var(--r-pill); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-ghost .ph { transition: transform 0.2s var(--ease); }
.btn-ghost:hover .ph { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklch, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 680; font-size: 20px; letter-spacing: -0.03em; }
.nav-links { display: none; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .hero { padding: 48px 0 72px; min-height: calc(100dvh - 68px); display: flex; align-items: center; overflow-x: clip; }
  .hero-grid { gap: 56px; }
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  line-height: 1.04; letter-spacing: -0.04em; font-weight: 680;
  max-width: 15ch; text-wrap: balance;
}
.lede { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 42ch; line-height: 1.55; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow.center { text-align: center; }

/* ---------- Hero visual: a 2D aquarium behind the player ---------- */
.hero-grid > * { min-width: 0; }
.hero-visual { position: relative; padding: 40px 16px 28px; }
.hero-media {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden; container-type: inline-size;
  background:
    radial-gradient(90% 70% at 85% 0%, color-mix(in oklch, var(--accent) 18%, transparent), transparent 70%),
    linear-gradient(170deg, var(--accent-softer), var(--accent-soft));
}
.hero-visual .player { position: relative; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1.2fr; }
  .hero-visual { padding: 72px 0 64px; }
  .hero-media {
    inset: 0 calc(-1 * max(32px, (100vw - 1180px) / 2 + 32px)) 0 16%;
    border-radius: 28px 0 0 28px;
  }
  .hero-visual .player { max-width: 500px; }
  .leaper { left: 468px; right: auto; top: -24px; }
}

.bubble {
  position: absolute; left: var(--x); bottom: -24px; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, oklch(1 0 0 / 0.9), oklch(1 0 0 / 0.25) 45%, transparent 70%);
  border: 1px solid oklch(1 0 0 / 0.6);
}
.fish { display: block; fill: var(--accent); overflow: visible; }
.swimmer {
  position: absolute; left: 0; top: var(--y); width: var(--w); aspect-ratio: 704 / 309;
  transform: translateX(-140px); opacity: 0.85;
}
/* A fish jumps out of the aquarium and splashes back in. */
.leaper { position: absolute; z-index: 0; right: 22px; top: -92px; width: 64px; height: 120px; pointer-events: none; }
.leaper-fish { position: absolute; left: 0; bottom: 0; width: 46px; aspect-ratio: 378 / 641; transform-origin: 50% 60%; }
.ripple {
  position: absolute; left: -6px; bottom: -4px; width: 58px; height: 12px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0;
}

/* ---------- Shoal divider ---------- */
.shoal { height: 170px; margin: 8px 0; position: relative; }
.shoal canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Player preview ---------- */
.player {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 14px;
}
.player-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.player-mod { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-timer { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.player-flag {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 13px; color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 12px; cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.player-flag[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: var(--accent-softer); }
.player-body { display: grid; }
@media (min-width: 640px) { .player-body { grid-template-columns: 1fr 1fr; } }
.player-passage {
  padding: 20px; line-height: 1.7; color: var(--text);
  border-bottom: 1px solid var(--line);
  max-height: 380px; overflow: auto; scrollbar-width: thin;
}
.player-passage p + p { margin-top: 12px; }
@media (min-width: 640px) { .player-passage { border-bottom: 0; border-right: 1px solid var(--line); } }
.player-q { padding: 20px; }
.qnum {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 8px; background: var(--text); color: var(--bg);
  font-family: var(--mono); font-weight: 600; font-size: 13px;
}
.q-stem { margin: 12px 0 14px; font-weight: 550; line-height: 1.5; }
.choices { display: grid; gap: 8px; }
.choice {
  display: flex; align-items: flex-start; gap: 10px; width: 100%;
  font: inherit; font-size: 13.5px; line-height: 1.45; text-align: left; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ui);
  padding: 9px 12px; cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.choice:hover { border-color: var(--muted); }
.choice:active { transform: scale(0.99); }
.choice .letter {
  flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px;
  border-radius: var(--r-pill); border: 1px solid var(--muted);
  font-size: 12px; font-weight: 600;
}
.choice[aria-checked="true"] { border-color: var(--accent); background: var(--accent-softer); }
.choice[aria-checked="true"] .letter { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.player-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.player-next {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-ink); background: var(--accent); border-radius: var(--r-pill); padding: 6px 14px; font-weight: 600;
}

/* ---------- Numbers + logos (studyspaces-style proof) ---------- */
.numbers { padding: 24px 0 8px; }
.numbers-card {
  margin-top: 28px;
  display: grid; gap: 28px;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}
@media (min-width: 640px) and (max-width: 1023px) { .numbers-card { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .numbers-card { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding: 36px 40px; } }
.stat { display: flex; align-items: center; gap: 18px; }
.stat-icon {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: var(--r-card); background: var(--accent-soft); color: var(--accent); font-size: 28px;
}
.stat-value { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.stat-label { color: var(--muted); font-size: 15px; line-height: 1.35; margin-top: 4px; }

.todo {
  display: inline-block; color: var(--todo);
  outline: 2px dashed var(--todo); outline-offset: 3px; border-radius: 6px; padding: 0 6px;
}

.logos { padding: 64px 0 24px; }
.logo-row { margin-top: 28px; display: flex; justify-content: center; align-items: center; }
.logo-row img { width: 210px; height: auto; opacity: 0.92; transition: opacity 0.2s var(--ease); }
.logo-row img:hover { opacity: 1; }

/* ---------- Product bento ---------- */
.product { padding: 96px 0 72px; }
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 660;
  max-width: 22ch; text-wrap: balance;
}
.bento { margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
      "player player player player review review"
      "missed missed notebook notebook review review"
      "missed missed brand brand brand brand";
  }
  .cell-player { grid-area: player; }
  .cell-review { grid-area: review; }
  .cell-missed { grid-area: missed; }
  .cell-notebook { grid-area: notebook; }
  .cell-brand { grid-area: brand; }
}
.cell {
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.cell h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 640; line-height: 1.25; }
.cell p { color: var(--muted); max-width: 52ch; }
.sample-note { margin-top: auto; padding-top: 4px; font-size: 12.5px; color: var(--muted); }

.cell-player { background: var(--accent-softer); border-color: color-mix(in oklch, var(--accent) 22%, var(--line)); display: grid; gap: 24px; }
@media (min-width: 640px) { .cell-player { grid-template-columns: 1.25fr 1fr; align-items: center; } }
.cell-text { display: flex; flex-direction: column; gap: 12px; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ticks .ph { color: var(--accent); font-size: 18px; margin-top: 1px; }

.gridin { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ui); padding: 18px; display: grid; gap: 12px; }
.gridin-q { font-weight: 550; color: var(--text) !important; }
.gridin-box {
  display: flex; align-items: center; justify-content: space-between;
  border: 2px solid var(--good); border-radius: var(--r-ui); padding: 10px 14px; font-size: 22px; font-weight: 600;
}
.gridin-box .ph-bold { color: var(--good); font-size: 20px; }
.gridin-note { font-size: 13px; }

.review { display: grid; gap: 8px; margin-top: 8px; }
.review-row {
  display: grid; grid-template-columns: 44px 20px 1fr auto; align-items: center; gap: 10px;
  background: var(--surface-2); border-radius: var(--r-ui); padding: 10px 12px; font-size: 14px;
}
.review-row .mono:last-child { color: var(--muted); }
.good { color: var(--good); }
.bad { color: var(--bad); }

.cell-missed { background: var(--surface-2); }
.bars { display: grid; gap: 16px; margin-top: 14px; }
.bar-row { display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 10px; font-size: 13px; }
.bar { height: 14px; width: var(--w); border-radius: var(--r-pill); background: var(--accent); transform-origin: left; }
.bar-row:nth-child(2) .bar { opacity: 0.8; }
.bar-row:nth-child(3) .bar { opacity: 0.65; }
.bar-row:nth-child(4) .bar { opacity: 0.5; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags span {
  font-size: 13px; padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface-2);
}
.tags span:nth-child(2) { border-color: var(--accent); background: var(--accent-softer); color: var(--accent); font-weight: 600; }

.cell-brand {
  background:
    radial-gradient(120% 140% at 100% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--surface);
  display: grid; gap: 24px;
}
@media (min-width: 640px) { .cell-brand { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.url-chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 12px 20px; font-family: var(--mono); font-size: 15px; box-shadow: var(--shadow);
}
.url-chip .ph { color: var(--good); }
.url-chip strong { color: var(--accent); font-weight: 600; }

/* ---------- Onboarding ---------- */
.onboarding { padding: 72px 0; }
.onboarding-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .onboarding-grid { grid-template-columns: 1fr 1.3fr; gap: 64px; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; }
.steps li { position: relative; padding: 0 0 36px 44px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: var(--r-pill);
  display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
}
.steps li::after { content: ""; position: absolute; left: 13.5px; top: 36px; bottom: 6px; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 640; line-height: 1.3; }
.steps p { margin-top: 6px; color: var(--muted); max-width: 48ch; }

/* ---------- Pricing ---------- */
.pricing { padding: 48px 0 72px; }
.price-card {
  display: grid; gap: 32px; padding: 32px 28px;
  border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
@media (min-width: 900px) { .price-card { grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px; } }
.price-main { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.price-promo {
  display: inline-block; padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 650;
}
.price { font-size: 18px; color: var(--muted); }
.price .mono { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; font-size: 72px; line-height: 1; letter-spacing: -0.05em; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.price s { font-size: 40px; color: var(--muted); text-decoration-thickness: 2px; }
.price-min { font-weight: 600; margin-bottom: 10px; }
.price-min s { color: var(--muted); margin-right: 6px; text-decoration-thickness: 1px; }
.price-terms { display: flex; flex-direction: column; gap: 18px; }
.price-terms > p:first-child { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: 72px 0; }
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1.3fr; gap: 64px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { color: var(--muted); transition: transform 0.25s var(--ease); flex: none; }
.faq details[open] summary .ph { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* ---------- Closing: CTA band with the tuna school ---------- */
.closing { padding: 40px 0 96px; }
.closing-band {
  position: relative; overflow: hidden; border-radius: 24px; min-height: 400px;
  display: flex; align-items: center;
  background:
    radial-gradient(70% 90% at 90% 10%, oklch(0.68 0.13 264 / 0.55), transparent 60%),
    linear-gradient(120deg, oklch(0.36 0.15 266), oklch(0.5 0.16 264) 60%, oklch(0.58 0.15 262));
}
.closing-media { position: absolute; inset: 0; }
.closing-school { position: absolute; right: 0; top: 0; bottom: 0; width: min(560px, 80%); opacity: 0.35; }
@media (min-width: 900px) { .closing-school { opacity: 1; width: 48%; } }
.school-fish { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 704 / 309; fill: oklch(0.97 0.01 262); transform: rotate(-24deg); }
.closing-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 48px 28px; color: oklch(0.98 0.005 262);
}
@media (min-width: 768px) { .closing-inner { padding: 64px 56px; } }
.closing h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 660; max-width: 16ch; }
.closing p { color: oklch(0.92 0.02 262); max-width: 40ch; margin-bottom: 8px; }
.btn-light { background: oklch(0.98 0.005 262); color: oklch(0.36 0.15 264); }
.btn-light:hover { background: oklch(1 0 0 / 0.92); }

/* ---------- Fish placed in other sections ---------- */
.onboarding-head { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.onboarding-fish { width: 120px; aspect-ratio: 461 / 571; }
@media (min-width: 1024px) {
  .onboarding-head { position: sticky; top: 120px; align-self: start; }
  .onboarding-fish { width: 150px; }
}
.price-card { position: relative; }
.price-fish { position: absolute; width: 84px; aspect-ratio: 587 / 532; right: 20px; top: -60px; }
@media (min-width: 900px) { .price-fish { width: 104px; right: 56px; top: -74px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.footer-inner { display: grid; gap: 16px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; } .footer-inner .fine { grid-column: 1 / -1; } }
.footer-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .footer-meta { justify-content: flex-end; } }
.footer-meta a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.footer-meta a:hover { color: var(--text); }
.footer .brand { font-size: 17px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .player { opacity: 0; transform: translateY(14px); animation: rise 0.8s var(--ease) forwards; }
  .hero-copy > :nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > :nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.19s; }
  .player { animation-delay: 0.28s; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal .bar { transform: scaleX(0); transition: transform 0.9s var(--ease) 0.15s; }
  .js .reveal.in .bar { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
/* Fish keep swimming independently of the browser's motion preference. */
.bubble { animation: bubble-up var(--d) linear var(--delay, 0s) infinite; }
.swimmer { animation: swim var(--d) linear var(--delay, 0s) infinite, wiggle 0.9s ease-in-out infinite; }
.leaper-fish { animation: leap 4.8s cubic-bezier(0.33, 0, 0.2, 1) infinite; }
.ripple { animation: ripple 4.8s ease-out infinite; }
.onboarding-fish { animation: peek 6s ease-in-out infinite; }
.price-fish { animation: swoop 5.5s ease-in-out infinite; }
.school-fish { animation: school 3.6s ease-in-out var(--delay, 0s) infinite; }
@keyframes bubble-up {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(8px, -260px); }
  100% { transform: translate(-6px, -560px); opacity: 0; }
}
@keyframes swim {
  0% { transform: translate(-140px, 0) rotate(0deg); }
  25% { transform: translate(calc(25cqw - 35px), -10px) rotate(-3deg); }
  50% { transform: translate(calc(50cqw + 70px), 4px) rotate(2deg); }
  75% { transform: translate(calc(75cqw + 105px), -8px) rotate(-2deg); }
  100% { transform: translate(calc(100cqw + 140px), 0) rotate(0deg); }
}
@keyframes bob {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -10px; rotate: 3deg; }
}
@keyframes wiggle {
  0%, 100% { scale: 1 1; }
  50% { scale: 0.94 1.06; }
}
@keyframes leap {
  0%, 52% { translate: 0 70px; rotate: 10deg; opacity: 0; }
  56% { translate: 0 40px; rotate: 0deg; opacity: 1; }
  70% { translate: 6px -28px; rotate: 18deg; }
  84% { translate: 16px 30px; rotate: 150deg; opacity: 1; }
  90%, 100% { translate: 18px 80px; rotate: 165deg; opacity: 0; }
}
@keyframes ripple {
  0%, 54% { opacity: 0; scale: 0.4; }
  58% { opacity: 0.7; scale: 0.7; }
  70% { opacity: 0; scale: 1.4; }
  86% { opacity: 0; scale: 0.4; translate: 16px 0; }
  90% { opacity: 0.7; scale: 0.7; translate: 16px 0; }
  100% { opacity: 0; scale: 1.5; translate: 16px 0; }
}
@keyframes peek {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  30% { translate: 4px -8px; rotate: -6deg; }
  60% { translate: -2px 2px; rotate: 4deg; }
}
@keyframes swoop {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  40% { translate: -10px 8px; rotate: 8deg; }
  70% { translate: 4px -6px; rotate: -4deg; }
}
@keyframes school {
  0%, 100% { translate: 0 0; }
  50% { translate: 10px -8px; }
}
