/* Replaybook's website: one stylesheet for index.html, features.html and changelog.html.
   The look ("Night chart", chosen by Theo on 15 Oct 2026): the page is a market seen at night. The past is lit like a
   city, the future stays dark, and one warm sodium-amber light marks "now": the replay line, its glow and the main
   buttons. The logo keeps its own blue and green. Green and red only ever mean up and down.
   Fonts, stored next to the page (no calls to Google), both SIL Open Font License:
   Hedvig Letters Serif for headlines and prices (fonts/OFL-HedvigLettersSerif.txt),
   Hanken Grotesk for everything else (fonts/OFL-HankenGrotesk.txt).
   Classes to reuse on other pages: .top (header), .foot (footer), .btn .btn-lamp / .btn-quiet, .page-hero, .head,
   .lede, .shot, .frows / .frow, .ticks (lists), .compare and .table-wrap (tables), .faq, .log (changelog). */
@font-face {
  font-family: 'Hedvig Letters Serif';
  src: url('fonts/hedvig-letters-serif.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('fonts/hanken-grotesk.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #070b14;     /* the page */
  --night-2: #0b1221;   /* raised: panels, the pricing table */
  --night-3: #111a2d;   /* hover, inputs */
  --deep: #03050a;      /* the hidden future: the darkest thing on the page */
  --line: rgba(150, 172, 214, .14);
  --line-2: rgba(150, 172, 214, .24);
  --text: #ede7dc;      /* lamp-lit paper */
  --text-2: #a9b2c3;
  --text-3: #8a94a8;
  --amber: #f2a65a;     /* sodium light: now, the main button */
  --amber-hi: #ffc98e;
  --amber-ink: #1a1006;
  --up: #6cc9a6;
  --down: #e07d72;
  --serif: 'Hedvig Letters Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1240px;
  --section: clamp(84px, 10vw, 150px);
  --top-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 17px/1.6 var(--sans); font-feature-settings: 'kern';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--amber-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
b, strong { font-weight: 600; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only, .sr, .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; border-radius: 6px; }
section { padding-block: var(--section); }
main > section { overflow-x: clip; } /* glows may spill a little, never into a sideways scroll (clip keeps sticky working) */

/* headlines: the serif, quiet sizes; one idea per heading, never a label above it */
h1 { font: 400 clamp(44px, 5.5vw, 82px)/1.0 var(--serif); letter-spacing: -.012em; color: #f4eee4; text-wrap: balance; }
h2 { font: 400 clamp(36px, 4.3vw, 60px)/1.05 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
h3 { font: 400 clamp(26px, 2.4vw, 34px)/1.12 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 38em; }
.small { font-size: 14.5px; color: var(--text-3); }
.head, .section-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head .lede, .section-head .lede { max-width: 34em; }
@media (max-width: 980px) { .head, .section-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, box-shadow .25s, border-color .2s, color .2s, transform .2s;
}
.btn-lamp {
  background: var(--amber); color: var(--amber-ink);
  box-shadow: 0 0 0 1px rgba(255, 214, 160, .35) inset, 0 8px 30px -8px rgba(242, 166, 90, .55);
}
.btn-lamp:hover { background: #f7b46d; box-shadow: 0 0 0 1px rgba(255, 224, 180, .5) inset, 0 10px 40px -6px rgba(242, 166, 90, .7); }
.btn-quiet { color: var(--text); border-color: var(--line-2); background: rgba(10, 16, 30, .35); }
.btn-quiet:hover { border-color: rgba(242, 166, 90, .55); background: rgba(242, 166, 90, .07); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-lamp:disabled:hover { background: var(--amber); }

/* ---------- the founding places, one line above everything ---------- */
.launch { position: relative; z-index: 21; background: var(--deep); border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.launch .wrap { padding-block: 10px; }
.launch p { text-wrap: balance; }
.launch b { color: var(--text); font-weight: 600; }
.launch a { white-space: nowrap; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; min-height: var(--top-h);
  background: rgba(7, 11, 20, .86); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background-color .3s, border-color .3s;
}
/* on the home page it floats over the night chart and only gets its glass once the page moves */
.top.over { margin-bottom: calc(-1 * var(--top-h)); background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top.over.scrolled { background: rgba(7, 11, 20, .86); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top > .wrap { min-height: var(--top-h); display: flex; align-items: center; gap: 28px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--text); text-decoration: none; font: 400 23px/1 var(--serif); border-radius: 8px; }
.brand .wordmark { display: block; width: auto; height: 30px; }
.brand > svg:not(.wordmark) { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 12px; border-radius: 999px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 7px; }
.nav .nav-cta { display: none; }
.top .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; }

/* ---------- hero: the night chart ---------- */
.hero {
  position: relative; padding: 0; isolation: isolate; overflow: hidden;
  min-height: clamp(680px, calc(100svh - var(--launch-h, 0px)), 1000px);
  display: flex; flex-direction: column;
  background: linear-gradient(#0a1326, var(--night) 70%);
}
.hero::after { /* film grain, so the dark never bands */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url('img/grain.png'); opacity: .5; mix-blend-mode: soft-light;
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero-in { position: relative; z-index: 2; flex: 1 0 auto; display: grid; grid-template-rows: auto 1fr; padding-top: calc(var(--top-h) + clamp(40px, 9vh, 80px)); }
.hero-copy { max-width: 800px; position: relative; }
.hero-copy::before { /* a little dark air behind the words, so the lights never fight them */
  content: ''; position: absolute; inset: -60px -90px -50px -120px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(7, 11, 20, .78), rgba(7, 11, 20, 0));
}
.hero h1 { /* two words, so they can be big: one line from a phone to a wide screen */
  font-size: clamp(64px, 10.2vw, 150px); line-height: .9; letter-spacing: -.028em; margin-left: -.045em;
}
.hero .lede { margin-top: clamp(26px, 2.9vw, 42px); max-width: 31em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.ctas .fine { flex: 1 1 260px; max-width: 30em; margin: 0 0 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--text-3); }
.chart-zone { min-height: 150px; }
/* a short wide screen (a laptop, a tablet on its side): less air, so the strip and the buttons stay on the first screen */
@media (min-width: 761px) and (max-height: 860px) {
  .hero-in { padding-top: calc(var(--top-h) + clamp(28px, 5vh, 48px)); }
  .hero h1 { font-size: clamp(64px, min(10.2vw, 16vh), 150px); }
  .chart-zone { min-height: 96px; }
  .ctas { margin-top: 28px; }
}
/* the session strip under the chart: the script puts each open on the chart's own time axis (left in px), so the amber
   line passes each open on the strip as it passes it on the chart. The session the line is in lights up. */
.sessions { position: relative; z-index: 2; flex: none; height: 52px; color: var(--text-3); }
.s-track { position: absolute; top: 6px; left: var(--x0, 16px); width: var(--xw, calc(100% - 32px)); height: 1px; background: var(--line-2); }
.s-band { position: absolute; top: 5px; height: 3px; border-radius: 2px; overflow: hidden; }
.s-band i { display: block; height: 100%; background: var(--amber); opacity: .38; transform-origin: 0 50%; transform: scaleX(0); }
.s-band[data-state="now"] i { opacity: 1; }
.s-band[data-state="now"] { box-shadow: 0 0 12px rgba(242, 166, 90, .45); overflow: visible; }
.s-mark { position: absolute; top: 0; padding: 17px 0 0 10px; white-space: nowrap; font-size: 13px; line-height: 1.25; color: var(--text-3); transition: color .45s; }
.s-mark::before { /* the open: a short tick down from the track */
  content: ''; position: absolute; left: 0; top: 1px; width: 1px; height: 30px;
  background: linear-gradient(currentColor, transparent); opacity: .7; transition: background-color .45s;
}
.s-mark b { font: 400 16px/1 var(--serif); margin-right: 6px; color: inherit; }
.s-mark span { font-variant-numeric: tabular-nums; }
.s-mark[data-state="past"] { color: var(--text-2); }
.s-mark[data-state="now"] { color: var(--text); }
.s-mark[data-state="now"] span { color: var(--amber-hi); }
.s-mark[data-state="now"]::before { background: linear-gradient(var(--amber), rgba(242, 166, 90, 0)); opacity: 1; }
.s-mark.lit b { animation: sessionOn 1.1s ease-out; }
@keyframes sessionOn { 0% { color: var(--amber-hi); text-shadow: 0 0 14px rgba(242, 166, 90, .9); } 100% { text-shadow: 0 0 0 rgba(242, 166, 90, 0); } }
.player {
  position: relative; z-index: 2; flex: none;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px;
  padding-block: 14px 20px; border-top: 1px solid var(--line);
}
.clock { font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock b { color: var(--amber); font-weight: 600; font-size: 17px; margin-right: 4px; }
.madeup { font-size: 14px; color: var(--text-3); }
.madeup span { white-space: nowrap; }
.keys { display: flex; gap: 8px; justify-content: flex-end; }
.key-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 8px 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .55);
  color: var(--text); font: 500 15px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.key-btn:hover { border-color: rgba(242, 166, 90, .55); }
.key-btn.on { border-color: var(--amber); background: rgba(242, 166, 90, .1); }
kbd {
  display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px;
  border-radius: 7px; border: 1px solid var(--line-2); border-bottom-width: 2px;
  font: 600 12.5px/1 var(--sans); color: var(--text-2); background: rgba(255, 255, 255, .03);
}
kbd svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.play-btn { padding-left: 14px; gap: 9px; }
.pp { width: 14px; height: 14px; fill: var(--amber); flex: none; }
.pp-pause { display: none; }
.play-btn.on .pp-play { display: none; }
.play-btn.on .pp-pause { display: inline; }
.key-btn.pulse kbd { animation: keypress .28s ease-out; }
@keyframes keypress { 40% { transform: translateY(1px); color: var(--amber-hi); border-color: var(--amber); } }

/* the words arrive with the lights, once */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { opacity: 0; animation: arrive 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .hero-copy > :nth-child(2) { animation-delay: .25s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .45s; }
  .js .player { opacity: 0; animation: arrive 1s ease forwards 2.2s; }
}
@keyframes arrive { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }

/* ---------- everything stops at the replay time ---------- */
.stops { padding-bottom: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; color: var(--text-2); }
.ticks li { padding-left: 22px; position: relative; max-width: 36em; }
.ticks li::before { /* a small replay line, not a bullet */
  content: ''; position: absolute; left: 0; top: .3em; width: 2px; height: 1.05em; border-radius: 2px;
  background: var(--amber); box-shadow: 0 0 8px rgba(242, 166, 90, .8);
}
.stops .head { margin-bottom: 0; align-items: start; }

/* ---------- practice that counts ---------- */
.pro-tag {
  display: inline-block; vertical-align: .3em; margin-left: 8px; padding: 4px 9px 5px; border-radius: 999px;
  border: 1px solid rgba(242, 166, 90, .5); color: var(--amber-hi);
  font: 600 12.5px/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
}
.shot { margin: 0; min-width: 0; }
.planner .head { margin-bottom: 0; align-items: start; }
.planner .feat-text { max-width: 36em; }
.shot img { border-radius: 12px; border: 1px solid rgba(190, 205, 235, .14); background: var(--night-2); box-shadow: 0 30px 90px -40px rgba(0, 0, 0, .9); }
figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--text-3); max-width: 46em; }
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(48px, 6vw, 80px); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.feat-text { display: grid; gap: 16px; align-content: start; max-width: 36em; }
.feat-text p { color: var(--text-2); }
.fine-inline { font-size: 14.5px; color: var(--text-3) !important; }
.feat.wide { grid-template-columns: minmax(0, 1fr); }
.feat.wide .feat-text { max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px clamp(32px, 6vw, 96px); align-items: start; }
.feat.wide .feat-text > h3 { grid-row: 1 / span 4; }
.feat.wide .feat-text > :not(h3) { grid-column: 2; max-width: 34em; }
.feat.wide > .shot { margin-top: 8px; }
/* a wide strip on big screens, its own phone crop on small ones */
.pic-phone { display: none; }
@media (max-width: 700px) { .pic-wide { display: none; } .pic-phone { display: block; } }
.feat.flip > .shot { order: -1; }
@media (max-width: 900px) {
  .feat, .feat.wide .feat-text { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .feat.wide .feat-text > h3 { grid-row: auto; }
  .feat.wide .feat-text > :not(h3) { grid-column: auto; }
  .feat.flip > .shot { order: 0; }
}
/* a wide strip of the app: on a small screen it scrolls sideways at a readable size, or a phone crop takes its place */
.strip-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; border-radius: 12px; }
@media (max-width: 700px) {
  .strip-scroll img { width: 760px; max-width: none; }
  .strip-scroll { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .strip-scroll:focus-visible { outline-offset: -2px; } /* the mask would hide a ring drawn outside */
}
.closing { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); }
.closing p { font: 400 clamp(22px, 2.2vw, 28px)/1.35 var(--serif); max-width: 34em; text-wrap: pretty; }
.closing a { white-space: nowrap; }

/* tick the plan: your ticks on the left, the real card on the right, joined row by row by a line of lights.
   The rows sit at the card's own rule rows: --y is each row's centre in card widths (both pictures share them). */
.planner { padding-top: 0; }
.stage {
  --cw: clamp(330px, 31vw, 400px);
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) var(--cw); align-items: start;
}
.rules { border: 0; margin: 0; padding: 0; min-width: 0; position: relative; align-self: stretch; }
.rules legend {
  position: absolute; left: 0; top: calc(var(--cw) * .125); transform: translateY(-50%); padding: 0;
  font-weight: 600; font-size: 15.5px; color: var(--text);
}
.rules label {
  position: absolute; left: -14px; right: 0; top: calc(var(--cw) * var(--y)); transform: translateY(-50%);
  height: calc(var(--cw) * .142); display: flex; align-items: center; gap: 16px; padding: 0 0 0 14px;
  border-radius: 12px 0 0 12px; cursor: pointer; color: var(--text-2); transition: background-color .25s, color .25s;
}
.rules label:hover { background: linear-gradient(90deg, rgba(150, 172, 214, .07), rgba(150, 172, 214, 0) 70%); }
.rules label:hover .tick { border-color: rgba(242, 166, 90, .8); }
.rules input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rule { flex: none; max-width: 24em; }
.wire { /* a road of small lights to the card; they come on from your tick toward the card */
  flex: 1 1 auto; align-self: center; height: 4px; margin-left: 4px; position: relative; min-width: 24px;
  background: radial-gradient(circle, rgba(150, 172, 214, .32) 0 1px, transparent 1.6px) 0 50% / 10px 4px repeat-x;
}
.wire::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle, var(--amber-hi) 0 1.3px, rgba(242, 166, 90, .5) 1.4px, transparent 2px) 0 50% / 10px 4px repeat-x;
  filter: drop-shadow(0 0 3px rgba(242, 166, 90, .85));
  clip-path: inset(0 100% 0 0); transition: clip-path .55s cubic-bezier(.5, 0, .2, 1);
}
.rules input:checked ~ .wire::after { clip-path: inset(0 0 0 0); }
.rules-foot { position: absolute; left: 0; right: 24px; top: calc(var(--cw) * 1.27); transition: top .7s cubic-bezier(.3, .8, .2, 1); }
.stage.lit .rules-foot { top: calc(var(--cw) * 1.645); }
.tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed rgba(242, 166, 90, .6);
  display: grid; place-items: center; transition: background-color .3s, border-color .3s, box-shadow .4s;
}
.tick::after {
  content: ''; width: 10px; height: 6px; border: solid var(--amber-ink); border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(.4); opacity: 0; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), opacity .2s;
}
.rules input:checked + .tick { background: var(--amber); border: 1.5px solid var(--amber-hi); box-shadow: 0 0 18px rgba(242, 166, 90, .55); }
.rules input:checked + .tick::after { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.rules input:checked ~ .rule { color: var(--text); }
.rules input:focus-visible + .tick { outline: 2px solid var(--amber-hi); outline-offset: 3px; }
.rules-say { font-weight: 600; color: var(--text); min-height: 1.6em; transition: color .4s; }
.rules-say.done { color: var(--amber-hi); }
.pro-note { margin-top: 8px; font-size: 14.5px; color: var(--text-3); }
.card-shot { margin: 0; width: 100%; max-width: var(--cw, 400px); position: relative; }
.card-frame { position: relative; aspect-ratio: 642 / 990; transition: aspect-ratio .7s cubic-bezier(.3, .8, .2, 1); }
.card-frame::before { /* its light: rises a little with each tick, blooms when the plan is ready */
  content: ''; position: absolute; inset: 8% -10% 4%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 206, 114, .55), rgba(245, 206, 114, 0));
  opacity: calc(.04 + var(--ticks, 0) * .06); filter: blur(30px); transition: opacity .5s;
}
.card-shot[data-lit="true"] .card-frame { aspect-ratio: 642 / 1240; }
.card-shot[data-lit="true"] .card-frame::before { opacity: .5; inset: 30% -16% -6%; }
.card-pics { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: 20px; }
.card-frame img { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; }
/* only the lit card fades, over the waiting one, which stays solid underneath: no double image in between */
.card-frame .lit { opacity: 0; transition: opacity .35s ease; }
.card-shot[data-lit="true"] .lit { opacity: 1; }
.card-shot figcaption { margin-top: 16px; }
@media (max-width: 819px) {
  /* one column: the card first, then your ticks right under its button, so it lights up where you look */
  .stage { --cw: min(340px, 100%); display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
  .card-shot { order: -1; display: flex; flex-direction: column; margin: 0 auto 0 0; }
  .card-shot figcaption { order: -1; margin: 0 0 16px; }
  .rules { display: block; }
  .rules legend { position: static; transform: none; margin-bottom: 10px; }
  .rules label { position: relative; top: auto; transform: none; height: auto; min-height: 52px; left: auto; margin: 2px -12px 0; padding: 8px 12px; border-radius: 12px; }
  .rules label:hover { background: rgba(150, 172, 214, .06); }
  .rule { flex: 1 1 auto; max-width: none; }
  .wire { display: none; }
  .rules-foot, .stage.lit .rules-foot { position: static; margin-top: 12px; }
}

/* ---------- six looks: one frame, six names ---------- */
.looks-sec { border-top: 1px solid var(--line); }
.lookbox { display: grid; grid-template-columns: minmax(200px, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 72px); align-items: start; }
.look-pick { display: grid; gap: 2px; align-content: start; }
.look-pick button {
  position: relative; text-align: left; font: 400 clamp(24px, 2.2vw, 30px)/1.15 var(--serif); color: var(--text-3);
  background: none; border: 0; padding: 8px 0 8px 22px; cursor: pointer; border-radius: 8px; transition: color .2s;
}
.look-pick button::before { /* the replay line again: it marks the look you're looking at */
  content: ''; position: absolute; left: 0; top: 50%; width: 2px; height: 1em; margin-top: -.5em; border-radius: 2px;
  background: var(--amber); box-shadow: 0 0 8px rgba(242, 166, 90, .8); opacity: 0; transition: opacity .2s;
}
.look-pick button:hover { color: var(--text-2); }
.look-pick button[aria-pressed="true"] { color: var(--text); }
.look-pick button[aria-pressed="true"]::before { opacity: 1; }
.look-show { min-width: 0; }
.look-frame { border-radius: 12px; border: 1px solid rgba(190, 205, 235, .14); background: var(--night-2); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 90px -40px rgba(0, 0, 0, .9); }
.look-frame img { width: 100%; height: 100%; object-fit: cover; }
.look-says { margin-top: 16px; color: var(--text-2); max-width: 46em; min-height: 3.2em; }
.look-says b { color: var(--text); }
.aside { margin-top: clamp(28px, 4vw, 44px); color: var(--text-2); max-width: 46em; }
.aside b { color: var(--text); }
.aside-more { margin-top: 12px; }
@media (max-width: 860px) {
  .lookbox { grid-template-columns: 1fr; }
  .look-pick { display: flex; flex-wrap: wrap; gap: 0 22px; }
  .look-pick button { font-size: 22px; padding: 6px 0 10px; }
  .look-pick button::before { left: 0; right: 0; top: auto; bottom: 2px; width: auto; height: 2px; margin: 0; }
}

/* ---------- live accounts ---------- */
.live { background: linear-gradient(var(--night), #060a13); border-top: 1px solid var(--line); }
.live .feat { margin-top: 0; padding-top: 0; border-top: 0; align-items: center; }
.live .feat-text h2 { margin-bottom: 6px; font-size: clamp(34px, 3.5vw, 50px); }

/* ---------- try it free: two ways, a rule between ---------- */
.free { border-top: 1px solid var(--line); }
.free-grid { display: grid; grid-template-columns: 1fr 1fr; }
.free-grid > div { display: grid; gap: 14px; align-content: start; justify-items: start; padding-block: 6px; }
.free-grid > div:first-child { padding-right: clamp(24px, 4vw, 64px); }
.free-grid > div + div { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line-2); }
.free-grid h3 { font-size: clamp(26px, 2.4vw, 32px); }
.free-grid p { color: var(--text-2); max-width: 32em; }
.free-grid .btn { margin-top: 10px; }
@media (max-width: 760px) {
  .free-grid { grid-template-columns: 1fr; gap: 36px; }
  .free-grid > div:first-child { padding-right: 0; }
  .free-grid > div + div { padding-left: 0; padding-top: 36px; border-left: 0; border-top: 1px solid var(--line-2); }
}

/* ---------- pricing ---------- */
.pricing { border-top: 1px solid var(--line); background: linear-gradient(var(--night), #060912); }
.price-head { text-align: center; display: grid; justify-items: center; gap: 22px; }
.price-head .lede { max-width: 36em; }
.period-row { display: flex; justify-content: center; }
.period { display: inline-flex; margin-top: 40px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .5); }
.period button {
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2);
  font: 600 15px/1 var(--sans); cursor: pointer; transition: background-color .25s, color .25s;
}
.period .save { font-weight: 500; color: var(--text-3); margin-left: 4px; transition: color .25s; }
.period button[aria-pressed="true"] { background: var(--text); color: var(--night); }
.period button[aria-pressed="true"] .save { color: #4b5466; }
.plans {
  margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 22px;
  background: var(--night-2); overflow: hidden; position: relative;
}
.plan { position: relative; padding: clamp(28px, 3.4vw, 46px); display: flex; flex-direction: column; align-items: flex-start; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan h3 { font-size: 30px; position: relative; }
.plan .for { margin-top: 8px; color: var(--text-2); position: relative; }
.amount { margin-top: 30px; display: flex; align-items: baseline; gap: 10px; position: relative; }
.amount .num { font: 400 clamp(56px, 6vw, 76px)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.amount .per { color: var(--text-2); font-size: 16px; }
.subline { margin-top: 8px; font-size: 15px; color: var(--text-3); min-height: 1.6em; position: relative; }
.offer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); position: relative; max-width: 29em; }
.offer .left { font-weight: 600; color: var(--amber-hi); white-space: nowrap; }
.offer .left:empty { display: none; }
/* Founding 100: the normal price struck through next to the $5 month, how many places are taken (a thin bar, from the
   server's count) and, from 50 up, the members. Screen readers hear "$5 instead of $15" (.vh) and skip the bar. */
.offer s { color: var(--text-3); text-decoration-thickness: 1.5px; }
.offer .left { display: block; margin-top: 8px; font-variant-numeric: tabular-nums; }
.offer .meter { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: rgba(242, 166, 90, .18); overflow: hidden; }
.offer .meter::after { content: ''; display: block; height: 100%; width: var(--taken, 0%); background: var(--amber); border-radius: inherit; }
.launch .taken { color: var(--amber-hi); font-weight: 600; }
.members { color: var(--amber-hi); font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-foot { margin-top: auto; padding-top: 30px; position: relative; } /* the two buttons sit level */
.plan .btn { min-width: 200px; }
.plan.pro .lamp { /* a lamp over Pro: warm light falling from its top edge */
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 75% at 50% 0, rgba(255, 228, 196, .075), rgba(255, 228, 196, 0) 72%);
}
.plan.pro .lamp::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, rgba(242, 166, 90, 0), var(--amber) 30%, var(--amber) 70%, rgba(242, 166, 90, 0));
  box-shadow: 0 0 14px 1px rgba(242, 166, 90, .55);
}
.both { margin-top: clamp(36px, 4vw, 52px); color: var(--text-2); max-width: 52em; }
.both b { color: var(--text); }
.compare { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 16px; }
.compare caption { text-align: left; font: 400 26px/1.2 var(--serif); padding-bottom: 14px; }
.compare th, .compare td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-weight: 600; color: var(--text-2); font-size: 15px; padding-top: 6px; }
.compare tbody th { font-weight: 400; color: var(--text); width: 56%; padding-left: 0; }
.compare th small { color: var(--text-3); font-size: 14px; }
.compare td { width: 22%; color: var(--text); font-variant-numeric: tabular-nums; }
.compare td.no { color: var(--text-3); }
.compare td.yes { color: var(--amber-hi); }
.fine { margin-top: 16px; font-size: 14.5px; color: var(--text-3); max-width: 52em; }
.fine b { color: var(--text); }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan .btn, .plan-foot { width: 100%; }
  .compare { font-size: 15px; }
  .compare tbody th { width: 50%; }
  .compare td { width: 25%; }
}

