/* Tipscale landing, round 21, as built (D-582). No inline styles in markup; JS only sets CSSOM
   properties (CSP-safe). Archivo is self-hosted: one file, instanced at width 112, weights 700 to
   800, Latin only. Its licence is fonts/OFL.txt. */
@font-face { font-family: Archivo; src: url("/fonts/archivo-112.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }
:root {
  --bg: #0D0F11; --band: #121417; --card: #1B1E22; --card2: #23272C; --inset: #15181B;
  --line: rgba(255,255,255,0.09); --edge: rgba(255,255,255,0.11); --spec: rgba(255,255,255,0.06);
  --ink: #F3F0E9; --ink2: rgba(243,240,233,0.72); --ink3: rgba(243,240,233,0.54);
  --ember: oklch(0.76 0.16 46); --ember-ink: oklch(0.78 0.15 50); --ember-lo: oklch(0.50 0.12 40);
  --teal: oklch(0.78 0.105 184); --teal-ink: oklch(0.80 0.10 184); --teal-lo: oklch(0.48 0.08 190);
  --ice: oklch(0.84 0.06 228); --on-accent: #101214;
  --shadow: 0 1px 0 var(--spec) inset, 0 20px 50px rgba(0,0,0,0.35);
  --r-card: 28px; --r-sm: 14px;
  --display: Archivo, "SF Pro Display", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not(.dark) {
  --bg: #F4F1EA; --band: #ECE8DF; --card: #FBF8F2; --card2: #F6F3EC; --inset: #EFEBE2;
  --line: rgba(38,30,24,0.10); --edge: rgba(38,30,24,0.12); --spec: rgba(255,255,255,0.9);
  --ink: #17181A; --ink2: rgba(23,24,26,0.72); --ink3: rgba(23,24,26,0.60);
  --ember: oklch(0.62 0.16 40); --ember-ink: oklch(0.55 0.15 40); --teal: oklch(0.58 0.10 190); --teal-ink: oklch(0.48 0.085 190);
  --ice: oklch(0.50 0.08 240); --on-accent: #FFFFFF;
  --shadow: 0 1px 0 var(--spec) inset, 0 18px 40px rgba(40,30,20,0.10);
  color-scheme: light;
} }
:root.light {
  --bg: #F4F1EA; --band: #ECE8DF; --card: #FBF8F2; --card2: #F6F3EC; --inset: #EFEBE2;
  --line: rgba(38,30,24,0.10); --edge: rgba(38,30,24,0.12); --spec: rgba(255,255,255,0.9);
  --ink: #17181A; --ink2: rgba(23,24,26,0.72); --ink3: rgba(23,24,26,0.60);
  --ember: oklch(0.62 0.16 40); --ember-ink: oklch(0.55 0.15 40); --teal: oklch(0.58 0.10 190); --teal-ink: oklch(0.48 0.085 190);
  --ice: oklch(0.50 0.08 240); --on-accent: #FFFFFF;
  --shadow: 0 1px 0 var(--spec) inset, 0 18px 40px rgba(40,30,20,0.10);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.rm { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img { display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(56px, 9vw, 112px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 20px; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
section { padding: clamp(72px, 10vw, 128px) 0; }
.band { background: var(--band); }
.eyebrow, .card-eyebrow, .demo-tag { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink3); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.eyebrow { color: var(--teal-ink); margin-bottom: 18px; }
.eyebrow-ice { color: var(--ice); }
.card-eyebrow { font-size: 12px; letter-spacing: 0.14em; }
.right { margin-left: auto; letter-spacing: 0; text-transform: none; font-weight: 600; }
.chip { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 999px; background: var(--inset); color: var(--ember-ink); border: 1px solid var(--line); }

/* top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand img { border-radius: 7px; }
.top-nav { display: flex; gap: clamp(14px, 3vw, 28px); }
.top-nav a { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 600; }
.top-nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top-nav a:not([href="#pro"]) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform 120ms ease, background 160ms ease, opacity 160ms; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn-ember { background: var(--ember); color: var(--on-accent); }
.btn-teal { background: var(--teal); color: var(--on-accent); }
.btn-ghost { background: transparent; border-color: var(--edge); color: var(--ink); }
.btn-ghost:hover { background: var(--card2); }
.btn-sm { min-height: 40px; font-size: 14px; padding: 0 14px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

/* segmented */
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.seg legend span { font-weight: 500; color: var(--ink3); margin-left: 6px; }
.seg label { flex: 1 1 0; min-width: 0; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink2); transition: background 160ms, color 160ms, border-color 160ms; white-space: nowrap; }
.seg label span b { color: var(--ember-ink); font-variant-numeric: tabular-nums; }
.seg input:checked + span { background: var(--card2); color: var(--ink); border-color: var(--edge); box-shadow: 0 1px 0 var(--spec) inset; }
.seg input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.panel { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--edge); border-radius: var(--r-card); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px); }

/* split layout */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-rev .split-copy { order: 2; }
.split-top { align-items: start; }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.split-copy h2 { margin-bottom: 6px; }
.split-copy > p { color: var(--ink2); max-width: 46ch; }
.sec-head { max-width: 680px; display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head > p { color: var(--ink2); }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } .split-rev .split-copy { order: 0; } }

/* 1 hero */
.hero { padding-top: clamp(40px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 34ch; }
.get { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.get-note { font-size: 14px; color: var(--ink3); }
.hero-demo { background: radial-gradient(120% 90% at 50% 0%, var(--card2), var(--card) 70%); border: 1px solid var(--edge); border-radius: 34px; box-shadow: var(--shadow); padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; gap: 16px; }
.demo-tag { font-size: 12px; }
.verdict { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-height: 76px; }
.v-head { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.v-num { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -0.03em; line-height: 1.05; color: var(--ember-ink); font-variant-numeric: tabular-nums; transition: color 200ms; }
.v-num.is-steps { color: var(--teal-ink); }
.v-label { font-size: clamp(17px, 1.8vw, 20px); font-weight: 650; color: var(--ink2); }
.v-sub { font-size: 15px; color: var(--ink2); font-variant-numeric: tabular-nums; }
ts-scale { display: block; aspect-ratio: 240 / 170; width: 100%; }
.hero-scale { max-width: 560px; margin: 0 auto; }
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.ro { text-align: center; }
.ro-ride { text-align: left; } .ro-step { text-align: right; }
.ro dt { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }
.ro-ride dt { color: var(--ember-ink); } .ro-step dt { color: var(--teal-ink); }
.ro dd { margin: 2px 0 0; font-size: clamp(18px, 2vw, 22px); font-weight: 700; font-variant-numeric: tabular-nums; }
.controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .seg label span { flex-direction: column; gap: 0; line-height: 1.15; padding: 4px 4px; white-space: normal; text-align: center; } .controls { grid-template-columns: 1fr 1fr; } .controls .btn-ghost { grid-column: 1 / -1; } .btn { padding: 0 12px; } }

/* 2 scoring */
.flow { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 12px 0 12px 48px; color: var(--ink2); border-top: 1px solid var(--line); transition: color 240ms; }
.flow li b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; border: 1px solid var(--edge); color: var(--ink3); transition: background 240ms, color 240ms, border-color 240ms; }
.js .flow.is-playing li { color: var(--ink3); }
.js .flow.is-playing li b { color: var(--ink3); transition: color 240ms; }
.js .flow.is-playing li.is-on, .js .flow.is-playing li.is-on b { color: var(--ink); }
.js .flow li.is-on::before { background: var(--teal); color: var(--on-accent); border-color: transparent; }
.flow li[data-step="1"].is-on::before, .flow li[data-step="2"].is-on::before { background: var(--ember); }
.facts { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--inset); border: 1px solid var(--line); }
.score-demo { display: flex; flex-direction: column; gap: 18px; }
.sd-track, .strip-line { position: relative; height: 10px; border-radius: 5px; background: var(--inset); border: 1px solid var(--line); }
.sd-ride { position: absolute; top: 1px; bottom: 1px; left: 12.5%; width: 9%; border-radius: 4px; background: var(--ember); transform-origin: left center; }
.sd-hours { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.sd-debt { font-size: 16px; color: var(--ink2); }
.sd-debt b { color: var(--ember-ink); }
.sd-pay { display: flex; align-items: center; gap: 14px; }
.sd-bar { position: relative; flex: 1; height: 14px; border-radius: 7px; background: var(--inset); border: 1px solid var(--line); overflow: visible; }
.sd-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 92%; border-radius: 7px; background: var(--teal); }
.sd-tick { position: absolute; left: 80%; top: -6px; bottom: -6px; width: 2px; border-radius: 1px; background: var(--ember); }
.sd-count { min-width: 104px; text-align: right; font-size: 15px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.sd-count b { color: var(--teal-ink); font-size: 18px; }
.sd-scale { max-width: 420px; margin: 0 auto; }
.sd-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sd-verdict .v-head { justify-content: flex-start; gap: 8px; }
.sd-verdict .v-num { font-size: 30px; color: var(--teal-ink); }
.sd-verdict .v-label { font-size: 16px; }
.sd-verdict .v-sub { font-size: 14px; }
.sd-debt, .sd-pay, .sd-verdict { transition: opacity 300ms; }
.is-dim { opacity: 0.25; }

/* day columns (week, report, widget) */
.cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; --h: 64px; }
.col { position: relative; display: grid; grid-template-rows: var(--h) 2px calc(var(--h) * 0.62) auto auto; justify-items: center; padding: 6px 0 4px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; min-height: 44px; transition: background 160ms; }
.col:hover { background: var(--spec); }
.col.is-sel { background: color-mix(in oklab, var(--ink) 8%, transparent); }
.col .up, .col .down { width: 58%; max-width: 30px; border-radius: 5px; transition: height 420ms var(--spring); }
.col .up { align-self: end; background: var(--teal); border-radius: 5px 5px 2px 2px; }
.col .down { align-self: start; background: var(--ember); border-radius: 2px 2px 5px 5px; }
.col .base { width: 100%; height: 2px; background: var(--line); }
.col .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: var(--line); }
.col.won .dot { background: var(--teal); }
.col.lost .dot { background: transparent; box-shadow: 0 0 0 1.5px var(--ember) inset; }
.col .lbl { font-size: 12px; font-weight: 700; color: var(--ink3); margin-top: 4px; }
.col.future .up, .col.future .down { background: var(--line); }
.no-tr .col .up, .no-tr .col .down { transition: none; }
.cols-sm { --h: 44px; }
.cols-sm .col { cursor: default; padding: 2px 0; }
.cols-sm .col:hover { background: transparent; }

.week { display: flex; flex-direction: column; gap: 14px; }
.week-scale { max-width: 400px; margin: 0 auto; }
.wk-nums { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; margin-top: -6px; }
.wk-nums p { display: flex; flex-direction: column; }
.wk-nums span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }
.wk-debt b { color: var(--ember-ink); font-size: 22px; font-variant-numeric: tabular-nums; }
.wk-steps { text-align: right; } .wk-steps b { color: var(--teal-ink); font-size: 22px; font-variant-numeric: tabular-nums; }
.wk-score { text-align: center; }
.wk-score b { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -0.04em; }
.wk-forecast { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; min-height: 76px; }
.forecast { font-size: 17px; font-weight: 600; }
.basis { font-size: 13px; color: var(--ink3); }

