/* Overpress — overpress.app. One stylesheet, no framework, no web font.
   Colours and radii mirror AppMuscu/DesignSystem/Theme.swift.

   The system, so nothing is sized by eye:
   - spacing   4 8 12 16 24 32 48 64 96 128
   - type      display / title / lede 20 / body 17 / small 14
   - layout    one container (1120 + gutters), one 12-column grid;
               every product section splits the same way: 5 columns of copy,
               1 empty, 6 holding the device, alternating sides
   - rhythm    every section carries half a --section above and below, so the
               distance between two sections is always one --section
   - product   one iPhone (.device), same width, bezel and radius everywhere;
               it shows a real screenshot or a screen redrawn from the app */
:root {
  --bg: #000;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --surface-3: #3a3a3c;
  --text: #fff;
  --text-2: rgba(235, 235, 245, .68);
  --text-3: rgba(235, 235, 245, .55);
  --hair: rgba(255, 255, 255, .08);
  --hair-2: rgba(255, 255, 255, .16);
  --volt: #d2f34c;
  --ink: #0b0c05;
  --gold: #f2c94c;
  --effort: #ff8a3d;
  --r-card: 22px;
  --r-btn: 14px;
  --r-field: 12px;
  --pad: clamp(20px, 5vw, 48px);
  --gap: 24px;
  --section: 128px;
  --device: clamp(248px, 21vw, 296px);
  --t-display: clamp(30px, 11cqw, 68px);
  --t-title: clamp(26px, 8.4cqw, 40px);
  --t-lede: 20px;
  --t-body: 17px;
  --t-small: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 999px) { :root { --section: 96px; } }