/* the window before Creem's checkout (the tick box asking to start right away) */
.start { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: var(--night-2); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9); }
.start::backdrop { background: rgba(3, 5, 10, .74); }
.start form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 32px); }
.start h3 { font-size: 30px; }
.start-what { color: var(--text-2); }
.start-ok { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--night); cursor: pointer; }
.start-ok input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amber); cursor: pointer; }
.start-fine { color: var(--text-3); font-size: 14px; }
.start-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.start-actions .btn { min-height: 44px; }
@media (max-width: 480px) { .start-actions { flex-direction: column-reverse; } .start-actions .btn { width: 100%; } .start form { gap: 12px; } }

/* ---------- creators ---------- */
.creators { border-top: 1px solid var(--line); }
.creators-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.creators-text { display: grid; gap: 20px; justify-items: start; }
.creators-text p { color: var(--text-2); max-width: 36em; }
.creators-text .ticks { gap: 10px; margin-bottom: 4px; }
.calc { display: grid; gap: 12px; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--night-2); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--text-2); }
.calc output { font: 400 26px/1 var(--serif); color: var(--text); }
.calc input[type=range] { width: 100%; accent-color: var(--amber); margin: 4px 0 8px; }
.calc .line { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.calc .line b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc .total { border-top: 1px solid var(--line); padding-top: 14px; align-items: baseline; }
.calc .total b { font: 400 40px/1 var(--serif); }
.calc-note { font-size: 14px; color: var(--text-3); }
@media (max-width: 860px) { .creators-grid { grid-template-columns: 1fr; } }

/* ---------- faq: the title holds still on the left ---------- */
.faq-sec { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(28px, 6vw, 96px); align-items: start; }
.faq-grid h2 { position: sticky; top: 104px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 17px; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--text-2); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--amber-hi); }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 40em; }
@media (max-width: 980px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid h2 { position: static; } }