/* 4 coach */
.coach { display: flex; flex-direction: column; gap: 12px; }
.coach-head { display: flex; align-items: center; gap: 10px; }
.strip-ride { position: absolute; top: 1px; bottom: 1px; width: 6px; border-radius: 4px; background: var(--ember); }
.strip-am { left: 13.5%; } .strip-pm { left: 73%; }
.c-pattern { font-size: 15px; color: var(--ink2); }
.c-move { font-size: 21px; font-weight: 650; letter-spacing: -0.01em; }
.c-pay { font-size: 15px; font-weight: 600; color: var(--teal-ink); min-height: 1.5em; font-variant-numeric: tabular-nums; }
.c-how { font-size: 13px; color: var(--ink3); }
.c-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 8px 0 2px; transition: opacity 200ms; }
.ccol { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ccol .bar { position: relative; width: 100%; max-width: 46px; height: 132px; }
.ccol .teal { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 6px 6px 3px 3px; background: var(--teal); opacity: 0.5; transition: opacity 280ms; }
.ccol .hatch { position: absolute; left: 0; right: 0; height: 0; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(135deg, var(--teal) 0 3px, transparent 3px 7px); box-shadow: 0 0 0 1px color-mix(in oklab, var(--teal) 60%, transparent) inset; transition: height 480ms cubic-bezier(0.3, 1.12, 0.5, 1); }
.ccol .tick { position: absolute; left: -4px; right: -4px; height: 2px; border-radius: 1px; background: var(--ember); }
.ccol .dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ember) inset; transition: background 160ms, box-shadow 160ms; }
.ccol .lbl { font-size: 12px; font-weight: 700; color: var(--ink3); text-align: center; line-height: 1.25; }
.ccol.flip .teal { opacity: 1; }
.ccol.flip .dot { background: var(--teal); box-shadow: none; animation: pop 280ms ease-out; }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }
.no-tr .hatch, .no-tr .teal, .no-tr .dot { transition: none !important; animation: none !important; }
.is-fading { opacity: 0; }
.seg-min label span { font-variant-numeric: tabular-nums; }

