/* Lyssna site. Only cream and ink, in a few tones. 8 px grid. No gradients, no glow.

   Palettes are sets of custom properties. A band (section) picks one, and every component
   inside reads --bg, --fg, --surface, --panel, --muted and --hair, so it adapts on its own.
     light: cream page, ink text          ink: ink page, cream text
   --surface is the tinted plate a mock or card sits on; --panel is a window inside a mock. */

:root,
.band-ink .pay-card {
  --bg: #F4EFE6;
  --fg: #141414;
  --fg-rgb: 20, 20, 20;
  --surface: #E7E0D2;
  --panel: #F4EFE6;
  --muted: rgba(20, 20, 20, 0.7);
  --faint: rgba(20, 20, 20, 0.64);
  --hair: rgba(20, 20, 20, 0.13);
  --soft-2: rgba(20, 20, 20, 0.09);
}
.band-inv,
.band-ink {
  --bg: #0F0F11;
  --fg: #F4EFE6;
  --fg-rgb: 244, 239, 230;
  --surface: #1F1F23;
  --panel: #0F0F11;
  --muted: rgba(244, 239, 230, 0.72);
  --faint: rgba(244, 239, 230, 0.62);
  --hair: rgba(244, 239, 230, 0.15);
  --soft-2: rgba(244, 239, 230, 0.12);
}
.band-alt {
  --bg: #ECE6DA;
  --surface: #F8F5EF;
  --panel: #F4EFE6;
}

:root {
  --block-bg: #0F0F11;
  --block-fg: #F4EFE6;
  --block-fg-rgb: 244, 239, 230;
  --serif: ui-serif, "New York", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --band-pad: 128px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root,
  .band-ink {
    --bg: #0F0F11;
    --fg: #F4EFE6;
    --fg-rgb: 244, 239, 230;
    --surface: #202025;
    --panel: #0F0F11;
    --muted: rgba(244, 239, 230, 0.72);
    --faint: rgba(244, 239, 230, 0.62);
    --hair: rgba(244, 239, 230, 0.15);
    --soft-2: rgba(244, 239, 230, 0.12);
    --block-bg: #F4EFE6;
    --block-fg: #141414;
    --block-fg-rgb: 20, 20, 20;
  }
  .band-inv,
  .band-ink .pay-card {
    --bg: #F4EFE6;
    --fg: #141414;
    --fg-rgb: 20, 20, 20;
    --surface: #E7E0D2;
    --panel: #F4EFE6;
    --muted: rgba(20, 20, 20, 0.7);
    --faint: rgba(20, 20, 20, 0.64);
    --hair: rgba(20, 20, 20, 0.13);
    --soft-2: rgba(20, 20, 20, 0.09);
  }
  .band-alt {
    --bg: #18181B;
    --surface: #26262B;
    --panel: #0F0F11;
  }
  .band-ink {
    --bg: #24242A;
    --surface: #303037;
    border-block: 1px solid var(--hair);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; }
img, svg { display: block; }
a { color: inherit; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h3 { font-size: 24px; line-height: 1.25; }
h4 { font-size: 22px; line-height: 1.3; }

.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.defs { position: absolute; }

.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;
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px; top: -64px;
  z-index: 20;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1280px; /* 1200 content + 2 x 40 padding */
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 40px);
}

/* Bands: full-width sections, each on its palette */
.band {
  position: relative;
  padding: var(--band-pad) 0;
  background: var(--bg);
  color: var(--fg);
}

/* Buttons. Only real actions look like this. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: rgba(var(--fg-rgb), 0.86); }
.btn-secondary { background: transparent; border-color: rgba(var(--fg-rgb), 0.3); color: var(--fg); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-small { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn-primary[aria-disabled="true"]:hover { background: var(--fg); }

.link-btn {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--fg);
  font: 500 15px/1.5 var(--sans);
  text-decoration: underline;
  text-decoration-color: rgba(var(--fg-rgb), 0.35);
  text-underline-offset: 4px;
  cursor: pointer;
}
.link-btn:hover { text-decoration-color: var(--fg); }

/* Eyebrow above each section heading */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--muted);
}
.eyebrow svg { width: 16px; height: 11px; flex: none; }