/* ---------- contact ---------- */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-2); }
.contact-grid p { color: var(--text-2); max-width: 36em; margin-top: 14px; }
.contact-grid p.small { color: var(--text-3); }
.email { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.email code { font: 500 17px/1 var(--sans); padding: 14px 18px; background: var(--night-2); border: 1px solid var(--line-2); border-radius: 999px; user-select: all; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 52px; background: #05080f; color: var(--text-2); font-size: 14.5px; }
.foot-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.foot-brand { display: grid; gap: 14px; justify-items: start; }
.foot-brand .brand .wordmark { height: 28px; }
.foot nav { display: grid; gap: 6px; justify-items: end; align-content: start; } /* two rows: the site, then the legal pages */
.foot nav span { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; }
.foot nav a { color: var(--text-2); text-decoration: none; padding: 4px 0; }
.foot nav a:hover { color: var(--text); text-decoration: underline; }
.risk { max-width: 60em; margin-top: 28px; font-size: 13.5px; line-height: 1.55; color: var(--text-3); }
.risk + .risk { margin-top: 12px; }
.risk a { color: var(--text-2); }
@media (max-width: 760px) { .foot-row { grid-template-columns: 1fr; } .foot nav { justify-items: start; } .foot nav span { justify-content: flex-start; } }

/* ---------- inner pages: features.html, changelog.html ---------- */
.page-hero { padding-block: calc(var(--top-h) * 0 + clamp(64px, 9vw, 120px)) clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.page-hero::before { /* a faint replay line at the right edge of the page's top, the hero's light carried over */
  content: ''; position: absolute; top: 0; bottom: 0; right: 22%; width: 2px; pointer-events: none;
  background: linear-gradient(rgba(242, 166, 90, 0), rgba(242, 166, 90, .5) 30%, rgba(242, 166, 90, 0));
  box-shadow: 0 0 40px 10px rgba(242, 166, 90, .08);
}
.page-hero .wrap { display: grid; gap: 22px; position: relative; }
.page-hero h1 { font-size: clamp(44px, 6vw, 88px); max-width: 14em; }
.row-copy { display: grid; gap: 16px; align-content: start; }
.row-copy > p { color: var(--text-2); }
.row-copy h3 { font-size: clamp(24px, 2.2vw, 30px); }
.row-copy ul, .log ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--text-2); }
.row-copy li, .log li { padding-left: 22px; position: relative; }
.row-copy li::before, .log li::before { content: ''; position: absolute; left: 0; top: .32em; width: 2px; height: 1em; border-radius: 2px; background: var(--amber); box-shadow: 0 0 8px rgba(242, 166, 90, .6); }
.note { margin-top: 14px; font-size: 14.5px; color: var(--text-3); max-width: 52em; }
.row-copy .note { margin-top: 2px; }
.types { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; border-top: 1px solid var(--line-2); }
.types li { display: grid; gap: 3px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.types b { font-weight: 600; }
.types li > span { color: var(--text-2); font-size: 16px; }
.sub-head { margin: clamp(56px, 7vw, 88px) 0 8px; font: 400 clamp(28px, 3vw, 40px)/1.1 var(--serif); }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.tool { display: grid; gap: 6px; align-content: start; padding-block: 22px 26px; border-top: 1px solid var(--line); }
.tool h3 { font: 600 17px/1.3 var(--sans); }
.tool p { color: var(--text-2); font-size: 16px; }
@media (max-width: 900px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; } }
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 56px) clamp(24px, 3vw, 44px); }
@media (max-width: 760px) { .looks { grid-template-columns: 1fr; } }
.look { margin: 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.look img { border-radius: 12px; border: 1px solid rgba(190, 205, 235, .14); }
.look figcaption { display: grid; gap: 6px; margin-top: 0; max-width: none; color: var(--text); font-size: 17px; }
.look figcaption p { color: var(--text-2); font-size: 16px; }
.look-tag { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--text-3); }
.look-tag.new { color: var(--amber-hi); font-weight: 600; }
.looks-next { margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); max-width: 52em; }
.looks-next h3 { margin-bottom: 8px; }
.looks-next p { color: var(--text-2); }
.feel { margin-top: clamp(32px, 4vw, 48px); }
.stack { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: stretch; margin-bottom: 44px; }
.stack > div { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line-2); }
.stack > .us { border-top: 2px solid var(--amber); }
.stack h3 { font: 600 18px/1.3 var(--sans); }
.stack .vs { border: 0; padding: 0; align-content: center; color: var(--text-3); font-weight: 600; }
.stack .price { font: 400 clamp(44px, 5vw, 64px)/1 var(--serif); }
.stack .price small { font: 500 16px/1 var(--sans); color: var(--text-2); }
.stack ul { margin: 0; padding-left: 18px; color: var(--text-2); display: grid; gap: 4px; }
@media (max-width: 760px) { .stack { grid-template-columns: 1fr; } .stack .vs { display: none; } }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-2); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 15.5px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { font-weight: 600; color: var(--text-2); }
.table-wrap tbody th { font-weight: 400; width: 30%; }
.table-wrap td { color: var(--text-2); }
.table-wrap td.us, .table-wrap thead th.us { color: var(--text); background: var(--night-2); padding-left: 12px; }
.yes { color: var(--amber-hi); font-weight: 600; }
.no { color: var(--text-3); }
.mono { font-variant-numeric: tabular-nums; }
/* the changelog */
.log { max-width: 820px; display: grid; gap: clamp(48px, 6vw, 72px); }
.log article { border-top: 1px solid var(--line-2); padding-top: 26px; display: grid; gap: 12px; }
.log .when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; color: var(--text-3); font-size: 15px; }
.log .when b { color: var(--amber-hi); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.log .soon { color: var(--amber-hi); border: 1px solid rgba(242, 166, 90, .5); border-radius: 999px; padding: 4px 10px 5px; font-size: 13px; font-weight: 600; }
.log h2 { font-size: clamp(32px, 3.6vw, 48px); }
.log .intro { color: var(--text-2); font-size: 19px; max-width: 40em; }
.log h3 { font: 600 16px/1.3 var(--sans); margin-top: 14px; color: var(--text); }
.log .before { color: var(--text-3); font-size: 15px; }

/* ---------- smaller screens ---------- */
@media (min-width: 761px) and (max-width: 1279px) {
  /* the small print goes under the buttons, so the replay line never runs through it */
  .ctas::after { content: ''; order: 1; flex-basis: 100%; }
  .ctas .fine { order: 2; margin: 4px 0 0; }
}
@media (max-width: 960px) {
  .nav a { padding: 8px 9px; }
  .top > .wrap { gap: 16px; }
}
@media (max-width: 860px) {
  :root { --top-h: 62px; }
  body { font-size: 16px; }
  .top > .wrap { gap: 12px; }
  .nav {
    display: none; position: absolute; left: 12px; right: 12px; top: calc(var(--top-h) + 2px); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    background: #0a101e; box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .8); border: 1px solid var(--line-2); border-radius: 16px; margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .top .top-cta { margin-left: auto; min-height: 38px; padding: 0 14px; font-size: 14.5px; }
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 14.5px/1 var(--sans); cursor: pointer;
  }
  .brand .wordmark { height: 26px; }
}
@media (max-width: 760px) {
  .hero { min-height: max(calc(100svh - var(--launch-h, 0px)), 720px); }
  .hero-in { padding-top: calc(var(--top-h) + 30px); }
  .hero h1 { font-size: clamp(48px, 16.2vw, 76px); line-height: .95; }
  .hero .lede { margin-top: 20px; font-size: 17px; }
  .ctas { margin-top: 26px; }
  .ctas .btn { flex: 1 1 auto; }
  .ctas .fine { font-size: 14px; margin: 6px 0 0; flex-basis: 100%; }
  .chart-zone { min-height: 250px; }
  /* the buttons on top, full width; the clock and the small print under them */
  .player { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-block: 12px 18px; }
  .keys { order: -1; flex: 1 1 100%; justify-content: stretch; margin-bottom: 6px; }
  .key-btn { flex: 1 1 0; justify-content: center; padding: 0 8px 0 14px; font-size: 15px; min-height: 44px; gap: 8px; }
  .key-btn kbd { min-width: 26px; height: 24px; padding: 0 5px; }
  .clock { font-size: 14px; }
  .madeup { font-size: 13.5px; }
}
@media (max-width: 460px) {
  .sessions { height: 64px; }
  .s-mark { padding-left: 8px; }
  .s-mark b { display: block; margin: 0 0 4px; font-size: 15px; }
  .s-mark::before { height: 40px; }
  .top .top-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .nav .nav-cta { display: block; color: var(--amber-ink); background: var(--amber); text-align: center; margin-top: 6px; font-weight: 600; }
  .play-btn kbd { display: none; }
  .period button { padding: 0 13px; font-size: 14px; min-height: 46px; }
  .period .save { display: block; margin: 3px 0 0; font-size: 12px; }
  .email code { width: 100%; }
}

/* a touch screen has no arrow key or Space bar: the key hints go */
@media (hover: none) and (pointer: coarse) { .key-btn kbd { display: none; } .key-btn { padding-right: 14px; } }
@media (max-width: 330px) { .key-btn .lbl-long { display: none; } }

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

/* Features and Changelog */
/* features.html and changelog.html (written by scripts/changelog-page.js). Everything below only adds to the rules above. */

/* the top of an inner page: the past lit up to the replay line, the future dark (the home hero, told quietly) */
.page-hero { padding-bottom: clamp(104px, 11vw, 140px); }
/* the replay line stands only where the candles are, so it never runs through the headline */
.page-hero::before { top: auto; height: 132px; background: linear-gradient(rgba(242, 166, 90, 0), rgba(242, 166, 90, .62) 72%, rgba(242, 166, 90, .3)); box-shadow: none; filter: drop-shadow(0 0 7px rgba(242, 166, 90, .6)); }
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 22%; bottom: 14px; height: 84px; pointer-events: none; opacity: .62;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 84' width='1600' height='84'%3E%3Cdefs%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='2.4'/%3E%3C/filter%3E%3Cg id='c'%3E%3Cpath stroke='rgb(108,201,166)' stroke-width='1' d='M4.5 34.0V39.0M14.5 34.2V35.5M24.5 30.0V35.7M44.5 33.2V36.7M54.5 32.6V36.2M94.5 35.7V39.4M114.5 35.8V37.7M134.5 40.3V41.0M144.5 38.3V44.3M174.5 44.0V46.3M214.5 50.4V53.8M224.5 48.5V52.0M244.5 49.4V51.5M254.5 48.4V52.5M264.5 47.0V48.8M274.5 43.8V49.8M284.5 44.0V45.8M294.5 42.2V47.9M334.5 50.2V52.1M354.5 49.4V58.2M364.5 48.1V52.3M374.5 43.3V50.6M394.5 41.4V45.3M404.5 40.5V44.6M434.5 39.9V44.1M444.5 39.5V42.0M474.5 40.5V48.4M484.5 39.8V43.0M494.5 33.4V42.2M524.5 40.3V46.7M564.5 46.2V49.2M604.5 48.6V53.5M704.5 66.9V68.0M754.5 69.4V73.3M794.5 70.5V73.1M814.5 68.8V72.9M844.5 72.5V77.7M854.5 66.6V75.3M864.5 63.2V68.6M874.5 61.2V66.3M884.5 59.8V63.0M894.5 60.0V63.4M904.5 54.7V63.8M914.5 49.7V58.4M954.5 53.0V60.4M974.5 53.3V58.9M994.5 53.5V57.2M1004.5 52.5V56.0M1024.5 50.8V56.5M1034.5 47.0V54.0M1044.5 42.0V48.3M1074.5 41.0V47.2M1084.5 41.8V44.8M1104.5 39.6V44.3M1144.5 50.1V51.9M1164.5 49.0V54.4M1174.5 49.2V51.6M1184.5 43.0V51.9M1194.5 43.5V46.8M1214.5 40.7V47.3M1224.5 41.1V44.6M1264.5 43.3V45.3M1274.5 41.5V45.3M1284.5 40.6V43.1M1304.5 40.2V46.9M1314.5 35.9V41.0M1324.5 32.9V38.9M1334.5 27.8V37.1M1344.5 29.3V33.7M1354.5 27.4V32.2M1364.5 26.1V29.4M1374.5 24.3V30.5M1384.5 15.3V25.9M1394.5 15.9V18.1M1414.5 8.0V17.2M1464.5 22.2V26.4M1514.5 27.4V29.4M1544.5 27.3V33.4M1554.5 27.7V32.8M1574.5 28.0V29.8M1584.5 22.3V29.7'/%3E%3Cpath fill='rgb(108,201,166)' d='M2 35.3h5v1.8h-5zM12 35.2h5v1.2h-5zM22 31.7h5v3.5h-5zM42 33.8h5v1.2h-5zM52 33.5h5v1.2h-5zM92 36.4h5v1.5h-5zM112 35.9h5v1.2h-5zM132 40.8h5v1.2h-5zM142 39.1h5v1.7h-5zM172 45.6h5v1.2h-5zM212 50.7h5v1.2h-5zM222 50.0h5v1.2h-5zM242 49.8h5v1.2h-5zM252 48.5h5v1.3h-5zM262 48.0h5v1.2h-5zM272 44.2h5v3.8h-5zM282 44.1h5v1.2h-5zM292 43.3h5v1.2h-5zM332 50.3h5v1.2h-5zM352 51.7h5v4.1h-5zM362 49.0h5v2.7h-5zM372 44.1h5v4.9h-5zM392 43.2h5v1.2h-5zM402 41.2h5v2.0h-5zM432 41.2h5v1.9h-5zM442 41.2h5v1.2h-5zM472 41.0h5v6.0h-5zM482 40.6h5v1.2h-5zM492 36.7h5v3.9h-5zM522 41.3h5v1.6h-5zM562 46.9h5v1.5h-5zM602 49.1h5v1.2h-5zM702 67.2h5v1.2h-5zM752 69.4h5v2.9h-5zM792 71.1h5v1.8h-5zM812 71.9h5v1.2h-5zM842 74.1h5v2.7h-5zM852 67.2h5v6.9h-5zM862 64.9h5v2.3h-5zM872 61.7h5v3.2h-5zM882 61.3h5v1.2h-5zM892 61.2h5v1.2h-5zM902 55.6h5v5.6h-5zM912 51.0h5v4.6h-5zM952 54.1h5v2.6h-5zM972 54.0h5v3.2h-5zM992 54.3h5v1.2h-5zM1002 52.6h5v1.7h-5zM1022 52.1h5v2.6h-5zM1032 47.3h5v4.8h-5zM1042 44.2h5v3.1h-5zM1072 43.5h5v1.3h-5zM1082 42.0h5v1.5h-5zM1102 39.9h5v2.8h-5zM1142 50.2h5v1.2h-5zM1162 50.7h5v2.2h-5zM1172 49.3h5v1.4h-5zM1182 45.0h5v4.3h-5zM1192 44.0h5v1.2h-5zM1212 42.1h5v4.3h-5zM1222 41.8h5v1.2h-5zM1262 43.9h5v1.2h-5zM1272 41.6h5v2.3h-5zM1282 41.0h5v1.2h-5zM1302 41.0h5v1.6h-5zM1312 36.2h5v4.8h-5zM1322 35.2h5v1.2h-5zM1332 33.5h5v1.7h-5zM1342 29.9h5v3.6h-5zM1352 28.7h5v1.2h-5zM1362 26.8h5v1.9h-5zM1372 25.6h5v1.2h-5zM1382 17.8h5v7.8h-5zM1392 16.9h5v1.2h-5zM1412 11.5h5v5.6h-5zM1462 22.7h5v2.0h-5zM1512 28.2h5v1.2h-5zM1542 29.7h5v1.2h-5zM1552 27.9h5v1.8h-5zM1572 29.0h5v1.2h-5zM1582 23.0h5v6.0h-5z'/%3E%3Cpath stroke='rgb(224,125,114)' stroke-width='1' d='M34.5 30.6V35.6M64.5 31.3V36.5M74.5 34.0V36.7M84.5 36.0V38.4M104.5 36.3V37.0M124.5 34.2V41.6M154.5 38.2V39.8M164.5 37.0V47.3M184.5 44.0V51.3M194.5 49.7V51.8M204.5 50.4V53.2M234.5 47.9V50.7M304.5 43.2V46.2M314.5 44.5V53.0M324.5 48.3V53.0M344.5 49.7V56.5M384.5 42.6V45.6M414.5 38.2V42.5M424.5 40.6V43.7M454.5 40.8V45.0M464.5 42.6V48.9M504.5 36.7V41.2M514.5 38.4V42.9M534.5 39.4V49.1M544.5 45.1V49.8M554.5 46.9V51.2M574.5 46.7V48.2M584.5 46.8V48.5M594.5 47.2V50.9M614.5 45.3V54.1M624.5 48.4V53.2M634.5 51.3V55.5M644.5 52.5V57.2M654.5 53.9V59.9M664.5 54.8V61.3M674.5 59.1V64.4M684.5 63.4V66.5M694.5 66.3V68.3M714.5 66.6V70.6M724.5 66.9V69.8M734.5 68.0V73.9M744.5 69.4V75.1M764.5 68.5V69.7M774.5 68.1V71.5M784.5 69.8V73.1M804.5 70.3V75.0M824.5 70.1V76.2M834.5 74.3V78.0M924.5 50.8V54.3M934.5 51.4V55.3M944.5 53.8V57.0M964.5 51.2V57.5M984.5 53.4V55.9M1014.5 51.6V56.5M1054.5 43.4V44.5M1064.5 40.4V46.4M1094.5 41.1V42.7M1114.5 39.1V42.1M1124.5 39.0V48.6M1134.5 46.2V52.0M1154.5 48.1V55.7M1204.5 43.3V47.2M1234.5 41.3V42.6M1244.5 41.1V45.6M1254.5 41.5V46.7M1294.5 39.8V43.6M1404.5 16.0V17.3M1424.5 10.6V12.6M1434.5 11.8V20.7M1444.5 17.8V23.6M1454.5 19.3V26.4M1474.5 21.7V24.6M1484.5 21.2V27.2M1494.5 23.9V29.5M1504.5 27.6V29.8M1524.5 25.7V29.7M1534.5 24.9V30.2M1564.5 26.5V29.7M1594.5 22.7V26.6'/%3E%3Cpath fill='rgb(224,125,114)' d='M32 31.7h5v2.7h-5zM62 33.5h5v1.9h-5zM72 35.4h5v1.2h-5zM82 36.3h5v1.6h-5zM102 36.4h5v1.2h-5zM122 35.9h5v4.9h-5zM152 39.1h5v1.2h-5zM162 39.7h5v5.9h-5zM182 45.6h5v5.6h-5zM192 51.2h5v1.2h-5zM202 51.4h5v1.2h-5zM232 50.0h5v1.2h-5zM302 43.3h5v1.3h-5zM312 44.6h5v5.0h-5zM322 49.6h5v1.7h-5zM342 50.3h5v5.5h-5zM382 44.1h5v1.2h-5zM412 41.2h5v1.2h-5zM422 41.9h5v1.2h-5zM452 41.2h5v2.2h-5zM462 43.4h5v3.6h-5zM502 36.7h5v3.5h-5zM512 40.2h5v2.7h-5zM532 41.3h5v4.3h-5zM542 45.6h5v2.2h-5zM552 47.8h5v1.2h-5zM572 46.9h5v1.2h-5zM582 47.8h5v1.2h-5zM592 47.9h5v1.9h-5zM612 49.1h5v2.0h-5zM622 51.1h5v2.0h-5zM632 53.1h5v1.2h-5zM642 54.0h5v1.6h-5zM652 55.6h5v3.2h-5zM662 58.8h5v2.0h-5zM672 60.8h5v3.1h-5zM682 63.9h5v2.4h-5zM692 66.3h5v1.2h-5zM712 67.2h5v1.2h-5zM722 68.2h5v1.2h-5zM732 69.3h5v2.0h-5zM742 71.3h5v1.2h-5zM762 69.4h5v1.2h-5zM772 69.5h5v1.2h-5zM782 70.2h5v2.7h-5zM802 71.1h5v1.4h-5zM822 71.9h5v3.7h-5zM832 75.6h5v1.2h-5zM922 51.0h5v2.5h-5zM932 53.5h5v1.7h-5zM942 55.2h5v1.5h-5zM962 54.1h5v3.1h-5zM982 54.0h5v1.2h-5zM1012 52.6h5v2.1h-5zM1052 44.2h5v1.2h-5zM1062 44.3h5v1.2h-5zM1092 42.0h5v1.2h-5zM1112 39.9h5v1.3h-5zM1122 41.2h5v5.3h-5zM1132 46.5h5v4.1h-5zM1152 50.2h5v2.7h-5zM1202 44.0h5v2.4h-5zM1232 41.8h5v1.2h-5zM1242 42.1h5v1.2h-5zM1252 42.6h5v2.0h-5zM1292 41.0h5v1.6h-5zM1402 16.9h5v1.2h-5zM1422 11.5h5v1.2h-5zM1432 12.0h5v7.1h-5zM1442 19.1h5v1.7h-5zM1452 20.8h5v3.9h-5zM1472 22.7h5v1.2h-5zM1482 23.8h5v1.7h-5zM1492 25.5h5v3.6h-5zM1502 29.1h5v1.2h-5zM1522 28.2h5v1.2h-5zM1532 28.3h5v1.5h-5zM1562 27.9h5v1.3h-5zM1592 23.0h5v3.4h-5z'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23c' filter='url(%23g)' opacity='.85'/%3E%3Cuse href='%23c' opacity='.9'/%3E%3C/svg%3E") right bottom / 1600px 84px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 72%); mask-image: linear-gradient(90deg, transparent, #000 72%);
}
.page-hero .lede a { color: var(--amber-hi); }

