/* VeloVision, one motif: the dry-brush streak behind the ball.
   Tail = a comb of strands of unequal length (left). Head = a round end (right).
   Everything below that is not type or ground is that shape. */

@font-face { font-family: "General Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/general-sans-400.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/general-sans-500.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/general-sans-700.woff2") format("woff2"); }

:root {
  /* Amber on Charcoal, mapped onto roles */
  --bg: #141312;
  --surface: #25221E;
  --ink: #F3F3F2;            /* neutral near-white for running text; the ball's #F6F1E6 stays on the ball and the logo */
  --muted: #B9B3A9;
  --accent: #F0B44C;
  --accent-hi: #F7D08A;
  --accent-deep: #B97A12;
  --ball: #F6F1E6;
  --on-accent: #141312;

  --font: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --step-head: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
  --step-display: clamp(2.75rem, 6.4vw, 6.6rem);

  --margin: clamp(16px, 2.2vw, 32px);
  --gutter: clamp(8px, 1vw, 14px);
  --head: clamp(48px, 6vw, 96px);          /* radius of the round head on pictures and tiles */
  --gap-section: clamp(88px, 9.5vw, 150px);

  --k: 1;
  --hero-streak: polygon(100.00% 0.00%,22.00% 0.00%,8.00% 7.42%,22.00% 14.83%,50.00% 14.83%,50.00% 17.03%,14.00% 17.03%,0.00% 24.45%,14.00% 31.87%,50.00% 31.87%,50.00% 34.07%,28.00% 34.07%,14.00% 41.48%,28.00% 48.90%,50.00% 48.90%,50.00% 51.10%,18.00% 51.10%,4.00% 58.52%,18.00% 65.93%,50.00% 65.93%,50.00% 68.13%,32.00% 68.13%,18.00% 75.55%,32.00% 82.97%,50.00% 82.97%,50.00% 85.17%,24.00% 85.17%,10.00% 92.58%,24.00% 100.00%,100.00% 100.00%);
  --streak: polygon(calc(var(--k) * 68px) 0,100% 0,100% 100%,calc(var(--k) * 48px) 100%,calc(var(--k) * 20px) 83.333%,calc(var(--k) * 48px) calc(66.667% + 4px),calc(var(--k) * 70px) calc(66.667% + 4px),calc(var(--k) * 70px) calc(66.667% + -4px),calc(var(--k) * 28px) calc(66.667% + -4px),0 50%,calc(var(--k) * 28px) calc(33.333% + 4px),calc(var(--k) * 70px) calc(33.333% + 4px),calc(var(--k) * 70px) calc(33.333% + -4px),calc(var(--k) * 68px) calc(33.333% + -4px),calc(var(--k) * 40px) 16.667%,calc(var(--k) * 68px) 0%);
  --streak-v: polygon(0 calc(var(--k) * 68px),0 100%,100% 100%,100% calc(var(--k) * 48px),83.333% calc(var(--k) * 20px),calc(66.667% + 4px) calc(var(--k) * 48px),calc(66.667% + 4px) calc(var(--k) * 70px),calc(66.667% + -4px) calc(var(--k) * 70px),calc(66.667% + -4px) calc(var(--k) * 28px),50% 0,calc(33.333% + 4px) calc(var(--k) * 28px),calc(33.333% + 4px) calc(var(--k) * 70px),calc(33.333% + -4px) calc(var(--k) * 70px),calc(33.333% + -4px) calc(var(--k) * 68px),16.667% calc(var(--k) * 40px),0% calc(var(--k) * 68px));
  --lite: polygon(calc(var(--k) * 22px) 0,100% 0,100% 100%,calc(var(--k) * 10px) 100%,0 75%,calc(var(--k) * 10px) calc(50% + 2px),calc(var(--k) * 22px) calc(50% + 2px),calc(var(--k) * 22px) calc(50% + -2px),calc(var(--k) * 22px) calc(50% + -2px),calc(var(--k) * 12px) 25%,calc(var(--k) * 22px) 0%);
  --bullet: polygon(34% 0,100% 0,100% 100%,0 100%,0 66%,46% 66%,46% 54%,18% 54%);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-weight: 400;
  font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 3px; }
