/* The landing page (public/site/, written by tools/build-site.mjs), after docs/mockups/scoreathlon's landing page and
   its tokens (tokens.css, tokens.md: every text pair checked at 4.5:1). Each colour is light-dark(light, dark): the
   system's scheme applies until the theme button (site.js) sets data-theme on the root. --acc is the accent as text
   (a deep olive on paper: lime on a light ground is about 1.2:1), --lime the accent as a fill with --on-lime ink.
   No inline style anywhere (the page's CSP): a colour per item is a class, and no colour outside these tokens. The share
   card is dark in both themes (it is the picture a person sends), so its tokens have one value. Logical properties
   only; labels are not selectable (links and the licence line opt back in). Mobile first; two columns from 860 px. */
:root {
  color-scheme: light dark;
  --bg: light-dark(#f3f4ee, #11141b); --surface: light-dark(#ffffff, #1a1e29); --surface2: light-dark(#e9ece3, #222735);
  --ink: light-dark(#11141b, #f6f7f2); --mut: light-dark(#4b5262, #b4bbca); --line: light-dark(#d5d9cf, #343b49); --edge: light-dark(#7d8494, #6b7386);
  --lime: #d8fa62; --on-lime: #141912; --lime-edge: light-dark(#6f8a10, #d8fa62); --acc: light-dark(#4a5d00, #d8fa62);
  --purple: light-dark(#5b3fd0, #b6a2ff); --mint: light-dark(#0a6b5a, #74dfc7); --cardio: light-dark(#1f5f99, #91cfff);
  --power: light-dark(#93460c, #ffb987); --mobility: light-dark(#a02f6c, #f0a2ce);
  --lime-soft: light-dark(rgba(216, 250, 98, .32), rgba(216, 250, 98, .08)); --mint-soft: light-dark(rgba(10, 107, 90, .07), rgba(116, 223, 199, .1));
  --glyph-bg: light-dark(rgba(17, 20, 27, .05), rgba(255, 255, 255, .045)); --rail: light-dark(#d5d9cf, #3b4150);
  --card-a: light-dark(#ffffff, #212636); --card-b: light-dark(#f7f8f3, #181c26);
  --glow: light-dark(rgba(91, 63, 208, .06), rgba(182, 162, 255, .09));
  --shadow: light-dark(0 22px 60px -28px rgba(30, 34, 50, .35), 0 24px 80px rgba(0, 0, 0, .33));
  --focus: light-dark(#5b3fd0, #74dfc7);
  --lime-shine: rgba(216, 250, 98, .12); --on-lime-mut: #37451e; --on-lime-btn: #151a10;
  --mark-bg: #171c27; --mark-b: #b6a2ff;
  --sc-bg: #1d222d; --sc-ink: #f6f7f2; --sc-mut: #b4bbca; --sc-edge: #454d58; --sc-rule: #45505c;
  --sc-ring: rgba(216, 250, 98, .19); --sc-ring2: rgba(216, 250, 98, .03); --sc-ring3: rgba(216, 250, 98, .02);
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-block-size: 100vh; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--sans); overflow-x: hidden;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.ack { user-select: text; -webkit-user-select: text; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
p { color: var(--mut); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.06; }
h1 { font-weight: 900; letter-spacing: -.06em; }
h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 850; letter-spacing: -.045em; }
h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: normal; line-height: 1.18; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } .btn:hover { transform: none; } }
.mk-bg { fill: var(--mark-bg); }
.mk-a, .mk-b { fill: none; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.mk-a { stroke: var(--lime); }
.mk-b { stroke: var(--mark-b); }

.brand { display: inline-flex; align-items: center; gap: 11px; min-inline-size: 0; min-block-size: 44px; }
.mark { flex: none; }
.logo { width: 36px; height: 36px; }
.wm { font-weight: 950; font-size: 16px; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
[dir="rtl"] .wm { letter-spacing: normal; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 50px; padding: 13px 20px; border-radius: 11px;
  font-size: 15px; font-weight: 800; border: 1px solid var(--edge); color: var(--ink); transition: transform .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--lime); color: var(--on-lime); border-color: var(--lime-edge); box-shadow: 0 6px 32px var(--lime-shine); }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i16 { width: 16px; height: 16px; }
.arr { width: 20px; height: 20px; }
[dir="rtl"] .arr { transform: scaleX(-1); }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); margin-block-end: 14px; }
[dir="rtl"] .eyebrow { letter-spacing: .04em; font-size: 13px; }
.eyebrow::before { content: ''; width: 17px; height: 3px; border-radius: 3px; background: currentColor; flex: none; }
.tiny { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
[dir="rtl"] .tiny { letter-spacing: .02em; font-size: 12px; }
.glyph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--glyph-bg); color: var(--c, var(--acc)); flex: none; }
.demo-tag { display: inline-flex; align-items: center; min-block-size: 24px; padding: 3px 8px; border: 1px dashed var(--edge); border-radius: 6px; font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
[dir="rtl"] .demo-tag { letter-spacing: 0; font-size: 12px; }
.chip { display: inline-flex; align-items: center; min-block-size: 26px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 750; }
.chip.mint { background: var(--mint-soft); color: var(--mint); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; }
.signoff { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--mut); font-size: 12px; }
.signoff .mark { width: 22px; height: 22px; }
.c-cardio { --c: var(--cardio); } .c-strength, .c-purple { --c: var(--purple); } .c-endurance { --c: var(--acc); }
.c-power { --c: var(--power); } .c-mobility { --c: var(--mobility); } .c-recovery, .c-hrv { --c: var(--mint); } .c-cooper { --c: var(--cardio); } .c-pushup { --c: var(--acc); }

.shell { max-inline-size: 1220px; margin-inline: auto; padding: 0 18px; }
.lhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-block-end: 1px solid var(--line); }
.lnav { display: none; gap: 24px; font-size: 13px; font-weight: 650; color: var(--mut); }
.lnav a { display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; min-inline-size: 44px; }
.lnav a:hover { color: var(--ink); }
.lctl { display: flex; align-items: center; gap: 8px; flex: none; }
.lang { display: flex; padding: 3px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); direction: ltr; }
.lang a { display: grid; place-items: center; min-block-size: 44px; min-inline-size: 44px; padding: 0 9px; border-radius: 5px; font-size: 12px; font-weight: 750; color: var(--mut); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.theme { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.theme .ico { width: 20px; height: 20px; }
.signin { display: none; align-items: center; min-block-size: 44px; font-size: 13px; font-weight: 750; padding: 0 6px; }

.hero { display: grid; gap: 32px; padding: 40px 0 34px; }
.hero h1 span { display: block; }
.hero h1 .acc { color: var(--acc); }
.hero h1 { font-size: clamp(42px, 11.4vw, 84px); line-height: 1.01; }
[dir="rtl"] .hero h1 { line-height: 1.12; }
.lead { font-size: 16px; line-height: 1.65; margin: 20px 0 24px; max-inline-size: 540px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; }
.acts .btn { flex: 1 1 220px; }
.hnote { margin-block-start: 14px; font-size: 12px; }

.pv { position: relative; padding: 18px; border-radius: 22px; background: linear-gradient(140deg, var(--card-a), var(--card-b) 65%); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.pv::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 10%, var(--glow), transparent 55%); pointer-events: none; }
.pv > * { position: relative; }
.pv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pv-stage { display: grid; gap: 14px; padding: 16px 0 12px; }
.pv-prog { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: end; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.pv-prog .lab { grid-column: 1 / -1; display: block; font-size: 11px; color: var(--mut); font-weight: 700; line-height: 1.3; }
.pv-prog b { font-size: 24px; font-weight: 900; color: var(--acc); white-space: nowrap; }
.pv-prog b i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--mut); }
.spk { width: 100%; max-inline-size: 120px; height: 30px; justify-self: end; }
.spk .sl { fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pv-note { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--mut); padding: 2px 0 12px; }
.pv-bottom { display: flex; align-items: center; gap: 12px; border-block-start: 1px solid var(--line); padding-block-start: 14px; }
.pv-bottom b { display: block; font-size: 14px; }
.pv-bottom small { display: block; font-size: 12px; color: var(--mut); }
.pv-bottom .gain { margin-inline-start: auto; font-size: 17px; font-weight: 900; color: var(--acc); white-space: nowrap; }

.lstrip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; border-block: 1px solid var(--line); }
.lstrip li { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 750; }
.lstrip .ico { color: var(--acc); width: 22px; height: 22px; }