/* 5 report */
.report { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.r-ticks { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.r-ticks i { height: 3px; border-radius: 2px; background: var(--line); transition: background 200ms; }
.r-ticks i.is-on { background: var(--ink); }
.r-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-card); }
.r-cards::-webkit-scrollbar { display: none; }
.rcard { scroll-snap-align: start; min-height: 420px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-card); background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--edge); display: flex; flex-direction: column; gap: 14px; }
.r-big { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; margin-top: 16px; }
.r-teal { color: var(--teal-ink); } .r-ember { color: var(--ember-ink); }
.r-line { font-size: 19px; font-weight: 600; color: var(--ink2); max-width: 30ch; }
.r-date { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.rcard-share .r-big { margin-top: 0; font-size: clamp(40px, 5vw, 56px); }
.r-scale { max-width: 240px; margin: auto auto 0; }
.r-share { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; background: var(--ember); color: var(--on-accent); font-weight: 700; }
.rcard .cols { margin-top: 24px; }
.r-nav { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }

/* 6 scales */
.scales { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.sk-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.sk-tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--inset); font-weight: 650; font-size: 15px; color: var(--ink2); cursor: pointer; transition: background 160ms, color 160ms; }
.sk-tabs button[aria-selected="true"] { background: var(--card2); color: var(--ink); border-color: var(--edge); box-shadow: 0 1px 0 var(--spec) inset; }
.sk-stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 4vw, 56px); align-items: center; background: radial-gradient(90% 90% at 40% 30%, var(--card2), var(--card)); border: 1px solid var(--edge); border-radius: 34px; box-shadow: var(--shadow); padding: clamp(20px, 4vw, 48px); }
.sk-info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sk-unlock { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--inset); border: 1px solid var(--line); color: var(--teal-ink); }
.sk-unlock.is-pro { color: var(--ember-ink); }
.sk-unlock.is-ice { color: var(--ice); }
.sk-name { font-size: clamp(30px, 3.6vw, 44px); }
.sk-line { color: var(--ink2); }
.sk-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sk-list li { font-size: 14px; color: var(--ink2); border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; }
.sk-list b { color: var(--ink); font-size: 15px; }
@media (max-width: 760px) { .sk-stage { grid-template-columns: minmax(0, 1fr); } .sk-list { grid-template-columns: 1fr 1fr; } }