/* the bar of parts under the header (features.html); the replay line marks the part you're reading */
html:has(.toc-bar) { scroll-padding-top: calc(var(--top-h) + 48px); } /* a part's top line lands on the bar's own line */
.toc-bar {
  position: sticky; top: var(--top-h); z-index: 19;
  background: rgba(7, 11, 20, .9); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.toc-bar .wrap { display: flex; align-items: center; height: 48px; gap: 0 26px; overflow-x: auto; scrollbar-width: none; }
.toc-bar .wrap::-webkit-scrollbar { display: none; }
.toc-bar .wrap::after { content: ''; flex: none; width: 1px; } /* room after the last link when the bar scrolls */
.toc-bar a { position: relative; flex: none; padding: 8px 2px 8px 12px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.3; white-space: nowrap; transition: color .2s; }
.toc-bar a::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 2px; height: 1.05em; margin-top: -.52em; border-radius: 2px;
  background: var(--amber); box-shadow: 0 0 8px rgba(242, 166, 90, .75); opacity: 0; transition: opacity .2s;
}
.toc-bar a:hover, .toc-bar a[aria-current="true"] { color: var(--text); }
.toc-bar a[aria-current="true"]::before { opacity: 1; }
.toc-bar a:focus-visible { outline-offset: 0; }
.part + .part { border-top: 1px solid var(--line); }
.features-page main > .part { padding-block: clamp(76px, 9vw, 128px); }