@media (max-width: 759px) { :root { --device: min(68vw, 272px); --t-lede: 18px; } }
@media (max-width: 599px) { :root { --gap: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body {
  background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: var(--t-body); line-height: 1.47; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--volt); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 50; background: var(--volt); color: var(--ink); padding: 12px 16px; border-radius: var(--r-btn); font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }

/* ---------- layout */
.wrap { width: 100%; max-width: calc(1120px + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.wrap.narrow { max-width: calc(736px + 2 * var(--pad)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.grid > * { min-width: 0; }
main > section { padding-block: calc(var(--section) / 2); overflow-x: clip; }

/* ---------- type */
h1, h2, h3 { font-weight: 700; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: 34px; font-size: var(--t-display); line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: 30px; font-size: var(--t-title); line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: var(--t-body); line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
/* The second half of a headline steps back, the way the app pairs a title with its secondary line. */
h1 em, h2 em { display: block; font-style: normal; color: rgba(235, 235, 245, .5); }
p { text-wrap: pretty; }
.nw { white-space: nowrap; }
.lede { font-size: var(--t-lede); line-height: 1.4; letter-spacing: -.017em; color: var(--text-2); max-width: 30em; }
.eyebrow { font-size: var(--t-small); line-height: 1.45; font-weight: 600; letter-spacing: -.005em; color: var(--volt); }
.note, .fine { font-size: var(--t-small); line-height: 1.45; color: var(--text-3); }

/* ---------- navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .94); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); border-bottom: 1px solid var(--hair); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: #000; } }
.nav .wrap { display: flex; align-items: center; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 18px; line-height: 1; font-weight: 700; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand .mark { width: 15px; height: 22px; flex: none; transform: translateY(-2px); }
.nav nav { margin-left: auto; display: flex; }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: var(--t-small); color: var(--text-2); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav nav a:hover, .lang:hover { color: var(--text); }
.lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin-left: 4px; font-size: var(--t-small); font-weight: 600; letter-spacing: .02em; color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; margin-left: 4px; text-decoration: none; }
.nav-cta span { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 16px; background: var(--volt); color: var(--ink); font-size: var(--t-small); font-weight: 600; white-space: nowrap; transition: background .2s; }
.nav-cta:hover span { background: #e0fa6e; }
@media (max-width: 899px) { .nav nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 359px) { .nav-cta span { padding: 0 12px; } }

/* ---------- actions */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px 24px; border-radius: var(--r-btn); background: var(--volt); color: var(--ink); font-size: var(--t-body); font-weight: 600; letter-spacing: -.015em; text-decoration: none; text-wrap: balance; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: #e0fa6e; }
.btn:active { transform: scale(.98); }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--t-body); font-weight: 500; color: var(--text); text-decoration: none; }
.link svg { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform .25s var(--ease), color .2s; }
.link:hover svg { transform: translateX(3px); color: var(--volt); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }

/* ---------- device: one iPhone, everywhere. Every measure follows its width. */
.visual { position: relative; display: grid; place-items: center; }
.visual::before { content: ""; position: absolute; z-index: -1; inset: 4% -6%; background: radial-gradient(closest-side, rgba(210, 243, 76, .1), rgba(210, 243, 76, 0)); pointer-events: none; }
.device { position: relative; container-type: inline-size; width: var(--device); max-width: 100%; }
.bezel { padding: 8px; padding: 3cqw; border-radius: 48px; border-radius: 17cqw; background: #060606; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 0 0 calc(1px + .9cqw) #19191b, 0 0 0 1px #000; }
.bezel > img, .ui { display: block; width: 100%; aspect-ratio: 660 / 1434; border-radius: 40px; border-radius: 14.2cqw; background: #000; }

/* A tap on an iPhone opens it large (#zoom). The whole phone is the target: the
   screens are full of buttons people try. Only with scripts, so it never does nothing. */
.zoom { display: none; }
.js .zoom { display: block; position: absolute; inset: 0; width: 100%; padding: 0; border: 0; border-radius: 17cqw; background: none; color: inherit; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.js .zoom:focus-visible { outline-offset: 4px; border-radius: 17cqw; }
.bezel { transition: transform .45s var(--ease); }
@media (hover: hover) { .js .visual .device:hover .bezel { transform: translateY(-4px); } }

.zoom-dlg { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: max(16px, env(safe-area-inset-top)) var(--pad) max(16px, env(safe-area-inset-bottom)); border: 0; background: transparent; color: var(--text); overflow: auto; overscroll-behavior: contain; }
.zoom-dlg[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.zoom-dlg::backdrop { background: rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.zoom-dlg[open], .zoom-dlg[open]::backdrop { animation: zoom-in .35s var(--ease); }
@keyframes zoom-in { from { opacity: 0; } }
.zoom-stage .device { width: min(400px, 84vw, (100vh - 216px) * .455); width: min(400px, 84vw, (100svh - 216px) * .455); }
.zoom-cap { max-width: 32em; min-height: 2.9em; font-size: var(--t-small); line-height: 1.45; color: var(--text-2); text-align: center; text-wrap: balance; }
.zoom-bar { display: flex; align-items: center; gap: 12px; }
.zoom-bar .btn { min-height: 44px; padding-inline: 20px; font-size: var(--t-small); }
.zoom-nav, .zoom-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); cursor: pointer; transition: background .2s; }
.zoom-nav:hover, .zoom-x:hover { background: var(--surface-3); }
.zoom-nav svg, .zoom-x svg { width: 18px; height: 18px; }
.zoom-nav.next svg { transform: scaleX(-1); }
.zoom-x { position: absolute; top: max(16px, env(safe-area-inset-top)); right: var(--pad); }
html.zoomed { overflow: hidden; }
/* Narrow screens: the close button gets its own row above the iPhone. */
@media (max-width: 599px) {
  .zoom-dlg { padding-top: calc(max(16px, env(safe-area-inset-top)) + 60px); }
  .zoom-stage .device { width: min(84vw, (100vh - 290px) * .455); width: min(84vw, (100svh - 290px) * .455); }
}

/* ---------- hero */
.hero { padding-top: 64px; }
.hero .grid { align-items: center; }
.hero-copy { grid-column: 1 / span 7; container-type: inline-size; }
.hero-copy h1 { margin-top: 16px; }
.hero-copy .lede { margin-top: 24px; max-width: 24em; }
.hero-copy .cta { margin-top: 32px; }
.hero-copy .note { margin-top: 16px; }
.hero-copy { grid-row: 1; }
.hero .visual { grid-column: 7 / span 6; grid-row: 1; }
/* Never taller than the screen it is shown on. */
.hero .device { width: min(var(--device), max(208px, (100vh - 248px) * .455)); width: min(var(--device), max(208px, (100svh - 248px) * .455)); }
@media (max-width: 759px) {
  .hero { padding-top: 48px; }
  .hero-copy, .hero .visual { grid-column: 1 / -1; grid-row: auto; }
  .hero .visual { margin-top: 64px; }
  .hero .device { width: var(--device); }
}

/* the four facts: one hairline each, on the grid */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); margin-top: 96px; }
.facts > div { padding-top: 16px; border-top: 1px solid var(--hair-2); min-width: 0; }
.facts dt { font-size: var(--t-body); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.facts dd { margin-top: 4px; font-size: var(--t-small); line-height: 1.45; color: var(--text-2); text-wrap: balance; }
@media (max-width: 899px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; margin-top: 64px; } }

/* ---------- feature sections: one point, one iPhone */
.feature .grid { align-items: center; }
.copy { grid-column: 1 / span 5; container-type: inline-size; }
.feature .visual { grid-column: 7 / span 6; }
.flip .copy { grid-column: 8 / span 5; grid-row: 1; }
.flip .visual { grid-column: 1 / span 6; grid-row: 1; }
.copy h2 { margin-top: 12px; }
.copy .body { margin-top: 24px; color: var(--text-2); max-width: 30em; }
.points { display: grid; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hair); }
.points li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--t-small); line-height: 1.45; color: var(--text-2); }
.points svg, .plan li svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--volt); }
.points span, .plan li span { min-width: 0; }
.copy .more { margin-top: 20px; font-size: var(--t-small); color: var(--text-2); transition: color .2s; }
.copy .more:hover { color: var(--text); }
@media (max-width: 999px) {
  .copy { grid-column: 1 / span 6; }
  .flip .copy { grid-column: 7 / span 6; }
}
@media (max-width: 759px) {
  .copy, .feature .visual, .flip .copy, .flip .visual { grid-column: 1 / -1; grid-row: auto; }
  .feature .visual { margin-top: 48px; }
}