.on-gold :focus-visible, .tile-gold :focus-visible { outline-color: var(--bg); }

.skip { position: absolute; left: var(--margin); top: -80px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 12px 18px; font-weight: 500; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

p { text-wrap: pretty; max-width: 62ch; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
.display { font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.03em; }
.head { font-size: var(--step-head); line-height: 1.08; letter-spacing: -0.02em; }
.small { font-size: var(--step-small); line-height: 1.45; }

/* ------------------------------------------------------------------ the button: the streak, small */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  min-height: var(--h); padding: 0 30px 0 44px;
  background: var(--accent); color: var(--on-accent);
  font-size: var(--step-body); font-weight: 700; letter-spacing: -0.005em; text-decoration: none; line-height: 1.15; text-align: center;
  border-radius: 0 calc(var(--h) / 2) calc(var(--h) / 2) 0;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 56%, 36px 56%, 36px 44%, 20px 44%);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn.on-gold { background: var(--bg); color: var(--ink); }
.btn.small-btn { --h: 44px; padding: 0 22px 0 34px; font-size: var(--step-small); clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 56%, 28px 56%, 28px 44%, 16px 44%); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hi); }
  .btn.on-gold:hover { background: var(--surface); }
}

/* bullet: the streak at text size */
.dot::before {
  content: ""; display: inline-block; width: 1.5em; height: 0.72em; margin-right: 0.55em; vertical-align: 0.02em;
  background: currentColor; border-radius: 0 0.36em 0.36em 0; clip-path: var(--bullet);
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: max(100svh, 640px); overflow: hidden; isolation: isolate;
  --u: min(1vw, 1.6vh, 21px); /* the mark scales with the narrower of width and height, so wide and short screens keep the whole ball */ }
.hero-art { position: absolute; inset: 0; z-index: -1; }
/* the streak: a band whose tail splits into strands, whose head is the ball */
.hero-mark { position: absolute; width: calc(var(--u) * 58); height: calc(var(--u) * 27); right: calc(var(--margin) + var(--u) * 1.5); top: calc(min(50%, var(--u) * 31) - var(--u) * 9); transform-origin: 100% 50%; transform: rotate(-20deg); }
.hero-mark .mk-stroke { position: absolute; inset: 0 calc(var(--u) * 6.3) 0 0; background: var(--accent); border-radius: 0 calc(var(--u) * 13.5) calc(var(--u) * 13.5) 0; clip-path: var(--hero-streak); }
.hero-mark .mk-ball { position: absolute; right: 0; top: 50%; width: calc(var(--u) * 31.5); aspect-ratio: 1; margin-top: calc(var(--u) * -15.75); border-radius: 50%; border: calc(var(--u) * 1.4) solid var(--bg); background: var(--ball); overflow: hidden; transform: rotate(20deg); }
/* the head of the streak is a real ball: the loop, uncropped but for the round window; counter-rotated to stay upright */
.hero-mark .mk-ball video.is-broken { display: none; }
.hero-mark .mk-ball video, .hero-mark .mk-ball .mk-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: rotate(-20deg) scale(1.22); }

.nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: clamp(14px, 1.8vw, 26px) var(--margin) 0; }
.brand { display: block; height: clamp(34px, 3.2vw, 46px); }
.brand img { height: 100%; width: auto; }
.nav { justify-content: flex-start; gap: clamp(28px, 4vw, 64px); }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav a.link { display: inline-block; padding: 12px 0; font-weight: 500; text-decoration: none; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

.hero-copy { position: relative; z-index: 2; padding: clamp(60px, 12vh, 150px) var(--margin) 80px 8vw; max-width: 64vw; }
.hero-copy h1 { margin-left: -0.04em; }
.hero-copy .line, .price-copy .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-copy .line > span, .price-copy .line > span { display: block; }
.hero-copy .sentence { margin-top: clamp(22px, 2.6vw, 38px); max-width: 34ch; font-size: var(--step-lead); line-height: 1.38; }
.hero-copy .action { margin-top: clamp(26px, 2.8vw, 40px); }
.hero-copy .status { position: relative; margin-top: 18px; color: var(--muted); font-size: var(--step-small); max-width: 52ch; }

/* ------------------------------------------------------------------ showcase: the app's screens */
.showcase { position: relative; min-height: max(100svh, 700px); margin-top: var(--gap-section); }
.stage { position: absolute; inset: 0; }
.screens { position: absolute; left: 58%; top: 50%; width: 0; height: 0; }
.screens figure { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 1.6s var(--ease-soft); pointer-events: none; }
.screens figure.is-on { opacity: 1; }
.screens img { background: var(--surface); border-radius: 0 calc(var(--head) * 0.5) calc(var(--head) * 0.5) 0; clip-path: var(--lite); }
.screens .portrait { width: min(56vh, calc(72vh * var(--ar))); aspect-ratio: var(--ar); transform: translate(-50%, -50%); }
.screens .portrait img { width: 100%; height: 100%; object-fit: cover; }
/* the stadium is a wide picture: it takes the room between the list and the facts, its right edge just inside the facts column */
.screens .wide { width: max(440px, min(92vh, calc(58vw + 32vh - var(--margin) - 404px))); transform: translate(calc(32vh + 12px - 100%), -50%); }
.screens .wide img { width: 100%; height: auto; }

.picker { position: absolute; left: var(--margin); bottom: calc(50% - 32vh); z-index: 3; max-width: 36vw; }
.picker [role="tablist"] { display: flex; flex-direction: column; align-items: flex-start; }
.tabbtn { position: relative; display: inline-flex; align-items: center; font-size: var(--step-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--muted); padding: 2px 0; transition: color var(--t-hover) ease, transform var(--t-press) var(--ease-out); text-align: left; }
.tabbtn::before { content: ""; display: inline-block; width: 1.1em; height: 0.52em; margin-right: 0.5em; background: var(--accent); border-radius: 0 0.26em 0.26em 0; clip-path: var(--bullet); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out); flex: none; }
.tabbtn[aria-selected="true"] { color: var(--ink); }
.tabbtn[aria-selected="true"]::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .tabbtn:hover { color: var(--ink); } }
.tabbtn:active { transform: translateX(3px); }

.facts { position: absolute; left: calc(58% + 32vh + 28px); top: 50%; right: var(--margin); translate: 0 -50%; }
.facts p { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transition: opacity 1.2s var(--ease-soft); pointer-events: none; }
.facts p.is-on { position: relative; opacity: 1; pointer-events: auto; }
.facts strong { display: block; margin-bottom: 6px; font-weight: 700; }

