/* Stand-ins for inline tags that hold icons */
:where(.t-span),:where(.t-b),:where(.t-i){display:inline}
:where(.t-b,.t-strong){font-weight:bolder} :where(.t-i,.t-em){font-style:italic} :where(.t-sup){vertical-align:super;font-size:smaller} :where(.t-sub){vertical-align:sub;font-size:smaller}
/* Layout: one dark column at 1160px. A loud uppercase hero with the week laid out as a strip of
   sessions, then alternating phone-and-copy rows, a how-it-connects line, pricing and questions.
   Single dark look on purpose: it is the app's own. Sport colours match the app. */
html {
  --bg: #0d0d0d;
  --surface: #17171a;
  --raised: #212126;
  --line: #2e2e34;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #ffd400;
  --on-accent: #0d0d0d;
  --lift: #ffd400;
  --ride: #4cc9f0;
  --run: #f472b6;
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --body: "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.xt { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: .01em; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(13,13,13,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mark svg { flex: none; }
.mark :is(span:where(:not(.t-b)),div:where(.t-span)) { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: #ffe14d; }
.btn.ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
header.top .btn { min-height: 40px; padding: 0 18px; font-size: 13px; }
@media (max-width: 860px) { header.top .btn { margin-left: auto; } }
@media (max-width: 480px) { header.top .btn { display: none; } }

/* Hero */
.hero { padding-block: 64px 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 72px); line-height: .95; font-weight: 900; margin-top: 18px; }
.hero h1 .l { color: var(--lift); } .hero h1 .r { color: var(--ride); } .hero h1 .n { color: var(--run); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink); max-width: 36em; margin-top: 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.soon { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Phone frame around a real capture */
.phone { width: 100%; max-width: 330px; margin-inline: auto; aspect-ratio: 750 / 1560; border-radius: 42px; padding: 10px; background: #050505; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03) inset; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; }

/* Week strip: the thesis */
.week { margin-top: 56px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 22px; }
.week-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; }
.week-head h2 { font-size: 20px; font-weight: 700; text-transform: none; }
.week-head p { color: var(--muted); font-size: 14px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.day { border-radius: 12px; background: var(--raised); padding: 12px 10px; min-height: 104px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.day :is(b,span:where(.t-b)) { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.day .s { font-size: 14px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.day .t { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.day.lift { box-shadow: inset 0 3px 0 var(--lift); } .day.ride { box-shadow: inset 0 3px 0 var(--ride); } .day.run { box-shadow: inset 0 3px 0 var(--run); }
.day.rest .s { color: var(--muted); font-weight: 500; }
.balance { display: flex; height: 12px; gap: 3px; margin-top: 20px; }
.balance :is(i,div:where(.t-i)) { display: block; height: 100%; border-radius: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.legend :is(span:where(:not(.t-b)),div:where(.t-span)) { display: inline-flex; align-items: center; gap: 8px; }
.legend :is(i,div:where(.t-i)) { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend :is(b,span:where(.t-b)) { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .days { grid-template-columns: repeat(7, minmax(108px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .day { scroll-snap-align: start; }
}

/* Sections */
section.band { padding-block: 88px; border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1; font-weight: 900; margin-top: 14px; }
.sec-head p { color: var(--muted); font-size: 19px; margin-top: 18px; max-width: 38em; }
.halves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.half { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.half h3 { font-size: 18px; font-weight: 700; margin-top: 10px; }
.half p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.half.us { border-color: var(--accent); }
.half .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--raised); color: var(--muted); }
.half.us .tag { background: var(--accent); color: var(--on-accent); }
@media (max-width: 860px) { .halves { grid-template-columns: minmax(0, 1fr); } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 56px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .copy { order: 2; }
.feature .copy h3 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.02; font-weight: 900; margin-top: 12px; }
.feature .copy > p { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 32em; }
.feature ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.feature li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; }
.feature li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 3px; background: var(--dot, var(--accent)); }
.figure { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 14px; color: var(--ink); background: var(--raised); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.feature .phone { max-width: 300px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px; }
  .feature:nth-child(even) .copy { order: 0; }
}

/* How it connects */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 40px; align-items: stretch; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-width: 0; }
.node.us { border-color: var(--accent); background: #1b1a10; }
.node :is(b,span:where(.t-b)) { display: block; font-size: 16px; }
.node :is(span:where(:not(.t-b)),div:where(.t-span)) { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.arrow { display: grid; place-items: center; color: var(--accent); font-size: 26px; font-weight: 700; }
.flow-note { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 60em; }
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); } .arrow { transform: rotate(90deg); height: 18px; } }

/* Privacy */
.privacy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.privacy .big { font-size: clamp(34px, 5.4vw, 64px); line-height: .98; font-weight: 900; }
.facts { display: grid; gap: 12px; }
.fact { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fact svg { margin-top: 2px; }
.fact p { color: var(--muted); font-size: 15px; }
.fact strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 860px) { .privacy { grid-template-columns: minmax(0, 1fr); } }

/* Pricing */
/* Three cards side by side at every width. The founder card sits in the middle, filled yellow and
   standing taller than the other two: it is the offer we lead with, to get people in early.
   On phones the row scrolls sideways (founder first) rather than stacking. */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr); gap: 16px; margin-top: 56px; align-items: stretch; }
.keep { margin-top: 16px; border: 1.5px solid var(--accent); border-radius: 22px; padding: 26px 30px; background: #1b1a10; display: grid; gap: 10px; }
.keep h3 { font-size: clamp(22px, 3vw, 32px); line-height: 1.05; font-weight: 900; color: var(--accent); }
.keep p { color: var(--ink); font-size: 17px; max-width: 60em; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plan.main { border-color: #5a5220; }
/* Founder */
.plan.founder { background: var(--accent); color: var(--on-accent); border: 0; margin-block: -24px; padding: 34px 32px; box-shadow: 0 0 0 6px rgba(255,212,0,.14), 0 24px 60px rgba(255,212,0,.16); position: relative; }
.plan.founder h3 { color: var(--on-accent); font-size: 17px; }
.plan.founder .price strong { font-size: 76px; }
.plan.founder .price :is(span:where(:not(.t-b)),div:where(.t-span)), .plan.founder p, .plan.founder ul { color: var(--on-accent); }
.plan.founder p { font-size: 17px; font-weight: 500; }
.plan.founder .pill { background: var(--on-accent); color: var(--accent); }
.plan.founder .btn.primary { background: var(--on-accent); color: var(--accent); }
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.limits div:where(:not(.t-span,.t-i)) { border: 2px solid var(--on-accent); border-radius: 14px; padding: 10px 14px; line-height: 1.15; }
.limits :is(b,span:where(.t-b)) { display: block; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 26px; text-transform: uppercase; white-space: nowrap; }
.limits :is(span:where(:not(.t-b)),div:where(.t-span)) { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.swipe { display: none; color: var(--muted); font-size: 14px; margin-top: 12px; }
.plans + .swipe + .keep { margin-top: 44px; }
@media (max-width: 980px) {
  .plans { gap: 12px; }
  .plan { padding: 24px 20px; }
  .plan.founder { padding: 28px 22px; }
  .plans .plan .price strong { font-size: clamp(30px, 4.2vw, 42px); }
  .plans .plan.founder .price strong { font-size: clamp(42px, 6vw, 58px); }
  .limits :is(b,span:where(.t-b)) { font-size: clamp(18px, 2.6vw, 24px); }
}
@media (max-width: 720px) {
  .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-top: 32px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding: 10px max(20px, env(safe-area-inset-left, 0px)) 14px; scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
  .plan { flex: 0 0 82%; scroll-snap-align: start; }
  .plan.founder { order: -1; margin-block: 0; box-shadow: 0 0 0 4px rgba(255,212,0,.14); }
  .plans .plan .price strong { font-size: 44px; }
  .plans .plan.founder .price strong { font-size: 58px; }
  .limits :is(b,span:where(.t-b)) { font-size: 24px; }
  .swipe { display: block; }
  .plans + .swipe + .keep { margin-top: 16px; }
}
.plan h3 { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 54px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; }
.price :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--muted); font-size: 16px; }
.plan p { color: var(--muted); font-size: 16px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--ink); font-size: 15px; display: grid; gap: 6px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.pill { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 60em; }

/* Questions */
.faq { margin-top: 32px; max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--accent); line-height: 1; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; max-width: 46em; }

/* Closing */
.closing { text-align: left; padding-block: 96px; border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(40px, 7vw, 88px); line-height: .92; font-weight: 900; }
.closing p { color: var(--muted); font-size: 19px; margin-top: 18px; }
.closing .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* ---- Pages beyond the home page (sport, planning, import) ---- */
/* On phones and small tablets the pages sit behind a menu button (three lines, a cross when open)
   that drops a panel down under the header. site.js opens and closes it. */
.menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: none; cursor: pointer; flex: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.menu-btn :is(span:where(:not(.t-b)),div:where(.t-span)) { display: block; width: 20px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .18s, opacity .18s; }
header.top.open .menu-btn :is(span:where(:not(.t-b)),div:where(.t-span)):nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.top.open .menu-btn :is(span:where(:not(.t-b)),div:where(.t-span)):nth-child(2) { opacity: 0; }
header.top.open .menu-btn :is(span:where(:not(.t-b)),div:where(.t-span)):nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  header.top .btn { margin-left: auto; }
}
@media (max-width: 480px) { .menu-btn { margin-left: auto; } }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.page-hero { padding-block: 28px 56px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 70px); line-height: .96; font-weight: 900; margin-top: 16px; overflow-wrap: anywhere; }
.page-hero .lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; max-width: 34em; margin-top: 22px; }
.page-hero .phone { max-width: 300px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.card h3 { font-size: 19px; line-height: 1.2; font-weight: 700; }
.card p { color: var(--muted); font-size: 16px; }
.card .k { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 30px; line-height: 1; color: var(--c, var(--accent)); text-transform: uppercase; }
.card.on { border-color: var(--c, var(--accent)); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; max-width: 820px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; font-size: 18px; }
.steps :is(b,span:where(.t-b)) { display: block; font-size: 17px; }
.steps :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--muted); font-size: 16px; }
.table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; }
table.src { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
table.src th, table.src td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.src th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--surface); }
table.src tr:last-child td { border-bottom: 0; }
table.src td:first-child { font-weight: 700; white-space: nowrap; }
table.src td :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--muted); }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 12px; max-width: 380px; margin-inline: auto; width: 100%; }
.mock .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.mock .row :is(span:where(:not(.t-b)),div:where(.t-span)):last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.mock .lbl { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.mock .big { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 40px; line-height: 1; }
.mock .bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.mock .bar :is(i,div:where(.t-i)) { display: block; height: 100%; border-radius: 4px; background: var(--c, var(--accent)); }
.mock .ex { font-size: 12px; color: var(--muted); }
.explore { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
@media (max-width: 520px) { .explore { grid-template-columns: 1fr; } }
.explore a { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--accent)); border-radius: 16px; padding: 20px; color: var(--ink); text-decoration: none; min-width: 0; }
.explore a:hover { border-color: var(--c, var(--accent)); }
.explore :is(b,span:where(.t-b)) { font-size: 18px; }
.explore :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--muted); font-size: 15px; }
.explore em { font-style: normal; color: var(--c, var(--accent)); font-weight: 700; font-size: 14px; margin-top: 4px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--accent); }

