/* inter-cyrillic: 18KB */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/fonts/inter-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* inter-latin: 47KB */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); 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; }
/* jbmono-cyrillic: 8KB */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/jbmono-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* jbmono-latin: 30KB */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/jbmono-latin.woff2') format('woff2'); 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; }
/* ============ tokens ============ */
:root {
  --accent: #C6FF3D;
  --accent-fg: #0A0A0A;
  --accent-soft: rgba(198, 255, 61, 0.16);
  --accent-glow: rgba(198, 255, 61, 0.35);
  --bg-0: #0A0B0D;
  --bg-1: #111317;
  --bg-2: #181B20;
  --bg-3: #20242B;
  --fg: #F5F6F7;
  --fg-muted: rgba(245, 246, 247, 0.66);
  --fg-faint: rgba(245, 246, 247, 0.38);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --danger: #FF5A5F;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.35);
  --shadow-accent: 0 8px 28px var(--accent-glow);
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --z-header: 10;
  --pad-x: clamp(20px, 5vw, 48px);
  --measure: 34rem;
}

/* ============ reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-fg); }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--pad-x); }

/* mono micro-label — named brand system, used sparingly */
.mlabel {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ============ header ============ */
.site-head {
  position: relative;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px var(--pad-x);
  max-width: 1120px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.head-spacer { flex: 1; }
.lang-switch {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--fg-muted);
  padding: 8px 10px;
  border-radius: var(--r-pill);
}
.lang-switch:hover { color: var(--fg); background: var(--bg-2); }
.head-cta {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--fg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  transition: border-color 0.18s ease-out, background 0.18s ease-out;
}
.head-cta:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ============ hero — cinematic full-bleed ============ */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 900px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  margin-top: -70px; /* photo runs behind the header */
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.74) contrast(1.06);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg-0) 4%, rgba(10,11,13,0.55) 34%, rgba(10,11,13,0.2) 62%, rgba(10,11,13,0.5) 100%),
    linear-gradient(100deg, rgba(10,11,13,0.85) 0%, rgba(10,11,13,0.3) 55%, transparent 82%);
}
.hero-inner {
  width: 100%;
  padding-block: 0 clamp(56px, 10vh, 120px);
}
.hero h1 {
  font-size: clamp(2.9rem, 8.8vw, 6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero h1 .line { display: block; }
.hero h1 .dot { color: var(--accent); }
.hero-sub {
  margin-top: 26px;
  max-width: var(--measure);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(245, 246, 247, 0.85);
}
.hero-sub strong { color: var(--fg); font-weight: 600; }
.hero-cta-row { margin-top: 34px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ============ photo interlude — giant type over figure ============ */
.interlude {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(380px, 62vh, 640px);
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 48px;
}
.interlude img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.62) contrast(1.1);
}
.interlude::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--bg-0) 0%, transparent 24%, transparent 74%, var(--bg-0) 100%);
}
.interlude h2 {
  font-size: clamp(2.6rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(245, 246, 247, 0.94);
  padding-inline: var(--pad-x);
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.interlude h2 em { font-style: normal; color: var(--accent); }
.interlude .sub {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 246, 247, 0.72);
}

/* App Store badge — coming-soon state, non-interactive */
.as-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--fg);
  color: var(--accent-fg);
  border-radius: 14px;
  padding: 10px 20px 10px 16px;
  cursor: default;
  user-select: none;
}
.as-badge svg { width: 26px; height: 26px; flex: none; }
.as-badge .t { line-height: 1.15; }
.as-badge .t small { display: block; font-size: 11px; font-weight: 600; opacity: 0.72; }
.as-badge .t span { font-size: 18px; font-weight: 700; letter-spacing: -0.2px; }
.beta-note { font-size: 13.5px; color: rgba(245, 246, 247, 0.68); max-width: 210px; line-height: 1.45; }