/* Header */
.sentinel { position: absolute; top: 0; height: 8px; width: 1px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 239, 230, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(15, 15, 17, 0.97); }
}
.site-header.scrolled { border-bottom-color: var(--hair); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 22px/1 var(--serif);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark { width: 24px; height: 20px; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.text-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.text-link:hover { color: var(--fg); }
.with-heart { display: inline-flex; align-items: center; gap: 6px; }
.heart-i { flex: none; width: 14px; height: 14px; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 104px; }
.hero-wave {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  height: 104px;
  color: var(--fg);
  opacity: 0.08;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.hero-mark { width: 68px; height: 56px; margin-bottom: 32px; color: var(--fg); }
.lede {
  margin-top: 24px;
  max-width: 27em;
  font-size: 22px;
  line-height: 1.5;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.actions + .small { margin-top: 16px; }
.hero-copy .actions, .hero-copy .facts { justify-content: center; }
.hero-note a { text-underline-offset: 3px; }

/* The demo film, under the hero copy */
.film {
  position: relative;
  max-width: 1040px;
  margin: 72px auto 0;
  scroll-margin-top: 96px;
}
.film-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #0F0F11;
  box-shadow: 0 0 0 1px rgba(var(--fg-rgb), 0.14), 0 32px 64px -24px rgba(0, 0, 0, 0.4);
}
.film-sound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 15, 17, 0.72);
  color: #F4EFE6;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.film-sound:hover { background: rgba(15, 15, 17, 0.9); }
.film-sound:focus-visible { outline: 2px solid #F4EFE6; outline-offset: 2px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 32px;
  list-style: none;
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
}
.facts svg { width: 18px; height: 18px; color: var(--fg); }


/* Section headings */
.section-title { max-width: 20ch; margin-bottom: 56px; }
.head { max-width: 800px; margin: 0 auto 72px; text-align: center; }
.head .eyebrow { justify-content: center; }
.head .section-title { margin-inline: auto; }
.head .section-title:last-child { margin-bottom: 0; }
.head .section-lede { margin: 0 auto; text-wrap: balance; }
.section-title:has(+ .section-lede) { margin-bottom: 16px; }
.section-lede {
  max-width: 32em;
  margin-bottom: 56px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--muted);
}

/* Fillers that get struck */
.filler {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  color: var(--faint);
  transition: color 0.5s ease, text-decoration-color 0.5s ease;
}

/* Chapters: Dictate (base band) and Listen (inverted band) */
.hero + .chapter-dictate { padding-top: 0; scroll-margin-top: 32px; }
.intro { margin-bottom: 96px; }
.chapter-main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: center;
}
.chapter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 16px 6px 12px;
  border: 1px solid rgba(var(--fg-rgb), 0.22);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}
.chapter-label svg { width: 20px; height: 20px; }
.chapter-title {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.chapter-line {
  margin-top: 20px;
  max-width: 24em;
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
}
.caption {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* Dictate: the before and after, with the recording capsule */
.dict {
  position: relative;
  padding: 40px;
  border-radius: 32px;
  background: var(--surface);
}
.ba-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
}
.ba-row + .ba-row { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--hair); }
.ba-key { font-size: 14px; font-weight: 600; color: var(--muted); }
.ba-said { font-size: 21px; line-height: 1.5; }
.ba-out { font: 600 32px/1.2 var(--serif); letter-spacing: -0.02em; min-height: 2.4em; }
.ba-out { transition: opacity 0.5s ease, transform 0.5s ease; }

.js .dict:not([data-state="done"]) .filler { color: inherit; text-decoration-color: transparent; }
.js .dict:not([data-state="done"]) .ba-out { opacity: 0; transform: translateY(4px); }
.dict .filler { transition-delay: 0.1s; }
.dict .ba-out { transition-delay: 0.3s; }

/* Supporting points, three to a row, no boxes */
.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 96px;
}
.point {
  padding: 12px 12px 32px;
  border-radius: 28px;
  background: var(--surface);
}
.point h4 { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; padding: 0 20px; font-size: 20px; line-height: 26px; }
.h-icon { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.point p { margin-top: 8px; padding: 0 20px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.point-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 208px;
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--panel);
}
.point-plain { padding: 36px; }
.point-plain h4, .point-plain p { padding: 0; }
.point-plain h4 { margin-top: 0; }
.point-plain p { margin-top: 12px; }
.icon-chip {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--panel);
}
.icon-chip svg { width: 26px; height: 26px; }

