/* Trackl coming-soon site
   Layout idea: calm glass cards over the app's pastel wash; phone captures do the talking.
   Tokens mirror the app prototype (Material 3 roles + Liquid Glass skin). */

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --primary: #0a84ff;
  --secondary: #5e5ce6;
  --on-primary: #ffffff;
  --primary-container: #d8e9ff;
  --on-primary-container: #00325c;
  --tertiary: #c9720a;
  --tertiary-container: #ffe7c2;

  --bg: #eef2fa;
  --ink: #1c1c1e;
  --muted: #5f6675;
  --line: rgba(60, 60, 67, 0.14);

  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 8px 32px rgba(31, 41, 55, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --glass-blur: blur(20px) saturate(180%);

  --wash:
    radial-gradient(120% 65% at 15% 0%, #bfe3ff 0%, transparent 55%),
    radial-gradient(100% 60% at 100% 10%, #ffd9e8 0%, transparent 50%),
    radial-gradient(90% 60% at 25% 100%, #d6ffef 0%, transparent 55%),
    linear-gradient(180deg, #f4f7fc, #edf1f8);
  --cta-grad: linear-gradient(135deg, #0a84ff, #5e5ce6);
  --glow-a: rgba(10, 132, 255, 0.28);
  --glow-b: rgba(147, 90, 255, 0.24);
  --bezel: #0b0d12;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --gutter: clamp(16px, 5vw, 40px);
  --section-gap: clamp(64px, 9vw, 120px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #409cff;
    --secondary: #9391ff;
    --primary-container: rgba(64, 156, 255, 0.22);
    --on-primary-container: #cfe4ff;
    --tertiary: #ffb454;
    --tertiary-container: rgba(255, 180, 84, 0.2);
    --bg: #0b0e14;
    --ink: #f2f2f7;
    --muted: #a6adbb;
    --line: rgba(255, 255, 255, 0.12);
    --surface: rgba(30, 32, 42, 0.58);
    --surface-strong: rgba(40, 42, 55, 0.82);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --glass-blur: blur(22px) saturate(160%);
    --wash:
      radial-gradient(120% 65% at 15% 0%, rgba(64, 140, 255, 0.25) 0%, transparent 55%),
      radial-gradient(100% 60% at 100% 10%, rgba(147, 90, 255, 0.22) 0%, transparent 50%),
      radial-gradient(90% 60% at 25% 100%, rgba(60, 220, 190, 0.14) 0%, transparent 55%),
      linear-gradient(180deg, #0b0e14, #08090d);
    --glow-a: rgba(64, 140, 255, 0.3);
    --glow-b: rgba(147, 90, 255, 0.28);
    --bezel: #20232d;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --primary: #409cff;
  --secondary: #9391ff;
  --primary-container: rgba(64, 156, 255, 0.22);
  --on-primary-container: #cfe4ff;
  --tertiary: #ffb454;
  --tertiary-container: rgba(255, 180, 84, 0.2);
  --bg: #0b0e14;
  --ink: #f2f2f7;
  --muted: #a6adbb;
  --line: rgba(255, 255, 255, 0.12);
  --surface: rgba(30, 32, 42, 0.58);
  --surface-strong: rgba(40, 42, 55, 0.82);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --glass-blur: blur(22px) saturate(160%);
  --wash:
    radial-gradient(120% 65% at 15% 0%, rgba(64, 140, 255, 0.25) 0%, transparent 55%),
    radial-gradient(100% 60% at 100% 10%, rgba(147, 90, 255, 0.22) 0%, transparent 50%),
    radial-gradient(90% 60% at 25% 100%, rgba(60, 220, 190, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #0b0e14, #08090d);
  --glow-a: rgba(64, 140, 255, 0.3);
  --glow-b: rgba(147, 90, 255, 0.28);
  --bezel: #20232d;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: clip;
}
body::before { /* the app's pastel wash; a fixed layer avoids janky fixed backgrounds on iOS */
  content: "";
  position: fixed;
  inset: 0;
  background: var(--wash);
  z-index: -1;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; }

.ic { width: 1.5rem; height: 1.5rem; fill: currentColor; flex: none; }

.glass {
  background: var(--surface);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.2); flex: none; }

/* theme-dependent assets */
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: max(10px, env(safe-area-inset-top)); }
.site-header .bar {
  display: flex; align-items: center; gap: clamp(12px, 3vw, 28px);
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1160px;
  padding-inline: 18px 10px;
}
.brand { display: inline-flex; align-items: center; }
.brand .logo { height: 40px; width: auto; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 30px); margin-left: auto; font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.nav a { padding: 8px 2px; transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  background: var(--primary-container); color: var(--on-primary-container);
}
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  background: var(--surface-strong); box-shadow: inset 0 0 0 1px var(--line);
}
.theme-toggle .ic-light { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-light { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ic-dark { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .ic-light { display: block; }
}

/* ---------- store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 16px; border-radius: 16px;
  background: var(--ink); color: var(--bg);
  cursor: default; user-select: none;
}
.store .ic { width: 1.9rem; height: 1.9rem; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 0.72rem; font-weight: 600; opacity: 0.8; }
.store b { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; }
.stores-on-dark .store { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center; gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(28px, 5vw, 64px) clamp(36px, 6vw, 80px);
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 700;
  background: var(--surface-strong); box-shadow: inset 0 0 0 1px var(--line);
}
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.75rem); letter-spacing: -0.035em; }
.grad { background: var(--cta-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
:root[data-theme="dark"] .grad { background-image: linear-gradient(135deg, #64d2ff, #9391ff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .grad { background-image: linear-gradient(135deg, #64d2ff, #9391ff); } }
.lede { margin-top: 22px; max-width: 34em; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); color: var(--muted); }
.hero .stores { margin-top: 30px; }
.fine { margin-top: 16px; font-size: 0.92rem; color: var(--muted); }

.hero-visual { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1 / 1.2; container-type: inline-size; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.orb-a { width: 64%; aspect-ratio: 1; left: -8%; top: 6%; background: var(--glow-a); }
.orb-b { width: 56%; aspect-ratio: 1; right: -6%; bottom: 0; background: var(--glow-b); }
.hero-visual .phone { position: absolute; }
.hero-visual .p-session { width: 48%; right: 3%; top: 0; transform: rotate(4deg); z-index: 2; }
.hero-visual .p-home { width: 44%; left: 3%; bottom: 0; transform: rotate(-5deg); z-index: 1; }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 18px; font-size: clamp(0.72rem, 2.6cqw, 0.92rem); font-weight: 700; line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.chip small { font-weight: 600; color: var(--muted); font-size: 0.82em; }
.chip .ic { color: var(--primary); width: clamp(1.2rem, 5cqw, 1.7rem); height: clamp(1.2rem, 5cqw, 1.7rem); }
.chip-a { left: -1%; top: 12%; }
.chip-b { right: -1%; bottom: 14%; animation-delay: -3s; }
.chip-b .ic { color: var(--tertiary); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- phone frame (sized by its own width, so it scales anywhere) ---------- */
.phone { width: var(--w, 280px); container-type: inline-size; }
.phone-in {
  padding: 3.2cqw; border-radius: 13cqw; background: var(--bezel);
  box-shadow: 0 30px 60px -22px rgba(20, 30, 60, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.phone-in img { width: 100%; height: auto; border-radius: 10cqw; background: var(--surface-strong); aspect-ratio: 560 / 1262; }

/* ---------- facts strip ---------- */
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.facts-grid li { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--r-lg); }
.facts-grid .ic { color: var(--primary); width: 1.9rem; height: 1.9rem; margin-bottom: 8px; }
.facts-grid b { font-size: 1.02rem; }
.facts-grid span { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

/* ---------- features ---------- */
.features { margin-top: var(--section-gap); display: flex; flex-direction: column; gap: clamp(56px, 8vw, 112px); }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head h2, .pro-copy h2, .cta h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
.section-head .sub { color: var(--muted); font-size: 1.1rem; }
.section-head > * { max-width: 46rem; }

.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 96px); }
.row-flip .row-visual { order: -1; }
.row-copy { display: flex; flex-direction: column; gap: 14px; max-width: 34rem; }
.row-flip .row-copy { margin-left: auto; }
.row-copy h3 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); }
.row-copy > p { font-size: 1.08rem; color: var(--muted); }
.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ticks .ic { color: var(--primary); width: 1.7rem; height: 1.7rem; padding: 4px; border-radius: 10px; background: var(--primary-container); box-sizing: content-box; }
.tag { margin-left: 4px; padding: 2px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; background: var(--tertiary-container); color: var(--tertiary); vertical-align: 2px; }

.row-visual { position: relative; display: grid; place-items: center; --w: clamp(230px, 26vw, 310px); }
.row-visual::before {
  content: ""; position: absolute; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%; filter: blur(64px);
  background: radial-gradient(circle at 30% 30%, var(--glow-a), transparent 70%), radial-gradient(circle at 75% 75%, var(--glow-b), transparent 70%);
}
.row-visual .phone { position: relative; }

/* ---------- how ---------- */
.how, .more, .pro, .cta { margin-top: var(--section-gap); }
.how .section-head, .more .section-head { margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { position: relative; padding: 26px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 10px; }
.num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--cta-grad); box-shadow: 0 8px 20px rgba(10, 132, 255, 0.35); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); }

/* ---------- details ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.more-grid li { padding: 24px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 8px; }
.more-grid .ic { width: 2rem; height: 2rem; color: var(--secondary); margin-bottom: 4px; }
.more-grid h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.more-grid p { color: var(--muted); font-size: 0.97rem; }

/* ---------- pro ---------- */
.pro-card {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(24px, 4.5vw, 56px); border-radius: var(--r-xl);
  background: linear-gradient(var(--surface-strong), var(--surface-strong)) padding-box, linear-gradient(135deg, var(--primary), var(--secondary), #bf5af2) border-box;
  border: 2px solid transparent; box-shadow: var(--glass-shadow);
}
.pro-copy { display: flex; flex-direction: column; gap: 14px; }
.pro-copy p:last-child { color: var(--muted); font-size: 1.08rem; }
.pro-list { display: flex; flex-direction: column; gap: 14px; }
.pro-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pro-list .ic { color: var(--tertiary); width: 1.8rem; height: 1.8rem; margin-top: 2px; }
.pro-list span { display: flex; flex-direction: column; color: var(--muted); line-height: 1.45; }
.pro-list b { color: var(--ink); font-size: 1.05rem; }

/* ---------- final call to action ---------- */
.cta-card {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: clamp(36px, 7vw, 84px) clamp(20px, 5vw, 56px); border-radius: var(--r-xl);
  background:
    radial-gradient(70% 90% at 12% 0%, rgba(100, 210, 255, 0.75), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(191, 90, 242, 0.7), transparent 60%),
    linear-gradient(135deg, #0a84ff, #5e5ce6);
  box-shadow: 0 30px 60px -28px rgba(10, 80, 200, 0.6);
}
.cta-mark { width: 62px; height: auto; }
.cta-card p { max-width: 32em; font-size: 1.12rem; opacity: 0.94; }
.cta-card .stores { justify-content: center; margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--section-gap); padding-block: 32px max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot .logo { height: 34px; }
.legal { max-width: 40rem; font-size: 0.86rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero .stores { justify-content: center; }
  .hero-visual { width: min(100%, 460px); }
  .row, .pro-card { grid-template-columns: minmax(0, 1fr); }
  .row-copy, .row-flip .row-copy { max-width: 36rem; margin-inline: auto; }
  .row-visual, .row-flip .row-visual { order: 2; --w: min(270px, 70vw); }
  .row-copy { order: 1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; }
  .steps li p { flex-basis: 100%; }
  .nav { display: none; }
  .badge-soon { margin-left: auto; }
}
@media (max-width: 600px) {
  .brand .logo { height: 34px; }
  .site-header .bar { padding-left: 14px; gap: 8px; }
  .badge-soon { padding: 7px 12px; font-size: 0.8rem; }
  .facts-grid, .more-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-grid li { padding: 16px 18px; }
  .stores { flex-direction: column; align-items: stretch; width: min(100%, 320px); }
  .store { justify-content: flex-start; }
  .chip-a { left: 0; top: 8%; }
  .chip-b { right: 0; bottom: 6%; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .badge-soon .dot { display: none; }
  .chip-a small, .chip-b small { display: none; }
}
@media (min-width: 1500px) {
  .container { max-width: 1360px; }
  html { font-size: 106%; }
}
@media (min-width: 2000px) { html { font-size: 118%; } .container { max-width: 1560px; } }
@media (max-height: 520px) and (orientation: landscape) { .site-header { position: static; } .hero { padding-block: 24px; } }

@media (hover: hover) {
  .store { transition: transform 0.2s; }
  .store:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
  * { transition: none !important; }
}
@media (forced-colors: active) { .glass, .store, .pro-card { border: 1px solid CanvasText; } }

/* ---------- cookie consent ---------- */
.link-btn { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--primary); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--secondary); }

.consent {
  position: fixed; z-index: 90; left: 0; right: 0;
  bottom: max(14px, env(safe-area-inset-bottom));
  padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  display: flex; justify-content: center; pointer-events: none;
}
.consent[hidden] { display: none; }
.consent:focus { outline: none; }
.consent-card {
  pointer-events: auto; width: min(100%, 780px); max-height: min(86vh, 86dvh); overflow: hidden;
  padding: clamp(16px, 2.4vw, 24px); border-radius: 26px; display: flex; flex-direction: column;
  background: linear-gradient(var(--surface-strong), var(--surface-strong)), color-mix(in srgb, var(--bg) 80%, transparent);
  animation: consent-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .consent-card { animation: none; } }
.consent-top { display: flex; gap: 14px; align-items: flex-start; flex: none; }
.consent-ic { width: 2.6rem; height: 2.6rem; padding: 8px; box-sizing: border-box; border-radius: 14px; color: var(--on-primary-container); background: var(--primary-container); }
.consent h2 { font-size: 1.15rem; line-height: 1.25; margin-bottom: 4px; }
.consent p { font-size: 0.95rem; color: var(--muted); max-width: 60ch; }
.consent-details { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.consent-details[hidden] { display: none; }
.consent-details dl { display: grid; gap: 12px; margin: 0; }
.consent-details dt { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 2px; }
.consent-details dd { margin: 0; font-size: 0.92rem; color: var(--muted); }
.consent-details dd strong { color: var(--ink); }
.consent-details a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.consent-details .ck { display: block; margin-top: 4px; }
.consent-details code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; padding: 1px 6px; border-radius: 6px; background: var(--primary-container); color: var(--on-primary-container); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; flex: none; }
.consent-more { margin-right: auto; background: none; border: 0; font: inherit; font-weight: 700; font-size: 0.92rem; color: var(--primary); cursor: pointer; padding: 10px 6px; text-decoration: underline; text-underline-offset: 3px; }
.consent-btn { min-height: 46px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 0.95rem; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.consent-btn:active { transform: scale(0.97); }
.consent-reject { color: var(--ink); background: var(--surface-strong); border: 1.5px solid var(--ink); }
.consent-accept { color: #fff; background: var(--cta-grad); border: 1.5px solid transparent; box-shadow: 0 8px 20px rgba(10, 132, 255, 0.32); }
@media (max-width: 600px) {
  .consent-top { gap: 12px; }
  .consent-ic { width: 2.3rem; height: 2.3rem; padding: 7px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-more { grid-column: 1 / -1; margin: 0; text-align: left; padding-block: 4px 0; }
  .consent-btn { padding-inline: 12px; }
}
@media (max-height: 520px) and (orientation: landscape) { .consent-card { max-height: 92dvh; } .consent-ic { display: none; } }
@media (forced-colors: active) { .consent-card, .consent-btn { border: 1px solid CanvasText; } }

/* ---------- footer links and legal pages ---------- */
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.foot-links a { padding: 8px 4px; font-size: 0.86rem; font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.foot-links a:hover { color: var(--secondary); }
.consent p a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.doc { padding-top: clamp(28px, 5vw, 56px); }
.doc-card { max-width: 860px; margin-inline: auto; padding: clamp(22px, 4.5vw, 56px); border-radius: 32px; background: var(--surface-strong); }
.doc-card h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); margin-top: 6px; }
.doc-meta { margin-top: 10px; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.doc-card h2 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); margin-top: clamp(28px, 4vw, 40px); margin-bottom: 10px; scroll-margin-top: 96px; }
.doc-card p, .doc-card li { font-size: 1.02rem; color: var(--ink); max-width: 70ch; }
.doc-card p + p { margin-top: 12px; }
.doc-card a:not(.brand) { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-card code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; padding: 1px 6px; border-radius: 6px; background: var(--primary-container); color: var(--on-primary-container); }
.doc-summary { margin-top: 26px; padding: clamp(16px, 3vw, 24px); border-radius: 20px; background: var(--primary-container); color: var(--on-primary-container); }
.doc-summary h2 { margin-top: 0; font-size: 1.1rem; color: inherit; }
.doc-summary li, .doc-summary a { color: inherit; }
.doc-summary ul { display: grid; gap: 8px; }
.doc-summary li, .doc-list li { position: relative; padding-left: 22px; }
.doc-summary li::before, .doc-list li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.doc-list { display: grid; gap: 10px; margin-block: 4px 12px; }
.doc-table { display: grid; margin: 14px 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.doc-table .tr { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr; }
.doc-table .tr > span { padding: 14px 16px; font-size: 0.95rem; border-top: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.doc-table .tr:first-child > span { border-top: 0; }
.doc-table .head > span { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--primary-container); border-top: 0; }
.doc-table .tr:nth-child(even):not(.head) { background: color-mix(in srgb, var(--primary-container) 28%, transparent); }
@media (max-width: 700px) {
  .doc-table .tr { grid-template-columns: minmax(0, 1fr); }
  .doc-table .head { display: none; }
  .doc-table .tr > span { border-top: 0; padding-block: 6px; }
  .doc-table .tr { padding-block: 8px; border-top: 1px solid var(--line); }
  .doc-table .tr:first-child { border-top: 0; }
  .doc-table .tr:nth-child(2) { border-top: 0; }
}
@media (max-width: 700px) {
  .doc-table .tr > span[data-label]::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 2px; }
}

/* ==========================================================================
   Fishing imagery: lakeside hero scene, species cards, water details.
   All artwork is inline SVG coloured from the tokens below, so it follows
   light and dark themes and stays crisp at any size.
   ========================================================================== */
:root {
  --sc-ink: #1d2a66;
  --sc-w1: rgba(10, 132, 255, 0.30);
  --sc-w2: rgba(94, 92, 230, 0.13);
  --sc-w3: rgba(94, 92, 230, 0);
  --sc-fish: #1f5fd6;
  --sc-ripple: rgba(255, 255, 255, 0.85);
  --sc-float: #ff8a1f;
  --sp-fill: #e4efff;
  --sp-fin: #f1f6ff;
  --sp-acc-fill: #ffe9cc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sc-ink: #d5deff; --sc-w1: rgba(64, 156, 255, 0.34); --sc-w2: rgba(110, 108, 255, 0.15); --sc-w3: rgba(110, 108, 255, 0);
    --sc-fish: #8fb8ff; --sc-ripple: rgba(190, 215, 255, 0.4); --sc-float: #ffa23f;
    --sp-fill: #15233d; --sp-fin: #101a2e; --sp-acc-fill: #3a2a14;
  }
}
:root[data-theme="dark"] {
  --sc-ink: #d5deff; --sc-w1: rgba(64, 156, 255, 0.34); --sc-w2: rgba(110, 108, 255, 0.15); --sc-w3: rgba(110, 108, 255, 0);
  --sc-fish: #8fb8ff; --sc-ripple: rgba(190, 215, 255, 0.4); --sc-float: #ffa23f;
  --sp-fill: #15233d; --sp-fin: #101a2e; --sp-acc-fill: #3a2a14;
}

/* ---------- hero scene ---------- */
.hero-wrap { position: relative; --scene-h: clamp(180px, 25vw, 480px); }
.hero { position: relative; z-index: 1; padding-bottom: calc(var(--scene-h) * 0.32); }
.hero-copy { padding-bottom: calc(var(--scene-h) * 0.58 + 14px); }
.hero { padding-top: clamp(20px, 3vw, 40px); }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.4rem); }
.pill .ic { width: 1.35rem; height: 1.35rem; color: var(--primary); }
.chip-a .ic { color: var(--primary); }

.scene { position: absolute; left: 0; right: 0; bottom: 0; height: var(--scene-h); z-index: 0; overflow: hidden; pointer-events: none; }
.scene svg { display: block; width: 100%; height: 100%; }
.sc-w1 { stop-color: var(--sc-w1); } .sc-w2 { stop-color: var(--sc-w2); } .sc-w3 { stop-color: var(--sc-w3); }
.sc-hill { fill: var(--sc-ink); opacity: 0.09; }
.sc-hill2 { fill: var(--sc-ink); opacity: 0.05; }
.sc-ripple { fill: none; stroke: var(--sc-ripple); stroke-width: 2.4; stroke-linecap: round; }
.sc-fish { fill: var(--sc-fish); opacity: 0.42; }
.sc-fish-mid { opacity: 0.3; }
.sc-fish-far { opacity: 0.2; }
.sc-bubble { fill: none; stroke: var(--sc-fish); stroke-width: 1.2; opacity: 0.45; }
.sc-bank { fill: var(--sc-ink); opacity: 0.2; }
.sc-grass { fill: none; stroke: var(--sc-ink); stroke-width: 2; stroke-linecap: round; opacity: 0.4; }
.sc-kit { fill: var(--sc-ink); opacity: 0.6; }
.sc-kit-line { fill: none; stroke: var(--sc-ink); stroke-width: 2.2; stroke-linecap: round; }
.sc-ink { fill: var(--sc-ink); opacity: 0.92; }
.sc-grass + .sc-ink { opacity: 0.4; }
.sc-ink-line { fill: none; stroke: var(--sc-ink); stroke-linecap: round; stroke-linejoin: round; opacity: 0.92; }
.sc-arm { stroke-width: 7; }
.sc-rod-butt { stroke-width: 4.6; }
.sc-rod-a { stroke-width: 3; }
.sc-rod-b { stroke-width: 1.9; }
.sc-line { fill: none; stroke: var(--sc-ink); stroke-width: 1; opacity: 0.6; }
.sc-line-under { opacity: 0.28; }
.sc-ring { fill: none; stroke: var(--sc-ripple); stroke-width: 1.4; }
.sc-float-stem { fill: none; stroke: var(--sc-ink); stroke-width: 2; stroke-linecap: round; opacity: 0.85; }
.sc-float-tip { fill: none; stroke: var(--sc-float); stroke-width: 3.6; stroke-linecap: round; }
.sc-float-body { fill: var(--sc-float); opacity: 0.55; }
.sc-hook { fill: none; stroke: var(--sc-ink); stroke-width: 1.6; stroke-linecap: round; opacity: 0.4; }

.sc-drift-a { animation: sc-drift-l 15s ease-in-out infinite alternate; }
.sc-drift-b { animation: sc-drift-r 19s ease-in-out infinite alternate; }
.sc-drift-c { animation: sc-drift-l 23s ease-in-out infinite alternate; }
.sc-float { animation: sc-bob 3.4s ease-in-out infinite; }
@keyframes sc-drift-l { from { transform: translateX(10px); } to { transform: translateX(-22px); } }
@keyframes sc-drift-r { from { transform: translateX(-12px); } to { transform: translateX(26px); } }
@keyframes sc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1.8px); } }