/* ---- Blog ---- */
.blog-hero { padding-block: 28px 40px; }
.blog-hero h1 { font-size: clamp(40px, 7vw, 80px); line-height: .94; font-weight: 900; margin-top: 14px; }
.blog-hero p { color: var(--muted); font-size: 19px; max-width: 36em; margin-top: 18px; }
.blog-group { padding-block: 36px; border-top: 1px solid var(--line); }
.blog-group h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; }
.blog-group > p { color: var(--muted); margin-top: 8px; max-width: 44em; }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 24px; }
.post-card { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--accent)); border-radius: 16px; padding: 20px; color: var(--ink); text-decoration: none; min-width: 0; }
.post-card:hover { border-color: var(--c, var(--accent)); }
.post-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--accent)); }
.post-card :is(b,span:where(.t-b)) { font-size: 19px; line-height: 1.25; }
.post-card :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--muted); font-size: 15px; }
.post-card small { color: var(--muted); font-size: 13px; margin-top: 4px; }
article.post { max-width: 720px; padding-block: 24px 56px; }
article.post header { display: grid; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
article.post header h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1; font-weight: 900; }
article.post header .dek { font-size: 20px; line-height: 1.5; color: var(--ink); }
article.post header .meta { color: var(--muted); font-size: 14px; }
.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(22px, 3vw, 28px); line-height: 1.1; font-weight: 900; margin-top: 40px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--c, var(--accent)); font-weight: 700; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--c, var(--accent)); font-size: 21px; line-height: 1.5; color: var(--ink); }
.prose code { background: var(--raised); padding: 2px 6px; border-radius: 6px; font-size: 15px; }
.prose a { text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
/* The example-athlete note: small print after the story. */
.prose .persona { margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat-row div:where(:not(.t-span,.t-i)) { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat-row :is(b,span:where(.t-b)) { display: block; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 26px; color: var(--c, var(--accent)); line-height: 1.1; }
.stat-row :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--muted); font-size: 14px; }
.sell { display: grid; gap: 10px; border-radius: 18px; padding: 22px 24px; background: #1b1a10; border: 1.5px solid var(--accent); margin-block: 30px !important; }
.sell :is(b,span:where(.t-b)) { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: 22px; line-height: 1.1; color: var(--accent); }
.sell p { color: var(--ink); font-size: 16px; line-height: 1.55; }
.sell .btn { justify-self: start; }
.sell.founder { background: var(--accent); border-color: var(--accent); }
.sell.founder :is(b,span:where(.t-b)), .sell.founder p { color: var(--on-accent); }
.sell.founder .btn.primary { background: var(--on-accent); color: var(--accent); }
.sell.link { background: var(--surface); border-color: var(--c, var(--line)); }
.sell.link :is(b,span:where(.t-b)) { color: var(--c, var(--accent)); }
.post-end { border-top: 1px solid var(--line); padding-block: 36px; }
.post-end h2 { font-size: 24px; font-weight: 900; }
.post-photo { margin: -4px 0 28px; }
.post-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: var(--surface); }
.post-photo figcaption { color: var(--muted); font-size: 12px; margin-top: 6px; text-align: right; }
.post-photo.inline { margin: 28px 0; }
.post-photo.inline img { border-radius: 12px; aspect-ratio: auto; }
.post-photo.inline.tall img { width: auto; max-width: 100%; max-height: 640px; margin: 0 auto; }
.post-photo.inline.tall figcaption { text-align: center; }
.post-card img { display: block; height: auto; width: calc(100% + 40px); max-width: none; margin: -20px -20px 6px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px 12px 0 0; background: var(--raised); }
.wide-photo { margin: 0 0 8px; }
.wide-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 20px; background: var(--surface); }
.wide-photo figcaption { color: var(--muted); font-size: 12px; margin-top: 6px; text-align: right; }
@media (max-width: 720px) { .wide-photo img { aspect-ratio: 16 / 10; } }
.explore a { grid-template-columns: 40% minmax(0, 1fr); grid-template-rows: minmax(16px, 1fr) auto auto auto minmax(16px, 1fr); column-gap: 0; padding: 0; overflow: hidden; }
.explore a img { grid-column: 1; grid-row: 1 / -1; display: block; width: 100%; height: 100%; min-height: 190px; max-width: none; margin: 0; object-fit: cover; background: var(--raised); }
.explore a > :is(b,span:where(.t-b)), .explore a > :is(span:where(:not(.t-b)),div:where(.t-span)), .explore a > em { grid-column: 2; margin: 0 20px; }
.explore a > :is(b,span:where(.t-b)) { grid-row: 2; }
.explore a > :is(span:where(:not(.t-b)),div:where(.t-span)) { grid-row: 3; }
.explore a > em { grid-row: 4; }