.sec { padding: 46px 0; }
.shead { margin-block-end: 22px; }
.shead > p { margin-block-start: 12px; font-size: 15px; max-inline-size: 460px; }
.dims { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dim { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.dim .glyph { grid-row: span 4; }
.dim h3 { font-size: 18px; margin-block-end: 4px; }
.dim p { font-size: 14px; }
.dim .tags { color: var(--c); font-size: 12px; font-weight: 750; margin-block-start: 8px; }
.dim .st { display: flex; align-items: center; gap: 6px; margin-block-start: 8px; font-size: 12px; font-weight: 700; color: var(--mut); }
.dim .st-ranked { color: var(--acc); }
.dim .st-own { color: var(--mint); }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.steps li { border-block-start: 1px solid var(--line); padding-block-start: 16px; }
.sn { display: block; font-size: 36px; line-height: 1; font-weight: 900; letter-spacing: -.07em; color: var(--acc); margin-block-end: 14px; text-align: start; }
.steps h3 { font-size: 18px; }
.steps p { font-size: 14px; margin-block-start: 8px; }

.sci { display: grid; gap: 24px; padding: 20px 17px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.sci > div > p { margin-block-start: 12px; }
.sci .small { font-size: 12px; margin-block-start: 16px; }
.cboxes { display: grid; gap: 12px; }
.cbox { padding: 16px; border-radius: 13px; background: var(--bg); border: 1px solid var(--line); }
.chead { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.chead strong { display: block; font-size: 28px; font-weight: 900; letter-spacing: -.04em; color: var(--acc); line-height: 1.15; text-align: start; }
.chead .cd { font-size: 12px; }
.chart { width: 100%; height: auto; margin-block-start: 10px; overflow: visible; }
.chart .grid { stroke: var(--rail); stroke-dasharray: 3 5; }
.chart .sline { fill: none; stroke: var(--purple); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .sdot { fill: var(--purple); }
.chart .sdot.now { fill: var(--acc); }
.cnote { margin-block-start: 8px; font-size: 12px; line-height: 1.5; color: var(--mut); }

.jband { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 24px 0; margin-block-start: 28px; border-block: 1px solid var(--line); }
.jband > div { flex: 1 1 260px; min-inline-size: 0; }
.jband p { margin-block-start: 6px; font-size: 14px; max-inline-size: 820px; }

.shr { display: grid; gap: 30px; padding: 46px 0; align-items: center; }
.shr > div > p { margin-block-start: 16px; max-inline-size: 520px; }
.scard { position: relative; width: 100%; max-inline-size: 340px; justify-self: center; padding: 22px; border-radius: 20px; background: var(--sc-bg); color: var(--sc-ink);
  border: 1px solid var(--sc-edge); overflow: hidden; box-shadow: var(--shadow); }
.scard::after { content: ''; position: absolute; inset-block-end: -130px; inset-inline-end: -100px; width: 290px; height: 290px; border: 1px solid var(--sc-ring); border-radius: 50%;
  box-shadow: 0 0 0 25px var(--sc-ring2), 0 0 0 50px var(--sc-ring3); pointer-events: none; }
.scard > * { position: relative; z-index: 1; }
.scard .tiny { color: var(--sc-mut); }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.scard h3 { font-size: 28px; margin-block-start: 14px; color: var(--sc-ink); }
.sc-big { font-size: 74px; line-height: 1; font-weight: 950; letter-spacing: -.07em; color: var(--lime); margin-block-start: 10px; text-align: start; }
.sc-big span { font-size: 22px; letter-spacing: 0; }
.sc-t { font-size: 13px; margin: 6px 0 14px; color: var(--sc-mut); }
.sc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block-start: 14px; border-block-start: 1px solid var(--sc-rule); }
.sc-stats strong { display: block; font-size: 22px; color: var(--sc-ink); text-align: start; }
.sc-stats small { font-size: 11px; color: var(--sc-mut); }
.sc-foot { margin-block-start: 18px; font-size: 13px; color: var(--sc-ink); }

.mission { display: block; padding: 26px 0; border-block: 1px solid var(--line); }
.mission h2 { font-size: clamp(28px, 3.5vw, 43px); max-inline-size: 720px; }
.mission p { font-size: 15px; line-height: 1.7; max-inline-size: 780px; margin-block-start: 12px; }
.mart { display: none; }
.mlines { stroke: var(--acc); }
.mbar { stroke: var(--purple); }
.mdot { fill: var(--acc); }

.trust { display: grid; gap: 18px; }
.tlist { display: grid; gap: 16px; }
.tlist li { display: flex; gap: 14px; align-items: start; }
.tlist h3 { font-size: 17px; }
.tlist p { font-size: 14px; margin-block-start: 4px; }
.tcoop { padding: 20px; }
.tcoop h3 { margin: 6px 0 8px; font-size: 19px; }
.tcoop p { font-size: 14px; }
.tcoop .ack { font-size: 11.5px; margin-block-start: 14px; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.tcoop .ack a { color: var(--purple); text-decoration: underline; display: inline-block; min-block-size: 44px; line-height: 44px; }

.cta { padding: 26px 20px; margin: 10px 0 30px; border-radius: 20px; background: var(--lime); color: var(--on-lime); border: 1px solid var(--lime-edge); }
.cta h2 { color: var(--on-lime); font-size: clamp(30px, 4vw, 48px); }
.cta p { color: var(--on-lime-mut); margin-block-start: 8px; }
.cta-acts { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-block-start: 20px; }
.cta .btn { background: var(--on-lime-btn); color: var(--lime); border-color: var(--on-lime-btn); white-space: nowrap; }
.lfoot { display: grid; gap: 10px; padding: 18px 0 40px; border-block-start: 1px solid var(--line); font-size: 12px; }
.lfoot b { color: var(--ink); font-weight: 750; }
.lfoot p { font-size: 12px; max-inline-size: 680px; }

@media (min-width: 600px) {
  .shell { padding: 0 28px; }
  .dims { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .lstrip { grid-template-columns: repeat(4, 1fr); }
  .cta-acts { flex-direction: row; align-items: center; }
  .wm { font-size: 21px; }
}
@media (min-width: 860px) {
  .lhead { padding: 22px 0; }
  .logo { width: 42px; height: 42px; }
  .lnav, .signin { display: flex; }
  .hero { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 76px 0 64px; }
  .lead { font-size: 18px; }
  .acts .btn { flex: 0 1 auto; }
  .pv { padding: 24px; }
  .sec { padding: 64px 0; }
  .shead { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-block-end: 30px; }
  .dims { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .dim { display: block; padding: 22px; min-block-size: 230px; }
  .dim .glyph { margin-block-end: 18px; }
  .sci { grid-template-columns: .8fr 1.2fr; gap: 38px; padding: 32px; align-items: center; }
  .shr { grid-template-columns: 1fr .8fr; gap: 70px; padding: 64px 0; }
  .mission { display: grid; grid-template-columns: 190px 1fr; gap: 36px; align-items: center; padding: 34px 36px; background: linear-gradient(110deg, var(--lime-soft), transparent 75%); }
  .mart { display: block; }
  .trust { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
  .cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px 36px; }
  .cta-acts { margin-block-start: 0; flex-direction: column; }
  .lfoot { grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
}