/* 7 badges */
.shelves { list-style: none; margin: 0; padding: 6px clamp(18px, 3vw, 28px); }
.shelves > li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
.shelves > li:first-child { border-top: 0; }
.shelves h3 { font-family: var(--text); font-size: 17px; font-weight: 650; letter-spacing: 0; font-variation-settings: normal; }
.shelves p { grid-column: 1 / -1; font-size: 14px; color: var(--ink3); }
.shelves .count { font-size: 14px; color: var(--ink3); font-weight: 600; font-variant-numeric: tabular-nums; }
.medals { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 var(--spec); }
.medal { min-width: 54px; height: 44px; padding: 0 8px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.medal span { display: grid; place-items: center; min-width: 46px; height: 24px; padding: 0 6px; font-size: 12px; font-weight: 800; letter-spacing: -0.01em; color: #2A2622; clip-path: polygon(14% 0, 86% 0, 100% 50%, 86% 100%, 14% 100%, 0 50%); background: linear-gradient(180deg, #E6E9ED, #9AA1A9 60%, #6F767E); }
.medal.final span { background: linear-gradient(180deg, oklch(0.93 0.07 90), oklch(0.74 0.11 80) 60%, oklch(0.52 0.09 66)); }
.medal[aria-pressed="true"] span { outline: 2px solid var(--teal); outline-offset: 3px; }
.b-detail { margin-top: 12px; padding: 18px 20px; border-radius: 20px; background: var(--inset); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; max-width: 420px; }
.b-name { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.b-takes { color: var(--ink2); }
.b-unlock { color: var(--teal-ink); font-weight: 600; font-size: 15px; }
.b-unlock:empty { display: none; }
.js .split-top .split-copy { position: sticky; top: 90px; }
@media (max-width: 880px) { .js .split-top .split-copy { position: static; } }

/* 8 walk-off */
.band-frost { background: linear-gradient(180deg, var(--band), color-mix(in oklab, var(--band) 88%, oklch(0.6 0.08 236))); }
.walkoff { display: flex; flex-direction: column; gap: 16px; }
.wo-scale { max-width: 360px; margin: 0 auto; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal i { aspect-ratio: 1.6; border-radius: 6px; background: var(--inset); border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink3); transition: background 200ms, color 200ms; }
.cal i.pad { visibility: hidden; }
.cal i.won { background: var(--ice); color: var(--on-accent); border-color: transparent; }
.wo-count { text-align: center; color: var(--ink2); font-weight: 600; font-variant-numeric: tabular-nums; }
.wo-count b { color: var(--ice); font-size: 20px; }

/* 9 challenge */
.challenge { display: flex; flex-direction: column; gap: 18px; }
.ch-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 32px; align-items: center; gap: 12px; }
.ch-who { font-weight: 700; }
.ch-pips { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ch-pips i { height: 30px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); transition: background 200ms; }
.ch-pips i.won { background: var(--teal); border-color: transparent; }
.ch-pips i.lost { box-shadow: 0 0 0 1.5px var(--ember) inset; }
.ch-score { font-family: var(--display); font-variation-settings: "wdth" 112; font-size: 26px; text-align: right; font-variant-numeric: tabular-nums; }
.ch-line { color: var(--ink2); font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }

/* 10 widgets */
.devices { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 32px); align-items: center; justify-content: center; }
.devices figure { margin: 0; }
.widget { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--edge); box-shadow: var(--shadow); border-radius: 30px; padding: 16px; }
.w-small { width: 180px; height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.w-small ts-scale { width: 100%; }
.w-small figcaption { display: flex; flex-direction: column; font-size: 13px; color: var(--ink2); }
.w-small figcaption b { color: var(--ember-ink); font-size: 15px; }
.w-medium { width: min(380px, 100%); height: 180px; display: flex; flex-direction: column; gap: 10px; }
.wm-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink2); }
.wm-head b { color: var(--ink); }
.w-medium .cols { --h: 40px; }
.watch-face { width: 184px; height: 224px; border-radius: 54px; background: #000; border: 6px solid #2A2D31; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; color: #F3F0E9; }
.watch-face ts-scale { width: 150px; }
.watch-face b { color: oklch(0.78 0.105 184); font-size: 15px; }

/* 11 privacy */
.privacy .wrap { display: flex; flex-direction: column; gap: 22px; }
.privacy h2 { font-size: clamp(36px, 5.4vw, 64px); max-width: 16ch; }
.pv-lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 52ch; }
.pv-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pv-list li { border-top: 2px solid var(--teal); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.pv-list b { font-size: 19px; }
.pv-list span { color: var(--ink2); font-size: 15px; }
@media (max-width: 700px) { .pv-list { grid-template-columns: 1fr; } }

/* 12 pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.price { background: var(--card); border: 1px solid var(--edge); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.price span { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink3); }
.price b { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; color: var(--ink3); }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } .price { flex-direction: row; align-items: baseline; gap: 12px; } }
.table-wrap { border: 1px solid var(--edge); border-radius: 24px; overflow: hidden; background: var(--card); }
.plans { width: 100%; border-collapse: collapse; font-size: 16px; }
.plans th, .plans td { padding: 14px clamp(14px, 2.4vw, 24px); text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.plans thead th { border-top: 0; font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 20px; background: var(--card2); }
.plans thead th:last-child { color: var(--teal-ink); }
.plans tbody th { font-weight: 600; width: 46%; }
.plans td { color: var(--ink2); width: 27%; }
.plans td.y, .plans td.n { font-size: 0; }
.plans td.y::before { content: ""; display: inline-block; width: 18px; height: 10px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg) translate(2px, -2px); }
.plans td.n::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--ink3); vertical-align: middle; margin-top: 10px; }
.fine { font-size: 13px; color: var(--ink3); margin-top: 14px; }
@media (max-width: 520px) { .plans { font-size: 15px; } .plans tbody th { width: auto; } }

/* 13 footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav a:hover { color: var(--ink); }
.foot .brand { font-size: 15px; }


/* ---- Round 21 as built (D-582): the app's own layouts where the board drew others ---- */
.get-line { font-size: 14px; color: var(--ink3); }
.sample-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); margin: 0 0 10px 4px; }
.week-wrap, .walkoff-wrap { min-width: 0; }
.center { text-align: center; }