/* ============ phone frame ============ */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::after {
  content: '';
  position: absolute;
  inset: auto 8% -6% 8%;
  height: 40%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  filter: blur(32px);
  opacity: 0.5;
  pointer-events: none;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(320px, 88vw);
  aspect-ratio: 9 / 18.5;
  display: flex;
  flex-direction: column;
  border-radius: 52px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 7px #16181c, 0 0 0 8px rgba(255,255,255,0.1), 0 30px 80px rgba(0,0,0,0.55);
  padding: 14px 12px 12px;
  overflow: hidden;
}
/* iOS status bar: time · Dynamic Island · wifi/battery */
.p-status {
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 2px 8px 0;
  margin-bottom: 10px;
}
.p-status .time { font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }
.p-status .island { width: 84px; height: 24px; background: #000; border-radius: var(--r-pill); }
.p-status .sicons { display: flex; justify-content: flex-end; align-items: center; gap: 5px; color: var(--fg); }
.p-status .sicons svg { height: 11px; width: auto; display: block; }
/* home indicator */
.phone::after {
  content: '';
  display: block;
  flex: none;
  width: 108px;
  height: 4px;
  margin: auto auto 2px;
  background: rgba(245, 246, 247, 0.35);
  border-radius: var(--r-pill);
}
.phone .scr { flex: 1; min-height: 0; }
.phone .rest-bar { margin-top: auto; } /* pinned to the bottom like the real app */

/* ---- in-screen primitives (shared by all recreations) ---- */
.scr { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.scr-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 6px; }
.scr-head .back {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--fg-muted); font-size: 14px;
}
.scr-head b { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; }
.scr-cap {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--fg-faint);
}
.num { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }

.set-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 10px 14px;
}
.set-row .idx {
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  background: var(--bg-3); color: var(--fg-muted);
}
.set-row.done .idx { background: var(--accent); color: var(--accent-fg); }
.set-row .vals { flex: 1; }
.set-row .rpe {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  padding: 3px 9px;
}
.set-open {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-accent);
  display: flex; flex-direction: column; gap: 12px;
}
.set-open .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 12px;
}
.field .scr-cap { display: block; margin-bottom: 2px; }
.field .num { font-size: 16px; color: var(--fg); }
.rpe-chips { display: flex; gap: 6px; }
.rpe-chips i {
  font-style: normal;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  width: 34px; height: 30px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.rpe-chips i.on {
  background: var(--accent); border-color: var(--accent);
  color: var(--accent-fg);
}
.btn-save {
  border: 0;
  background: var(--accent); color: var(--accent-fg);
  font-family: var(--font-ui); font-size: 13.5px; font-weight: 700;
  border-radius: var(--r-pill);
  padding: 11px 0;
  box-shadow: var(--shadow-accent);
  text-align: center;
}
.rest-bar {
  margin-top: 2px;
  background: var(--bg-3);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.rest-bar .num { color: var(--accent); font-size: 15px; }

/* ============ ticker ============ */
.ticker {
  border-block: 1px solid var(--border);
  overflow: hidden;
  padding-block: 14px;
  user-select: none;
}
.ticker-track {
  display: flex; gap: 48px; width: max-content;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
  animation: tick 36s linear infinite;
}
.ticker-track b { color: var(--accent); font-weight: 600; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============ feature sections ============ */
.feat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(56px, 10vh, 120px);
}
.feat.flip .feat-visual { order: -1; }
.feat h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.feat h2 em { font-style: normal; color: var(--accent); }
.feat-copy p { margin-top: 18px; max-width: var(--measure); color: var(--fg-muted); }
.feat-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat-points li { color: var(--fg-muted); padding-left: 20px; position: relative; }
.feat-points li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 0.52em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.feat-points b { color: var(--fg); font-weight: 600; }

/* floating UI fragment (non-phone visuals) */
.frag {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px;
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
}
.review-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 14px;
}
.review-row .ava {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  background: #2b3140;
}
.review-row .ava.a2 { background: #3d2b40; }
.review-row .who { flex: 1; min-width: 0; }
.review-row .who b { display: block; font-size: 13.5px; }
.review-row .who span { font-size: 12px; color: var(--fg-faint); }
.diff { font-family: var(--font-mono); font-size: 12px; font-weight: 600; white-space: nowrap; }
.diff .up { color: var(--accent); }
.comment {
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  border-top-left-radius: 4px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--fg);
  max-width: 85%;
}
.comment .scr-cap { display: block; margin-bottom: 3px; color: var(--accent); }

/* progress screen (matches the real Progress tab) */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; }
.x-labels {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-faint);
  padding: 4px 8px 0;
}
.pf-head { display: flex; align-items: center; gap: 12px; }
.pf-head .big { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pf-head .big small { font-size: 13px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0; }
.delta-chip {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--r-pill);
  padding: 4px 11px;
}
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-row i {
  font-style: normal; font-size: 11.5px; font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.chip-row i.on { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.mtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mtiles .delta { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--accent); margin-top: 3px; }

/* mini calendar (Workouts tab) */
.cal { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px 10px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 700; padding: 0 6px 8px; }
.cal-head .nav { color: var(--fg-faint); font-weight: 400; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid .dow { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; color: var(--fg-faint); text-transform: uppercase; padding: 3px 0 5px; }
.cal-grid .d { font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-muted); padding: 5px 0 2px; border-radius: 9px; }
.cal-grid .d::after { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; margin: 2px auto 3px; background: transparent; }
.cal-grid .d.done::after { background: var(--accent); }
.cal-grid .d.miss::after { background: rgba(245, 246, 247, 0.3); }
.cal-grid .d.today { background: var(--accent-soft); color: var(--accent); font-weight: 700; }

/* duo section (meals + health) */
.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  padding-block: clamp(40px, 7vh, 80px);
}
.duo-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
}
.duo-card h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.duo-card > p { color: var(--fg-muted); font-size: 15.5px; max-width: var(--measure); }
.macro-rows { display: flex; flex-direction: column; gap: 13px; font-size: 13.5px; }
.macro-rows .line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.macro-rows .num { font-size: 12px; color: var(--fg-muted); }
.macro-rows .bar { height: 6px; border-radius: var(--r-pill); background: var(--bg-3); overflow: hidden; }
.macro-rows .bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.hk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hk-tiles .field .num { font-size: 22px; }
.hk-src { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-faint); }
.hk-src svg { width: 14px; height: 14px; }