/* ---------- screens redrawn from the app, inside the device. 1em = 16 pt of
   the app on a 393 pt wide screen, so they sit at the scale of the screenshots. */
.ui { display: flex; flex-direction: column; overflow: hidden; font-size: 11px; font-size: 3.827cqw; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: normal; color: #fff; }
.ui-in { display: contents; }
.ui b { font-weight: inherit; }
.ui i, .ui u { display: block; font-style: normal; text-decoration: none; }
.ui p { text-wrap: wrap; }
.sb { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .4em; height: 3.4em; padding: .55em 1.5em 0 2.1em; font-size: 1em; font-weight: 600; letter-spacing: 0; }
.sb .pill { width: 7.7em; height: 2.2em; border-radius: 99px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07); }
.sb svg { justify-self: end; height: .75em; width: auto; }
.bar { flex: none; display: grid; grid-template-columns: 2.25em minmax(0, 1fr) 2.25em; align-items: center; gap: .5em; padding: .6em 1em .9em; }
.bar > i { display: grid; place-items: center; width: 2.25em; height: 2.25em; border-radius: 50%; background: var(--surface); }
.bar > i svg { width: 1em; height: 1em; }
.bar > b { text-align: center; font-size: 1.0625em; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.ui-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .75em; padding: .25em 1em 0; }
.homebar { flex: none; width: 8.7em; height: .32em; margin: .7em auto .55em; border-radius: 99px; background: rgba(255, 255, 255, .9); }
.k-caps { font-size: .6875em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

/* coach (CoachAISheet): the athlete in a quiet bubble, the coach on the page, the edit waiting for a yes */
.k-me { align-self: flex-end; max-width: 86%; padding: .59em .82em; border-radius: 1.125em; background: var(--surface-2); font-size: 1.0625em; }
.k-say { margin-top: .25em; font-size: 1.0625em; line-height: 1.4; }
.k-action { display: grid; gap: .25em; padding: 1em; border-radius: 1.125em; background: var(--surface); }
.k-title { font-size: .9375em; font-weight: 600; line-height: 1.35; }
.k-title b { display: inline-block; }
.k-title span { color: var(--text-3); padding-inline: .1em; }
.k-reach { display: flex; align-items: center; gap: .4em; font-size: .8125em; font-weight: 600; color: var(--volt); }
.k-reach svg { flex: none; width: 1.15em; height: 1.15em; }
.k-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .625em; margin-top: .6em; }
.k-btns span { display: grid; place-items: center; min-height: 2.75em; padding: .2em .4em; border-radius: 99px; background: var(--surface-2); font-size: .9375em; font-weight: 600; text-align: center; }
.k-btns .go { background: var(--volt); color: var(--ink); }
.k-input { flex: none; display: flex; align-items: center; gap: .625em; padding: .5em 1em 0; }
.k-input span { flex: 1; min-width: 0; padding: .69em 1em; border-radius: 1.375em; background: var(--surface); color: var(--text-3); }
.k-input i { flex: none; display: grid; place-items: center; width: 2.75em; height: 2.75em; border-radius: 50%; background: var(--volt); color: var(--ink); opacity: .35; }
.k-input svg { width: 1.1em; height: 1.1em; }

