/* StudioTrackr marketing site.
   Hand-written, no build step, no third-party requests. The token block below is copied
   from the app's dark ramp (web/src/index.css) so the two surfaces read as one product —
   copied rather than imported on purpose: this site ships independently of the app. */

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/libre-franklin-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/libre-franklin-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/libre-franklin-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/libre-franklin-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --bg: #0e1116;
  --surface: #12171f;
  --surface-raised: #161d27;
  --surface-sunken: #0f141b;
  --border: #1e2632;
  --border-strong: #222a36;
  --text: #e8edf3;
  --text-secondary: #b8c2ce;
  --text-muted: #8b96a5;
  --text-faint: #6f7a89;
  --accent: #318afb;
  --accent-soft: #4ca6ff;
  --accent-surface: #101823;
  --accent-border: #253449;

  --done: #3fae7a;
  --done-fill: #22503b;
  --done-ring: #35785a;
  --done-text: #71c9a1;
  --progress: #e0b73f;
  --progress-fill: #463a17;
  --progress-ring: #85702a;
  --progress-text: #f0d894;
  --todo: #d4635a;
  --todo-fill: #48231f;
  --todo-ring: #8a3f39;
  --todo-text: #e08c84;
  --none-fill: #1c222d;
  --none-ring: #283142;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Libre Franklin", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 12px;
  --radius-lg: 16px;
  --shell: 1120px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

/* Anchor targets must clear the sticky header rather than hiding beneath it. */
[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-soft) 55%, transparent);
  outline-offset: 2px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---------- micro type ---------- */

.microlabel {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-soft);
  background: var(--accent-surface);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .shell {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* The lockup matches the app exactly (web/src/components/Logo.tsx + the redesign
   mockups): a monochrome accent mark, and a wordmark set in the body sans — NOT the
   display face — with "Studio" at 700 against "Trackr" at 400. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  color: var(--accent);
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
}

.wordmark .wm-strong {
  font-weight: 700;
}

.site-footer .wordmark {
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-soft);
}

.btn-secondary {
  background: var(--surface-raised);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent-border);
  background: var(--surface);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 24px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -160px 0 auto;
  height: 620px;
  z-index: -1;
  background: radial-gradient(
    ellipse 62% 50% at 50% 0%,
    color-mix(in srgb, var(--accent) 17%, transparent),
    transparent 70%
  );
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4rem);
  font-weight: 800;
  /* The line break is explicit in the markup, so this only needs to stop the two
     lines from over-widening on a very large screen. */
  max-width: 20ch;
  margin: 0 auto;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-soft);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 22px auto 0;
}

.hero-sub-tight {
  margin-top: 12px;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.hero-note {
  margin-top: 18px;
  color: var(--text-faint);
  font-size: 14px;
}

/* ---------- board mock ---------- */

.board-wrap {
  margin: 56px auto 0;
  max-width: 1000px;
  position: relative;
}

.board {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  text-align: left;
}

.board-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-sunken);
}

.board-dots {
  display: flex;
  gap: 6px;
}

.board-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.board-title {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.board-meta {
  color: var(--text-faint);
  font-size: 13px;
  margin-left: auto;
}

.board-scroll {
  overflow-x: auto;
}

.board table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  /* Fixed layout so every step column is exactly equal. Auto layout sizes columns by
     header text ("Drums" vs "Inst Edit"), which a centred dot hid and a filled block
     does not. Undeclared columns share the remaining width equally — the table
     equivalent of the app's `1fr` tracks. */
  table-layout: fixed;
}

.board th:first-child,
.board td:first-child {
  width: 190px;
}

.board .c-time {
  width: 62px;
}

.board .c-next {
  width: 152px;
}