/* 3 · the shipped Week hero: range and day, score "so far" and status, compact scale, chart, totals, forecast */
.wk-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 170px); align-items: center; gap: 12px; }
.wk-num { display: flex; align-items: baseline; gap: 8px; }
.wk-num b { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(60px, 7vw, 76px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.wk-num span { font-size: 15px; font-weight: 650; color: var(--ink2); }
.wk-status { font-size: 15px; color: var(--ink2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.wk-word { color: var(--teal-ink); font-weight: 700; }
.wk-scale { width: 100%; }
.wk-readout { align-self: flex-start; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.wk-readout[hidden] { display: none; }
.wk-totals { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink3); }
.wk-totals b { font-size: 20px; font-variant-numeric: tabular-nums; margin-right: 4px; }
.ember { color: var(--ember-ink); } .teal { color: var(--teal-ink); }
.week .cols { --h: 58px; }
.col.lost .up { opacity: 0.5; }
.col.lost .dot { background: var(--ember); box-shadow: none; }
.col.today .dot { background: transparent; box-shadow: 0 0 0 1.5px var(--ink) inset; }
.col.today .lbl { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.col.future { cursor: default; }
.col.future:hover { background: transparent; }
.col.future .up { background: transparent; border: 1.5px dashed var(--ink3); border-bottom: 0; }
.col.future .dot { background: transparent; box-shadow: none; border: 1.5px dashed var(--ink3); }

/* 4 · Coach */
.c-lost { font-size: 15px; color: var(--ink2); }
.c-count { font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.c-count b { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 28px; color: var(--teal-ink); margin-right: 4px; }
.seg legend span { text-transform: none; }

/* 5 · report cards as 1.6 has them */
.r-coach { padding: 12px 14px; border-radius: 16px; background: var(--inset); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 600; }
.r-score { display: flex; align-items: baseline; gap: 8px; }
.r-score b { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 40px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.r-score span, .r-rows dt { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }
.r-foot, .r-cap { font-size: 14px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.r-foot { margin-top: auto; }
.r-rows { margin: 12px 0 0; display: grid; gap: 14px; }
.r-rows div { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; gap: 12px; }
.r-rows dd { margin: 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: flex-end; }
.r-rows small { font-size: 13px; font-weight: 500; color: var(--ink3); }
.r-rows dt.r-ember { color: var(--ember-ink); } .r-rows dt.r-teal { color: var(--teal-ink); }
.r-days { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.r-days th, .r-days td { padding: 8px 4px; border-top: 1px solid var(--line); text-align: right; }
.r-days th { text-align: left; font-weight: 700; }
.r-days th span { font-weight: 500; color: var(--ink3); margin-left: 4px; }
.r-days td:last-child { font-weight: 700; }
.r-image { border-radius: 20px; background: #0D0F11; color: #F3F0E9; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.r-image .r-big { margin-top: 0; font-size: clamp(36px, 4vw, 48px); color: oklch(0.80 0.10 184); }
.r-image .r-line { font-size: 15px; color: rgba(243,240,233,0.72); }
.r-image .r-foot { color: rgba(243,240,233,0.54); font-size: 12px; margin-top: 0; }
.r-image .r-score span { color: rgba(243,240,233,0.54); }
.r-mark { font-size: 12px; color: rgba(243,240,233,0.54); }
.r-mark b { color: #F3F0E9; margin-right: 6px; }
.rcard-share .r-scale { max-width: 180px; margin: 0 auto; }

/* 8 · walk-off */
.wo-line { text-align: center; font-size: 14px; color: var(--ink2); }

/* 9 · challenge */
.ch-result { display: flex; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ch-result b { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 34px; color: var(--teal-ink); }

/* 10 · widgets as they ship: Small, Medium (no chart), the Watch's scale page */
.w-head { font-size: 13px; color: var(--ink2); }
.w-head b { font-size: 18px; color: var(--ink); margin-right: 2px; font-variant-numeric: tabular-nums; }
.w-sub { font-size: 12px; color: var(--ink3); }
.w-small figcaption { gap: 2px; }
.w-medium { flex-direction: row; gap: 14px; align-items: stretch; }
.wm-left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.wm-left ts-scale { width: 100%; max-width: 150px; margin-bottom: auto; }
.wm-right { margin: 0; width: 34%; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.wm-right dt { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }
.wm-right dd { margin: 0; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wm-right dd.w-sub { font-size: 12px; font-weight: 500; }
.watch-face .w-head { color: rgba(243,240,233,0.72); }
.watch-face .w-head b { color: #F3F0E9; }

/* 12 · prices: "a month" and "a year" under the two subscriptions; annual carries the paywall's tag */
.price-best { border-color: color-mix(in oklab, var(--teal) 55%, transparent); }
.price .tag { font-style: normal; margin-left: 8px; font-size: 11px; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 999px; background: var(--teal); color: var(--on-accent); }
.plans td.limit { color: var(--ink2); }

/* The Watch's phrase never breaks inside itself: on one line with the number, or under it (D-586). */
.w-phrase { white-space: nowrap; }
.watch-face .w-head { text-align: center; }