/* lock screen (WorkoutLiveActivityWidget): the compact island on top, the Live Activity below */
.ui-lock { background: radial-gradient(120% 60% at 50% 0%, #252b10 0%, #0d0f07 55%, #050505 100%); }
.ui-lock .sb { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-inline: 1.5em 1.3em; }
.ui-lock .pill { display: flex; align-items: center; justify-content: space-between; gap: .6em; width: auto; min-width: 11.4em; padding: 0 .75em; color: var(--volt); font-family: var(--round); font-variant-numeric: tabular-nums; }
.ui-lock .pill span { display: flex; align-items: center; gap: .2em; }
.ui-lock .pill .glyph { width: auto; height: 1em; }
.ui-lock .pill b { font-size: .8125em; font-weight: 800; }
.lock-clock { flex: 1; min-height: 0; padding-top: 2.6em; text-align: center; }
.lock-clock span { display: block; font-size: 1.25em; font-weight: 600; color: rgba(255, 255, 255, .86); }
.lock-clock b { display: block; margin-top: .02em; font-family: var(--round); font-size: 5.6em; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.live { flex: none; display: grid; gap: .3125em; margin: 0 .6em 1.6em; padding: .7em 1em; border-radius: 1.5em; background: rgba(18, 18, 19, .94); box-shadow: 0 0 0 1px var(--hair); }
.live .top { display: flex; align-items: center; justify-content: space-between; gap: .5em; }
.live .tag { display: flex; align-items: center; gap: .4em; font-size: .75em; font-weight: 800; letter-spacing: .05em; color: var(--volt); white-space: nowrap; }
.live .glyph { width: auto; height: 1.5em; }
.live .el { display: flex; align-items: center; gap: .35em; font-family: var(--round); font-size: .8125em; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); }
.live .el svg { width: .8em; height: .8em; color: rgba(255, 255, 255, .62); }
.live .mid { display: flex; align-items: center; gap: .75em; }
.live .what { flex: 1; min-width: 0; }
.live .name { font-size: 1.0625em; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.live .target { margin-top: .1em; font-family: var(--round); font-size: 1.5625em; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.live .rest { flex: none; display: grid; justify-items: end; gap: .1875em; }
.live .rest span { font-size: .625em; font-weight: 800; letter-spacing: .08em; color: rgba(255, 255, 255, .62); }
.live .rest b { font-family: var(--round); font-size: 2em; font-weight: 800; line-height: 1; color: var(--volt); font-variant-numeric: tabular-nums; }
.live .rest i, .live .prog i { height: .25em; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.live .rest i { width: 6em; }
.live u { height: 100%; border-radius: 99px; background: var(--volt); }
.live .rest u { transform-origin: left; transform: scaleX(.613); transition: transform 1s linear; }
.live .detail { font-size: .75em; font-weight: 500; color: rgba(255, 255, 255, .62); }
.live .prog { display: flex; align-items: center; gap: .5em; }
.live .prog i { flex: 1; }
.live .prog u { width: 15.4%; }
.live .prog span { font-family: var(--round); font-size: .6875em; font-weight: 600; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }

/* friends (SocialDuelCard, SocialChallengeCard): the week's duel, the month's tonnage */
.card { display: grid; gap: .875em; padding: 1em; border-radius: 1.375em; background: var(--surface); }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: .5em; }
.duel { gap: .75em; }
.duel > .row:first-child > span { font-size: .75em; color: var(--text-3); }
.duel .faces { font-size: .9375em; font-weight: 600; }
.duel .faces span { display: flex; align-items: center; gap: .5em; min-width: 0; }
.ui .av { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--surface-3); font-family: var(--round); font-size: .8em; font-weight: 700; }
.ui .av.me { background: rgba(210, 243, 76, .18); color: var(--volt); box-shadow: 0 0 0 1.5px var(--volt); }
.duel .m { display: grid; gap: .375em; }
.duel .m .row { align-items: baseline; font-size: .9375em; font-weight: 700; font-variant-numeric: tabular-nums; }
.duel .m .row b:first-child { color: var(--volt); }
.duel .m .row .k-caps { font-weight: 700; }
.duel .m > i { display: flex; gap: .19em; height: .375em; }
.duel .m u { border-radius: 99px; background: var(--volt); }
.duel .m u + u { flex: 1; background: rgba(235, 235, 245, .33); }
.chal .hd { display: flex; align-items: center; gap: .625em; }
.chal .tile { flex: none; display: grid; place-items: center; width: 2.125em; height: 2.125em; border-radius: .57em; background: rgba(255, 138, 61, .16); color: var(--effort); }
.chal .tile svg { width: 1.05em; height: 1.05em; }
.chal .hd > div { flex: 1; min-width: 0; }
.chal .t { font-size: 1.0625em; font-weight: 600; letter-spacing: -.02em; }
.chal .s { margin-top: .08em; font-size: .75em; color: var(--text-2); }
.chal .stack { flex: none; display: flex; padding-left: .42em; }
.chal .stack i { display: grid; place-items: center; width: 2.64em; height: 2.64em; margin-left: -.74em; border-radius: 50%; background: var(--surface-3); box-shadow: 0 0 0 2px var(--surface); font-family: var(--round); font-size: .57em; font-weight: 700; }
.chal .fig b { font-family: var(--round); font-size: 1.75em; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chal .rank { flex: none; display: inline-flex; align-items: center; min-height: 2em; padding: 0 .77em; border-radius: 99px; background: var(--surface-2); font-size: .8125em; font-weight: 700; }
.chal .meter { height: .5em; margin-top: -.375em; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.chal .meter u { width: 91.9%; height: 100%; border-radius: 99px; background: var(--volt); }
.chal .status { margin-top: -.375em; font-size: .9375em; color: var(--text-2); }
.chal ol { display: grid; gap: .625em; padding-top: .125em; }
.chal li { display: flex; align-items: baseline; gap: .67em; font-size: .9375em; }
.chal .rk { flex: none; width: 1.23em; font-size: .8667em; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.chal li:first-child .rk { color: var(--gold); }
.chal .who { flex: 1; min-width: 0; }
.chal .me .who { font-weight: 600; color: var(--volt); }
.chal .kg { color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ---------- bands: pricing, reading, questions */
.band-head { max-width: 736px; container-type: inline-size; }
.band-head h2 { margin-top: 12px; }
.band-head h2:first-child { margin-top: 0; }

/* the two plans, as the cards of the app's paywall */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 48px; }
.plan { display: flex; flex-direction: column; container-type: inline-size; padding: 32px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.plan ul { margin-bottom: 32px; }
.plan-cta { margin-top: auto; width: 100%; }
.btn.quiet { background: var(--surface-2); color: var(--text); }
.btn.quiet:hover { background: var(--surface-3); }
.plan.pro { background: #14170a; box-shadow: inset 0 0 0 1.5px var(--volt); }
.plan h3 { color: var(--text-2); }
.plan.pro h3 { color: var(--volt); }
.price { margin-top: 12px; font-family: var(--round); font-size: clamp(36px, 13cqw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sans); font-size: var(--t-body); font-weight: 500; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; }
.plan .alt { margin-top: 8px; font-size: var(--t-small); line-height: 1.45; color: var(--text-2); }
.plan ul { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--hair); }
.plan.pro ul { border-color: rgba(210, 243, 76, .16); }
.plan li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--t-body); line-height: 1.4; }
.plan li svg { margin-top: 4px; }
.band .fine { margin-top: 24px; max-width: 46em; }
@media (max-width: 759px) { .plans { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; } .plan { padding: 24px; } .plan:first-child .alt { display: none; } }

.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); margin-top: 48px; }
.lists > div > h3 { font-size: var(--t-small); line-height: 1.45; color: var(--text-2); padding-bottom: 12px; }
.lists .link { margin-top: 12px; }
.rows { border-top: 1px solid var(--hair); }
.rows li { border-bottom: 1px solid var(--hair); }
.rows a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; text-decoration: none; }
.rows a span { min-width: 0; font-size: var(--t-small); line-height: 1.45; color: var(--text-2); }
.rows a b { display: block; margin-bottom: 4px; font-size: var(--t-body); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; color: var(--text); text-wrap: balance; }
.rows svg { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform .25s var(--ease), color .2s; }
.rows a:hover svg { transform: translateX(4px); color: var(--volt); }
.rows.big a { padding: 24px 0; }
.rows.big a span { font-size: var(--t-body); }
.rows.big a b { font-size: var(--t-lede); letter-spacing: -.025em; }
@media (max-width: 759px) { .lists { grid-template-columns: minmax(0, 1fr); margin-top: 32px; } }

.faq-head { grid-column: 1 / span 5; }
.faq { grid-column: 7 / span 6; border-top: 1px solid var(--hair); }
details { border-bottom: 1px solid var(--hair); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-size: var(--t-body); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
summary span { min-width: 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px; background: linear-gradient(var(--text-2), var(--text-2)) center / 100% 1.5px no-repeat, linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 100% no-repeat; transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 40px 24px 0; color: var(--text-2); }
@media (max-width: 999px) { .faq-head { grid-column: 1 / span 6; } }
@media (max-width: 759px) { .faq-head, .faq { grid-column: 1 / -1; } .faq { margin-top: 32px; } details p { padding-right: 0; } }

/* ---------- final call */
.final { text-align: center; }
.final .wrap { container-type: inline-size; }
.final .flame { width: 88px; height: 88px; margin: 0 auto 16px; }
.final h2 { max-width: 736px; margin-inline: auto; }
.final .lede { margin: 24px auto 0; text-wrap: balance; }
.final .cta { justify-content: center; margin-top: 32px; }
.final .note { margin-top: 16px; }
main > .final { padding-bottom: var(--section); }

/* ---------- footer */
.foot { border-top: 1px solid var(--hair); padding: 64px 0 48px; font-size: var(--t-small); color: var(--text-2); }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand .brand { color: var(--text); margin-top: -12px; }
.foot-brand p { margin-top: 4px; }
.foot-cols { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); }
.foot h2 { margin-bottom: 8px; font-size: var(--t-small); font-weight: 600; letter-spacing: 0; line-height: 1.45; color: var(--text); }
.foot li a, .foot li span { display: block; padding: 6px 0; line-height: 1.45; text-decoration: none; transition: color .2s; }
.foot li a:hover { color: var(--text); }
.foot li span { color: var(--text); }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: var(--t-small); line-height: 1.45; color: var(--text-3); }
@media (max-width: 899px) {
  .foot { padding-top: 48px; }
  .foot-brand, .foot-cols { grid-column: 1 / -1; }
  .foot-brand .brand { margin-top: 0; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .foot h2 { margin-bottom: 0; }
  .foot li a, .foot li span { display: flex; align-items: center; min-height: 44px; padding: 0; }
}

/* ---------- guides, tools, 404 */
.page { padding: clamp(48px, 7vw, 96px) 0 var(--section); }
.page-head { container-type: inline-size; }
.page h1 { font-size: 34px; font-size: clamp(30px, 8.4cqw, 56px); line-height: 1.05; letter-spacing: -.04em; }
.page h1 em { display: inline; }
.page-head .lede { margin-top: 24px; max-width: none; }
.crumb { margin-bottom: 8px; font-size: var(--t-small); font-weight: 500; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; transition: color .2s; }
.crumb a::before { content: ""; width: 7px; height: 7px; margin: 0 10px 0 2px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.crumb a:hover { color: var(--text); }
.page .rows.big { margin-top: 48px; }
.prose { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--hair); }
.tool + .prose { margin-top: 64px; }
.prose h2 { font-size: clamp(22px, 1.1rem + 1vw, 28px); line-height: 1.2; letter-spacing: -.03em; margin-top: 48px; }
.prose > h2:first-child { margin-top: 32px; }
.prose p, .prose li { color: var(--text-2); margin-top: 16px; font-size: var(--t-body); line-height: 1.6; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; list-style: revert; }
.prose li { margin-top: 8px; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose a:hover { color: var(--volt); }
.prose td { color: var(--text-2); }
table { width: 100%; border-collapse: collapse; margin-top: 24px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hair); font-size: var(--t-body); }
th { color: var(--text-2); font-weight: 600; font-size: var(--t-small); }
h2.more { margin-top: 96px; margin-bottom: 12px; font-size: var(--t-small); font-weight: 600; line-height: 1.45; letter-spacing: -.005em; color: var(--text-2); }
.page-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 64px; padding: 24px; border-radius: var(--r-card); background: var(--surface); }
.page-cta .flame { width: 52px; height: 52px; margin: -4px -4px -4px -8px; }
.page-cta p { font-size: var(--t-small); line-height: 1.45; color: var(--text-2); }
.page-cta b { display: block; font-size: var(--t-body); color: var(--text); letter-spacing: -.02em; }
.page-cta .note { display: none; }
@media (max-width: 759px) { .page-cta { grid-template-columns: auto minmax(0, 1fr); } .page-cta .btn { grid-column: 1 / -1; padding-inline: 12px; } }

.tool { margin-top: 48px; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-card); background: var(--surface); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
label { display: grid; gap: 8px; align-content: start; font-size: var(--t-small); font-weight: 600; color: var(--text-2); }
input, select { font: inherit; font-family: var(--round); font-size: 20px; font-weight: 600; color: var(--text); background: var(--surface-2); border: 0; border-radius: var(--r-field); padding: 0 14px; height: 52px; width: 100%; min-width: 0; -webkit-appearance: none; appearance: none; }
select { font-family: var(--sans); font-size: var(--t-body); font-weight: 500; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 19px) 24px, calc(100% - 14px) 24px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; text-overflow: ellipsis; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; border-radius: var(--r-field); }
.result { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hair); display: grid; gap: 4px; }
.result .eyebrow, .eyebrow.side { color: var(--text-2); }
.eyebrow.side { margin-top: 24px; }
.result .big { font-family: var(--round); font-size: clamp(44px, 8vw, 68px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--volt); font-variant-numeric: tabular-nums; }
.tool tr:last-child td, .tool tr:last-child th { border-bottom: 0; }
.plates { display: flex; align-items: center; gap: 4px; margin-top: 16px; min-height: 120px; flex-wrap: wrap; }
.plates .bar { display: block; padding: 0; height: 12px; width: 60px; background: #8e8e93; border-radius: 3px; }
.plates .p { width: 26px; border-radius: 6px; display: grid; place-items: end center; font-size: 11px; font-weight: 700; color: var(--ink); padding-bottom: 4px; overflow-wrap: normal; }
.msg { color: var(--text-2); margin-top: 8px; font-size: var(--t-small); }
.lost { min-height: 64vh; }
.lost .wrap { container-type: inline-size; }
.lost .flame { width: 88px; height: 88px; margin: 0 0 16px -14px; }
.lost h1 em { display: block; }
.lost .lede { margin-top: 24px; }
.lost .cta { margin-top: 32px; }

/* ---------- motion */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Launch waitlist: one field, one button, then a confirmation in place. */
.cta .notify { flex-basis: 100%; }
.notify { position: relative; display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 460px; }
.notify input[type=email] { flex: 1 1 220px; width: auto; height: 52px; padding: 0 16px; border: 1px solid var(--hair-2); border-radius: var(--r-btn); background: var(--surface); font-family: var(--sans); font-size: var(--t-body); font-weight: 500; letter-spacing: -.01em; color: var(--text); transition: border-color .2s; }
.notify input[type=email]::placeholder { color: var(--text-3); }
.notify input[type=email]:focus-visible { outline: 0; border-color: var(--volt); border-radius: var(--r-btn); }
.notify .btn { flex: none; border: 0; cursor: pointer; font-family: var(--sans); }
.notify .btn:disabled { opacity: .6; cursor: default; }
.notify .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.notify-msg { flex-basis: 100%; margin-top: 4px; font-size: var(--t-small); line-height: 1.45; color: var(--text-3); }
.notify.bad .notify-msg { color: var(--effort); }
.notify.bad input[type=email] { border-color: var(--effort); }
.notify.done input, .notify.done .btn { display: none; }
.notify.done .notify-msg { display: flex; align-items: center; gap: 10px; min-height: 52px; margin-top: 0; padding: 12px 16px; border-radius: var(--r-btn); background: var(--surface); font-size: var(--t-body); font-weight: 500; color: var(--text); }
.notify.done .notify-msg::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b0c05' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.final .notify { margin-inline: auto; justify-content: center; text-align: left; }
.final .notify-msg { text-align: center; }
.final .notify.done .notify-msg { justify-content: center; }
@media (max-width: 599px) { .notify .btn { flex: 1 1 100%; } }