.facts { margin-top: clamp(4px, 1.5vw, 20px); }

/* ---------- species ---------- */
.species { margin-top: var(--section-gap); }
.species .section-head { margin-bottom: 28px; }
.species-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.species-grid li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px 16px; border-radius: var(--r-lg); text-align: center; }
.species-grid b { font-size: 1.02rem; letter-spacing: -0.01em; }
.sp-art { width: 100%; max-width: 168px; height: auto; color: var(--primary); overflow: visible; }
.sp-body, .sp-fin { stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.sp-body { fill: var(--sp-fill); }
.sp-fin { fill: var(--sp-fin); }
.sp-pec { fill: var(--sp-fin); stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-det { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-soft { opacity: 0.4; stroke-width: 1.5; }
.sp-eye { fill: currentColor; }
.sp-spot { fill: currentColor; opacity: 0.5; }
.sp-stripe { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; opacity: 0.32; }
.sp-acc { stroke: var(--tertiary); fill: var(--sp-acc-fill); }
.sp-acc-fill { fill: var(--tertiary); }

/* ---------- fish behind the catch screen ---------- */
.row-fish { position: absolute; width: min(118%, 520px); height: auto; fill: var(--sc-fish); opacity: 0.16; pointer-events: none; }

/* ---------- water in the final call to action ---------- */
.cta-card { padding-bottom: clamp(104px, 15vw, 176px); }
.cta-card > :not(.cta-water) { position: relative; z-index: 1; }
.cta-water { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(84px, 12vw, 150px); fill: #fff; pointer-events: none; }
.cw-1 { opacity: 0.13; }
.cw-2 { opacity: 0.15; }
.cw-fish { opacity: 0.3; }

@media (max-width: 1080px) {
  .species-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  /* stacked: words, then the lake, then the phones standing in front of it */
  .hero-wrap { display: flex; flex-direction: column; }
  .hero { display: contents; }
  .hero-copy { order: 1; padding: clamp(20px, 3vw, 40px) var(--gutter) 0; }
  .scene { order: 2; position: relative; margin-top: 6px; }
  .hero-visual { order: 3; width: min(100% - 2 * var(--gutter), 460px); margin-top: calc(var(--scene-h) * -0.34); }
  .facts { margin-top: clamp(36px, 6vw, 56px); }
}
@media (max-width: 600px) {
  .species-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .species-grid li { padding: 16px 10px 14px; }
}
@media (max-height: 520px) and (orientation: landscape) { .hero { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sc-drift-a, .sc-drift-b, .sc-drift-c, .sc-float { animation: none; }
}
@media (forced-colors: active) {
  .scene, .row-fish, .cta-water { display: none; }
}