/* ------------------------------------------------------------------ band: how it works (one bar) */
.band { margin-top: var(--gap-section); }
.band h2 { padding: 0 var(--margin); font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.03em; max-width: 15ch; }
.stages { --barh: max(30vh, 220px); margin-top: clamp(40px, 4.5vw, 64px); display: flex; gap: 6px; }
.stages li { flex: 1 1 0; min-width: 0; position: relative; isolation: isolate; padding: calc(var(--barh) + 18px) 10px 0 0; --c: var(--accent-deep); --fc: var(--on-accent); }
.stages li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--barh); background: var(--c); z-index: -1; }
.stages li:nth-child(2) { --c: var(--accent); --fc: var(--on-accent); }
.stages li:nth-child(3) { --c: var(--accent-hi); --fc: var(--on-accent); }
.stages li:nth-child(4) { --c: var(--ink); --fc: var(--on-accent); }
.stages li:first-child { flex-grow: 1.75; }
.stages li:first-child::before { --k: 3.2; clip-path: var(--streak); }
.stages li:last-child { padding-right: 16px; }
.stages li:last-child::before { border-radius: 0 calc(var(--barh) / 2) calc(var(--barh) / 2) 0; }
.stages .dur { position: absolute; top: 0; left: 0; right: 0; padding: 20px 22px 0; color: var(--fc); font-size: var(--step-lead); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.stages li:first-child .dur, .stages li:first-child .clause { padding-left: 150px; }
.stages .clause { max-width: 26ch; padding-left: 2px; }
.stages li:first-child .clause { max-width: calc(26ch + 150px); }
.stages .clause b { font-weight: 700; }
.band-note { padding: 0 var(--margin); margin-top: 48px; color: var(--muted); max-width: 70ch; }

/* ------------------------------------------------------------------ features: close-ups on a board */
.features { margin-top: var(--gap-section); padding: 0 var(--margin); }
.board { --capH: clamp(82px, 6.1vw, 96px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(79px, 7.2vw, 112px); gap: 8px; }
.tile { position: relative; overflow: hidden; border-radius: 0 var(--head) var(--head) 0; clip-path: var(--streak); isolation: isolate; color: var(--ink); background: var(--surface); }
.tile .cap { position: absolute; left: calc(var(--k) * 78px + 4px); bottom: 18px; z-index: 3; max-width: calc(100% - 78px - var(--head) * 0.5); }
.tile .cap b { display: block; font-size: var(--step-body); font-weight: 500; line-height: 1.2; }
.tile .cap span { display: block; margin-top: 3px; font-size: var(--step-small); line-height: 1.35; max-width: 36ch; }
.tile .cap.on-pic { background: rgba(20, 19, 18, 0.82); padding: 10px 14px 11px; color: var(--ink); left: 0; bottom: 0; border-radius: 0 18px 0 0; max-width: min(100%, 52ch); padding-left: calc(var(--k) * 78px + 4px); }
.tile-gold { background: var(--accent); color: var(--on-accent); }
.tile-hi { background: var(--accent-hi); color: var(--on-accent); }
.tile-deep { background: var(--accent-deep); color: var(--on-accent); }
.tile-ball { background: var(--ink); color: var(--on-accent); }
.t-move { grid-column: 1 / 7; grid-row: 2 / 6; }
.t-nospin { grid-column: 7 / 13; grid-row: 2 / 6; }
.t-head { grid-column: 1 / 13; grid-row: 1 / 2; background: transparent; clip-path: none; border-radius: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 0 18px; overflow: visible; }
.t-swing { grid-column: 1 / 4; grid-row: 6 / 11; }
.t-hitrep { grid-column: 4 / 13; grid-row: 6 / 11; }
.t-exp { grid-column: 1 / 6; grid-row: 11 / 15; }
.t-home { grid-column: 6 / 9; grid-row: 11 / 15; }
.t-priv { grid-column: 9 / 13; grid-row: 11 / 15; }
.t-head h2 { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.025em; white-space: nowrap; }
.t-head .hitting { margin: 0; color: var(--muted); font-size: var(--step-small); max-width: 46ch; }
.tile video, .tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface); }

/* the app's own screens, cropped to one card or one screen: the picture sits above the caption on the tile's field */
.shot-tile { --k: 0.55; border-radius: 0 calc(var(--head) * 0.6) calc(var(--head) * 0.6) 0; }
.tile > img.shot { inset: auto; left: calc(var(--k) * 70px); top: 0; width: calc(100% - var(--k) * 70px); height: calc(100% - var(--capH)); object-fit: cover; object-position: 0 0; background: var(--bg); }
.shot-tile .cap { left: calc(var(--k) * 78px + 4px); bottom: 16px; max-width: calc(100% - var(--k) * 78px - 24px); }
.shot-tile .cap span { max-width: none; }