.list-mini { font-size: 15px; line-height: 1.45; }
.lm-said { color: var(--muted); }
.lm-out {
  margin-top: 8px;
  padding: 8px 0 0 1.4em;
  border-top: 1px solid var(--hair);
  font-weight: 600;
  transition: opacity 0.5s ease 0.6s;
}
.list-mini .filler { transition-delay: 0.3s; }
.js .points:not(.in) .list-mini .filler { color: inherit; text-decoration-color: transparent; }
.js .points:not(.in) .lm-out { opacity: 0; }

.bars { gap: 16px; }
.bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "key val" "track track";
  row-gap: 8px;
  font-size: 15px;
  line-height: 20px;
}
.bar-key { grid-area: key; font-weight: 600; }
.bar-val { grid-area: val; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar-track {
  grid-area: track;
  height: 10px;
  border-radius: 5px;
  background: var(--soft-2);
  overflow: hidden;
}
.bar {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--fg);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s;
}
.bar-type { width: 26.67%; background: rgba(var(--fg-rgb), 0.45); }
.bar-speak { width: 100%; transition-delay: 0.55s; }
.js .points:not(.in) .bar { transform: scaleX(0); }

/* App types: plain words, not tags. One at a time comes forward. */
.apps {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  gap: 4px 22px;
  font: 600 26px/1.4 var(--serif);
  letter-spacing: -0.01em;
}
.apps span { transition: color 0.4s ease; }
.js .apps.cycling span { color: var(--faint); }
.js .apps.cycling span.on { color: var(--fg); }

/* Listen: the selected paragraph and the player, on one plate */
.reader {
  padding: 40px;
  border-radius: 32px;
  background: var(--surface);
}
.doc {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background: var(--panel);
  font-size: 19px;
  line-height: 1.7;
}
.sel {
  background: rgba(var(--fg-rgb), 0.14);
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 2px 0;
}
.sel-btn {
  position: absolute;
  top: -16px;
  right: 24px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
}
.sel-btn svg { width: 12px; height: 12px; margin-left: 2px; }
.sel-btn { transition: transform 0.2s ease, opacity 0.2s ease; }
.cur {
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
  width: 28px; height: 28px;
  opacity: 0;
  color: var(--fg);
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.3, 0.1, 0.2, 1), opacity 0.2s ease;
}
.cur svg { width: 28px; height: 28px; }
.ctl-play .i-play { display: none; margin-left: 1px; }

