/* TranspoPh site. Colors mirror app/lib/src/theme/tokens.dart, light and dark. */

@font-face { font-family: "Jakarta"; font-weight: 400; font-display: swap; src: url("../fonts/PlusJakartaSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 500; font-display: swap; src: url("../fonts/PlusJakartaSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 600; font-display: swap; src: url("../fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 700; font-display: swap; src: url("../fonts/PlusJakartaSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 800; font-display: swap; src: url("../fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #F4F3EF;
  --surface: #FFFFFF;
  --surface-raised: #EDEBE5;
  --outline: #DEDBD2;
  --text: #14161A;
  --muted: #5B606A;
  --primary: #1D4ED8;
  --on-primary: #FFFFFF;
  --primary-soft: #E3EAFD;
  --on-primary-soft: #142F7A;
  --accent: #FFB81C;
  --on-accent: #231A00;
  --auto: #0B6E57;
  --auto-soft: #DDF3EC;
  --ink-top: #0E1A33;
  --ink-bottom: #1B3163;
  --on-ink: #FFFFFF;
  --on-ink-muted: #B9C4DB;
  --sun: #FFC940;
  --fuel: #FFC940;
  --toll: #6EA8FF;
  --other: #5FD4B0;
  --nav: #14161A;
  --shadow: rgba(14, 26, 51, .12);
  --road: #0A5AA8;
  --sign: #0F6B3E;

  --radius: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0D11;
    --surface: #14171D;
    --surface-raised: #1C2028;
    --outline: #282D37;
    --text: #EEF0F4;
    --muted: #9EA5B2;
    --primary: #8FACFF;
    --on-primary: #0A1740;
    --primary-soft: #1B2748;
    --on-primary-soft: #D6E0FF;
    --accent: #FFC940;
    --auto: #6FDDBC;
    --auto-soft: #12302A;
    --ink-top: #16233F;
    --ink-bottom: #0F1830;
    --on-ink-muted: #AAB6CF;
    --nav: #1E232C;
    --shadow: rgba(0, 0, 0, .4);
    --road: #3E7BD0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 800; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--surface); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--outline); box-shadow: 0 6px 24px -18px var(--shadow); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px -4px rgba(242, 165, 12, .6); transition: transform .5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-raised); }
.lang { display: inline-flex; border: 1px solid var(--outline); border-radius: 999px; padding: 3px; margin-left: 6px; }
.lang a { padding: 4px 10px; font-size: 13px; font-weight: 700; }
.lang a[aria-current="true"] { background: var(--text); color: var(--bg); }
.nav .nav-cta { background: var(--primary); color: var(--on-primary); }
.nav .nav-cta:hover { background: var(--primary); color: var(--on-primary); filter: brightness(1.1); }
.nav .nav-cta { white-space: nowrap; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }
@media (max-width: 440px) { .nav .nav-cta { display: none; } }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 7vw, 88px) 0 clamp(56px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -2;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sun) 45%, transparent), transparent 70%);
  filter: blur(10px); animation: drift 16s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -20%; width: 60vw; height: 60vw; z-index: -2;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--toll) 30%, transparent), transparent 70%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.1); } }

.road-scene { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 900px) { .road-scene { top: auto; height: 560px; } }
.road-scene .asphalt { fill: none; stroke: var(--road); stroke-width: 54; stroke-linecap: round; opacity: .18; }
.road-scene .lane { fill: none; stroke: var(--road); stroke-width: 4; stroke-dasharray: 22 18; opacity: .45; stroke-linecap: round; }
.road-scene .draw { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw 2.4s .2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.road-scene .car, .road-scene .plaza { opacity: 0; transition: opacity .6s; }
.road-scene.live .car, .road-scene.live .plaza { opacity: 1; }
.plaza .booth { fill: var(--surface); stroke: var(--road); stroke-width: 3; }
.plaza .bar { stroke: #E5484D; stroke-width: 5; stroke-linecap: round; transform-box: fill-box; transform-origin: 0% 50%; transition: transform .35s var(--ease-out); }
.plaza.open .bar { transform: rotate(-70deg); }
.coin { opacity: 0; }
.coin.pop { animation: coin 1.4s var(--ease-out); }
.coin circle { fill: var(--sun); stroke: #B57B00; stroke-width: 2; }
.coin text { font: 800 15px "Jakarta", sans-serif; fill: #3A2A00; text-anchor: middle; dominant-baseline: central; }
@keyframes coin {
  0% { opacity: 0; transform: translateY(0) scale(.4); }
  20% { opacity: 1; transform: translateY(-34px) scale(1.15); }
  70% { opacity: 1; transform: translateY(-58px) scale(1); }
  100% { opacity: 0; transform: translateY(-80px) scale(.9); }
}
.coin { transform-box: fill-box; transform-origin: center; }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--outline); font-size: 14px; font-weight: 600; color: var(--muted);
  box-shadow: 0 6px 20px -14px var(--shadow);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--auto-soft); display: grid; place-items: center; }
.eyebrow .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--auto); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--auto) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }

.hero h1 { font-size: clamp(40px, 6.4vw, 76px); margin: 22px 0 20px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.02em; height: .22em; z-index: -1;
  background: var(--sun); border-radius: 6px; transform-origin: left; transform: scaleX(0);
  animation: underline .9s 1s var(--ease-out) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34ch; }

.split-words .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); animation: word .8s var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes word { to { opacity: 1; transform: none; } }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 16px; border-radius: 16px;
  background: var(--nav); color: #fff; text-decoration: none; min-width: 190px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
  transition: transform .35s var(--spring), box-shadow .35s;
}
.store:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .7); }
.store:active { transform: translateY(0) scale(.98); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: .02em; line-height: 1.2; }
.store b { display: block; font-size: 18px; font-weight: 700; line-height: 1.15; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: 15px; font-weight: 600; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--auto); }

/* Phone */
.phone-stage { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 560px; }
.phone {
  position: relative; width: min(300px, 74vw); aspect-ratio: 1320 / 2868; border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #2a2f3a, #0c0e12); box-shadow: 0 50px 80px -40px rgba(14, 26, 51, .55), 0 0 0 1.5px #3a404c inset;
  transform-style: preserve-3d; transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg));
  transition: transform .6s var(--ease-out);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -14px; } }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #000; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .screen .dark-shot { animation: themeSwap 10s ease-in-out infinite; }
@keyframes themeSwap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.phone .glare { position: absolute; inset: 0; border-radius: 37px; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, transparent 35%); pointer-events: none; mix-blend-mode: screen; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--outline); box-shadow: 0 18px 40px -20px var(--shadow);
  font-size: 14px; font-weight: 700; white-space: nowrap; z-index: 2;
  animation: chipIn .8s var(--spring) both, bob 6s ease-in-out infinite;
}
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-chip .ic svg { width: 18px; height: 18px; }
.chip-fuel { top: 14%; left: -4%; animation-delay: 1.3s, 0s; }
.chip-fuel .ic { background: color-mix(in srgb, var(--fuel) 30%, transparent); color: #7A5600; }
.chip-toll { top: 46%; right: -6%; animation-delay: 1.6s, -2s; }
.chip-toll .ic { background: color-mix(in srgb, var(--toll) 28%, transparent); color: var(--primary); }
.chip-split { bottom: 12%; left: 0; animation-delay: 1.9s, -4s; }
.chip-split .ic { background: var(--auto-soft); color: var(--auto); }
@keyframes chipIn { from { opacity: 0; transform: translateY(20px) scale(.8); } }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (prefers-color-scheme: dark) { .chip-fuel .ic { color: var(--fuel); } }
@media (max-width: 520px) {
  .phone-stage { min-height: 0; padding: 20px 0; }
  .chip-fuel { left: 0; } .chip-toll { right: 0; } .chip-split { left: 4%; }
  .float-chip { font-size: 13px; padding: 8px 12px; }
}

/* ---------- Expressway signs ---------- */

.signs { padding: 22px 0; border-block: 1px solid var(--outline); background: var(--surface); overflow: hidden; }
.signs-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.marquee { display: flex; width: max-content; gap: 14px; animation: marquee 38s linear infinite; }
.signs:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.sign {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 10px;
  background: var(--sign); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .02em;
  border: 2px solid #fff; box-shadow: 0 0 0 2px var(--sign), 0 8px 18px -12px rgba(0,0,0,.6);
  white-space: nowrap;
}
.sign .shield { position: relative; width: 22px; height: 24px; border-radius: 5px 5px 11px 11px; background: #fff; }
.sign .shield::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 5px; width: 3px; margin-left: -1.5px; background: repeating-linear-gradient(var(--sign) 0 4px, transparent 4px 7px); }

/* ---------- Sections ---------- */

section { scroll-margin-top: 80px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 18ch; }
.section .sub { color: var(--muted); font-size: 19px; margin-top: 16px; max-width: 46ch; }

/* Working: the ink card */
.working-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .working-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--on-primary-soft); font-weight: 800;
}
.steps b { display: block; font-size: 18px; }
.steps span { color: var(--muted); font-size: 16px; }