.board th {
  text-align: left;
  padding: 12px 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.board th:first-child,
.board td:first-child {
  padding-left: 20px;
}

/* The right-hand gutter lives on the scroll wrapper, not on the last column: as a
   cell padding it ate 18px out of that column's content box, making the final block
   narrower than every other one. Harmless behind a centred dot, obvious behind a
   block that fills its track. */
.board-scroll {
  padding-right: 18px;
}

.board th:last-child:not(.cell),
.board td:last-child:not(.cell) {
  padding-right: 20px;
}

.board td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.board tbody tr:last-child td {
  border-bottom: 0;
}

.board .song {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.board .time {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.board .next {
  white-space: nowrap;
  font-size: 13px;
}

.board .cell {
  /* No width: fixed layout splits the leftover equally across the step columns. */
  padding-left: 2px;
  padding-right: 2px;
}

/* One cell language for every board square, matching the app's StatusChip.tsx: a block
   filling its column, a dark tinted centre behind a muted 1px inset ring. A run of
   finished steps then reads as one continuous band — which a circle cannot do, because
   it leaves a gutter either side. No glyphs here: the app offers those as an opt-in
   accessibility setting, and this is a picture of the default. */
.dot {
  display: block;
  width: 100%;
  height: 22px;
  border-radius: 4px;
  background: var(--none-fill);
  box-shadow: inset 0 0 0 1px var(--none-ring);
}

.dot-done {
  background: var(--done-fill);
  box-shadow: inset 0 0 0 1px var(--done-ring);
}

.dot-progress {
  background: var(--progress-fill);
  box-shadow: inset 0 0 0 1px var(--progress-ring);
}

.dot-todo {
  background: var(--todo-fill);
  box-shadow: inset 0 0 0 1px var(--todo-ring);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.t-done {
  color: var(--done-text);
}

.t-progress {
  color: var(--progress-text);
}

.t-todo {
  color: var(--todo-text);
}

.board-foot {
  padding: 13px 20px;
  color: var(--text-faint);
  font-size: 12.5px;
  border-top: 1px solid var(--border);
  background: var(--surface-sunken);
}

/* ---------- sections ---------- */

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface-sunken);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head .microlabel {
  color: var(--accent-soft);
  display: block;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 16px;
}

/* ---------- board extras: progress + up next ---------- */

.board-wrap.wide {
  max-width: 100%;
}

.board-progress {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.progress-head b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.progress-delta {
  color: var(--done-text);
  font-size: 13.5px;
}

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: var(--none-fill);
  margin: 12px 0 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.upnext {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--accent-surface);
  border-bottom: 1px solid var(--border);
}

.upnext-label {
  color: var(--accent-soft);
  padding-top: 4px;
  flex-shrink: 0;
}

.upnext p {
  font-size: 15px;
  line-height: 1.5;
}

.upnext-why {
  color: var(--text-muted);
  font-size: 13.5px;
}

.board-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 13px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-sunken);
  font-size: 12.5px;
}

/* ---------- split: copy beside a visual ---------- */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.split-copy p {
  color: var(--text-secondary);
  margin-top: 16px;
}

.split-copy p.muted {
  color: var(--text-muted);
  font-size: 15px;
}

.nots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.nots li {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  padding-left: 26px;
  position: relative;
}

.nots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--todo);
}

.split-visual {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

/* ---------- version panel ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-sunken);
}

.panel-title {
  font-weight: 700;
  font-size: 15px;
}

.chip {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.chip-new {
  margin-left: auto;
  color: var(--done-text);
  background: var(--done-fill);
  border: 1px solid var(--done-ring);
}

.chip-current {
  color: var(--accent-soft);
  background: var(--accent-surface);
  border: 1px solid var(--accent-border);
}

.versions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.versions li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text-secondary);
}

.versions li:last-child {
  border-bottom: 0;
}

.versions li.is-current {
  background: var(--surface-raised);
}

.v-play {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 9px;
  flex-shrink: 0;
}

.versions li.is-current .v-play {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.v-name {
  color: var(--text);
  font-weight: 600;
}

.v-meta {
  color: var(--text-faint);
  font-size: 12.5px;
}

.v-ago {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 12.5px;
}

.versions li.is-current .chip-current {
  margin-left: auto;
}

/* ---------- phone ---------- */

.phone {
  width: 208px;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  background: var(--surface-sunken);
  padding: 9px;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.95);
  flex-shrink: 0;
}