/* ============ FAQ ============ */
.faq { padding-block: clamp(48px, 9vh, 110px); max-width: 760px; }
.faq h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px;
  font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-mono);
  font-size: 20px; font-weight: 500;
  color: var(--accent);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 2px 22px; color: var(--fg-muted); max-width: var(--measure); }
.faq .a a { color: var(--accent); text-decoration-color: rgba(198,255,61,0.4); }

/* ============ closing CTA — photo backed ============ */
.close-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(72px, 14vh, 160px);
}
.close-cta > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.05);
}
.close-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--bg-0) 0%, rgba(10,11,13,0.4) 35%, rgba(10,11,13,0.55) 100%);
}
.close-cta h2 {
  font-size: clamp(2.2rem, 6.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}
.close-cta h2 em { font-style: normal; color: var(--accent); }
.close-cta p { margin: 18px auto 30px; color: rgba(245,246,247,0.8); max-width: var(--measure); }

/* ============ footer ============ */
.site-foot { border-top: 1px solid var(--border); padding-block: 32px 44px; }
.site-foot .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot a { font-size: 14px; color: var(--fg-muted); text-decoration: none; }
.site-foot a:hover { color: var(--fg); }
.site-foot .copy { margin-left: auto; font-size: 13px; color: var(--fg-faint); }

/* ============ legal / text pages ============ */
.page { max-width: 720px; padding-block: clamp(32px, 6vh, 64px) clamp(56px, 9vh, 96px); }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; }
.page .updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-faint); margin-bottom: 36px; }
.page h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; margin: 40px 0 12px; }
.page h3 { font-size: 1.05rem; font-weight: 600; margin: 28px 0 8px; color: var(--fg); }
.page p, .page li { color: var(--fg-muted); font-size: 16px; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.page a { color: var(--accent); text-decoration-color: rgba(198,255,61,0.4); }
.page strong { color: var(--fg); }

/* ============ motion ============ */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line, .hero-sub, .hero-cta-row {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .hero h1 .line:nth-child(2) { animation-delay: 0.08s; }
  .hero h1 .line:nth-child(3) { animation-delay: 0.16s; }
  .hero-sub { animation-delay: 0.26s; }
  .hero-cta-row { animation-delay: 0.34s; }
  .hero-bg img { animation: heroZoom 2.2s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
  html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
  html.js .rv.in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes heroZoom { from { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}

/* ============ responsive ============ */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-block-start: 24px; }
  .feat { grid-template-columns: 1fr; gap: 32px; padding-block: clamp(44px, 7vh, 72px); }
  .feat.flip .feat-visual { order: 0; }
  .site-foot .copy { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .head-cta { display: none; }
}
