/* Deskercise: carbon black, with the sweatband's red and blue as signal colours. */
:root {
  --bg: #07080b;
  --bg-2: #0a0c11;
  --panel: #0e1016;
  --panel-2: #141720;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f3f5f9;
  --text-2: #b6bdcc;           /* body copy: 10.6:1 on --bg, 9.5:1 on --panel-2 */
  --text-3: #9098ab;           /* notes and labels: 6.9:1 on --bg, 6.2:1 on --panel-2 */

  --red: #ff3b47;              /* effort, calories, the mouse */
  --red-btn: #e8192c;          /* white text on it: 4.6:1 */
  --blue: #3d7bff;             /* typing, links */
  --sky: #36b2ff;              /* clicks and scrolling */
  --gold: #ffb020;             /* personal records */
  --green: #34d399;            /* all clear */

  --radius: 16px;
  --wrap: 1200px;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --brand: "Nunito", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
/* The mascot is the mouse pointer (tip at 3,3). Links and buttons keep the hand, so they still read as clickable. */
html {
  cursor: url("assets/cursor.png") 3 3, auto;
  cursor: image-set(url("assets/cursor.png") 1x, url("assets/cursor@2x.png") 2x) 3 3, auto;
}
a, button, summary, label, [role="button"] { cursor: pointer; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Film grain over everything, very faint. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
/* Sections focused by a link (the keyboard carries on from there) and the cookie banner's title: no outline. */
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: #fff; color: #000; }
.dim { color: var(--text-3); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }

/* Labels: "[ 01 ] LIVE TELEMETRY" */
.label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--text-3); font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
}
.label-num { color: var(--red); }
.label-num::before { content: "[ "; color: var(--text-3); }
.label-num::after { content: " ]"; color: var(--text-3); }
.label-bracket { color: var(--red); }
.sub { margin-top: 16px; color: var(--text-2); font-size: 1.1rem; max-width: 36em; }
.note { margin-top: 18px; color: var(--text-3); font: 400 13px/1.6 var(--mono); }
.note.center { text-align: center; margin-top: 28px; }
.micro { margin-top: 14px; color: var(--text-3); font-size: .9rem; }
.link { display: inline-block; margin-top: 22px; color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.link:hover { border-color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border: 0; border-radius: 12px; cursor: pointer;
  font: 600 1rem/1.1 var(--display); letter-spacing: -.01em; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red-btn); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 10px 30px -10px rgba(255, 59, 71, .7); }