.ink-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); color: var(--on-ink);
  background: linear-gradient(160deg, var(--ink-top), var(--ink-bottom));
  box-shadow: 0 40px 80px -40px rgba(14, 26, 51, .7);
}
.ink-card::before {
  content: ""; position: absolute; right: -60px; top: -40px; width: 120px; height: 140%; transform: rotate(32deg);
  background: rgba(255,255,255,.05); border-left: 3px dashed rgba(255,255,255,.08);
}
.ink-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ink-top .label { color: var(--on-ink-muted); font-weight: 600; font-size: 17px; }
.pills { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 600; font-size: 14px; }
.pill svg { width: 16px; height: 16px; }
.pill.flash { animation: flash .8s var(--ease-out); }
@keyframes flash { 30% { background: var(--sun); color: var(--on-accent); transform: scale(1.08); } }
.total { font-size: clamp(44px, 7vw, 68px); font-weight: 800; color: var(--sun); letter-spacing: -0.03em; line-height: 1.05; margin-top: 14px; font-variant-numeric: tabular-nums; }
.per { font-size: 20px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.bars { display: flex; gap: 4px; height: 12px; margin: 26px 0 20px; }
.bars span { border-radius: 99px; flex: var(--w) 1 0; transform-origin: left; }
.bars .b-fuel { background: var(--fuel); } .bars .b-toll { background: var(--toll); } .bars .b-other { background: var(--other); }
.ink-card.animate .bars span { transform: scaleX(0); }
.ink-card.run .bars span { transform: scaleX(1); transition: transform .9s var(--ease-out); }
.ink-card.run .bars .b-toll { transition-delay: .7s; }
.ink-card.run .bars .b-other { transition-delay: 1.4s; }
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rows li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--on-ink-muted); }
.rows li b { margin-left: auto; color: var(--on-ink); font-variant-numeric: tabular-nums; }
.rows i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ink-card.animate .rows li { opacity: 0; transform: translateX(-10px); }
.ink-card.run .rows li { opacity: 1; transform: none; transition: opacity .5s, transform .5s var(--ease-out); }
.ink-card.run .rows li:nth-child(2) { transition-delay: .7s; }
.ink-card.run .rows li:nth-child(3) { transition-delay: 1.4s; }
.ink-actions { display: flex; gap: 12px; margin-top: 24px; }
.ink-actions .save { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 999px; background: var(--sun); color: var(--on-accent); font-weight: 700; font-size: 18px; }
.ink-actions .share { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.ink-actions svg { width: 22px; height: 22px; }
.replay { margin-top: 14px; background: none; border: 0; color: var(--muted); font: 600 14px "Jakarta", sans-serif; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 6px 4px; }
.replay:hover { color: var(--text); }
.replay svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.replay:hover svg { transform: rotate(-200deg); }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  position: relative; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--outline);
  transition: transform .45s var(--spring), box-shadow .45s, border-color .3s; overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--primary) 10%, transparent), transparent 60%);
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px var(--shadow); border-color: color-mix(in srgb, var(--primary) 35%, var(--outline)); }
.feature:hover::after { opacity: 1; }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 20px; transition: transform .5s var(--spring); }
.feature:hover .ic { transform: rotate(-8deg) scale(1.1); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }
.feature .tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 4px 10px; border-radius: 999px; background: var(--auto-soft); color: var(--auto); font-size: 13px; font-weight: 700; }