/* Listen states, set by main.js: idle, sweep, selected, click, play. Without JS the playing state shows. */
.js .reader[data-state] .sel { background: none; padding: 0; }
.js .reader[data-state] .w { padding: 2px 0; transition: background-color 0.12s ease; }
.js .reader[data-state] .w.on { background: rgba(var(--fg-rgb), 0.14); }
.js .reader[data-state="idle"] .sel-btn,
.js .reader[data-state="sweep"] .sel-btn,
.js .reader[data-state="play"] .sel-btn { opacity: 0; transform: scale(0.5); }
.js .reader[data-state="click"] .sel-btn { transform: scale(0.8); }
.js .reader[data-state]:not([data-state="play"]) .cur { opacity: 1; }
.js .reader[data-state="sweep"] .cur { transition: transform 0.1s linear, opacity 0.2s ease; }
.player { transition: opacity 0.3s ease; }
.js .reader[data-state]:not([data-state="play"]) .player { opacity: 0.45; }
.js .reader[data-state]:not([data-state="play"]) .i-pause { display: none; }
.js .reader[data-state]:not([data-state="play"]) .i-play { display: block; }
.player {
  margin-top: 16px;
  padding: 20px 24px 16px;
  border-radius: 20px;
  background: var(--panel);
}
.track {
  height: 6px;
  border-radius: 3px;
  background: var(--soft-2);
  overflow: hidden;
}
.track .fill {
  display: block;
  height: 100%;
  background: var(--fg);
  transform-origin: left center;
  transform: scaleX(0.27);
}
.times {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.controls {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.ctl { width: 32px; height: 32px; display: grid; place-items: center; color: var(--fg); }
.ctl svg { width: 14px; height: 14px; }
.controls .ctl:first-child { grid-column: 2; }
.ctl-play { width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: var(--panel); }
.ctl-play svg { width: 16px; height: 16px; }
.speed {
  justify-self: end;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Scroll reveal: once, subtle. Without JS or with reduced motion nothing is hidden. */
.js [data-row] > * {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.js [data-row]:not(.in) > * { opacity: 0; transform: translateY(12px); }
.js [data-row] > :nth-child(2) { transition-delay: 0.08s; }
.js [data-row] > :nth-child(3) { transition-delay: 0.16s; }

/* Reasons */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.reasons { gap: 0 96px; }
.reason { position: relative; padding: 8px 0; }
.reason + .reason::before {
  content: "";
  position: absolute;
  left: -48px; top: 0; bottom: 0;
  width: 1px;
  background: var(--hair);
}
.reason .icon-chip { background: var(--surface); }
.reason h3 { margin-top: 28px; }
.reason p { margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* Comparison */
.compare { max-width: 1040px; margin: 0 auto; }
.compare table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.compare th, .compare td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--hair);
  text-align: center;
  vertical-align: middle;
  font-size: 17px;
  line-height: 1.4;
}
.compare thead th, .compare thead td { padding-top: 24px; padding-bottom: 16px; }
.compare thead td { width: 34%; border-bottom-color: transparent; }
.compare thead th { font-weight: 600; font-size: 15px; color: var(--muted); }
.compare tbody th { text-align: left; font-weight: 500; padding-left: 0; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .us {
  background: var(--block-bg);
  color: var(--block-fg);
  border-bottom-color: rgba(var(--block-fg-rgb), 0.14);
}
.compare thead th.us {
  border-radius: 20px 20px 0 0;
  color: var(--block-fg);
  font: 600 22px/1.2 var(--serif);
}
.compare tbody tr:last-child td.us { border-radius: 0 0 20px 20px; }
.compare svg { width: 22px; height: 22px; margin: 0 auto; }
.compare .i-no { opacity: 0.6; }
.compare .us .i-no { opacity: 0.75; }
.compare-line { margin: 48px auto 0; max-width: 30em; font-size: 22px; line-height: 1.5; text-align: center; }
.compare-line + .small { margin-top: 12px; text-align: center; }

/* Support band */
.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 96px;
  align-items: start;
}
.support .section-title { margin-bottom: 32px; }
.note p { max-width: 32em; font-size: 18px; line-height: 1.7; }
.note p + p { margin-top: 16px; }
.maker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.maker-photo {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hair);
  overflow: hidden;
}
.maker-photo svg { width: 26px; height: 22px; }
.maker-photo img { width: 60px; height: 60px; object-fit: cover; }
.maker-text { display: flex; flex-direction: column; }
.maker-name { font: italic 600 22px/1.25 var(--serif); }
.maker-role { font-size: 14px; line-height: 1.5; color: var(--muted); }
.gives {
  margin-top: 28px;
  padding: 0 36px;
  list-style: none;
}
.gives li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
}
.gives li + li { margin-top: 8px; }
.gives svg { width: 18px; height: 18px; flex: none; }

.pay-card {
  padding: 36px;
  border-radius: 28px;
  background: var(--bg);
  color: var(--fg);
}
.pay-card fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pay-card legend {
  padding: 0;
  margin-bottom: 20px;
  font: 600 24px/1.2 var(--serif);
  letter-spacing: -0.01em;
}
.amounts { display: flex; gap: 8px; }
.amounts label { position: relative; flex: 1 1 0; min-width: 0; }
.amounts label[hidden] { display: none; }
.amounts input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 4px;
  border-radius: 16px;
  border: 1px solid rgba(var(--fg-rgb), 0.2);
  text-align: center;
  pointer-events: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.tile b { font-size: 18px; line-height: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile small { display: none; } /* the line under the amounts says it instead */
.amounts label:hover .tile { border-color: var(--fg); }
.amounts input:checked + .tile { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.amounts input:focus-visible + .tile { outline: 2px solid var(--fg); outline-offset: 3px; }
.pay-msg {
  min-height: 24px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
  transition: opacity 0.18s ease;
}
.pay-msg.fading { opacity: 0; }
.pay-card .btn-block { margin-top: 16px; }
.btn .heart { width: 16px; height: 16px; }
.btn .heart[hidden] { display: none; }
.pay-why { margin-top: 8px; color: var(--muted); text-align: center; }
.pay-fine { margin-top: 12px; text-align: center; }
.pay-switch { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); text-align: center; }
.pay-switch [hidden] { display: none; }
.dev-note {
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px dashed rgba(var(--fg-rgb), 0.4);
  border-radius: 6px;
  font: 12px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--muted);
}
.dev-note::before {
  content: "Local preview only, not shown online: ";
  font-weight: 700;
}

/* Numbered rows (the roadmap) */
.step-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font: 600 20px/1 var(--serif);
  font-variant-numeric: lining-nums;
}

