/* Footalytics landing (farvor.com) — tokens mirror apps/web/src/index.css */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Bebas Neue";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
}

:root {
  --ink-950: #050a08;
  --ink-900: #0a1410;
  --ink-800: #102019;
  --ink-700: #183126;
  --pitch-300: #86efac;
  --pitch-400: #4ade80;
  --pitch-500: #22c55e;
  --pitch-600: #16a34a;
  --turf-700: #0f3d22;
  --turf-800: #0b2e1a;
  --chalk: #f1f5f0;
  --flood: #fff7d6;
  --led: #ffb020;
  --line: rgba(255, 255, 255, .08);
  --sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Bebas Neue", "Oswald", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --nav-h: 64px;
}

* { box-sizing: border-box; }

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-700) var(--ink-950);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--chalk);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(255, 247, 214, .07), transparent 60%),
    radial-gradient(900px 500px at 85% -10%, rgba(255, 247, 214, .07), transparent 60%),
    linear-gradient(180deg, #050a08 0%, #07120d 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

::selection { background: rgba(34, 197, 94, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--pitch-400); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--pitch-500); color: var(--ink-950);
  padding: .5rem 1rem; border-radius: 0 0 .75rem 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(5, 10, 8, .88), rgba(5, 10, 8, .55) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--chalk); text-decoration: none;
  font-family: var(--display); font-size: 1.35rem; letter-spacing: .08em;
}
.brand-logo { display: block; width: 26px; height: 26px; border-radius: 7px; }
.brand-ball { width: 22px; height: 22px; color: var(--pitch-400); }
.nav-links { display: flex; gap: 1.25rem; margin-inline: auto; }
.nav-links a {
  color: rgba(203, 213, 225, .85); text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.on { color: var(--pitch-300); }
.btn-app {
  margin-left: auto; flex-shrink: 0;
  display: inline-flex; align-items: center;
  padding: .55rem 1.15rem; border-radius: .8rem;
  background: linear-gradient(180deg, #4ade80, #16a34a);
  color: var(--ink-950); text-decoration: none;
  font-size: .85rem; font-weight: 700;
  box-shadow: 0 0 0 1px rgba(134, 239, 172, .4) inset, 0 8px 24px -8px rgba(34, 197, 94, .7);
  transition: filter .2s, transform .2s;
}
.btn-app:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lang-btn {
  flex-shrink: 0;
  padding: .45rem .9rem; border-radius: .8rem;
  border: 1px solid rgba(255, 255, 255, .14); background: transparent;
  color: rgba(203, 213, 225, .9); font: 600 .8rem/1 var(--sans);
  cursor: pointer; letter-spacing: .04em;
  transition: border-color .2s, color .2s, background .2s;
}
.lang-btn:hover { border-color: rgba(74, 222, 128, .55); background: rgba(34, 197, 94, .1); color: #fff; }
.lang-sel {
  appearance: none; -webkit-appearance: none;
  padding-right: 1.7rem; cursor: pointer; color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10l6 6 6-6' fill='none' stroke='%23cbd5e1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .55rem center; background-size: .8rem;
}
.lang-sel option { background: var(--ink-900); color: var(--chalk); }

/* ---------- side dots ---------- */
.dots {
  position: fixed; right: 1.4rem; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: .9rem;
}
.dots a { position: relative; display: grid; place-items: center; width: 14px; height: 14px; }
.dots i {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(241, 245, 240, .28);
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
}
.dots a.on i { height: 22px; background: var(--pitch-400); box-shadow: 0 0 12px rgba(74, 222, 128, .6); }
.dots span {
  position: absolute; right: 22px; top: 50%; translate: 0 -50%;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pitch-300); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dots a:hover span { opacity: 1; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 1.35rem; bottom: 1.6rem; z-index: 45;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(5, 10, 8, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(203, 213, 225, .85); cursor: pointer;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1), border-color .2s, color .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: rgba(74, 222, 128, .6); color: var(--pitch-300); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- sections / full-page slide ---------- */
main { display: block; }
.sec {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 3vh) clamp(1.25rem, 5vw, 3rem) 8vh;
  overflow: hidden;
}
.wrap { width: min(1080px, 100%); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100%); }
.center { text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pitch-300);
}
.pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--pitch-400); animation: pulse-ring 1.6s ease-out infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }

.h2 {
  margin: 0 0 .9rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: .95; letter-spacing: .02em;
  text-transform: uppercase;
}
.h2-xl { font-size: clamp(4rem, 11vw, 8rem); }
.lead { margin: 0; max-width: 580px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(203, 213, 225, .92); }
.center .lead { margin-inline: auto; }
.grad {
  background: linear-gradient(92deg, #86efac, #22c55e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- hero ---------- */
.hero-wrap { position: relative; z-index: 2; text-align: center; }
.hero-wrap .lead { margin-inline: auto; }
.hero-h {
  margin: 0 0 1.1rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  line-height: .92; letter-spacing: .015em;
  text-transform: uppercase;
}
.hero-lead { max-width: 620px; }

.ask {
  display: flex; align-items: center; gap: .5rem;
  width: min(640px, 100%);
  margin: 2rem auto 0;
  text-align: left;
  padding: .5rem .5rem .5rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(5, 10, 8, .66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px -30px rgba(0, 0, 0, .9);
  transition: border-color .25s, box-shadow .25s;
}
.ask:focus-within {
  border-color: rgba(74, 222, 128, .8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 0 0 4px rgba(34, 197, 94, .18), 0 24px 60px -30px rgba(0, 0, 0, .9);
}
.ask-ico { width: 20px; height: 20px; color: rgba(148, 163, 184, .8); flex-shrink: 0; }
.ask-input {
  flex: 1; min-width: 0;
  border: 0; outline: none; background: transparent;
  padding: .85rem 0; font: inherit; font-size: 1rem;
  color: #fff;
}
.ask-input::placeholder { color: rgba(148, 163, 184, .75); }
.ask-send {
  flex-shrink: 0; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: .9rem;
  cursor: pointer;
  background: linear-gradient(180deg, #4ade80, #16a34a);
  color: var(--ink-950);
  box-shadow: 0 0 0 1px rgba(134, 239, 172, .4) inset, 0 10px 28px -8px rgba(34, 197, 94, .8);
  transition: filter .2s, transform .2s;
}
.ask-send:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ask-send:active { transform: scale(.96); }
.ask-send svg { width: 22px; height: 22px; }

.hero-chips {
  display: flex; flex-wrap: wrap; gap: .6rem;
  justify-content: center;
  margin: 1.6rem 0 0; padding: 0; list-style: none;
}
.hero-chips a {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  color: rgba(203, 213, 225, .9); text-decoration: none; font-size: .82rem; font-weight: 600;
  transition: border-color .2s, color .2s, transform .2s, background .2s;
}
.hero-chips a:hover { border-color: rgba(74, 222, 128, .6); color: #fff; background: rgba(34, 197, 94, .1); transform: translateY(-2px); }

/* hero background */
.bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%;
  filter: blur(70px); opacity: .55; will-change: transform;
}
/* mid sections: quieter orbs than hero/final */
.sec:not(.hero):not(.sec-final) > .bg .orb { opacity: .4; }
/* background entrance: each section's orbs fade/scale in as the slide becomes live */
.js .sec .bg { opacity: 0; transform: scale(1.06); transition: opacity 1.3s ease, transform 1.9s cubic-bezier(.2, .8, .2, 1); }
.js .sec.live .bg { opacity: 1; transform: none; }
.orb-a { left: -18%; top: -22%; background: radial-gradient(circle, rgba(34, 197, 94, .22), transparent 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.orb-b { right: -20%; top: -18%; background: radial-gradient(circle, rgba(255, 247, 214, .1), transparent 65%); animation: drift-b 32s ease-in-out infinite alternate; }
.orb-c { left: 30%; bottom: -45%; background: radial-gradient(circle, rgba(15, 61, 34, .5), transparent 65%); animation: drift-a 38s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(9vmax, 6vmax) scale(1.12); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.08); } to { transform: translate(-8vmax, 7vmax) scale(.95); } }
.pitch { position: absolute; inset: -6% 0; width: 100%; height: 112%; transform: translateY(var(--py, 0)); }
.dust {
  position: absolute; bottom: -12px; left: var(--x, 50%);
  width: 3px; height: 3px; border-radius: 999px; background: rgba(255, 247, 214, .8);
  animation: dustUp var(--t, 9s) linear infinite; animation-delay: var(--dl, 0s);
}
@keyframes dustUp { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .8; } 90% { opacity: .15; } 100% { transform: translateY(-96vh); opacity: 0; } }

.ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: .8rem 0; border-top: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 44s linear infinite; }
.ticker-track span {
  font-family: var(--display); font-size: .95rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(148, 163, 184, .55); white-space: nowrap; padding-right: .5rem;
}
.ticker-track i { font-style: normal; color: rgba(74, 222, 128, .5); padding: 0 .9rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 3.4rem; z-index: 2; translate: -50% 0;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); color: rgba(203, 213, 225, .8);
  animation: cue 2.2s ease-in-out infinite;
}
.scroll-cue:hover { color: var(--pitch-300); border-color: rgba(74, 222, 128, .5); }
.scroll-cue svg { width: 20px; height: 20px; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- cards / steps ---------- */
.card {
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 32, 25, .85), rgba(10, 20, 16, .85));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 40px -24px rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.2rem; }
.step { padding: 1.4rem 1.4rem 1.5rem; transition: transform .3s, border-color .3s; }
.step:hover { transform: translateY(-4px); border-color: rgba(74, 222, 128, .35); }
.step-n {
  margin: 0; font-family: var(--display); font-size: 1rem; letter-spacing: .18em;
  color: rgba(74, 222, 128, .75);
}
.step h3 {
  margin: .35rem 0 .15rem;
  font-family: var(--display); font-weight: 400; font-size: 1.7rem; letter-spacing: .04em; text-transform: uppercase;
}
.step-sub { margin: 0 0 1rem; font-size: .88rem; color: rgba(148, 163, 184, .95); }

.bubble-user {
  display: inline-block; padding: .6rem .95rem;
  border-radius: 1rem 1rem 1rem .3rem;
  border: 1px solid rgba(74, 222, 128, .28); background: rgba(34, 197, 94, .12);
  font-size: .92rem; color: #e7f6ec;
}

.bars { display: grid; gap: .55rem; margin-bottom: .8rem; }
.bar { display: grid; grid-template-columns: 62px 1fr 44px; align-items: center; gap: .6rem; font-size: .84rem; }
.bar-t { color: rgba(203, 213, 225, .9); }
.bar-track { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar-track i {
  display: block; height: 100%; width: var(--w, 50%); border-radius: 999px;
  background: linear-gradient(90deg, #4ade80, #16a34a);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .35s;
}
.bar-track i.mut { background: linear-gradient(90deg, rgba(255, 247, 214, .5), rgba(255, 247, 214, .28)); }
.in .bar-track i { transform: scaleX(1); }
.bar-v { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; color: var(--chalk); }
.step-note { margin: 0; font-size: .82rem; color: rgba(148, 163, 184, .85); font-style: italic; }

.ledger {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .9rem; margin-bottom: .9rem;
  border-radius: .8rem; border: 1px solid var(--line); background: rgba(5, 10, 8, .6);
  font-family: var(--mono); font-size: .85rem;
}
.ledger-day { color: rgba(148, 163, 184, .8); }
.ledger-hit { margin-left: auto; color: var(--pitch-300); font-weight: 700; }
.mini-link { font-size: .85rem; font-weight: 600; color: var(--pitch-300); text-decoration: none; }
.mini-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.2rem; }
.stat { padding: 1.6rem 1.5rem; text-decoration: none; transition: transform .3s, border-color .3s; display: block; }
.stat:hover { transform: translateY(-4px); border-color: rgba(74, 222, 128, .4); }
.stat-v {
  margin: 0;
  font-family: var(--display); font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1;
  color: var(--chalk); text-shadow: 0 0 34px rgba(74, 222, 128, .35);
}
.stat-v em { font-style: normal; font-size: .5em; color: var(--pitch-400); margin-left: .1em; }
.stat-l { margin: .5rem 0 .1rem; font-weight: 600; color: rgba(241, 245, 240, .95); }
.stat-s { margin: 0; font-size: .82rem; color: rgba(148, 163, 184, .9); }
.footnote { margin-top: 1.6rem; font-size: .85rem; color: rgba(148, 163, 184, .85); text-align: center; }
.footnote a { color: var(--pitch-300); text-decoration: none; }
.footnote a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- live embed badge (dogfood: the same badge third-party sites embed) ---------- */
.badge-live { margin-top: 1.5rem; text-align: center; }
.badge-live img { max-width: 100%; height: auto; border-radius: 14px; }
.badge-cap { margin-top: .55rem; font-size: .8rem; color: rgba(148, 163, 184, .85); }
.badge-cap a { color: var(--pitch-300); text-decoration: none; }
.badge-cap a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.chips a {
  display: inline-block; padding: .7rem 1.25rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  color: rgba(226, 232, 240, .95); text-decoration: none; font-size: .92rem; font-weight: 600;
  transition: border-color .2s, color .2s, transform .2s, background .2s, box-shadow .2s;
}
.chips a:hover {
  border-color: rgba(74, 222, 128, .65); color: #fff; background: rgba(34, 197, 94, .12);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -14px rgba(34, 197, 94, .5);
}
.chips-lg a { padding: .85rem 1.5rem; font-size: 1rem; }
.chip-more { border-style: dashed !important; color: var(--pitch-300) !important; }

/* turf stripes section (leagues) */
.turf-sec {
  background-color: var(--turf-800);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 60px, transparent 60px 120px),
    radial-gradient(120% 80% at 50% 0%, rgba(255, 247, 214, .1), transparent 60%);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* ---------- places ---------- */
.place { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; transition: transform .3s, border-color .3s; }
.place:hover { transform: translateY(-4px); border-color: rgba(74, 222, 128, .35); }
.place h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .04em; text-transform: uppercase; }
.place p { margin: 0 0 .6rem; font-size: .92rem; color: rgba(203, 213, 225, .9); flex: 1; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
  padding: .55rem 1.1rem; border-radius: .8rem;
  border: 1px solid rgba(255, 255, 255, .14); color: rgba(226, 232, 240, .95);
  text-decoration: none; font-size: .85rem; font-weight: 600;
  transition: border-color .2s, background .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(74, 222, 128, .55); background: rgba(34, 197, 94, .1); color: #fff; }

/* ---------- faq ---------- */
.faq { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 2.6rem 1.15rem 0;
  font-weight: 600; font-size: 1.02rem; color: rgba(226, 232, 240, .95);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; translate: 0 -50%;
  font-size: 1.4rem; font-weight: 400; color: var(--pitch-400);
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--pitch-300); }
.faq details p { margin: 0; padding: 0 0 1.2rem; max-width: 62ch; color: rgba(203, 213, 225, .9); }

/* ---------- final ---------- */
.sec-final { text-align: center; }
.sec-final .ask { margin-inline: auto; }
.footer {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.1rem 6.4rem 1.3rem clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 8, .5);
}
.foot-row {
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; align-items: center; justify-content: space-between;
  margin: 0; font-size: .85rem; color: rgba(148, 163, 184, .9);
}
.foot-row p { margin: 0; }
.foot-row nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.foot-row a { color: rgba(148, 163, 184, .9); text-decoration: none; }
.foot-row a:hover { color: var(--pitch-300); }
.foot-disc { margin: .7rem 0 0; font-size: .72rem; color: rgba(100, 116, 139, .9); }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px) scale(.985);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }
/* hero entrance: pure CSS (no observer) so above-the-fold content never depends on JS/IO timing */
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.rise-load { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }

/* ---------- chinese typography ---------- */
html[lang^="zh"] .hero-h {
  font-weight: 700;
  font-size: clamp(2.7rem, 8.5vw, 6.2rem);
  line-height: 1.12; letter-spacing: .06em;
}
html[lang^="zh"] .h2 { font-weight: 700; line-height: 1.12; letter-spacing: .05em; }
html[lang^="zh"] .h2-xl { letter-spacing: .1em; }
html[lang^="zh"] .kicker { letter-spacing: .3em; }
html[lang^="zh"] .ticker-track span { letter-spacing: .18em; }
html[lang^="zh"] .step h3, html[lang^="zh"] .place h3 { letter-spacing: .06em; }
html[lang^="zh"] .nav-links a { letter-spacing: .18em; }

/* ---------- responsive ---------- */
@media (max-width: 1250px) {
  /* Header carries 8 links now (5 sections + Blog/Methodology/Accuracy).
     Below 1250px hide the two least-essential section anchors so the
     real page links never wrap or overflow; the sections stay reachable
     by scrolling. */
  .nav-sec { display: none; }
}
@media (max-width: 1000px) {
  .dots { display: none; }
}
@media (max-width: 860px) {
  html { scroll-snap-type: y proximity; }
  .sec { scroll-snap-stop: normal; }
  .nav { gap: 1rem; }
  .nav-links { display: none; }
  .steps, .stats { grid-template-columns: 1fr; }
  .hero-h { font-size: clamp(3rem, 15vw, 4.6rem); }
  .ask-input { font-size: .95rem; }
  .ticker-track span { font-size: .8rem; }
  .scroll-cue { bottom: 3rem; }
  .sec { padding-bottom: 10vh; }
}
@media (max-width: 560px) {
  .brand span { font-size: 1.15rem; }
  .btn-app { padding: .5rem .85rem; font-size: .78rem; }
  .ask { padding-left: .8rem; border-radius: 1.1rem; }
  .ask-send { width: 42px; height: 42px; }
  .chips a { padding: .6rem 1rem; font-size: .85rem; }
  .h2 { margin-bottom: .7rem; }
  .kicker { margin-bottom: .7rem; }
  .to-top { right: 1rem; bottom: 1.2rem; width: 38px; height: 38px; }
  .footer { padding-right: 4.4rem; }
}

/* short viewports: keep slide feel but never trap content */
@media (max-height: 620px) and (min-width: 861px) {
  html { scroll-snap-type: y proximity; }
  .sec { scroll-snap-stop: normal; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .orb, .dust, .ticker-track { animation: none !important; }
  .dust { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .bar-track i { transform: scaleX(1); }
}