/* Gallery */
.gallery-band { background: linear-gradient(180deg, transparent, var(--surface-raised) 30%, var(--surface-raised) 70%, transparent); }
.gallery { display: flex; gap: clamp(16px, 3vw, 32px); justify-content: center; margin-top: 52px; padding: 10px 4px 30px; }
.gallery figure { margin: 0; flex: 0 0 auto; width: clamp(200px, 22vw, 250px); text-align: center; }
.gallery .shot { border-radius: 34px; padding: 7px; background: linear-gradient(145deg, #2a2f3a, #0c0e12); box-shadow: 0 30px 60px -36px rgba(14,26,51,.7); transition: transform .5s var(--spring); }
.gallery .shot img { border-radius: 28px; aspect-ratio: 1320 / 2868; object-fit: cover; width: 100%; }
.gallery figure:nth-child(odd) .shot { transform: translateY(26px); }
.gallery figure:hover .shot { transform: translateY(-8px) rotate(-1.5deg); }
.gallery figcaption { margin-top: 18px; font-weight: 700; font-size: 15px; }
.gallery figure:nth-child(odd) figcaption { margin-top: 44px; }
@media (max-width: 900px) {
  .gallery { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { scroll-snap-align: center; width: 62vw; max-width: 250px; }
  .gallery figure:nth-child(odd) .shot { transform: none; }
  .gallery figure:nth-child(odd) figcaption { margin-top: 18px; }
}

/* Privacy band */
.privacy-band { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 6vw, 72px); background: var(--nav); color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .privacy-band { grid-template-columns: 1fr; } }
.privacy-band h2 { color: #fff; max-width: 14ch; }
.privacy-band .sub { color: #B6BCC8; }
.privacy-band a.more { color: var(--sun); font-weight: 700; display: inline-flex; gap: 6px; margin-top: 22px; text-decoration: none; }
.privacy-band a.more:hover span { transform: translateX(4px); }
.privacy-band a.more span { transition: transform .3s var(--ease-out); }
.nopes { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nopes li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-weight: 700; font-size: 17px; }
.nopes .x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(95, 212, 176, .16); color: var(--other); flex: none; }
.nopes .x svg { width: 18px; height: 18px; }
.lock { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .06; color: #fff; }

/* CTA */
.cta { text-align: center; }
.cta .big-icon { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 26px; box-shadow: 0 24px 50px -20px rgba(242, 165, 12, .7); animation: float 6s ease-in-out infinite; }
.cta h2 { margin-inline: auto; }
.cta .sub { margin-inline: auto; }
.cta .badges { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--outline); padding: 40px 0 48px; color: var(--muted); font-size: 15px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--primary); }
.credits { margin-top: 20px; font-size: 13px; max-width: 70ch; }
.credits a { color: inherit; }

/* Reveal on scroll (only when JS has marked the page) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Document pages (privacy, support) ---------- */

.doc { padding: clamp(40px, 7vw, 80px) 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 14px; }
.doc .meta { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; } .doc li { margin: 8px 0; }
.doc .card { background: var(--surface); border: 1px solid var(--outline); border-radius: 22px; padding: 22px 24px; margin-top: 16px; }
.doc details { background: var(--surface); border: 1px solid var(--outline); border-radius: 18px; padding: 4px 20px; margin-top: 10px; }
.doc summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--primary); transition: transform .3s var(--ease-out); }
.doc details[open] summary::after { transform: rotate(45deg); }
.doc details p { padding-bottom: 16px; color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 700; transition: transform .3s var(--spring); }
.button:hover { transform: translateY(-2px); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.lost .big { font-size: clamp(90px, 18vw, 180px); font-weight: 800; letter-spacing: -0.05em; color: var(--sun); line-height: 1; -webkit-text-stroke: 2px var(--text); }
.lost p { color: var(--muted); margin: 14px 0 28px; font-size: 19px; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .phone .screen .dark-shot { opacity: 0; }
  .marquee { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee .dupe { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