/* Roadmap: one row per item, number, text, status tag */
.roadmap { max-width: 880px; margin: 0 auto; list-style: none; }
.roadmap li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(var(--fg-rgb), 0.22);
}
.roadmap li:last-child { border-bottom: 1px solid rgba(var(--fg-rgb), 0.22); }
.roadmap .step-n { margin-bottom: 0; }
.rm-text p { margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.rm-tag {
  padding: 4px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.rm-tag.is-next { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.roadmap-follow { max-width: 880px; margin: 0 auto; text-align: center; }
.roadmap-follow a { display: inline-block; margin-top: 32px; }
.roadmap-follow a[hidden] { display: none; }

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 80px;
  align-items: start;
}
.faq .section-title { margin-bottom: 0; }
.faq > :first-child { position: sticky; top: 120px; }
.faq-list { border-top: 1px solid var(--hair); }
.faq-list code {
  font: 0.85em/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(var(--fg-rgb), 0.08);
  overflow-wrap: anywhere;
}
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 24px 48px 24px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.2s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:focus-visible { outline-offset: 4px; }
.faq-list details p { max-width: 38em; padding: 0 48px 28px 0; color: var(--muted); }
.faq-list details a { color: var(--fg); text-underline-offset: 3px; }

/* Closing band */
.close {
  padding: 144px 0;
  background: var(--block-bg);
  color: var(--block-fg);
  text-align: center;
}
.close h2 { max-width: 24ch; margin: 0 auto; font-size: clamp(34px, 5vw, 64px); }
.close h2 span { display: inline-block; }
.close .btn { margin-top: 40px; }
.btn-invert { background: var(--block-fg); color: var(--block-bg); }
.btn-invert:hover { background: rgba(var(--block-fg-rgb), 0.86); }
.close :focus-visible { outline-color: var(--block-fg); }

/* Footer */
.site-footer { padding: 48px 0; border-top: 1px solid var(--hair); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.brand-small { font-size: 18px; gap: 8px; }
.brand-small .brand-mark { width: 20px; height: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-right: auto; margin-left: 16px; }
.footer-nav a { font-size: 15px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* Simple pages (thanks, privacy) */
.page { padding: 80px 0 112px; }
.page .wrap { max-width: 768px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); }
.page h1 + p { margin-top: 24px; font-size: 20px; color: var(--muted); }
.page h2 { font-size: 24px; margin-top: 48px; }
.page h2 + p, .page p + p { margin-top: 16px; }
.page a:not(.btn) { text-underline-offset: 3px; }
.page .actions { margin-top: 32px; }
.first-steps {
  margin-top: 48px;
  list-style: none;
  counter-reset: s;
  border-top: 1px solid var(--hair);
}
.first-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
}
.first-steps li::before {
  content: counter(s);
  font: 600 24px/1 var(--serif);
  color: var(--muted);
}
.first-steps li > div { min-width: 0; }
.page .first-steps p { margin: 0; font-size: inherit; color: inherit; }
.first-steps .cmd { margin-top: 12px; }
.page h2 + .first-steps { margin-top: 24px; }

/* A Terminal line with a copy button */
.cmd {
  display: flex;
  align-items: stretch;
  min-width: 0;
  margin-top: 16px;
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
}
.cmd pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font: 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
}
.cmd button {
  flex: none;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid var(--hair);
  border-radius: 0 12px 12px 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.cmd button:hover { background: var(--hair); }
.cmd button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* Thanks page: the download buttons */
.get { margin-top: 40px; }
.get[hidden], .get [hidden] { display: none; }
.page .get .actions { margin-top: 0; }
.page .get .get-status { margin: 0 auto 20px; font-weight: 600; }
.page .get .small { max-width: 34em; margin: 20px auto 0; }

/* Thanks page: the install steps */
.next-steps { max-width: 640px; margin: 56px auto 0; text-align: left; }
.next-steps[hidden] { display: none; }
.page .next-steps h2 { margin-top: 0; }
.page .next-steps .small { margin-top: 16px; }
.after-note { margin-top: 24px; }
.after-note[hidden] { display: none; }
.page-center { text-align: center; }
.page-center h1 { text-wrap: balance; }
.page-center .wrap { max-width: 1000px; }
@media (min-width: 960px) { .page-center h1 { white-space: nowrap; } }
.page-center h1 + p, .page-center .after-note { max-width: 30em; margin-inline: auto; }
.page-center .actions { justify-content: center; }
.share {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 48px 40px 52px;
  border-radius: 28px;
  background: var(--surface);
}
.page .share h2 { margin-top: 0; font-size: 32px; }
.page .share p { max-width: 26em; margin: 12px auto 0; color: var(--muted); }
.page .share .actions { margin-top: 28px; }
.fine { margin-top: 40px; }
.page .fine p { max-width: 36em; margin: 10px auto 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.fine [hidden] { display: none; }
@media (max-width: 560px) { .share { padding: 36px 24px 40px; } }
.share [data-share] { min-width: 200px; }

/* Responsive */
@media (max-width: 1000px) {
  :root { --band-pad: 96px; }
  .head { margin-bottom: 56px; }
  .intro { margin-bottom: 72px; }
  .chapter-main { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chapter-text { max-width: 600px; }
  .support { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .support-side { max-width: 560px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq > :first-child { position: static; }
}

@media (max-width: 840px) {
  .reasons, .points { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .reasons { gap: 0; }
  .reason { padding: 32px 0; }
  .reason + .reason { border-top: 1px solid var(--hair); }
  .reason + .reason::before { display: none; }
  .reason:first-child { padding-top: 0; }
  .reason:last-child { padding-bottom: 0; }
  .points { margin-top: 56px; }
}

@media (max-width: 720px) {
  .film { margin-top: 48px; }
  .film-video { border-radius: 10px; }
  .film-sound { right: 10px; bottom: 10px; padding: 6px 12px; font-size: 13px; }
  :root { --band-pad: 72px; }
  .hero { padding-top: 56px; }
  .hero-wave { display: none; }
  .close { padding: 88px 0; }
  .lede, .section-lede, .compare-line, .chapter-line { font-size: 19px; }
  .head { margin-bottom: 40px; }
  .section-title { margin-bottom: 40px; }
  .compare-line { margin-top: 32px; }
  .point-plain { padding: 28px; }
  .btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
  .actions { margin-top: 32px; }
  .intro { margin-bottom: 56px; }
  .roadmap li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px 20px; }
  .rm-tag { grid-column: 2; justify-self: start; }

  /* The comparison stacks into one card per row */
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tbody tr {
    padding: 8px 16px 16px;
    border: 1px solid var(--hair);
    border-radius: 16px;
  }
  .compare tbody tr + tr { margin-top: 12px; }
  .compare tbody th { padding: 8px 0; border: 0; font-weight: 600; }
  .compare td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hair);
    text-align: right;
  }
  .compare td::before { content: attr(data-label); text-align: left; color: var(--muted); font-size: 15px; }
  .compare td.us { padding: 8px 12px; border-radius: 10px; border-bottom: 0; }
  .compare td.us::before { color: rgba(var(--block-fg-rgb), 0.75); }
  .compare tbody tr:last-child td.us { border-radius: 10px; }
  .compare tbody tr > td:last-child { border-bottom: 0; }
  .compare tbody tr:last-child > td:not(.us) { border-bottom: 1px solid var(--hair); }
  .compare tbody tr:last-child > td:last-child { border-bottom: 0; }
  .compare svg { margin: 0; }

  .dict, .reader { padding: 20px; border-radius: 24px; }
  .ba-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ba-said { font-size: 18px; }
  .ba-out { font-size: 24px; }
  .doc { padding: 20px; font-size: 17px; }
  .player { padding: 16px; }
}

@media (max-width: 560px) {
  .pay-card { padding: 24px 20px; }
  .gives { padding: 0 20px; }
  .amounts { gap: 6px; }
  .tile { height: 56px; border-radius: 14px; }
  .tile b { font-size: 16px; }
  .pay-msg { min-height: 48px; }
  .footer-nav { margin-left: 0; width: 100%; order: 3; }
}

@media (max-width: 480px) {
  .actions .btn { flex: 1 1 100%; }
  .hide-narrow { display: none; }
  .header-nav { gap: 16px; }
}

@media (max-width: 420px) {
  .btn { padding: 0 20px; }
}

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