/* Spotside landing. Ink on paper, one colour. Signal marks only what needs the coach.
   Tokens follow docs/coaching.md (Identity) and docs/brand/coaching/GUIDE.md.

   How the page says what can be done with a thing, kept everywhere:
   - Ink fill is the one primary action in a group (.btn). Nothing else is ever filled with ink,
     except the Ask section's band (.band), which holds no controls of its own.
   - A tinted surface is something you press or choose (.chip, .tab, .today-item); an ink ring
     marks the one that is chosen. A secondary action is an outlined pill (.btn-quiet).
   - A white box with a dark outline is something you type in (.field).
   - A link is underlined text, or sits in the nav.
   - Everything else, including the white panels the demos sit in, is flat and does nothing.
   Mono is for training data only (sets, reps, load, RIR), never for labels. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/figtree-latin.8330490a01.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.2c32b9b3ee.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --sp-ink: #14161A;
  --sp-ink-soft: #2D3036;
  --sp-paper: #F6F4EE;
  --sp-panel: #FFFFFF;
  --sp-graphite: #5E6066;
  --sp-rule: #E4E1D8;
  --sp-outline: #85878D;
  --sp-track: #EFEDE6;
  --sp-signal: #F2542D;
  --sp-signal-text: #B83A1A;
  --sp-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sp-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sp-gutter: clamp(20px, 4vw, 40px);
  --sp-section: clamp(72px, 10vw, 136px);
  --sp-nav: 68px;
  --sp-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--sp-nav) + 16px); }
body {
  margin: 0;
  background: var(--sp-paper);
  color: var(--sp-ink);
  font: 400 17px/1.55 var(--sp-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sp-ink); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--sp-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--sp-gutter), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--sp-ink); color: var(--sp-paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }

h1 { font: 500 clamp(38px, 4.5vw, 62px)/1.03 var(--sp-sans); letter-spacing: -0.028em; text-wrap: balance; }
h2 { font: 500 clamp(28px, 3.5vw, 44px)/1.06 var(--sp-sans); letter-spacing: -0.02em; text-wrap: balance; }
h3 { font: 500 18px/1.3 var(--sp-sans); }
.label, .field > span, legend { font: 400 13px/1.4 var(--sp-sans); color: var(--sp-graphite); }
.data { font: 400 13px/1.55 var(--sp-mono); font-variant-numeric: tabular-nums; }
.fine { font-size: 14px; color: var(--sp-graphite); }
.short { color: var(--sp-signal-text); font-weight: 500; }

/* The spot: the only colour on the page. */
.spot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sp-signal); }