.phone-screen {
  background: var(--bg);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 14px 12px;
  display: grid;
  gap: 10px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.phone-card {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  padding: 11px 12px;
}

.phone-song {
  font-size: 13.5px;
  font-weight: 700;
}

.phone-sub {
  color: var(--accent-soft);
  font-size: 11px;
  margin-bottom: 9px;
}

.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  padding: 0 2px;
}

/* ---------- waveform ---------- */

.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

.wave i {
  flex: 1;
  border-radius: 1.5px;
  background: var(--border-strong);
  min-width: 2px;
}

.wave-sm {
  height: 26px;
}

.wave-sm i {
  background: color-mix(in srgb, var(--accent) 55%, var(--border-strong));
}

.wave-lg {
  height: 132px;
  gap: 3px;
  padding: 0 4px;
  /* Top margin clears the timestamp labels, which sit above the bars. */
  margin: 40px 0 4px;
}

/* Everything left of the playhead reads as played. */
.wave-lg i:nth-child(-n + 12) {
  background: color-mix(in srgb, var(--accent) 70%, transparent);
}

.marker {
  position: absolute;
  top: -10px;
  bottom: -10px;
  width: 2px;
  background: var(--progress);
  border-radius: 2px;
}

.marker b {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--progress-text);
  background: var(--progress-fill);
  border: 1px solid var(--progress-ring);
  border-radius: 5px;
  padding: 1px 6px;
  white-space: nowrap;
}

.marker.is-live {
  background: var(--accent-soft);
}

.marker.is-live b {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- player + notes ---------- */

.player {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px 26px 8px;
  box-shadow: 0 28px 70px -34px rgba(0, 0, 0, 0.9);
}

.player-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-song {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.player-time {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 12.5px;
}

.notes {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.notes li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text-secondary);
}

.notes li:last-child {
  border-bottom: 0;
}

.notes .ts {
  font-size: 12px;
  color: var(--progress-text);
  background: var(--progress-fill);
  border: 1px solid var(--progress-ring);
  border-radius: 5px;
  padding: 2px 8px;
}

.who {
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
}

.who-alt {
  color: var(--accent-soft);
}

.section-foot {
  margin-top: 44px;
  max-width: 62ch;
}

.section-foot.center {
  margin-inline: auto;
  text-align: center;
}

.section-foot p {
  color: var(--text-secondary);
}

.section-foot .emphasis {
  margin-top: 14px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.section-foot .trust {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- workflow rail ---------- */

.rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.rail span {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  position: relative;
}

.rail span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  color: var(--text-faint);
  font-size: 12px;
}

.rail span:last-child {
  background: var(--accent-surface);
  border-color: var(--accent-border);
  color: var(--accent-soft);
}

.loop {
  max-width: 60ch;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: center;
}

.loop p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.loop b {
  color: var(--text);
}

/* ---------- pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  /* stretch, not start — the two cards match height even though Free has a shorter
     blurb and one fewer line of price detail. */
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  /* Column layout so the feature list absorbs the slack and both CTAs sit on the
     same baseline at the bottom of the card. */
  display: flex;
  flex-direction: column;
}

.plan ul {
  flex: 1;
}

.plan .price-alt {
  min-height: 44px;
}

.plan.featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-surface), var(--surface) 55%);
  position: relative;
}

.plan-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.plan-name h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.plan-name .pill {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 4px;
}