/* ------------------------------------------------------------------ faq: index cards */
.faq { margin-top: var(--gap-section); padding: 0 var(--margin); }
.faq h2 { grid-column: 3 / 11; margin-bottom: clamp(32px, 4vw, 56px); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.drawer { grid-column: 3 / 11; }
.card { position: relative; background: var(--bgc); border-radius: 0 var(--head) 0 0; clip-path: polygon(var(--x) 40px, calc(var(--x) + 22px) 0, calc(var(--x) + var(--tab) - 22px) 0, calc(var(--x) + var(--tab)) 40px, 100% 40px, 100% 100%, 0 100%, 0 40px); --tab: 200px; --step: min(150px, 8.2vw); --x: 0px; --bgc: var(--surface); --fg: var(--ink); --strip: 80px; }
.card:nth-child(1) { --x: 0px; }
.card:nth-child(2) { --x: var(--step); --bgc: var(--accent-deep); --fg: var(--on-accent); }
.card:nth-child(3) { --x: calc(var(--step) * 2); --bgc: var(--accent-hi); --fg: var(--on-accent); }
.card:nth-child(4) { --x: calc(var(--step) * 3); }
.card:nth-child(5) { --x: calc(var(--step) * 4); --bgc: var(--accent-deep); --fg: var(--on-accent); }
.card:nth-child(6) { --x: calc(var(--step) * 5); --bgc: var(--accent-hi); --fg: var(--on-accent); }
.card + .card { margin-top: -24px; }
.card summary { list-style: none; cursor: pointer; display: block; position: relative; padding-top: 40px; color: var(--fg); -webkit-tap-highlight-color: transparent; }
.card summary::-webkit-details-marker { display: none; }
.card .tab { position: absolute; top: 0; left: var(--x); width: var(--tab); height: 40px; display: flex; align-items: center; justify-content: center; font-size: var(--step-small); font-weight: 700; padding-top: 2px; }
.card .q { display: block; padding: 18px calc(var(--head) * 0.6) 0 24px; font-size: var(--step-lead); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; min-height: calc(var(--strip) + 0px); }
.card .a { padding: 0 calc(var(--head) * 0.6) 46px 24px; color: var(--fg); max-width: 62ch; }
.card .a p { max-width: 54ch; }
.card .a p + p { margin-top: 0.7em; }
@media (hover: hover) and (pointer: fine) { .card summary:hover .q { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; } }
.card summary:focus-visible { outline-offset: -4px; }

/* ------------------------------------------------------------------ cta: the action tile */
.cta { margin-top: var(--gap-section); }
.cta-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; height: clamp(320px, 26vw, 400px); }
.cta-row > * { min-width: 0; }
.cta-l { grid-column: 1 / 3; margin-left: calc(var(--margin) * -1); border-radius: 0 var(--head) var(--head) 0; overflow: hidden; background: var(--surface); }
.cta-l img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cta-main { --k: 3; grid-column: 3 / 11; background: var(--accent); color: var(--on-accent); border-radius: 0 var(--head) var(--head) 0; clip-path: var(--streak); padding: 40px clamp(40px, 8%, 120px) 40px calc(var(--k) * 78px + 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-main h2 { font-size: var(--step-head); line-height: 1.04; letter-spacing: -0.025em; max-width: 14ch; }
.cta-main p { margin-top: 14px; max-width: 42ch; }
.cta-main .btn { margin-top: 24px; }
.cta-r { grid-column: 11 / 13; margin-right: calc(var(--margin) * -1); background: var(--accent-deep); border-radius: 0 var(--head) var(--head) 0; }
.cta-wrap { padding: 0 var(--margin); overflow: hidden; }

/* ------------------------------------------------------------------ footer: the mark, built large */
.footer { margin-top: var(--gap-section); background: var(--surface); padding: clamp(40px, 5vw, 80px) var(--margin) 28px; }
.footer .big { display: block; width: 100%; height: auto; max-height: 46svh; object-fit: contain; object-position: left center; }
.foot-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.foot-cols { grid-column: 1 / 9; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px var(--gutter); }
.foot-cols h3 { font-size: var(--step-small); font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.foot-cols li + li { margin-top: 6px; }
.foot-cols li.dot, .foot-cols li:has(.dot) { display: flex; align-items: baseline; }
.foot-cols .dot::before { flex: none; }
.foot-cols a, .foot-contact a { font-size: var(--step-body); text-decoration: none; }
.foot-contact { grid-column: 9 / 13; }
.foot-contact p { max-width: 34ch; }
.foot-contact p + p { margin-top: 10px; }
.foot-contact .muted { color: var(--muted); font-size: var(--step-small); }
.credits { grid-column: 1 / 13; max-width: 72ch; }
.credits a { text-decoration: underline; text-underline-offset: 0.2em; }
.foot-last { grid-column: 1 / 13; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-last p { color: var(--muted); font-size: var(--step-small); }

/* ------------------------------------------------------------------ motion (the page is finished without it) */
@media (prefers-reduced-motion: no-preference) {
  /* hero: the stroke runs in behind the ball, the headline rises line by line */
  .js .hero-mark .mk-stroke { transform-origin: right center; animation: stroke-in 1300ms var(--ease-out) 100ms both; }
  .js .hero-mark .mk-ball { animation: ball-in 1300ms var(--ease-out) 250ms both; }
  .js .hero-copy .line > span, .js .price-copy .line > span { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 520ms); }
  .js .nav { animation: fade 900ms ease both; }
  @keyframes stroke-in { from { opacity: 0; transform: translateX(-14%) scaleX(0.82); } to { opacity: 1; transform: none; } }
  @keyframes ball-in { from { opacity: 0; transform: translateX(9%) scale(0.94); } to { opacity: 1; transform: none; } }
  @keyframes line-up { to { transform: none; } }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }

  /* sections: parts arrive in reading order, once */
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .tile[data-reveal] { transform: translateX(-28px); }
  .js .tile[data-reveal].is-in { transform: none; }
  .js .stages[data-reveal] { transform: none; clip-path: inset(0 100% 0 0); opacity: 1; transition: clip-path 1000ms var(--ease-in-out); }
  .js .stages[data-reveal].is-in { clip-path: inset(0 0 0 0); }
  .js .card[data-reveal] { transform: translateX(-36px); }
  .js .card[data-reveal].is-in { transform: none; }

  /* scroll-linked: the hero shape drifts up as the hero leaves */
  @supports (animation-timeline: view()) {
    .hero-art { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes drift { from { transform: translateY(0); } to { transform: translateY(-5%); } }
  }
  /* tiles answer the pointer: the photograph drifts, the screens' captions lift */
  @media (hover: hover) and (pointer: fine) { .tile:not(.shot-tile):hover > img { transform: scale(1.03); } .shot-tile:hover .cap { transform: translateX(6px); } }
  .tile:not(.shot-tile) > img { transition: transform 900ms var(--ease-soft); }
  .tile .cap { transition: transform 500ms var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  .screens figure, .facts p { transition-duration: 1ms; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ board below 1100px: pictures flow, captions sit under them */
@media (max-width: 1099px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; align-items: start; }
  .tile { --k: 0.5; grid-column: auto; grid-row: auto; }
  .t-hitrep, .t-exp, .t-head { grid-column: 1 / 3; }
  .t-head { order: -1; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; padding: 0 0 18px; }
  .t-head h2 { white-space: normal; max-width: 12ch; }
  .t-head .hitting { font-size: var(--step-body); max-width: 40ch; }
  .shot-tile { display: flex; flex-direction: column; }
  .tile > img.shot { position: static; width: calc(100% - var(--k) * 70px); height: auto; margin-left: calc(var(--k) * 70px); }
  .shot-tile .cap { position: static; max-width: none; padding: 12px 20px 18px calc(var(--k) * 78px + 4px); }
  .shot-tile .cap span { max-width: 44ch; }
}
@media (max-width: 600px) {
  .board { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tile { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ phone: its own composition */
@media (max-width: 800px) {
  :root { --head: 40px; --gap-section: 96px; --step-display: clamp(2.5rem, 11.5vw, 3.4rem); --step-head: clamp(1.75rem, 8.4vw, 2.25rem); }
  .btn { width: 100%; max-width: 440px; }
  .hero { min-height: 100svh; display: flex; flex-direction: column; }
  .hero-art { order: 3; position: relative; inset: auto; height: 110vw; flex: none; margin-top: 0; }
  .hero-mark { width: 150vw; height: 44vw; right: -12vw; top: 40vw; transform: rotate(-22deg); }
  .hero-mark .mk-stroke { inset: 0 10vw 0 0; border-radius: 0 25vw 25vw 0; }
  .hero-mark .mk-ball { width: 52vw; margin-top: -26vw; border-width: 2.6vw; }
  .nav ul li:not(:last-child) { display: none; }
  .hero-copy { max-width: none; padding: 11svh var(--margin) 0 var(--margin); }
  .hero-copy .sentence { font-size: var(--step-body); max-width: 30ch; }
  .hero-copy .action { margin-top: 24px; }
  .hero-copy .status { max-width: 30ch; }

  .showcase { margin-top: var(--gap-section); min-height: 0; padding: 0 var(--margin); display: flex; flex-direction: column; }
  .stage { position: relative; inset: auto; width: 88vw; height: min(112vw, 72svh); align-self: center; flex: none; }
  .screens { left: 50%; top: 50%; }
  .screens .portrait { width: min(88vw, calc(min(108vw, 70svh) * var(--ar))); transform: translate(-50%, -50%); }
  .screens .wide { width: calc(100vw - 12px); min-width: 0; transform: translate(-50%, -50%); }
  .picker { position: static; max-width: none; margin-top: 36px; }
  .picker [role="tablist"] { flex-direction: row; flex-wrap: wrap; gap: 0 22px; padding: 6px 0 10px; }
  .tabbtn { font-size: var(--step-head); white-space: nowrap; min-height: 44px; }
  .tabbtn::before { display: none; }
  .tabbtn[aria-selected="true"] { color: var(--accent); }
  .facts { position: relative; left: auto; right: auto; top: auto; translate: none; width: auto; margin-top: 12px; min-height: 9.5em; }
  .facts p { font-size: var(--step-body); }

  .band h2 { max-width: 11ch; }
  .stages { flex-direction: column; height: 72svh; min-height: 500px; gap: 6px; }
  .stages li { padding: 16px var(--margin) 14px; background: var(--c); color: var(--fc); flex: 1 1 0; min-height: 72px; }
  .stages li::before { display: none; }
  .stages .dur { position: static; padding: 0; }
  .stages li:first-child .dur, .stages li:first-child .clause { padding-left: 0; }
  .stages li:first-child { padding-top: 92px; flex-grow: 1.3; clip-path: var(--streak-v); }
  .stages li:last-child { flex-grow: 1.25; border-radius: 0 0 50% 50% / 0 0 15vw 15vw; padding-bottom: clamp(36px, 9vw, 64px); }
  .js .stages[data-reveal], .js .stages[data-reveal].is-in { clip-path: none; transition: none; }
  .stages .clause { margin-top: 6px; font-size: var(--step-body); line-height: 1.35; max-width: 30ch; padding: 0; color: var(--fc); }

  .faq h2, .drawer { grid-column: 1 / 13; }
  .card { --tab: 120px; --step: 48px; --strip: 72px; }
  .card .q { padding: 14px 24px 0 16px; min-height: 64px; }
  .card .a { padding: 0 20px 44px 20px; }
  .card + .card { margin-top: -22px; }

  .cta-row { grid-template-columns: 1fr 1fr; height: auto; gap: 8px; }
  .cta-main { --k: 0.7; grid-column: 1 / 3; grid-row: 1; margin: 0 calc(var(--margin) * -1); padding: 40px var(--margin) 36px calc(var(--margin) + 64px); min-height: 300px; border-radius: 0 var(--head) var(--head) 0; clip-path: var(--streak); }
  .cta-main .btn { width: 100%; }
  .cta-l, .cta-r { grid-row: 2; height: 120px; margin: 0; }
  .cta-l { grid-column: 1; margin-left: calc(var(--margin) * -1); }
  .cta-r { grid-column: 2; margin-right: calc(var(--margin) * -1); }

  .foot-cols { grid-column: 1 / 13; grid-template-columns: 1fr 1fr; }
  .foot-contact { grid-column: 1 / 13; }
  .footer { padding-top: 40px; }
}

/* without script the answers are listed under the first screen */
html:not(.js) .showcase { min-height: 0; padding: 0 var(--margin); display: flex; flex-direction: column; }
html:not(.js) .stage { position: relative; inset: auto; width: min(88vw, 520px); aspect-ratio: 1; align-self: center; flex: none; }
html:not(.js) .screens { left: 50%; top: 50%; }
html:not(.js) .screens .portrait { width: min(76vw, calc(80vw * var(--ar)), 300px); }
html:not(.js) .picker { position: static; max-width: none; margin-top: 36px; }
html:not(.js) .picker [role="tablist"] { display: none; }
html:not(.js) .facts { position: relative; left: auto; right: auto; top: auto; translate: none; margin-top: 16px; }
html:not(.js) .facts p { position: relative; opacity: 1; margin-top: 18px; }


/* ------------------------------------------------------------------ pricing page */
.price-hero { position: relative; }
.price-copy { padding: clamp(48px, 9vh, 120px) var(--margin) 0 8vw; max-width: 72vw; }
.price-copy .sentence { margin-top: clamp(22px, 2.6vw, 38px); max-width: 44ch; font-size: var(--step-lead); line-height: 1.38; }
.nav a.link[aria-current="page"] { text-decoration-color: var(--accent); }
.plans-wrap { margin-top: clamp(56px, 7vw, 110px); padding: 0 var(--margin); }
.plans { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.plan { --k: 1; position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 44px) calc(var(--head) * 0.7) clamp(30px, 3vw, 44px) calc(var(--k) * 78px + 8px);
  border-radius: 0 var(--head) var(--head) 0; clip-path: var(--streak); }
.plan-free { grid-column: 1 / 6; background: var(--surface); color: var(--ink); }
.plan-pro { grid-column: 6 / 13; background: var(--accent); color: var(--on-accent); }
.plan h2 { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.025em; }
.plan .price { font-size: var(--step-body); }
.plan .price .amt { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.01em; }
.plan .price .or { display: block; margin-top: 2px; font-size: var(--step-small); opacity: 0.82; }
.plan .reading { display: flex; align-items: baseline; gap: 0.18em; font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; }
.plan .reading .num { font-size: clamp(4.5rem, 10vw, 9.5rem); font-variant-numeric: tabular-nums; }
.plan .reading .unit { font-size: var(--step-lead); letter-spacing: -0.01em; }
.plan-pro .reading .tenth { color: var(--bg); }
.plan-free .reading { color: var(--muted); }
.plan .incl { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.plan .incl li { line-height: 1.35; padding-left: 2.05em; text-indent: -2.05em; }
.plan .incl li::before, .plan .incl .exp { text-indent: 0; }
.plan-pro .dot::before { background: var(--bg); }
.plan .exp { display: inline-block; margin-left: 8px; padding: 1px 8px 2px; border-radius: 0 999px 999px 0; font-size: var(--step-small); font-weight: 500; vertical-align: 1px; background: rgba(20, 19, 18, 0.14); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.btn.on-dark { background: var(--accent); color: var(--on-accent); }
.plans-note { margin-top: 18px; color: var(--muted); font-size: var(--step-small); max-width: 70ch; }

.compare-wrap { margin-top: var(--gap-section); padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.compare-wrap h2 { grid-column: 3 / 11; margin-bottom: clamp(24px, 3vw, 40px); }
.cmp { grid-column: 3 / 11; }
.cmp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(243, 243, 242, 0.12); align-items: baseline; }
.cmp-row > :nth-child(3) { color: var(--accent); font-weight: 500; }
.cmp-row .no { color: var(--muted); }
.cmp-top { border-top: 0; padding-bottom: 8px; font-weight: 700; }
.cmp-top > :nth-child(3) { color: var(--accent); }
.cmp-row [role="rowheader"] { font-weight: 500; }

@media (max-width: 900px) {
  .plan-free, .plan-pro { grid-column: 1 / -1; }
  .plan-pro { order: -1; }
}
@media (max-width: 800px) {
  .price-copy { max-width: none; padding-left: var(--margin); }
  .plan { --k: 0.6; padding-right: calc(var(--head) * 0.9); }
  .plan .btn { align-self: stretch; }
  .compare-wrap h2, .cmp { grid-column: 1 / -1; }
  .cmp-row { grid-template-columns: 1.2fr 0.9fr 1fr; gap: 8px; font-size: var(--step-small); }
}