.btn-red:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 12px 40px -8px rgba(255, 59, 71, .85); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-plain { background: var(--text); color: var(--bg); }
.btn-plain:hover { background: #fff; }
.btn-sm { padding: 10px 16px; font-size: .92rem; border-radius: 10px; }
.btn-wide { width: 100%; padding-block: 16px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 11, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 900 1.4rem/1 var(--brand); letter-spacing: -.01em; }
.brand img { width: 30px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text-2); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.nav a:hover { color: #fff; }
.burn-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 59, 71, .08); box-shadow: inset 0 0 0 1px rgba(255, 59, 71, .25);
  color: #ffd9dc; font: 500 12px/1 var(--mono); text-decoration: none; font-variant-numeric: tabular-nums;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 1060px) { .burn-chip { display: none; } }
.nav a[aria-current="page"] { color: #fff; }
/* Every link needs about 1,130 px of bar (measured at 1440 px wide). Narrower than that, Dashboard and Science go:
   they're one scroll away. */
@media (max-width: 1199px) { .nav-extra { display: none; } }
/* Small screens: the nav becomes a scrollable row under the bar, rather than disappearing. */
@media (max-width: 860px) {
  html { scroll-padding-top: 110px; }
  .top-inner { flex-wrap: wrap; height: auto; padding: 12px 0 0; row-gap: 0; }
  .top-inner > .btn { margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; gap: 20px; margin: 10px 0 0; padding: 10px 0 12px; overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; font-size: 11px; }
}
/* Touch-first devices (phones, tablets) get their own wording in a few places. */
.touch-only { display: none; }
@media (hover: none) and (pointer: coarse) {
  .fine-only { display: none; }
  .touch-only { display: inline; }
}
.nobr { white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 78% 18%, rgba(61, 123, 255, .22), transparent 70%),
    radial-gradient(640px 420px at 8% 92%, rgba(255, 59, 71, .16), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 55%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); letter-spacing: -.05em; line-height: .95; }
.sweatband { position: relative; white-space: nowrap; }
/* A sweatband under the words, sitting just below the descenders. Drawn as already-tilted SVG shapes: a hard-edged
   gradient on a rotated box comes out stair-stepped, because browsers don't anti-alias gradient stops. */
.sweatband::after {
  content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; bottom: -.185em; height: .26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 26' preserveAspectRatio='none'%3E%3Cpolygon fill='%23f4f6fa' points='0,11 400,1 400,15 0,25'/%3E%3Cpolygon fill='%23ff3b47' points='0,11 400,1 400,5.67 0,15.67'/%3E%3Cpolygon fill='%233d7bff' points='0,20.33 400,10.33 400,15 0,25'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 0 10px rgba(255, 59, 71, .4));
}
/* The privacy promise, right under the headline, in the "never leaves" green. */
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 42px; padding: 8px 12px; border-radius: 8px;
  background: rgba(52, 211, 153, .08); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .4);
  color: var(--text); font: 500 13px/1 var(--mono); letter-spacing: .04em;
}
.hero-chip b { color: var(--green); font-weight: 700; }
.lead { margin-top: 22px; color: var(--text-2); font-size: 1.2rem; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* What you pay, plainly: under every buy button. */
.pay-line { margin-top: 14px; color: var(--text-2); font-size: .95rem; line-height: 1.5; max-width: 34em; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.specs li {
  padding: 7px 11px; border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2); font: 400 12px/1 var(--mono); letter-spacing: .04em;
}
.specs b { color: var(--text); font-weight: 700; }
@media (max-width: 1000px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* DESKCAM: the mascot's workout, presented as a live feed */
.deskcam { position: relative; margin: 0; container-type: inline-size; }
.cam-screen {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 18px; background: #07080b;
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(61, 123, 255, .25);
}
.scene { width: 100%; height: 100%; }
/* Scanlines and a vignette, like a camera feed */
.cam-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 45%, transparent 60%, rgba(0, 0, 0, .55) 100%);
}
.poster-t { font: 700 40px/1 var(--display); fill: #f4f6fa; letter-spacing: -1px; }
.poster-red { fill: #ff3b47; }
.bottle-t { font: 700 15px/1 var(--mono); fill: #0b0d13; letter-spacing: 1px; }
.key-t { font: 700 30px/1 var(--mono); fill: #eef1f7; }

.deskcam { --rep: 2.6s; }
.lifter { transform-box: fill-box; transform-origin: 50% 100%; animation: squat var(--rep) cubic-bezier(.45, 0, .25, 1) infinite; }
.marks { transform-box: fill-box; transform-origin: 50% 50%; animation: effort var(--rep) ease-in-out infinite; }
.barbell { animation: lift var(--rep) cubic-bezier(.45, 0, .25, 1) infinite; }
.bar-half { transform-box: fill-box; animation: flex var(--rep) ease-in-out infinite; }
.bar-l { --s: -1; transform-origin: 100% 50%; }
.bar-r { --s: 1; transform-origin: 0% 50%; }
.cam-shadow { transform-box: fill-box; transform-origin: 50% 50%; animation: shadow var(--rep) cubic-bezier(.45, 0, .25, 1) infinite; }
.drop { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; animation: sweat var(--rep) linear infinite; animation-delay: var(--d); }

@keyframes squat {
  0%, 8% { transform: scale(1, 1); }
  36% { transform: scale(1.05, .86); }
  44% { transform: scale(1.04, .88); }
  58% { transform: scale(.97, 1.05); }
  70% { transform: scale(1.01, .99); }
  80%, 100% { transform: scale(1, 1); }
}
/* The bar rides on the cursor's tip, so it follows the squash exactly. */
@keyframes lift {
  0%, 8% { transform: translate(0, 0); }
  36% { transform: translate(-8.75px, 77px); }
  44% { transform: translate(-7px, 66px); }
  58% { transform: translate(5.25px, -27.5px); }
  70% { transform: translate(-1.75px, 5.5px); }
  80%, 100% { transform: translate(0, 0); }
}
/* Heavy keys: the bar bends at the bottom and whips at the top. */
@keyframes flex {
  0%, 8% { transform: rotate(0deg); }
  36% { transform: rotate(calc(var(--s) * 3deg)); }
  48% { transform: rotate(calc(var(--s) * 5deg)); }
  58% { transform: rotate(calc(var(--s) * -3deg)); }
  68% { transform: rotate(calc(var(--s) * 1.5deg)); }
  78%, 100% { transform: rotate(0deg); }
}
@keyframes effort {
  0%, 40% { transform: scale(.9); opacity: .55; }
  50% { transform: scale(1.3) rotate(-5deg); opacity: 1; }
  64% { transform: scale(1.04); opacity: .95; }
  100% { transform: scale(.9); opacity: .55; }
}
@keyframes shadow {
  0%, 8% { transform: scaleX(1); }
  36% { transform: scaleX(1.08); }
  58% { transform: scaleX(.94); }
  80%, 100% { transform: scaleX(1); }
}
@keyframes sweat {
  0%, 48% { opacity: 0; transform: translate(0, 0) scale(.4); }
  52% { opacity: 1; transform: translate(calc(var(--dx) * .2), calc(var(--dy) * -.22)) scale(.85); }
  66% { opacity: 1; transform: translate(calc(var(--dx) * .55), calc(var(--dy) * -.12)) scale(1); }
  84% { opacity: .9; transform: translate(calc(var(--dx) * .85), calc(var(--dy) * .45)) scale(1); }
  96%, 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.7); }
}
.deskcam.paused .scene *, .deskcam.paused .rec { animation-play-state: paused !important; }

/* Heads-up display */
.hud {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(10px, 2.4cqw, 18px); color: rgba(255, 255, 255, .9);
  font: 500 clamp(9px, 1.35cqw, 12px)/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8); pointer-events: none;
}
.hud::before, .hud::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, .5);
}
.hud::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hud::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hud-top { display: flex; justify-content: space-between; gap: 12px; padding: 4px 8px 0 18px; }
.rec { color: var(--red); animation: pulse 1.2s steps(2, jump-none) infinite; }
.hud-stats {
  position: absolute; top: 50%; right: clamp(10px, 2.4cqw, 18px); transform: translateY(-50%);
  display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; text-align: right;
}
.hud-stats li { padding: 4px 8px; border-radius: 6px; background: rgba(7, 8, 11, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.hud-stats b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.hud-bottom { display: grid; gap: 8px; justify-items: center; }
.hud-rep { justify-self: start; padding-left: 18px; }
.hud-rep b { color: var(--red); }
.caption {
  max-width: 92%; padding: 6px 12px; border-radius: 6px; background: rgba(0, 0, 0, .72);
  color: #fff; text-align: center; text-transform: none; letter-spacing: 0; font-size: clamp(10px, 1.6cqw, 14px);
}
.scrub { width: 100%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.scrub span { display: block; width: 0; height: 100%; background: var(--red); box-shadow: 0 0 8px var(--red); transition: width .3s linear; }
@container (max-width: 520px) {
  .hud-stats li:nth-child(n + 4) { display: none; }
  .hud-top .dim { display: none; }
}
/* Phones: keep the mascot clear. Only the kcal readout stays, and the rep counter goes. */
@container (max-width: 420px) {
  .hud-stats li:not(:nth-child(2)) { display: none; }
  .hud-rep { display: none; }
}
.cam-toggle {
  position: absolute; right: 14px; bottom: -18px; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 20px rgba(0, 0, 0, .5);
  display: grid; place-items: center;
}
.cam-toggle:hover { background: #1b1f2a; }
.ico-pause { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.paused .ico-pause { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }

/* Ticker */
.ticker {
  position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--red) 0 33.4%, #f4f6fa 33.4% 66.6%, var(--blue) 66.6%);
  background-size: 120px 3px;
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 18px 0 16px; list-style: none; }
.ticker li { padding: 0 28px; color: var(--text-2); font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: "✦"; margin-left: 56px; color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }


/* Sections */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 980px; margin-bottom: 52px; }
.head .sub { max-width: 40em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.split-top { align-items: start; } /* the heading and the evidence come into view together */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}

/* Panels */
.panel {
  position: relative; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -40px rgba(0, 0, 0, .9);
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); color: var(--text-2); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }

/* Live telemetry */
.tele { overflow: hidden; }
.tele::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 59, 71, .18), transparent);
}
.tele-main { padding: 26px 22px 6px; }
.tele-kcal {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font: 700 clamp(2.6rem, 6vw, 4rem)/1 var(--mono);
  letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #fff;
}
.tele-kcal small { color: var(--red); font-size: .32em; letter-spacing: .1em; text-transform: uppercase; }
.tele-food { margin-top: 10px; color: var(--text-2); font: 400 14px/1.4 var(--mono); }
.tele-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 0; border-block: 1px solid var(--line); }
.tele-grid div { padding: 16px 18px; border-right: 1px solid var(--line); }
.tele-grid div:last-child { border-right: 0; }
.tele-grid dt { color: var(--text-3); font: 500 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.tele-grid dt small { letter-spacing: 0; text-transform: none; }
.tele-grid dd { margin: 8px 0 0; font: 700 1.35rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.tele-grid dd small { color: var(--text-3); font-size: .7em; }
/* The app's source colours: mouse movement red, clicks & scrolling white, typing blue. */
.tele-grid div:nth-child(1) dd { color: var(--red); }
.tele-grid div:nth-child(4) dd { color: var(--blue); }
@media (max-width: 560px) {
  .tele-grid { grid-template-columns: repeat(2, 1fr); }
  .tele-grid div:nth-child(2) { border-right: 0; }
  .tele-grid div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
.tele-speed { padding: 16px 18px 6px; }
.tele-speed-head { display: flex; justify-content: space-between; color: var(--text-3); font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.tele-speed-head b { color: var(--text); }
.tele-speed svg { width: 100%; height: 56px; margin-top: 10px; overflow: visible; }
.tele-speed polyline { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 59, 71, .6)); }
.tele-eta { padding: 6px 18px 0; color: var(--text-2); font: 400 13px/1.5 var(--mono); }
.tele-eta b { color: var(--gold); }
.coach { margin: 14px 18px 18px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 400 13px/1.5 var(--mono); }
.coach .prompt { color: var(--green); }

/* Screenshot with callouts */
.toggle { display: inline-flex; margin-top: 26px; padding: 4px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.toggle button { padding: 8px 16px; border: 0; border-radius: 7px; background: transparent; color: var(--text-2); cursor: pointer; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
/* The frame hugs the screenshot exactly, so the pins' percentages land on the right spots. */
.shot-frame { position: relative; max-width: 1100px; margin-inline: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(61, 123, 255, .45); }
.shot-frame img { width: 100%; border-radius: 14px; }
.pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red-btn); color: #fff; font: 700 13px/1 var(--mono); box-shadow: 0 0 0 4px rgba(255, 59, 71, .25), 0 0 24px rgba(255, 59, 71, .6);
}
.callouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 36px auto 0; padding: 0; list-style: none; counter-reset: c; }
.callouts li { position: relative; padding-top: 44px; color: var(--text-2); font-size: .98rem; counter-increment: c; }
.callouts li::before {
  content: counter(c); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: rgba(255, 59, 71, .14); color: var(--red); font: 700 13px/1 var(--mono); box-shadow: inset 0 0 0 1px rgba(255, 59, 71, .35);
}
.callouts b { color: var(--text); }
@media (max-width: 900px) { .callouts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pin { width: 16px; height: 16px; font-size: 9px; } .callouts { grid-template-columns: 1fr; } }

/* Terminal */
.terminal { border-radius: var(--radius); background: #05060a; box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -40px rgba(255, 59, 71, .35); overflow: hidden; }
.term-bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); color: var(--text-2); font: 500 12px/1 var(--mono); }
.terminal pre { margin: 0; padding: 22px 20px; overflow-x: auto; font: 400 13.5px/1.75 var(--mono); color: var(--text); }
.terminal .c { color: #5f6a82; }
.terminal .k { color: var(--red); }
.terminal .v { color: var(--sky); }
.terminal .n { color: var(--gold); }
.results { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.results div { padding: 14px; border-right: 1px solid var(--line); }
.results div:last-child { border-right: 0; }
.results dt { color: var(--text-3); font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.results dd { margin: 6px 0 0; font: 700 14px/1.2 var(--mono); }
@media (max-width: 560px) { .results { grid-template-columns: 1fr 1fr; } .results div:nth-child(2) { border-right: 0; } .results div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); } }

/* Versus */
.versus table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.versus th, .versus td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.versus tr:last-child th, .versus tr:last-child td { border-bottom: 0; }
.versus thead th { color: var(--text-3); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: var(--panel); }
.versus tbody th { width: 28%; color: var(--text-2); font-weight: 500; }
.versus td { color: var(--text-3); }
.versus .us { color: var(--text); background: rgba(255, 59, 71, .05); }
.versus thead .us { color: var(--text); background: rgba(255, 59, 71, .1); }
.versus thead .them { color: var(--text-2); font: 600 15px/1 var(--display); letter-spacing: -.01em; text-transform: none; vertical-align: middle; }
.versus thead .us { vertical-align: middle; }
.vs-brand { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--display); letter-spacing: -.01em; text-transform: none; }
.vs-brand img { width: 22px; height: auto; }
@media (max-width: 640px) { .vs-brand img { display: none; } }
@media (max-width: 640px) { .versus th, .versus td { padding: 12px; font-size: .92rem; } }