/* Things you press */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--sp-ink); border-radius: 999px;
  background: var(--sp-ink); color: var(--sp-paper);
  font: 500 17px/1 var(--sp-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--sp-ease), transform .18s var(--sp-ease);
}
.btn:hover { background: #2A2D33; }
.btn:active { transform: scale(.97); }
.btn[disabled] { background: var(--sp-track); border-color: var(--sp-rule); color: var(--sp-graphite); cursor: default; transform: none; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-quiet { background: transparent; color: var(--sp-ink); border-color: var(--sp-outline); }
.btn-quiet:hover { background: var(--sp-track); }
.chip, .tab, .today-item {
  border: 0; background: var(--sp-track); cursor: pointer;
  transition: background-color .18s var(--sp-ease), box-shadow .18s var(--sp-ease);
}
.chip:hover, .tab:hover, .today-item:hover { background: #E6E3DA; }
.chip[aria-current="true"], .tab[aria-selected="true"], .today-item[aria-current="true"], .btn-quiet.is-on { box-shadow: inset 0 0 0 2px var(--sp-ink); }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px;
  font: 500 15px/1 var(--sp-sans);
}
.chip-text { padding: 0 18px; }
.link-arrow { font-weight: 500; padding: 14px 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.link-arrow::after { content: "↓"; display: inline-block; margin-left: 8px; transition: transform .18s var(--sp-ease); }
.link-arrow:hover::after { transform: translateY(3px); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Things you type in */
.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sp-outline); border-radius: 10px; background: var(--sp-panel);
  font: 400 15px/1.5 var(--sp-sans); color: var(--sp-ink); resize: vertical;
  transition: border-color .18s var(--sp-ease), box-shadow .18s var(--sp-ease);
}
.field input:hover, .field textarea:hover { border-color: var(--sp-ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--sp-ink); box-shadow: 0 0 0 2px var(--sp-ink); }
.field input { min-height: 48px; }
.field input[disabled], .field textarea[disabled] { background: var(--sp-track); border-color: var(--sp-rule); color: var(--sp-graphite); }

/* Training data: flat rows, nothing to press */
.sets { width: 100%; border-collapse: collapse; font: 400 13px/1.5 var(--sp-mono); font-variant-numeric: tabular-nums; }
.sets th, .sets td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--sp-rule); font-weight: 400; vertical-align: top; }
.sets th:last-child, .sets td:last-child { padding-right: 0; }
.sets thead th { font: 400 13px/1.4 var(--sp-sans); color: var(--sp-graphite); }
.sets tbody th { font: 400 14px/1.45 var(--sp-sans); color: var(--sp-ink-soft); }
.sets tbody tr:last-child th, .sets tbody tr:last-child td { border-bottom: 0; }
.strip { display: inline-flex; gap: 4px; vertical-align: middle; }
/* A planned day not trained is an outline, per the identity's Outline token; trained is ink. */
.strip i { width: 8px; height: 20px; border-radius: 999px; border: 1px solid var(--sp-outline); }
.strip i.on { background: var(--sp-ink); border-color: var(--sp-ink); }
@media (max-width: 520px) {
  .sets { font-size: 12px; }
  .sets th, .sets td { padding: 9px 10px 9px 0; }
  .sets tbody th { font-size: 13px; }
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--sp-paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .18s var(--sp-ease); padding-top: env(safe-area-inset-top, 0px); }
.nav.is-stuck { border-bottom-color: var(--sp-rule); }
.nav-row { display: flex; align-items: center; gap: 32px; height: var(--sp-nav); }
.nav-logo svg { width: 132px; height: auto; }
.nav-links { display: flex; gap: 28px; margin-left: 16px; font-size: 15px; }
.nav-links a, .nav-signin { text-decoration: none; padding: 10px 0; }
.nav-links a:hover, .nav-signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 15px; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) {
  .nav-logo svg { width: 112px; }
  .nav-actions { gap: 12px; }
  .nav-actions .btn { padding: 0 14px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-wrap { position: relative; display: flex; align-items: center; min-height: min(720px, calc(100svh - var(--sp-nav))); padding-block: 72px 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; width: min(50%, 680px); }
.hero-sub { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; max-width: 33em; color: var(--sp-ink-soft); }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
.hero-art { position: absolute; top: 0; bottom: 0; right: 0; width: 52%; }
.hero-still, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-still { object-fit: cover; object-position: 56% 50%; -webkit-mask-image: linear-gradient(to right, transparent 8%, #000 44%); mask-image: linear-gradient(to right, transparent 8%, #000 44%); }
.hero-canvas { opacity: 0; transition: opacity .6s var(--sp-ease); }
.hero-canvas.is-live { opacity: 1; }
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero-art { position: relative; width: 100%; height: clamp(260px, 72vw, 440px); }
  .hero-still { -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 40%); mask-image: linear-gradient(to top, transparent 2%, #000 40%); }
  .hero-wrap { min-height: 0; padding-block: 8px 64px; }
  .hero-copy { width: 100%; gap: 20px; }
}

/* Sections */
.section { padding-top: var(--sp-section); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p, .duo-copy p { font-size: clamp(17px, 1.4vw, 19px); color: var(--sp-ink-soft); max-width: 36em; }
.card { background: var(--sp-panel); border: 1px solid var(--sp-rule); border-radius: 20px; padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 20px; font-size: 15px; min-width: 0; }
.card header, .evidence header { display: flex; flex-direction: column; gap: 2px; }

/* Today */
.today { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--sp-panel); border: 1px solid var(--sp-rule); border-radius: 20px; overflow: hidden; }
.today-list { border-right: 1px solid var(--sp-rule); padding: clamp(16px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.today-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.today-title { font-size: 22px; }
.today-count { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sp-graphite); }
.today-count.is-clear .spot { display: none; }
.today-items { display: flex; flex-direction: column; gap: 8px; }
.today-items li { transition: opacity .22s var(--sp-ease), transform .22s var(--sp-ease); }
.today-items li.is-leaving { opacity: 0; transform: translateX(12px); }
.today-item { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 16px; }
.today-item .spot { margin-top: 7px; }
.today-item > :not(.spot) { grid-column: 2; }
.today-who { font-weight: 500; }
.today-what { font-size: 15px; color: var(--sp-ink-soft); }
.today-clear { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding-block: 8px; }
.today-clear-h { font: 500 22px/1.2 var(--sp-sans); }
.today-log { display: flex; flex-direction: column; font-size: 14px; color: var(--sp-graphite); }
.today-log li { padding: 10px 0; border-top: 1px solid var(--sp-rule); }
.today-log b { font-weight: 500; color: var(--sp-ink); }
.today-detail { padding: clamp(16px, 2.4vw, 28px); min-width: 0; }
.today:has(> .today-detail[hidden]) { grid-template-columns: minmax(0, 1fr); }
.today:has(> .today-detail[hidden]) .today-list { border-right: 0; }
.evidence { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 860px) {
  .today { grid-template-columns: minmax(0, 1fr); }
  .today-list { border-right: 0; }
  /* On a phone the evidence opens under the client it belongs to (app.js moves it there). */
  .today-detail { padding: 12px 0 16px; }
  /* The row above already names the client. */
  .today-items .evidence h3 { display: none; }
}

/* Check-in */
.checkin { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: 16px; font: 500 15px/1.3 var(--sp-sans); text-align: left; min-width: 0; }
.tab span { font: 400 13px/1.3 var(--sp-sans); color: var(--sp-graphite); }
/* Every day's panel is as tall as a logged session, so the page does not jump between tabs. */
.day { min-height: 148px; }
.day-empty { color: var(--sp-graphite); padding-block: 10px; }
.findings { display: flex; flex-direction: column; gap: 8px; }
.findings li { display: grid; grid-template-columns: 10px minmax(0, 1fr); align-items: baseline; gap: 12px; }
.changes { display: flex; flex-direction: column; }
.changes legend { margin-bottom: 4px; }
.change { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.change .field { flex: 1; min-width: 0; }
.change.is-removed input { text-decoration: line-through; }
.phone { position: sticky; top: calc(var(--sp-nav) + 24px); border: 10px solid var(--sp-ink); border-radius: 44px; background: var(--sp-panel); overflow: hidden; }
.phone-screen { display: flex; flex-direction: column; gap: 10px; padding: 28px 20px 32px; min-height: 480px; font-size: 15px; }
.phone-status { font-size: 13px; color: var(--sp-graphite); padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--sp-rule); }
.phone.is-sent .phone-status { color: var(--sp-ink); font-weight: 500; }
/* Until it is sent the preview is graphite, which still reads at 5.7:1; delivered, it turns ink. */
.phone-msg, .phone-changes { color: var(--sp-graphite); transition: color .3s var(--sp-ease); }
.phone.is-sent .phone-msg, .phone.is-sent .phone-changes { color: var(--sp-ink); }
.phone-msg { line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.phone-changes { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.phone-changes li { padding-top: 6px; border-top: 1px solid var(--sp-rule); overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .checkin { grid-template-columns: minmax(0, 1fr); }
  .phone { position: static; width: min(100%, 320px); margin-inline: auto; }
  .phone-screen { min-height: 0; }
}
@media (max-width: 480px) { .tab { padding: 8px 10px; } }
/* Beside its button a change is cut short on a phone, so the button drops under it. */
@media (max-width: 520px) {
  .change { flex-wrap: wrap; padding-bottom: 8px; }
  .change .field { flex-basis: 100%; }
}

/* Programs */
.builder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--sp-panel); border: 1px solid var(--sp-rule); border-radius: 20px; overflow: hidden; }
.builder-in { padding: clamp(16px, 2.4vw, 28px); border-right: 1px solid var(--sp-rule); }
.builder-in textarea { font: 400 14px/1.7 var(--sp-mono); flex: 1; min-height: 220px; }
.builder-out { padding: clamp(16px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.builder-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.weeks { display: flex; gap: 6px; flex-wrap: wrap; }
.builder-title { font: 500 18px/1.3 var(--sp-sans); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.blocks { table-layout: fixed; }
.blocks th:first-child { width: 46%; overflow-wrap: anywhere; }
.blocks td.is-changed { font-weight: 700; }
@media (max-width: 860px) {
  .builder { grid-template-columns: minmax(0, 1fr); }
  .builder-in { border-right: 0; border-bottom: 1px solid var(--sp-rule); }
  .builder-in textarea { min-height: 170px; }
  .weeks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); width: 100%; }
  .weeks .chip { min-width: 0; padding: 0; }
}

/* Clients */
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.duo-copy { display: flex; flex-direction: column; gap: 16px; }
/* Prints have no frame: they fade into the paper on every side, as the hero's does. */
.duo-art img, .close-art img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Ask */
/* Ask: the one section on ink, so the assistant reads as a window from another app.
   The window names no assistant; the heading already says which ones connect. */
.band { margin-top: var(--sp-section); padding-block: clamp(64px, 9vw, 120px); background: var(--sp-ink); color: var(--sp-paper); }
.band .section-head p { color: #B9BBC0; }
.ask-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ask-row .section-head { margin-bottom: 0; }
/* No scroll anchoring: it would pin the tapped chip and push the new question off the top. */
.ask { display: flex; flex-direction: column; background: var(--sp-panel); color: var(--sp-ink); border-radius: 20px; overflow: hidden; min-width: 0; overflow-anchor: none; }
.ask-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(16px, 2vw, 22px); border-bottom: 1px solid var(--sp-rule); }
.ask-title { font-weight: 500; font-size: 15px; }
.ask-tool { font-size: 13px; color: var(--sp-graphite); }
.ask-draft .spot { width: 8px; height: 8px; }
.ask-thread { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.4vw, 28px) clamp(16px, 2vw, 22px); min-height: 360px; }
/* Outlined in rule, not tinted: a tint would make the message read as a fourth chip. */
.ask-you { align-self: flex-end; max-width: 80%; padding: 10px 16px; border: 1px solid var(--sp-rule); border-radius: 18px 18px 4px 18px; font-size: 16px; }
.ask-read { display: flex; align-items: center; gap: 8px; }
.ask-read::before { content: ""; flex: none; width: 5px; height: 9px; margin: 0 4px 3px 5px; border: solid var(--sp-graphite); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ask-reply { display: flex; gap: 12px; align-items: flex-start; }
.ask-mark { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--sp-rule); background: radial-gradient(circle, var(--sp-ink) 0 3px, transparent 3.5px); }
.ask-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; flex: 1; padding-top: 2px; }
.ask-answer { font-size: 17px; line-height: 1.5; }
.ask-typing { display: flex; gap: 5px; padding-top: 9px; }
.ask-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sp-outline); animation: ask-dot 1s var(--sp-ease) infinite; }
.ask-typing span:nth-child(2) { animation-delay: .15s; }
.ask-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ask-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ask-draft { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--sp-rule); border-radius: 14px; }
.ask-draft .label { display: inline-flex; align-items: center; gap: 8px; }
.ask-outcome { color: var(--sp-graphite); font-size: 15px; }
.ask-prompts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px clamp(16px, 2vw, 22px); border-top: 1px solid var(--sp-rule); background: var(--sp-panel); }
@media (max-width: 860px) {
  .ask-row { grid-template-columns: minmax(0, 1fr); }
  .ask-thread { min-height: 0; }
}

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pricing-pick { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pricing-label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 500; }
.pricing-label label { cursor: pointer; }
.pricing-label output { font: 500 clamp(32px, 4vw, 48px)/1 var(--sp-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: var(--sp-outline); }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--sp-outline); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--sp-ink); border: 4px solid var(--sp-paper); box-shadow: 0 0 0 1px var(--sp-ink); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--sp-ink); border: 4px solid var(--sp-paper); box-shadow: 0 0 0 1px var(--sp-ink); }
.range:focus-visible { outline-offset: 0; }
.tiers { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tiers th, .tiers td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--sp-rule); font-weight: 400; }
.tiers thead th { font-size: 13px; color: var(--sp-graphite); }
.tiers th:last-child, .tiers td:last-child { text-align: right; padding-right: 0; }
/* A reference table, not a control: the plan the slider lands on is only set in ink. */
.tiers tbody tr { color: var(--sp-graphite); transition: color .18s var(--sp-ease); }
.tiers tbody tr.is-current { color: var(--sp-ink); }
.pricing-result { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: clamp(24px, 3vw, 36px); background: var(--sp-panel); border: 1px solid var(--sp-rule); border-radius: 20px; }
.pricing-plan { font-weight: 500; }
.pricing-price { font: 500 clamp(52px, 6vw, 76px)/1 var(--sp-sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.pricing-price small { font: 400 15px/1 var(--sp-sans); letter-spacing: 0; color: var(--sp-graphite); margin-left: 8px; }
.pricing-result .btn { align-self: stretch; }
.included { align-self: stretch; margin-top: 12px; font-size: 15px; }
.included li { padding: 10px 0; border-top: 1px solid var(--sp-rule); }
@media (max-width: 860px) { .pricing { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--sp-ink); }
.faq details { border-bottom: 1px solid var(--sp-rule); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 20px 0; cursor: pointer; font: 500 clamp(17px, 1.5vw, 20px)/1.3 var(--sp-sans); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 24px/1 var(--sp-sans); transition: transform .18s var(--sp-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; max-width: 40em; color: var(--sp-ink-soft); }
@media (max-width: 860px) { .faq-row { grid-template-columns: minmax(0, 1fr); } }

/* Close */
.close { margin-top: var(--sp-section); border-top: 1px solid var(--sp-rule); }
.close-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.close-copy { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 860px) { .close-row { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.footer { border-top: 1px solid var(--sp-rule); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.footer-logo svg { width: 240px; height: auto; }
.footer-links { display: flex; gap: 8px 28px; flex-wrap: wrap; font-size: 15px; }
.footer-links a { padding: 12px 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* The waitlist form that stands in for "Start free trial" while launch is "waitlist". */
.waitlist { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.waitlist .field { flex: 1 1 220px; }
.hero-cta .waitlist, .close-copy .waitlist { flex: 1 1 100%; max-width: 520px; }
.pricing-result .waitlist { align-self: stretch; }
.pricing-result .waitlist .btn { flex: 1 1 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Terms, Refund Policy, Privacy and the thank-you page: one readable column. */
.legal { padding-block: clamp(40px, 7vw, 96px); }
.legal > * { max-width: 68ch; }
.legal h1 { margin-bottom: 12px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 40px; }
.legal p { margin-top: 16px; color: var(--sp-ink-soft); }
.legal p.fine { margin-top: 0; color: var(--sp-graphite); }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 404 */
.lost { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; align-items: flex-start; padding-block: 96px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