/* How it connects: a chunky pipeline. Sources flow through the phone's health app into Gamut;
   coloured packets travel along thick pipes, and the cards pop in when the section scrolls into view. */
.pipeline { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr) 84px minmax(0, 1fr); align-items: center; margin-top: 44px; }
.pnode { position: relative; display: grid; gap: 8px; align-content: start; height: 100%; background: linear-gradient(160deg, var(--raised), var(--surface) 60%); border: 2px solid var(--line); border-radius: 24px; padding: 28px 24px 26px; min-width: 0; transition: transform .25s ease, border-color .25s ease; }
.pnode:hover { transform: translateY(-4px); border-color: #4a4a52; }
.pnode :is(b,span:where(.t-b)) { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 21px; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; margin-top: 6px; }
.pnode .pdesc { color: var(--muted); font-size: 15px; }
.step { position: absolute; top: 18px; right: 20px; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #3a3a42; }
.ptiles { display: flex; gap: 10px; margin-bottom: 6px; }
.ptiles > :is(span:where(:not(.t-b)),div:where(.t-span)) { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 2px solid color-mix(in srgb, var(--c) 45%, transparent); }
.ptiles > :is(span:where(:not(.t-b)),div:where(.t-span)).big { width: 84px; height: 84px; border-radius: 24px; }
.ptiles > :is(span:where(:not(.t-b)),div:where(.t-span)).logo { background: #0d0d0d; border-color: var(--accent); }
.pnode.us { border-color: var(--accent); background: radial-gradient(120% 90% at 0% 0%, rgba(255, 212, 0, .16), transparent 60%), var(--surface); animation: glow 3.2s ease-in-out infinite; }
.pnode.us .step { -webkit-text-stroke-color: rgba(255, 212, 0, .45); }
.ptags { display: flex; gap: 8px; margin-top: 8px; }
.ptags em { font-style: normal; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #0d0d0d; background: var(--c); border-radius: 999px; padding: 4px 12px; }
.pipe { position: relative; height: 14px; margin: 0 -2px; border-radius: 999px; overflow: hidden; background: repeating-linear-gradient(90deg, #26262c 0 12px, #34343c 12px 20px); background-size: 40px 100%; animation: belt 1.2s linear infinite; box-shadow: inset 0 0 0 2px #2e2e34; }
.pipe :is(i,div:where(.t-i)) { position: absolute; top: 2px; left: -14px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); animation: packet 2.4s linear infinite; }
.pipe :is(i,div:where(.t-i)):nth-child(2) { animation-delay: .6s; }
.pipe :is(i,div:where(.t-i)):nth-child(3) { animation-delay: 1.2s; }
.pipe :is(i,div:where(.t-i)):nth-child(4) { animation-delay: 1.8s; }
.beat { transform-origin: 24px 26px; animation: beat 1.6s ease-in-out infinite; }
.ecg { stroke-dasharray: 48; stroke-dashoffset: 48; animation: ecg 1.6s linear infinite; }
.ptiles .logo svg { animation: spin-in 6s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes belt { to { background-position: 40px 0; } }
@keyframes packet { from { left: -14px; } to { left: 100%; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(.98); } 45% { transform: scale(1.06); } }
@keyframes ecg { 0% { stroke-dashoffset: 48; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0), 0 18px 50px -20px rgba(255, 212, 0, .25); } 50% { box-shadow: 0 0 0 6px rgba(255, 212, 0, .08), 0 18px 60px -16px rgba(255, 212, 0, .45); } }
@keyframes spin-in { 0%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(360deg); } }
/* Scroll-in: only when site.js arms it, so the section is always visible without script. */
.pipeline.armed .pnode, .pipeline.armed .pipe { opacity: 0; transform: translateY(28px) scale(.94); }
.pipeline.armed .pipe { transform: scaleX(0); transform-origin: left; }
.pipeline.armed.in .pnode, .pipeline.armed.in .pipe { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .9, .3, 1.25); }
.pipeline.armed.in > :nth-child(2) { transition-delay: .15s; }
.pipeline.armed.in > :nth-child(3) { transition-delay: .3s; }
.pipeline.armed.in > :nth-child(4) { transition-delay: .45s; }
.pipeline.armed.in > :nth-child(5) { transition-delay: .6s; }
@media (max-width: 860px) {
  .pipeline { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .pipe { justify-self: center; width: 14px; height: 52px; margin: -2px 0; background: repeating-linear-gradient(180deg, #26262c 0 12px, #34343c 12px 20px); background-size: 100% 40px; animation-name: belt-v; }
  .pipe :is(i,div:where(.t-i)) { left: 2px; top: -14px; animation-name: packet-v; }
  .pipeline.armed .pipe { transform: scaleY(0); transform-origin: top; }
  .pnode :is(b,span:where(.t-b)) { font-size: 19px; }
}
@keyframes belt-v { to { background-position: 0 40px; } }
@keyframes packet-v { from { top: -14px; } to { top: 100%; } }

/* The chunky look, carried across the home page (see "How it connects" above). */
/* Hero week: the days drop in and the balance bars fill when the page opens. */
.days .day { animation: pop .55s cubic-bezier(.2, .9, .3, 1.25) both; }
.days .day:nth-child(2) { animation-delay: .06s; } .days .day:nth-child(3) { animation-delay: .12s; } .days .day:nth-child(4) { animation-delay: .18s; }
.days .day:nth-child(5) { animation-delay: .24s; } .days .day:nth-child(6) { animation-delay: .3s; } .days .day:nth-child(7) { animation-delay: .36s; }
.balance { height: 14px; }
.balance :is(i,div:where(.t-i)) { border-radius: 999px; transform-origin: left; animation: fill 1s cubic-bezier(.2, .8, .2, 1) .45s both; }
.balance :is(i,div:where(.t-i)):nth-child(2) { animation-delay: .6s; } .balance :is(i,div:where(.t-i)):nth-child(3) { animation-delay: .75s; }
@keyframes fill { from { transform: scaleX(0); } }

/* Why it exists */
.half { position: relative; display: flex; flex-direction: column; background: linear-gradient(160deg, var(--raised), var(--surface) 60%); border: 2px solid var(--line); border-radius: 24px; padding: 26px; transition: transform .25s ease, border-color .25s ease; }
.half:hover { transform: translateY(-4px); border-color: #4a4a52; }
.half-top { display: flex; align-items: center; gap: 12px; }
.htile { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 2px solid color-mix(in srgb, var(--c) 45%, transparent); }
.htile.logo { background: #0d0d0d; border-color: var(--accent); }
.half h3 { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 22px; line-height: 1.05; text-transform: uppercase; margin-top: 18px; }
.half p { flex: 1; }
.half.us { border-color: var(--accent); background: radial-gradient(120% 90% at 0% 0%, rgba(255, 212, 0, .16), transparent 60%), var(--surface); animation: glow 3.2s ease-in-out infinite; }
.cover { display: flex; gap: 6px; margin-top: 20px; }
.cover :is(i,div:where(.t-i)) { flex: 1; display: grid; place-items: center; height: 34px; border-radius: 10px; font-style: normal; background: repeating-linear-gradient(135deg, #1f1f24 0 6px, #26262c 6px 12px); border: 2px dashed #34343c; }
.cover :is(i,div:where(.t-i)) :is(b,span:where(.t-b)) { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #55555e; }
.cover :is(i,div:where(.t-i)).on { background: var(--c); border: 2px solid var(--c); box-shadow: 0 0 18px -4px var(--c); }
.cover :is(i,div:where(.t-i)).on :is(b,span:where(.t-b)) { color: #0d0d0d; }
.half.us .cover :is(i,div:where(.t-i)).on { background: linear-gradient(110deg, var(--c) 40%, color-mix(in srgb, var(--c) 55%, #fff) 50%, var(--c) 60%); background-size: 250% 100%; animation: shine 2.8s ease-in-out infinite; }
.half.us .cover :is(i,div:where(.t-i)):nth-child(2) { animation-delay: .2s; } .half.us .cover :is(i,div:where(.t-i)):nth-child(3) { animation-delay: .4s; }
@keyframes shine { from { background-position: 100% 0; } 60%, to { background-position: -50% 0; } }

/* Features */
.feature .copy { position: relative; }
.fnum { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 7vw, 92px); line-height: .8; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--fc, var(--accent)) 55%, transparent); margin-bottom: 14px; }
.feature .copy .eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--fc, var(--accent)) 14%, transparent); border: 2px solid color-mix(in srgb, var(--fc, var(--accent)) 40%, transparent); }
.feature li::before { width: 14px; height: 14px; margin-top: 5px; border-radius: 5px; box-shadow: 0 0 12px -2px var(--dot, var(--accent)); }
.feature .phone { box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 2px color-mix(in srgb, var(--fc, var(--accent)) 25%, transparent), 0 0 70px -20px color-mix(in srgb, var(--fc, var(--accent)) 70%, transparent); animation: float 6s ease-in-out infinite; }
.feature:nth-child(odd) .phone { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Sports */
.explore a { border-width: 2px; border-top-width: 4px; border-radius: 24px; transition: transform .25s ease, border-color .25s ease; }
.explore a:hover { transform: translateY(-4px); }
.explore a img { transition: transform .5s ease; }
.explore a:hover img { transform: scale(1.06); }
.explore :is(b,span:where(.t-b)) { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 22px; text-transform: uppercase; line-height: 1.05; }

/* Privacy */
.fact { grid-template-columns: 54px minmax(0, 1fr); border-width: 2px; border-radius: 20px; align-items: center; }
.ftile { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 16px; background: rgba(255, 212, 0, .12); border: 2px solid rgba(255, 212, 0, .4); }
.ftile svg { width: 26px; height: 26px; margin-top: 0; }
.fact strong { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }

/* Pricing */
.plan { border-width: 2px; border-radius: 24px; }
.plan.founder { animation: founder-glow 3.2s ease-in-out infinite; }
@keyframes founder-glow { 0%, 100% { box-shadow: 0 0 0 6px rgba(255, 212, 0, .14), 0 24px 60px rgba(255, 212, 0, .16); } 50% { box-shadow: 0 0 0 12px rgba(255, 212, 0, .1), 0 24px 80px rgba(255, 212, 0, .34); } }

/* Scroll-in for any [data-pop] group: armed by site.js only when below the fold. */
[data-pop].armed > * { opacity: 0; }
[data-pop].armed.in > * { animation: pop .65s cubic-bezier(.2, .9, .3, 1.25) both; }
[data-pop].armed.in > :nth-child(2) { animation-delay: .12s; }
[data-pop].armed.in > :nth-child(3) { animation-delay: .24s; }
[data-pop].armed.in > :nth-child(4) { animation-delay: .36s; }
.feature[data-pop].armed.in > .copy { animation-name: slide-r; }
.feature[data-pop].armed.in > .phone { animation-name: rise; animation-delay: .15s; }
.feature:nth-child(odd)[data-pop].armed.in > .copy { animation-name: slide-l; }
@keyframes pop { from { opacity: 0; transform: translateY(32px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes slide-l { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes slide-r { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(60px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .feature:nth-child(odd)[data-pop].armed.in > .copy, .feature[data-pop].armed.in > .copy { animation-name: pop; }
  .half h3 { font-size: 20px; }
}

/* Comparison pages (compare-*.html): a price card, a scoreboard and a chunky checklist. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs-card { display: grid; gap: 12px; width: 100%; max-width: 400px; margin-inline: auto; padding: 26px; border-radius: 24px; border: 2px solid var(--line); background: linear-gradient(160deg, var(--raised), var(--surface) 60%); }
.vs-card .lbl { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.vs-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 6px; }
.vs-row :is(b,span:where(.t-b)) { display: block; font-size: 16px; }
.vs-row small { color: var(--muted); font-size: 13px; }
.vs-row strong { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 38px; line-height: 1; }
.vs-row.them strong { color: var(--muted); }
.vs-row.us strong { color: var(--accent); font-size: 48px; }
.vs-bar { height: 16px; border-radius: 999px; background: var(--raised); overflow: hidden; }
.vs-bar :is(i,div:where(.t-i)) { display: block; height: 100%; width: 100%; border-radius: 999px; transform-origin: left; animation: fill 1.1s cubic-bezier(.2, .8, .2, 1) .3s both; }
.vs-bar.them :is(i,div:where(.t-i)) { background: repeating-linear-gradient(135deg, #3a3a42 0 8px, #46464f 8px 16px); }
.vs-bar.us :is(i,div:where(.t-i)) { background: var(--accent); box-shadow: 0 0 18px -2px var(--accent); animation-delay: .7s; }
.vs-founder { margin-top: 6px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 212, 0, .1); border: 2px dashed rgba(255, 212, 0, .45); font-size: 14px; font-weight: 600; }
.vs-founder :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin-right: 4px; }
.score { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.score > div:where(:not(.t-span,.t-i)) { padding: 24px; border-radius: 24px; border: 2px solid var(--line); background: linear-gradient(160deg, var(--raised), var(--surface) 60%); }
.score > div:where(:not(.t-span,.t-i)):first-child { border-color: var(--accent); background: radial-gradient(120% 90% at 0% 0%, rgba(255, 212, 0, .16), transparent 60%), var(--surface); animation: glow 3.2s ease-in-out infinite; }
.score strong { display: block; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(48px, 7vw, 76px); line-height: 1; color: var(--accent); }
.score > div:where(:not(.t-span,.t-i)):not(:first-child) strong { color: var(--ink); }
.score :is(span:where(:not(.t-b)),div:where(.t-span)) { display: block; color: var(--muted); font-size: 15px; margin-top: 8px; }
.cmp { margin-top: 40px; display: grid; gap: 14px; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: 10px; }
.cmp-head { position: sticky; top: 64px; z-index: 2; padding: 12px 18px; border-radius: 18px; background: rgba(13, 13, 13, .92); backdrop-filter: blur(8px); border: 2px solid var(--line); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmp-head :is(span:where(:not(.t-b)),div:where(.t-span)) { text-align: center; }
.cmp-head :is(span:where(:not(.t-b)),div:where(.t-span)):first-child { text-align: left; }
.cmp-head .us :is(b,span:where(.t-b)) { display: block; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 18px; color: var(--accent); }
.cmp-head .us small { font-size: 11px; color: var(--muted); }
.cmp-group { border: 2px solid var(--line); border-radius: 22px; background: var(--surface); overflow: hidden; }
.cmp-g { padding: 14px 18px; background: var(--raised); font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.cmp-row { padding: 12px 18px; border-top: 1px solid var(--line); }
.cmp-row:nth-child(2) { border-top: 0; }
.cf { font-size: 15px; font-weight: 600; }
.cc { display: grid; place-items: center; text-align: center; min-height: 34px; }
.cc.yes :is(i,div:where(.t-i)) { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--ink); background: #2a2a30; border: 2px solid #3a3a42; }
.cc.yes.us :is(i,div:where(.t-i)) { color: #0d0d0d; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 16px -4px var(--accent); }
.cc.paid em { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--run); background: rgba(244, 114, 182, .12); border: 2px solid rgba(244, 114, 182, .4); border-radius: 999px; padding: 4px 10px; }
.cc.no :is(b,span:where(.t-b)) { color: #55555e; font-size: 22px; font-weight: 800; }
.cc.txt small { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.cc.txt.us small { color: var(--accent); }
.extras { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.extras li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; border: 2px solid var(--line); background: var(--surface); font-size: 16px; }
.extras :is(i,div:where(.t-i)) { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #0d0d0d; background: var(--accent); }
@media (max-width: 860px) {
  .score { grid-template-columns: minmax(0, 1fr); }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; padding: 14px; }
  .cmp-row .cf { grid-column: 1 / -1; }
  .cc { gap: 4px; }
  .cc::before { content: attr(data-l); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
}

/* Home: apps it works with (every day) and imports from (once). */
.apps { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 40px; align-items: start; }
.apps-panel { padding: 24px; border-radius: 24px; border: 2px solid var(--line); background: linear-gradient(160deg, var(--raised), var(--surface) 60%); }
.apps-panel.daily { border-color: rgba(76, 201, 240, .55); background: radial-gradient(120% 80% at 0% 0%, rgba(76, 201, 240, .14), transparent 60%), var(--surface); }
.apps-panel.once { border-color: rgba(255, 212, 0, .5); background: radial-gradient(120% 80% at 0% 0%, rgba(255, 212, 0, .12), transparent 60%), var(--surface); }
.apps-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.apps-head h3 { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 24px; line-height: 1; text-transform: uppercase; }
.apps-head p { color: var(--muted); font-size: 15px; margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.apps-badge { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; color: #0d0d0d; }
.daily .apps-badge { background: var(--ride); box-shadow: 0 0 22px -6px var(--ride); }
.daily .apps-badge svg { animation: spin-slow 6s linear infinite; }
.once .apps-badge { background: var(--accent); box-shadow: 0 0 22px -6px var(--accent); }
.once .apps-badge svg { animation: bob 2s ease-in-out infinite; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--good, #4ade80); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: live 1.8s ease-out infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(3px); } }
@keyframes live { to { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.app-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.once .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(13, 13, 13, .55); border: 2px solid var(--line); transition: transform .2s ease, border-color .2s ease; min-width: 0; }
.app:hover { transform: translateY(-2px); border-color: #4a4a52; }
.app > :is(span:where(:not(.t-b)),div:where(.t-span)):last-child { min-width: 0; }
.app :is(b,span:where(.t-b)) { display: block; font-size: 15px; line-height: 1.2; }
.app small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.app-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 2px solid color-mix(in srgb, var(--c) 45%, transparent); }
.apps-more { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 700; text-decoration: none; }
.apps-more:hover { text-decoration: underline; }
@media (max-width: 860px) { .apps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .app-grid, .once .app-grid { grid-template-columns: minmax(0, 1fr); } }
.apps-note { display: grid; gap: 4px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 212, 0, .1); border: 2px dashed rgba(255, 212, 0, .45); }
.apps-note :is(b,span:where(.t-b)) { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 15px; text-transform: uppercase; color: var(--accent); }
.apps-note :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--ink); font-size: 14.5px; }
.cmp.two .cmp-head, .cmp.two .cmp-row { grid-template-columns: minmax(0, 2.4fr) repeat(2, minmax(0, 1fr)); }
.cmp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 32px; }
.cmp-card { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 24px; border: 2px solid var(--line); border-top: 5px solid var(--c, var(--accent)); background: linear-gradient(160deg, var(--raised), var(--surface) 60%); color: var(--ink); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.cmp-card:hover { transform: translateY(-4px); border-color: var(--c, var(--accent)); }
.cmp-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cmp-card-top :is(b,span:where(.t-b)) { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1; }
.cmp-card-top em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 2px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.cmp-card-blurb { color: var(--muted); font-size: 15px; }
.cmp-card-stat { display: flex; align-items: baseline; gap: 10px; }
.cmp-card-stat :is(b,span:where(.t-b)) { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--accent); }
.cmp-card-stat :is(span:where(:not(.t-b)),div:where(.t-span)) { color: var(--muted); font-size: 13px; }
.cmp-card-go { color: var(--c, var(--accent)); font-weight: 700; font-size: 14px; }
@media (max-width: 860px) { .cmp.two .cmp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Balance the two app panels: equal widths and heights, notes and links sitting at the bottom. */
.apps { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.apps-panel { display: flex; flex-direction: column; }
.apps-panel .app-grid { flex: 1; align-content: start; }
.apps-panel .apps-note { margin-top: 16px; }
.once .app-grid .app:last-child:nth-child(odd) { grid-column: 1 / -1; }
.daily-note { background: rgba(76, 201, 240, .1); border-color: rgba(76, 201, 240, .45); }
.daily-note :is(b,span:where(.t-b)) { color: var(--ride); }
.daily .apps-more { color: var(--ride); }
@media (max-width: 860px) { .apps { grid-template-columns: minmax(0, 1fr); } }
.app.has-link { padding: 0; }
.app.has-link a { display: flex; align-items: center; gap: 12px; padding: 12px; width: 100%; color: inherit; text-decoration: none; min-width: 0; }
.app.has-link a > :is(span:where(:not(.t-b)),div:where(.t-span)):last-child { min-width: 0; }
.app em { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--c-link, var(--accent)); margin-top: 3px; }
.daily .app em { color: var(--ride); }
.app.has-link:hover { border-color: var(--accent); }
.daily .app.has-link:hover { border-color: var(--ride); }
.extras li:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Compare cards: keep long names and the tag inside the card. */
.cmp-card { min-width: 0; overflow: hidden; }
.cmp-card-top { flex-wrap: wrap; justify-content: flex-start; column-gap: 10px; row-gap: 8px; }
.cmp-card-top :is(b,span:where(.t-b)) { font-size: clamp(20px, 2.1vw, 24px); overflow-wrap: anywhere; }
.cmp-card-blurb, .cmp-card-stat :is(span:where(:not(.t-b)),div:where(.t-span)) { overflow-wrap: anywhere; }
.cmp-card-stat { min-width: 0; }
.cmp-card-top { flex-direction: column; align-items: flex-start; }
.cmp-card-top :is(b,span:where(.t-b)) { font-size: 21px; overflow-wrap: normal; white-space: nowrap; }
/* Works with: the two platforms, and everything else that reaches them. */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: -4px 0 14px; }
.platforms :is(span:where(:not(.t-b)),div:where(.t-span)) { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: rgba(76, 201, 240, .12); border: 2px solid rgba(76, 201, 240, .4); font-size: 14px; color: var(--ink); min-width: 0; }
.platforms svg { color: var(--ride); flex: none; }
.platforms :is(b,span:where(.t-b)) { font-weight: 800; }
.also { margin-top: 14px; }
.also-lbl { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.also-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.also-chips li { font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(13, 13, 13, .55); border: 2px solid var(--line); color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.also-chips li:hover { border-color: var(--ride); transform: translateY(-1px); }
@media (max-width: 520px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
/* Platform pills: a small label over the app's name, the same on both. */
.platforms :is(span:where(:not(.t-b)),div:where(.t-span)) { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px; align-items: center; padding: 10px 14px; }
.platforms svg { grid-row: 1 / span 2; width: 20px; height: 20px; }
.platforms em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ride); line-height: 1.2; }
.platforms :is(b,span:where(.t-b)) { font-size: 15px; font-weight: 800; white-space: nowrap; line-height: 1.2; }

/* The founder's letter: a real photograph beside a short letter in the founder's words. */
.letter { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.letter img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; border: 2px solid var(--line); }
.letter h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1; font-weight: 900; margin-bottom: 18px; }
.letter p { font-size: 18px; line-height: 1.6; max-width: 34em; margin-top: 14px; }
.letter .sign { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; color: var(--accent); margin-top: 22px; }
.letter .sign a { font-family: var(--body); font-stretch: normal; font-variation-settings: normal; text-transform: none; font-weight: 700; font-size: 16px; color: var(--ink); }
@media (max-width: 860px) { .letter { grid-template-columns: minmax(0, 1fr); gap: 28px; } .letter img { aspect-ratio: 4 / 3; } }
/* Readability and keyboard (taste-skill's contrast and focus checks). */
html { --muted: #b0b0b8; }
.cover :is(i,div:where(.t-i)) :is(b,span:where(.t-b)) { color: #9a9aa3; }
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.explore a:focus-visible { outline-offset: 4px; }
.week-head .week-title { font-size: 20px; font-weight: 700; color: var(--ink); }
/* Focus never lands under the sticky header. */
html { scroll-padding-top: 96px; }

/* ---- The menu: two dropdown groups and two links, each with a line icon (build/nav.js) ---- */
nav.links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-group { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: 700 14px/1 var(--body); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.nav-top > svg:first-child { color: var(--c); transition: transform .2s; }
.nav-top .chev { color: var(--muted); transition: transform .2s; }
.nav-top:hover, .nav-top[aria-expanded="true"] { background: var(--raised); }
.nav-top:hover > svg:first-child, .nav-top[aria-expanded="true"] > svg:first-child { transform: translateY(-1px) rotate(-6deg) scale(1.08); }
.nav-top[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-top.here, .nav-top[aria-current="page"] { color: var(--c); }
.nav-drop { position: absolute; top: calc(100% + 10px); left: 50%; width: 340px; padding: 10px; display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.65); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .16s, transform .16s, visibility 0s .16s; }
.nav-drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-group.wide .nav-drop { width: 560px; grid-template-columns: 1fr 1fr; }
.nav-top[aria-expanded="true"] + .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .16s, transform .16s; }
.nav-drop a { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .15s; }
.nav-drop a :is(i,div:where(.t-i)) { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1.5px solid color-mix(in srgb, var(--c) 35%, transparent); transition: transform .2s, background .2s; }
.nav-drop a :is(b,span:where(.t-b)) { font-size: 15px; font-weight: 700; line-height: 1.25; }
.nav-drop a small { font-size: 13px; line-height: 1.35; color: var(--muted); }
.nav-drop a:hover, .nav-drop a[aria-current="page"] { background: var(--raised); }
.nav-drop a:hover :is(i,div:where(.t-i)) { transform: rotate(-6deg) scale(1.06); background: color-mix(in srgb, var(--c) 24%, transparent); }
.nav-drop a[aria-current="page"] :is(b,span:where(.t-b)) { color: var(--c); }
@media (max-width: 1040px) and (min-width: 861px) { .nav-top { padding: 0 9px; gap: 6px; } nav.links { gap: 0; } }
@media (max-width: 860px) {
  nav.links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.6); max-height: calc(100vh - 72px); overflow-y: auto; }
  header.top.open nav.links { display: flex; }
  .nav-top { width: 100%; min-height: 52px; padding: 0 4px; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-top:hover, .nav-top[aria-expanded="true"] { background: none; }
  .nav-top .chev { margin-left: auto; }
  nav.links > a.nav-top:last-child { border-bottom: 0; }
  .nav-drop, .nav-group.wide .nav-drop { position: static; width: auto; grid-template-columns: minmax(0, 1fr); display: none; padding: 6px 0 12px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav-drop::before { display: none; }
  .nav-top[aria-expanded="true"] { border-bottom-color: transparent; }
  .nav-top[aria-expanded="true"] + .nav-drop { display: grid; transform: none; }
  .nav-drop a { padding: 8px 4px; }
}

/* ---- Card grids pick their columns from how many cards they hold, so no row is left with one or
   two orphans: 3 cards sit 3-up, 4 sit 4-up then 2x2, 5 sit 3+2, 7 sit 4+3. ---- */
.cards, .cmp-cards { --n: 3; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.cards:has(> :nth-child(4)), .cmp-cards:has(> :nth-child(4)) { --n: 4; }
.cards:has(> :nth-child(5):last-child), .cmp-cards:has(> :nth-child(5):last-child) { --n: 6; }
.cards:has(> :nth-child(5):last-child) > *, .cmp-cards:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
.cards:has(> :nth-child(5):last-child) > :nth-child(n+4), .cmp-cards:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
.cards:has(> :nth-child(7):last-child) > :last-child, .cmp-cards:has(> :nth-child(7):last-child) > :last-child { grid-column: span 2; }
.cmp-cards:has(> :only-child) { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 1180px) {
  .cards:has(> :nth-child(4)), .cmp-cards:has(> :nth-child(4)) { --n: 2; }
  .cards:has(> :nth-child(4)) > *, .cmp-cards:has(> :nth-child(4)) > * { grid-column: auto; }
  .cards:has(> :nth-child(7):last-child) > :last-child,
  .cmp-cards:has(> :nth-child(7):last-child) > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .cards, .cmp-cards { grid-template-columns: minmax(0, 1fr) !important; } .cards > *, .cmp-cards > * { grid-column: auto !important; } }
/* Blog lists come in groups of 2, 3, 6 and 9: 3-up (2-up for a pair) keeps every row full. */
.post-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-cards:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .post-cards, .post-cards:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* App tiles sit two to a row; an odd last tile takes the whole row. */
.app-grid > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
/* Phones: the open menu fills the screen below the header on solid black, and the page behind
   stops scrolling. Hover tints only on devices with a real pointer, so a tap doesn't leave one stuck. */
@media (max-width: 860px) {
  header.top.open { background: var(--bg); backdrop-filter: none; }
  header.top.open nav.links { height: calc(100dvh - 100% - env(safe-area-inset-top, 0px)); max-height: none; box-shadow: none; border-bottom: 0; overscroll-behavior: contain; padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
  /* Pinned to the top of the screen while open, so it covers the page wherever it was scrolled to
     (locking the page with overflow: hidden made iOS drop the header down the screen). */
  header.top.open { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; }
}
@media (hover: none) {
  .nav-drop a:hover:not([aria-current="page"]) { background: none; }
  .nav-drop a:hover :is(i,div:where(.t-i)) { transform: none; background: color-mix(in srgb, var(--c) 14%, transparent); }
}
/* A first-hand note from the founder on a compare page: a small photo beside a short quote. */
.founder-note { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; margin: 28px 0 0; padding: 26px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 20px; background: var(--surface); }
.founder-note img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 2px solid var(--line); }
.founder-note blockquote { margin: 0; }
.founder-note blockquote p { margin: 0 0 10px; font-size: 18px; line-height: 1.6; }
.founder-note figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-top: 6px; }
.founder-note figcaption :is(b,span:where(.t-b)) { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; color: var(--accent); }
.founder-note figcaption a { color: var(--ink); font-weight: 700; font-size: 15px; }
@media (max-width: 560px) { .founder-note { grid-template-columns: minmax(0, 1fr); padding: 20px; } .founder-note img { width: 72px; height: 72px; } }
.founder-note img { object-position: 50% 30%; }
/* "Import from" tiles: what a year of Gamut saves against that app's lowest yearly price. */
.app :is(i,div:where(.t-i)).save { display: inline-block; font-style: normal; font-size: 12px; font-weight: 800; line-height: 1; margin-top: 6px; padding: 4px 7px; border-radius: 999px; color: var(--on-accent); background: var(--accent); }
.app :is(i,div:where(.t-i)).save.free { color: var(--muted); background: none; border: 1px solid var(--line); }
.apps-save-note { margin-top: 10px; }
.cmp-card :is(i,div:where(.t-i)).save { justify-self: start; font-style: normal; font-size: 13px; font-weight: 800; line-height: 1; padding: 6px 10px; border-radius: 999px; color: var(--on-accent); background: var(--accent); }
.cmp-card :is(i,div:where(.t-i)).save.free { color: var(--muted); background: none; border: 2px solid var(--line); }
/* Two-word source names (Health Connect, Samsung Health, Garmin Connect) wrap onto two lines rather
   than spill out of a 4-up card. */
.cmp-card-top :is(b,span:where(.t-b)) { white-space: normal; overflow-wrap: normal; font-size: 21px; line-height: 1.05; }
/* "Try it free" at the bottom of the phone menu, where the header has no room for it (the hub's
   decision, 29 Nov 2026: A). Hidden on wider screens, which keep the header button. */
.nav-cta { display: none; }
@media (max-width: 860px) {
  .nav-cta { display: grid; gap: 8px; justify-items: center; margin-top: auto; position: sticky; bottom: 0; padding: 16px 0 4px; background: linear-gradient(to bottom, transparent, var(--bg) 18px); }
  header.top .nav-cta .btn { display: inline-flex; width: 100%; min-height: 52px; margin: 0; font-size: 16px; justify-content: center; }
  .nav-cta small { color: var(--muted); font-size: 14px; }
}
/* Blog lists with a bold lead on every item get a tinted line icon per item (build/blog/icons.js). */
.post ul.icon-list { list-style: none; padding-left: 0; display: grid; gap: 14px; }
.post ul.icon-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0; padding: 0; }
.post ul.icon-list li::before, .post ul.icon-list li::marker { content: none; }
.post ul.icon-list :is(i,div:where(.t-i)) { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent); border: 1.5px solid color-mix(in srgb, var(--c, var(--accent)) 35%, transparent); }
.post ul.icon-list :is(span:where(:not(.t-b)),div:where(.t-span)) { padding-top: 7px; }

/* ---- Badges: a page per badge (medal, every tier, how to earn it) and the all-badges page with sport tabs ---- */
.badge-hero .wrap { display: flex; gap: 28px; align-items: center; }
.badge-hero .medal { flex: none; }
@media (max-width: 640px) { .badge-hero .wrap { flex-direction: column; align-items: flex-start; } .badge-hero .medal { width: 96px; height: 96px; } }
.tiers-h { margin: 24px 0 12px; font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.tiers li { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 16px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.tiers li :is(b,span:where(.t-b)) { font-size: 15px; line-height: 1.25; }
.tiers li small { font-size: 13px; color: var(--muted); }
.tiers li .tc { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.badge-how .how { font-size: 18px; line-height: 1.55; max-width: 60ch; margin: 8px 0 20px; }
.badge-how .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.badge-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.badge-tabs [role=tab] { font: 700 14px/1 var(--body); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); background: var(--raised); border: 0; border-radius: 999px; padding: 11px 18px; min-height: 40px; cursor: pointer; }
.badge-tabs [role=tab][aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
html:not(.badge-js) .badge-tabs { display: none; }
.badge-js .badge-tabname { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.badge-tabname { font-size: 24px; margin: 32px 0 0; }
.badge-sec { margin: 28px 0 12px; font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.badge-panel > .badge-sec:first-of-type { margin-top: 0; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.badge-tile { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 18px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.badge-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.badge-tile :is(b,span:where(.t-b)) { font-size: 15px; line-height: 1.25; }
.badge-tile small { font-size: 12.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .badge-tile { transition: none; } .badge-tile:hover { transform: none; } }

/* Inline styles from the static pages */
.gs-1{--c:var(--lift)}
.gs-2{--c:var(--ride)}
.gs-3{--fc:var(--lift)}
.gs-4{color:var(--lift)}
.gs-5{--dot:var(--lift)}
.gs-6{--fc:var(--ride)}
.gs-7{color:var(--ride)}
.gs-8{--dot:var(--ride)}
.gs-9{--fc:var(--run)}
.gs-10{color:var(--run)}
.gs-11{--dot:var(--run)}
.gs-12{--fc:var(--accent)}
.gs-13{--c:var(--run)}
.gs-14{--c:var(--accent)}
.gs-15{--c:var(--ink)}
.gs-16{background:var(--raised);color:var(--ink)}
.gs-17{background:var(--raised);color:var(--accent)}
.gs-18{color:var(--accent)}
.gs-19{--dot:var(--accent)}
.gs-20{color:var(--good, #4ade80)}
.gs-21{--dot:var(--good, #4ade80)}
.gs-22{padding-top:20px}
.gs-23{color:var(--muted)}
.gs-24{grid-template-columns:minmax(0,1fr);margin-top:0;max-width:380px;margin-inline:auto}
.gs-25{transform:rotate(90deg);height:18px}
.gs-26{--c:var(--good, #4ade80)}
.gs-27{--c:var(--muted)}