/* Program */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
/* Step two is optional, so its card is drawn dashed. */
.steps li:nth-child(2) { box-shadow: none; outline: 1px dashed var(--line-2); outline-offset: -1px; }
.step-num { display: inline-block; margin-bottom: 18px; color: var(--red); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.steps p { margin-top: 10px; color: var(--text-2); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Privacy monitor */
/* What leaves your computer: three plain groups, each with its own marker. */
.leaves-group { padding: 18px 20px; }
.leaves-group + .leaves-group { border-top: 1px solid var(--line); }
.leaves-title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 600 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.leaves-title::before { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 12px/1 var(--mono); }
.leaves-never { color: var(--green); }
.leaves-never::before { content: "0"; background: rgba(52, 211, 153, .12); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .4); }
.leaves-optin { color: #8fb3ff; }
.leaves-optin::before { content: "?"; background: rgba(61, 123, 255, .14); box-shadow: inset 0 0 0 1px rgba(61, 123, 255, .45); }
.leaves-routine { color: var(--text-2); }
.leaves-routine::before { content: "↻"; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.leaves ul { display: grid; gap: 8px; margin: 0; padding: 0 0 0 32px; list-style: none; }
.leaves li { color: var(--text-2); font-size: 1rem; line-height: 1.45; }
.leaves li b { color: var(--text); font-weight: 600; }
/* Where to check the claims: the network list and the IT page. */
.proof-links { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.proof-links .link { margin-top: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.member-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1.586; padding: clamp(18px, 4vw, 30px); border-radius: 22px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(61, 123, 255, .35), transparent 50%),
    radial-gradient(120% 140% at 100% 100%, rgba(255, 59, 71, .32), transparent 50%),
    linear-gradient(135deg, #171a24, #0b0d12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 90px -30px rgba(0, 0, 0, .9);
  transform: perspective(900px) rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg));
  transition: transform .3s ease;
}
/* Holographic sheen sweeping across the card */
.member-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 59, 71, .16) 44%, rgba(255, 255, 255, .2) 50%, rgba(61, 123, 255, .2) 56%, transparent 65%) 0 0 / 260% 100%;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 110% 0; } 60%, 100% { background-position: -10% 0; } }
.mc-top, .mc-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mc-brand { display: inline-flex; align-items: center; gap: 10px; font: 900 1.5rem/1 var(--brand); }
.mc-brand img { width: 30px; }
.mc-tier { color: var(--gold); font: 700 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.mc-chip {
  position: relative; display: grid; place-items: center; width: 58px; height: 46px; border-radius: 9px;
  background: linear-gradient(145deg, #ffe08a, #c48a12); color: #3a2a05; font: 700 15px/1 var(--mono);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.mc-bottom { align-items: flex-end; }
.mc-bottom div { display: grid; gap: 4px; }
.mc-bottom small { color: var(--text-3); font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.mc-bottom b { font: 600 clamp(.85rem, 1.8vw, 1rem)/1.2 var(--display); }
.mc-bottom div:last-child { text-align: right; max-width: 55%; }
/* The sweatband, worn across the card the way the mascot wears it */
/* SVG, tilted in its own geometry, so the stripe edges are anti-aliased (see .sweatband::after). */
.mc-band { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; pointer-events: none; }
.mc-chip, .mc-top, .mc-bottom { z-index: 1; }
.price-box { padding: 4px 0; }
.price { display: flex; align-items: flex-start; font: 700 clamp(4.5rem, 10vw, 6.4rem)/.9 var(--display); letter-spacing: -.06em; }
.cur { margin-top: .12em; color: var(--text-3); font-size: .45em; letter-spacing: 0; }
.price-note { margin-top: 10px; color: var(--text-3); font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.checks { display: grid; gap: 12px; margin: 28px 0 30px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(255, 59, 71, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5 10.5 17 18 7.5' fill='none' stroke='%23ff3b47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 59, 71, .35);
}

.price-box .pay-line { margin-top: 16px; }
.price-box .micro { margin-top: 10px; }
/* Phones and tablets only: what happens when you buy on one, at full size. */
.phone-buy { display: none; }
@media (hover: none) and (pointer: coarse) {
  .phone-buy {
    display: grid; gap: 14px; justify-items: start; margin-top: 22px; padding: 18px; border-radius: 12px;
    background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2);
  }
}
.phone-buy p { color: var(--text-2); }
.phone-buy b { color: var(--text); }
.phone-buy-alt { font-size: .95rem; }

/* The gift and team pack: a strip under the single license, with the sweatband down its edge. */
.pack {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(230px, 270px) minmax(0, 1fr) minmax(210px, 240px);
  gap: 24px 40px; align-items: center; max-width: 1040px; margin: 64px auto 0; padding: 28px 30px 28px 38px;
  border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2);
}
.pack::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px;
  background: linear-gradient(var(--red) 0 33.4%, #f4f6fa 33.4% 66.6%, var(--blue) 66.6%);
}
.pack-tag { color: var(--gold); font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.pack-amount { margin-top: 14px; font: 700 clamp(2.1rem, 3.6vw, 2.7rem)/1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.pack-cur { color: var(--text-3); font-size: .6em; vertical-align: .32em; letter-spacing: 0; }
.pack .price-note { margin-top: 12px; line-height: 1.5; }
.pack-copy { display: grid; gap: 10px; color: var(--text-2); }
.pack-copy b { color: var(--text); }
.pack-invoice { font-size: .95rem; }
.pack-buy .pay-line { margin-top: 12px; font-size: .88rem; }
/* Narrower: the price and the button side by side, the copy underneath. */
@media (max-width: 1100px) {
  .pack { grid-template-columns: minmax(0, 1fr) minmax(210px, 240px); }
  .pack-copy { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 700px) {
  .pack { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; padding: 24px 20px 24px 28px; }
  .pack-copy { grid-row: auto; }
}

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details p a { color: #8fb3ff; }
.faq details { border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary { position: relative; display: flex; gap: 16px; align-items: baseline; padding: 18px 48px 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--text-3); font: 400 22px/1 var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--red); }
.q { color: var(--red); font: 500 12px/1 var(--mono); letter-spacing: .08em; }
.faq details p { padding: 0 20px 20px 64px; color: var(--text-2); }
.faq code { padding: 2px 6px; border-radius: 6px; background: var(--panel-2); color: var(--text); font: 400 .85em var(--mono); }
@media (max-width: 560px) { .faq details p { padding-left: 20px; } }

/* Contact */
.contact { display: flex; flex-direction: column; }
.contact p { padding: 22px 20px 0; color: var(--text-2); }
.contact .btn { width: auto; margin: 22px 20px 20px; overflow-wrap: anywhere; }

/* The Desk League */
/* ---------- The Desk League: the same board as the app's League page ---------- */
.league-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 44px; }
.league-rules { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.league-rules li { position: relative; padding-left: 22px; color: var(--text-2); }
.league-rules li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px rgba(255, 59, 71, .6); }
.league-rules b { color: var(--text); }
.league-note { margin-top: 16px; }

.league { display: grid; gap: 16px; }
.is-empty .league-board { display: none; }

/* Period like the app's range picker; season, reset and status beside it. */
.league-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.league-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.league-tabs button { padding: 7px 14px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); cursor: pointer; font: 500 14px/1 var(--display); }
.league-tabs button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); font-weight: 600; }
/* The board picker, like the app's "Board" drop-down: Worldwide or a mini league. */
.league-pick { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.league-pick select {
  min-width: 13.5em; padding: 7px 34px 7px 12px; border: 0; border-radius: 8px; cursor: pointer; appearance: none;
  background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23b6bdcc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 11px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: 600 14px/1.2 var(--display);
}
.league-pick select:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.league-pick option { background: var(--panel-2); color: var(--text); }
/* The mini league on show, like the app's league card: name, members, mode and invite code. */
.league-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding: 18px 22px; }
.league-card-name { font-size: 1.25rem; }
.league-card-meta { margin-top: 4px; color: var(--text-2); font-size: 14px; }
.league-card-meta code { color: var(--text); font: 600 13px/1 var(--mono); letter-spacing: .04em; }
.league-card-note { max-width: 32em; color: var(--text-2); font-size: 14px; }
.league-card[hidden] { display: none; }
.league-when { display: grid; gap: 4px; margin-left: auto; text-align: right; }
.league-season { color: var(--text-2); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.league-reset { color: var(--text-3); font-size: 13px; }
.league-status {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 6px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 14px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.is-preview .status-dot { background: var(--gold); }
.is-offline .status-dot { background: #dc2626; }

/* The leader: the hero card, like the app's Today card. Their total sits in a gold ring where yours would. */
.league-board { display: grid; gap: 16px; }
.league-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 32px 28px 26px;
  background:
    radial-gradient(55% 90% at 92% 0%, rgba(61, 123, 255, .16), transparent 70%),
    radial-gradient(55% 90% at 4% 100%, rgba(255, 59, 71, .13), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.arena-band { position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(180deg, var(--red) 0 33.4%, #f4f6fa 33.4% 66.6%, var(--blue) 66.6%); }
.hero-ring { position: relative; display: grid; place-content: center; justify-items: center; width: 188px; height: 188px; }
.hero-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 200deg, #ffd66b, #e3a008 40%, #b7791f 70%, #ffd66b);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px));
  filter: drop-shadow(0 0 14px rgba(227, 160, 8, .45));
}
.hero-ring:empty::before { display: none; }
.ring-crown { width: 20px; height: 20px; fill: #e3a008; }
.ring-n { color: var(--text); font: 600 40px/1.1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ring-unit { color: var(--red); font: 400 13px/1 var(--mono); }
.hero-ring.crowned::before { animation: crowned 1.4s ease-out; }
@keyframes crowned { 0% { filter: drop-shadow(0 0 30px rgba(255, 214, 107, .95)); } }

.hero-body { display: grid; gap: 12px; min-width: 0; }
.leader-tag {
  display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 4px 9px; border-radius: 99px;
  background: rgba(227, 160, 8, .16); color: #e3a008; font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.crown-ic { width: 11px; height: 11px; fill: currentColor; }
.leader-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.leader-name { overflow: hidden; color: var(--text); font: 600 22px/1.2 var(--display); letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.leader-lead { margin: 0; color: var(--text-2); font-size: 15px; }
.leader-lead b { color: var(--text); font-weight: 600; }
.leader-snacks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.leader-food { color: var(--text-3); font-size: 12px; }
.leader-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 0; }
.leader-stats dt { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 12px; }
.leader-stats dt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.leader-stats dd { margin: 4px 0 0 18px; color: var(--text); font: 600 17px/1.2 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The feed, set like the app's coach line. */
.feed-line {
  margin: 6px 0 0; padding: 9px 12px; border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden; color: var(--text); font: 500 12px/1.4 var(--mono); text-overflow: ellipsis; white-space: nowrap;
}
.feed-prompt { color: #16a34a; }
.feed-tag { margin-right: 6px; color: var(--text-3); }
.feed-items span { color: var(--text-3); }
.feed-items span:first-child { color: var(--text); }
.feed-items span + span::before { content: "  ·  "; white-space: pre; }

/* Monogram avatars in a sweatband colour. */
.avatar {
  display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: color-mix(in srgb, var(--av, #767e91) 14%, transparent); box-shadow: inset 0 0 0 1.5px var(--av, #767e91);
  color: var(--av, var(--text)); font: 700 11px/1 var(--mono);
}
.avatar-sm { width: 22px; height: 22px; font-size: 8px; }

/* Jersey tiles, like the app's stat tiles. */
.jersey-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.panel.jersey { display: grid; gap: 8px; padding: 16px 18px; }
.jersey-label { display: flex; align-items: center; gap: 8px; color: var(--text-2); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.jersey-ic { flex: none; width: 18px; height: 18px; fill: var(--jersey); }
.jersey-who { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 4px; }
.jersey-who b { overflow: hidden; color: var(--text); font: 600 16px/1.2 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.jersey-val { color: var(--text); font: 600 17px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.jersey-gap { overflow: hidden; color: var(--text-3); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

/* Standings, in a card like the app's chart cards. */
.panel.standings { padding: 20px 0 8px; }
.standings-head { display: flex; justify-content: space-between; gap: 12px; padding: 0 20px 12px; color: var(--text-3); font-size: 12px; }
.standings-label { color: var(--text-2); font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.board-head, .row { display: grid; grid-template-columns: 28px 30px 32px minmax(0, 1fr) 120px 72px; align-items: center; gap: 12px; padding: 0 20px; }
.board-head { padding-bottom: 8px; color: var(--text-3); font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.board-head span:first-child { text-align: center; }
.board-head span:nth-child(2) { grid-column: 4; }
.board-head span:nth-child(3) { grid-column: 5; }
.board-head span:last-child { grid-column: 6; text-align: right; }
.board-rows { margin: 0; padding: 0; list-style: none; }
.row { position: relative; padding-block: 10px; border-top: 1px solid var(--line); transition: transform .65s cubic-bezier(.2, .8, .2, 1), background .3s; }
.row .rank { color: var(--text-3); font: 600 14px/1 var(--mono); text-align: center; }
.move { color: var(--text-3); font: 600 11px/1 var(--mono); text-align: center; }
.move.up { color: #16a34a; }
.move.down { color: var(--red); }
.who { display: grid; gap: 3px; min-width: 0; }
.who-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.who-name { overflow: hidden; color: var(--text); font: 600 14px/1.2 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.who-chips { display: inline-flex; gap: 3px; flex: none; }
.chip { width: 14px; height: 14px; fill: var(--jersey); }
.who-sub { overflow: hidden; color: var(--text-3); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .who-sub { white-space: normal; }
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
.gap { display: grid; gap: 5px; padding-right: 10px; }
.gap-track { display: block; height: 6px; border-radius: 99px; background: rgba(255, 59, 71, .18); overflow: hidden; }
.gap-track i { display: block; height: 100%; border-radius: inherit; background: var(--red); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.gap-n { color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.pts { color: var(--text); font: 600 17px/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.row.flash-up { animation: flash-up 1.6s ease-out; }
.row.flash-down { animation: flash-down 1.6s ease-out; }
@keyframes flash-up { 0% { background: rgba(22, 163, 74, .2); } 100% { background: transparent; } }
@keyframes flash-down { 0% { background: rgba(255, 59, 71, .16); } 100% { background: transparent; } }

.snacks { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.snack { width: 22px; height: 22px; }
.snack[style*="--part"] { opacity: calc(.25 + var(--part) * .5); }
.snack-more { color: var(--text-3); font: 500 12px/1 var(--mono); }

.league-empty { margin: 0; padding: 40px 24px; color: var(--text-2); text-align: center; }
.league-preview-note { margin: 0; padding: 10px 14px; border-radius: 8px; background: rgba(255, 176, 32, .08); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .3); color: var(--text-2); font-size: 14px; }

@media (max-width: 960px) {
  .league-head { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .league-hero { grid-template-columns: 1fr; justify-items: center; gap: 24px; padding: 30px 18px 20px; }
  .hero-body { justify-self: stretch; }
  .jersey-tiles { grid-template-columns: 1fr; }
  .league-when { order: 3; margin-left: 0; text-align: left; flex-basis: 100%; }
}
@media (max-width: 600px) {
  .board-head, .row { grid-template-columns: 22px 24px 30px minmax(0, 1fr) 64px; gap: 8px; padding-inline: 14px; }
  .board-head span:last-child { grid-column: 5; }
  .board-head span:nth-child(3), .gap { display: none; }
  .leader-stats { grid-template-columns: 1fr 1fr; }
  .snack { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .row { transition: none; } .hero-ring.crowned::before { animation: none; } }

/* Launch-week deal */
.launch-bar {
  position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 9px 16px;
  background: linear-gradient(90deg, rgba(255, 59, 71, .22), rgba(61, 123, 255, .22)); border-bottom: 1px solid var(--line-2);
  color: var(--text); font: 500 13px/1.4 var(--display); text-align: center; text-decoration: none;
}
.launch-bar:hover { background: linear-gradient(90deg, rgba(255, 59, 71, .32), rgba(61, 123, 255, .32)); }
.launch-tag { color: var(--gold); font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.launch-left { color: var(--text-2); font-family: var(--mono); font-weight: 400; letter-spacing: 0; text-transform: none; }
.launch-deal { margin: 0 0 22px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 176, 32, .07); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .35); }
.launch-deal p:last-child { margin-top: 8px; color: var(--text-2); font-size: .95rem; }
.launch-deal b { color: var(--text); }
@media (max-width: 560px) { .launch-bar { flex-wrap: wrap; gap: 4px 10px; } }

.maker { display: grid; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.maker p { color: var(--text-2); }
.maker b { color: var(--text); }
.x-link {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text);
  font: 500 14px/1 var(--mono); text-decoration: none; transition: background .2s ease, box-shadow .2s ease;
}
.x-link:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

/* Footer */
.foot { position: relative; border-top: 1px solid var(--line); background: #05060a; }
.foot::before { content: ""; position: absolute; inset: -1px 0 auto; height: 3px; background: linear-gradient(90deg, var(--red) 0 33.4%, #f4f6fa 33.4% 66.6%, var(--blue) 66.6%); }
.foot-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 32px; align-items: center; padding: 44px 0; }
.foot .brand { font-size: 1.2rem; }
.foot .brand img { width: 26px; }
.foot-tag { color: var(--text-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.foot-links a, .foot-links button { padding: 0; border: 0; background: none; color: var(--text-2); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.foot-links a:hover, .foot-links button:hover { color: #fff; }
.copy { grid-column: 1 / -1; color: var(--text-3); font: 400 12px/1.6 var(--mono); }
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr; } }

/* Cookie choices: only when an analytics or ad ID is set in script.js. A panel in the corner (across the bottom on a
   phone), with the sweatband along its top. Accept all and Reject all look the same on purpose. */
.consent {
  position: fixed; z-index: 120; right: 20px; bottom: 20px; width: min(440px, calc(100% - 40px));
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain;
  padding: 24px 22px 18px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -20px rgba(0, 0, 0, .95);
  animation: consent-in .4s cubic-bezier(.2, .7, .2, 1);
}
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
.consent-band { position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red) 0 33.4%, #f4f6fa 33.4% 66.6%, var(--blue) 66.6%); }
.consent-title { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
.consent-text { margin-top: 10px; color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.consent-choices { margin-top: 14px; }
.consent-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.consent-row label { color: var(--text); font-weight: 600; }
.consent-row p { grid-column: 2; color: var(--text-3); font-size: .88rem; line-height: 1.45; }
/* The switches are real checkboxes (Space toggles them), drawn as switches. */
.consent-row input {
  position: relative; width: 40px; height: 24px; margin: 0; border-radius: 99px; cursor: pointer; appearance: none;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s;
}
.consent-row input::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--text-3); transition: transform .2s, background-color .2s;
}
.consent-row input:checked { background: var(--blue); box-shadow: none; }
.consent-row input:checked::before { transform: translateX(16px); background: #fff; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-actions [data-consent="save"] { flex-basis: 100%; } /* under the two that look the same */
.consent-link { display: inline-block; margin-top: 12px; color: #8fb3ff; font-size: .85rem; }
@media (max-width: 560px) {
  .consent { right: 8px; bottom: 8px; width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 22px 16px 14px; }
}

/* Scroll reveal (only when JavaScript is running) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Privacy policy page */
.doc { max-width: 780px; padding: 72px 0 112px; }
.doc h1 { margin-bottom: 10px; font-size: clamp(2.4rem, 6vw, 3.6rem); }
.doc .updated { margin-bottom: 30px; color: var(--text-3); font: 400 13px/1 var(--mono); }
.doc h2 { margin: 48px 0 12px; font-size: 1.6rem; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--text); }
.doc code { padding: 2px 6px; border-radius: 6px; background: var(--panel-2); color: var(--text); font: 400 .85em var(--mono); }
.doc table { width: 100%; margin: 16px 0; border-collapse: collapse; }
.doc th, .doc td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { color: var(--text-3); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.doc td { color: var(--text-2); }
.doc a { color: #8fb3ff; }
/* Fill-in-the-blanks for the owner; impossible to miss so none ship by accident. */
.doc .ph { padding: 1px 6px; border-radius: 4px; background: rgba(255, 176, 32, .12); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .5); color: var(--gold); font: 500 .85em var(--mono); }
.doc .draft { margin-bottom: 30px; padding: 14px 16px; border-radius: 10px; background: rgba(255, 176, 32, .08); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .35); color: var(--text); font: 400 13px/1.6 var(--mono); }
.doc .caps { text-transform: uppercase; font-size: .92em; letter-spacing: .01em; }
.doc h3 { margin: 28px 0 10px; font-size: 1.15rem; }
.doc code { overflow-wrap: anywhere; }
.doc pre { margin: 12px 0; padding: 14px 16px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); overflow-x: auto; }
.doc pre code { padding: 0; background: none; font-size: .85rem; overflow-wrap: normal; }
/* Row headings in a fact table (the IT page's summary). */
.doc tbody th { width: 28%; color: var(--text); font: 600 .95rem/1.4 var(--display); letter-spacing: 0; text-transform: none; }
.doc td code { white-space: nowrap; overflow-wrap: normal; }
/* Wide tables become one card per row on a phone, each cell labelled from data-label. */
@media (max-width: 640px) {
  .doc table.stack thead { display: none; }
  .doc table.stack, .doc table.stack tbody, .doc table.stack tr, .doc table.stack td { display: block; }
  .doc table.stack tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .doc table.stack td { padding: 4px 0; border: 0; }
  .doc table.stack td::before { content: attr(data-label); display: block; color: var(--text-3); font: 500 10px/1.8 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
}

/* Printing a page (the IT page is meant to be printed): black on white, no header, footer or grain. */
@media print {
  body { background: #fff; color: #000; font-size: 10.5pt; }
  body::before, .skip, .top, .foot, .launch-bar, .consent { display: none; }
  .doc { width: auto; max-width: none; padding: 0; }
  .doc h1 { font-size: 22pt; }
  .doc h2 { margin-top: 22pt; font-size: 14pt; break-after: avoid; }
  .doc h3 { break-after: avoid; }
  .doc h1, .doc h2, .doc h3, .doc p, .doc li, .doc th, .doc td, .doc strong, .doc code, .doc a, .doc .updated { color: #000; }
  .doc code, .doc pre { background: none; box-shadow: none; }
  .doc pre { padding: 0; }
  .doc th, .doc td { padding: 6pt 8pt; border-bottom-color: #bbb; }
  .doc tr, .doc li { break-inside: avoid; }
  .doc .ph, .doc .draft { background: none; box-shadow: inset 0 0 0 1px #000; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden] { display: none; }
  .cam-toggle { display: none; }
}