/* a feature: words and one small crop of the app at about its real size (--fw), or a list in its place */
.frows { display: grid; gap: clamp(64px, 8vw, 112px); }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--fw, 560px)); gap: 28px clamp(32px, 5vw, 80px); align-items: start; }
.frow.flip { grid-template-columns: minmax(0, var(--fw, 560px)) minmax(0, 1fr); }
.frow.flip > .row-copy { order: 2; }
.frow > .row-copy { max-width: 36em; }
.frow.flip > .row-copy { justify-self: end; }
.frow.wide { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 4.5vw, 56px); }
.fig { margin: 0; min-width: 0; }
@media (min-width: 901px) { .frow > figure.fig { position: sticky; top: calc(var(--top-h) + 84px); } } /* a short crop stays beside its longer text */
.fig-wide { margin: 0; }
.fig-wide figcaption, .fig figcaption { margin-top: 12px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 96px); align-items: start; }
.split .row-copy { max-width: 36em; }
.fig-wide + .split { margin-top: clamp(44px, 5vw, 68px); }
.frows > .split { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.fig-ict { margin-bottom: clamp(12px, 2vw, 24px); }
.part .section-head h2 .pro-tag { vertical-align: .55em; }
.row-copy h3 .pro-tag { vertical-align: .25em; }

/* the changelog: the version on the left (the newest one lit), its groups beside it */
.log-sec { padding-top: 0; }
.log { max-width: none; gap: clamp(56px, 7vw, 96px); }
.log article { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 18px clamp(32px, 6vw, 96px); padding-top: clamp(28px, 3vw, 40px); align-items: start; }
.log .when { position: sticky; top: calc(var(--top-h) + 28px); flex-direction: column; align-items: flex-start; gap: 12px; }
.log .when b { font: 400 clamp(40px, 4.6vw, 64px)/.95 var(--serif); color: var(--text); letter-spacing: -.01em; }
.log .newest .when b { color: var(--amber-hi); text-shadow: 0 0 28px rgba(242, 166, 90, .35); }
.log .when time { color: var(--text-2); font-size: 15px; }
.log .entry { display: grid; gap: 14px; min-width: 0; max-width: 62rem; }
.log .intro { margin-bottom: 8px; }
.log .group { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 10px clamp(24px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); }
.log .group h3 { margin: 0; font: 400 clamp(21px, 1.8vw, 24px)/1.2 var(--serif); }
.log .group ul { margin: 0; }
.log .before { padding-top: 24px; border-top: 1px solid var(--line-2); }

@media (max-width: 900px) {
  .frow, .frow.flip, .split { grid-template-columns: minmax(0, 1fr); }
  .frow.flip > .row-copy { order: 0; justify-self: start; }
  .frow > .fig { max-width: var(--fw, 560px); }
  .frow > .types.fig { max-width: 36em; width: 100%; }
}
@media (max-width: 860px) {
  .toc-bar .wrap { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .toc-bar .wrap::after { width: 20px; }
  .toc-bar a { font-size: 14.5px; }
}
@media (max-width: 760px) {
  .page-hero { padding-bottom: 100px; }
  .page-hero::before { height: 96px; }
  .page-hero::after { height: 70px; bottom: 10px; background-size: 1333px 70px; }
  .page-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .log article { grid-template-columns: minmax(0, 1fr); }
  .log .when { position: static; flex-direction: row; align-items: baseline; flex-wrap: wrap; }
  .log .group { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .strip-scroll img { width: var(--sw, 760px); }
}
@media (prefers-reduced-motion: reduce) {
  .toc-bar a, .toc-bar a::before { transition: none; }
}