.price b {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span {
  color: var(--text-muted);
  font-size: 14.5px;
}

.price-alt {
  color: var(--text-faint);
  font-size: 13.5px;
  min-height: 20px;
}

.plan ul {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.plan li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.plan li svg {
  margin-top: 4px;
  flex-shrink: 0;
}

.plan .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 14px;
  margin-top: 26px;
}

/* ---------- faq ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq details p {
  color: var(--text-muted);
  padding-bottom: 22px;
  font-size: 15px;
  max-width: 68ch;
}

.faq-more {
  text-align: center;
  margin-top: 36px;
}

/* On the standalone FAQ page the list carries the page, so give it a top rule and a
   little more room than the homepage excerpt gets. */
.faq-page {
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.faq-page summary {
  padding: 22px 0;
}

/* ---------- cta band ---------- */

.cta {
  text-align: center;
  background:
    radial-gradient(ellipse 55% 130% at 50% 100%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 70%),
    var(--surface-sunken);
  border-top: 1px solid var(--border);
}

.cta h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.75rem);
  font-weight: 800;
}

.cta p {
  color: var(--text-secondary);
  margin: 18px auto 0;
  max-width: 52ch;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 56px;
  background: var(--bg);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-top p {
  color: var(--text-faint);
  font-size: 14px;
  max-width: 34ch;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13.5px;
}

/* ---------- legal pages ---------- */

.legal {
  padding: 64px 0 96px;
}

.legal-inner {
  max-width: 72ch;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
}

.legal .updated {
  color: var(--text-faint);
  font-size: 14px;
  margin-top: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 44px 0 14px;
}

.legal h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 26px 0 10px;
}

.legal p,
.legal li {
  color: var(--text-secondary);
  font-size: 15.5px;
}

.legal p + p {
  margin-top: 14px;
}

.legal ul {
  margin: 14px 0;
  padding-left: 22px;
  display: grid;
  gap: 9px;
}

.legal strong {
  color: var(--text);
}

.legal .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 22px 0;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14.5px;
}

.legal th,
.legal td {
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.legal th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.legal-scroll {
  overflow-x: auto;
}

/* ---------- scroll reveal ----------
   Every rule here is gated behind `html.js`, which an inline script in <head> sets
   before first paint. If JavaScript is disabled, blocked, or fails to parse, none of
   these rules ever apply and the page renders fully visible — the animation can only
   ever hide content it is also guaranteed to reveal. */

html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* The hero is above the fold, so it plays on load rather than on intersection. */
html.js .hero .reveal {
  transform: translateY(14px);
}

/* Stagger the children of a group so a row of cards arrives as a cascade rather than
   a single block. Delays are small on purpose — this should read as momentum, not as
   a thing you wait for. */
html.js .stagger > *:nth-child(1) {
  --reveal-delay: 0s;
}
html.js .stagger > *:nth-child(2) {
  --reveal-delay: 0.07s;
}
html.js .stagger > *:nth-child(3) {
  --reveal-delay: 0.14s;
}
html.js .stagger > *:nth-child(4) {
  --reveal-delay: 0.21s;
}
html.js .stagger > *:nth-child(5) {
  --reveal-delay: 0.28s;
}
html.js .stagger > *:nth-child(6) {
  --reveal-delay: 0.35s;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .pricing,
  .split {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 36px;
  }

  /* Stack the phone under the version list rather than squeezing them side by side. */
  .split-visual {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .section {
    padding: 72px 0;
  }

  .player {
    padding: 22px 18px 6px;
  }

  .wave-lg {
    height: 104px;
  }
}

@media (max-width: 680px) {
  .site-nav {
    display: none;
  }

  .site-header .shell {
    justify-content: space-between;
    gap: 12px;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 60px;
  }

  .board-wrap {
    margin-top: 40px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* The project meta has nowhere to go next to the title at this width. */
  .board-meta {
    display: none;
  }

  .board-title {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  /* Don't merely shorten the reveal — remove it. Anyone who has asked for less motion
     should get the finished page, not a 0.01ms flicker of it arriving. */
  html.js .reveal,
  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
