/* pdfkiln — static/style.css. Direction “Proof sheet”, designed with Claude Design
   (October 2026). Serif: pdfkiln Serif, Source Serif 4 cut down by scripts/font.py
   (SIL OFL 1.1, static/fonts/OFL.txt). Body and code: system stacks. */

@font-face {
  font-family: "pdfkiln Serif";
  src: url("/fonts/pdfkiln-serif.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  /* colour: light */
  --paper: #faf8f5;
  --sheet: #fffefc;
  --tint: #f3eee6;
  --band: #f1e9de;
  --ink: #1c1917;
  --ink-2: #57534e;
  --ink-3: #6f6862;
  --rule: #e7e0d5;
  --rule-strong: #d3c9bb;
  --control: #8a8178;
  --ember: #c2410c;
  --ember-ink: #9a3412;
  --ember-hover: #a8380a;
  --ember-wash: #fbeee4;
  --on-ember: #ffffff;
  --heat: linear-gradient(90deg, #7c2d12 0%, #9a3412 22%, #c2410c 60%, #ea580c 100%);
  --mark: #c2410c;
  --code-bg: #f4efe7;
  --code-ink: #1c1917;
  --code-dim: #6f6862;
  --ok: #3f6b1f;
  --ok-wash: #eef4e6;
  --error: #b42318;
  --error-wash: #fdecea;
  --focus: #c2410c;
  --shadow-sheet: 0 1px 0 #e7e0d5, 0 18px 32px -24px rgba(68, 40, 16, .38);

  /* type */
  --serif: "pdfkiln Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Charter, "Bitstream Charter", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "DejaVu Sans Mono", "Liberation Mono", monospace;
  --t-xs: .8125rem;   /* 13 */
  --t-sm: .9375rem;   /* 15 */
  --t-base: 1.0625rem;/* 17 */
  --t-md: 1.25rem;    /* 20 */
  --t-lg: clamp(1.375rem, 1.25rem + .5vw, 1.625rem);   /* 22–26 */
  --t-xl: clamp(1.75rem, 1.45rem + 1.25vw, 2.375rem);  /* 28–38 */
  --t-2xl: clamp(2.25rem, 1.55rem + 2.9vw, 3.75rem);   /* 36–60 */
  --t-price: clamp(2.5rem, 2.1rem + 1.6vw, 3.25rem);   /* 40–52 */

  /* space */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;

  /* shape and layout */
  --r-1: 2px;
  --r-2: 4px;
  --page: 76rem;
  --measure: 42rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --mark-gap: 12px;
  --mark-len: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181512;
    --sheet: #221d19;
    --tint: #1f1b17;
    --band: #201a15;
    --ink: #f2ede6;
    --ink-2: #bcb3a8;
    --ink-3: #a39a8f;
    --rule: #352e27;
    --rule-strong: #4a4037;
    --control: #857a6e;
    --ember: #fb923c;
    --ember-ink: #fdba74;
    --ember-hover: #fdba74;
    --ember-wash: #2f2017;
    --on-ember: #1c1917;
    --heat: linear-gradient(90deg, #7c2d12 0%, #c2410c 40%, #ea580c 75%, #fb923c 100%);
    --mark: #fb923c;
    --code-bg: #120f0d;
    --code-ink: #f2ede6;
    --code-dim: #a39a8f;
    --ok: #9bd27a;
    --ok-wash: #1d2916;
    --error: #ff9b8f;
    --error-wash: #3a1a16;
    --focus: #fb923c;
    --shadow-sheet: 0 18px 32px -22px rgba(0, 0, 0, .8);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-base)/1.6 var(--sans);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--t-2xl); font-weight: 520; line-height: 1.05; letter-spacing: -.018em; }
h2 { font-size: var(--t-xl); letter-spacing: -.01em; }
h3 { font-size: var(--t-lg); }
p, ul, ol, dl, table, pre, figure { margin: 0 0 var(--s-4); }
p { text-wrap: pretty; }
:where(p, ul, ol):last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
li::marker { color: var(--ember); }
strong, b { font-weight: 650; }
svg { flex: none; }

a { color: var(--ember-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-1); }

code, kbd, samp { font-family: var(--mono); font-size: .875em; }
:not(pre) > code {
  background: var(--tint);
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  padding: .05em .3em;
  overflow-wrap: anywhere;
}
:is(h1, h2, h3, summary, strong) > code {
  background: none; border: 0; padding: 0;
  font-size: .84em; font-weight: 500; letter-spacing: -.02em;
}

.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.muted { color: var(--ink-3); }
.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: var(--s-4); top: -10rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: var(--s-2) var(--s-4);
  border-radius: var(--r-1); text-decoration: none; font-weight: 600;
}
.skip:focus { top: var(--s-3); color: var(--paper); }

/* ---------- Header ---------- */
.site-header::after { content: ""; display: block; height: 2px; background: var(--heat); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-2) var(--s-6); padding-block: var(--s-4);
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink); text-decoration: none; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand b { font-weight: 750; }
.logo { width: 1.625rem; height: 1.625rem; color: var(--ink); }
.flame { fill: var(--ember); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-5); font-size: var(--t-sm); }
.site-header nav a {
  color: var(--ink); text-decoration: none; padding-block: .4rem .3rem;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { border-bottom-color: var(--rule-strong); }
.site-header nav a[aria-current="page"] { border-bottom-color: var(--ember); }
.site-header .lang { position: relative; margin-left: var(--s-3); color: var(--ink-2); }
.site-header .lang::before {
  content: ""; position: absolute; left: calc(-1 * (var(--s-3) + var(--s-5) / 2)); top: .45rem; bottom: .4rem;
  width: 1px; background: var(--rule-strong);
}

/* ---------- Page sections ---------- */
main > section { padding-block: var(--s-8); }
main > section + section { border-top: 1px solid var(--rule); }
main > .hero + section { border-top: 0; padding-top: 0; }
main > section > h2 + p, .intro { max-width: var(--measure); color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: var(--s-8); }
.hero > * { grid-column: 1; }
.hero h1 { margin-bottom: var(--s-5); max-width: 20ch; }
.hero-pro h1 { max-width: 24ch; }
.lead {
  font-family: var(--serif); font-size: var(--t-md); line-height: 1.55;
  color: var(--ink-2); max-width: 38rem; margin-bottom: 0;
}
.hero .muted { font-size: var(--t-sm); margin-top: var(--s-3); }
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3);
  margin: 0 0 var(--s-4); font-size: var(--t-sm); color: var(--ember-ink);
}
/* The square stays on the first line of the text, which wraps beside it. */
.hero:not(.hero-pro) > .eyebrow { flex-wrap: nowrap; align-items: flex-start; }
.hero:not(.hero-pro) > .eyebrow::before { content: ""; flex: none; width: .5rem; height: .5rem; margin-top: .55em; background: var(--ember); }
.eyebrow a { color: inherit; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.hero > .proof { margin-top: var(--s-7); }
@media (min-width: 60em) {
  .hero:has(> .proof) { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: var(--s-8); }
  .hero > .proof { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; }
}

/* ---------- Buttons and badge ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 2.875rem; padding: .65rem 1.3rem;
  border: 1px solid var(--ember); border-radius: var(--r-1);
  background: var(--ember); color: var(--on-ember);
  font: 600 var(--t-base)/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.button:hover { background: var(--ember-hover); border-color: var(--ember-hover); color: var(--on-ember); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.button.secondary:hover { border-color: var(--ink); color: var(--ink); }
.button:disabled, .button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.badge {
  display: inline-block; padding: .38rem .6rem; border: 1px dashed var(--ember); border-radius: var(--r-1);
  font: 600 .75rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ember-ink);
}

/* ---------- Proof: the printed sheet with crop marks ---------- */
.proof, .plan {
  position: relative; margin-inline: 0;
  background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet);
}
.proof { padding: var(--s-5); }
.proof::before, .plan::before {
  --o: calc(var(--mark-gap) + var(--mark-len));
  content: ""; position: absolute; inset: calc(-1 * var(--o)); pointer-events: none;
  background-image:
    linear-gradient(var(--mark), var(--mark)), linear-gradient(var(--mark), var(--mark)),
    linear-gradient(var(--mark), var(--mark)), linear-gradient(var(--mark), var(--mark)),
    linear-gradient(var(--mark), var(--mark)), linear-gradient(var(--mark), var(--mark)),
    linear-gradient(var(--mark), var(--mark)), linear-gradient(var(--mark), var(--mark));
  background-repeat: no-repeat;
  background-size:
    var(--mark-len) 1px, 1px var(--mark-len), var(--mark-len) 1px, 1px var(--mark-len),
    var(--mark-len) 1px, 1px var(--mark-len), var(--mark-len) 1px, 1px var(--mark-len);
  background-position:
    left 0 top var(--o), left var(--o) top 0,
    right 0 top var(--o), right var(--o) top 0,
    left 0 bottom var(--o), left var(--o) bottom 0,
    right 0 bottom var(--o), right var(--o) bottom 0;
}
.answer { margin: 0; font: .875rem/1.75 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.answer[data-lang]::before {
  content: attr(data-lang); display: block; margin-bottom: var(--s-3); padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule); font-size: .75rem; letter-spacing: .06em; color: var(--ink-3);
}
.answer kbd { font: inherit; color: var(--ink-2); }
.answer kbd::before { content: "$ "; color: var(--ember); }
.answer samp { display: block; font: inherit; font-weight: 600; color: var(--ink); }
.proof figcaption, .proof + p, .caption {
  font-family: var(--serif); font-size: 1rem; line-height: 1.5; color: var(--ink-2);
}
.proof figcaption { margin-top: var(--s-4); }
.proof + p { margin-top: var(--s-5); font-size: var(--t-sm); }
.proof > .table { margin: calc(-1 * var(--s-2)) calc(-1 * var(--s-3)); }

/* ---------- Code ---------- */
pre.code {
  position: relative; overflow: hidden; margin-top: var(--s-4);
  background: var(--code-bg); color: var(--code-ink);
  border: 1px solid var(--rule); border-radius: var(--r-1);
  font: .875rem/1.7 var(--mono); tab-size: 2;
}
pre.code::before {
  content: attr(data-lang); display: block; padding: .5rem var(--s-4); min-height: 2.25rem;
  border-bottom: 1px solid var(--rule);
  font: 500 .75rem/1.25rem var(--mono); letter-spacing: .06em; color: var(--code-dim);
}
pre.code:not([data-lang])::before { content: none; }
pre.code > code { display: block; overflow-x: auto; padding: var(--s-4); font: inherit; color: inherit; background: none; border: 0; }
pre.code.has-copy:not([data-lang]) > code { padding-right: 5.5rem; }
.copy {
  position: absolute; top: .3rem; right: .35rem; min-height: 1.625rem; padding: .3rem .65rem;
  border: 1px solid var(--rule-strong); border-radius: var(--r-1);
  background: var(--paper); color: var(--ink); font: 600 .75rem/1 var(--sans); cursor: pointer;
}
.copy:hover { border-color: var(--ink); }
.copy[data-copied] { color: var(--ok); border-color: currentColor; }

/* ---------- Home: points, channels, guides, split, band ---------- */
.points {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--s-6);
}
.points li { margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--ink); color: var(--ink-2); font-size: var(--t-sm); }
.points strong { display: block; margin-bottom: var(--s-2); font: 600 var(--t-md)/1.3 var(--serif); color: var(--ink); }

.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); margin-top: var(--s-7); }
.channel { min-width: 0; }
.channel.wide { grid-column: 1 / -1; }
.channel h3 { margin-bottom: var(--s-2); }
.channel p { max-width: var(--measure); color: var(--ink-2); font-size: var(--t-sm); }
.channel pre.code { margin-bottom: 0; }
.channels ~ p { max-width: var(--measure); color: var(--ink-2); font-size: var(--t-sm); }
.channels + p { margin-top: var(--s-7); }

.guides {
  list-style: none; padding: 0; margin: var(--s-6) 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--s-4);
}
.guides li {
  position: relative; margin: 0; padding: var(--s-4) var(--s-5) var(--s-5);
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-1);
  transition: border-color .15s;
}
.guides li:hover { border-color: var(--ember); }
.guides li:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.guides a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-1) var(--s-3); color: var(--ink); text-decoration: none; }
.guides a:focus-visible { outline: 0; }
.guides a::after { content: ""; position: absolute; inset: 0; }
.guides strong { font: 650 1.0625rem/1.3 var(--mono); letter-spacing: -.01em; }
.guides a span { font: .75rem/1.4 var(--mono); color: var(--ink-3); }
.guides p { margin-top: var(--s-2); color: var(--ink-2); font-size: var(--t-sm); }
.guides + p { margin-top: var(--s-6); max-width: var(--measure); color: var(--ink-2); font-size: var(--t-sm); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); }
.split > * { min-width: 0; }
.split h2 { font-size: var(--t-lg); }
.split > * > p { color: var(--ink-2); }
.split ul { padding: 0; list-style: none; }
.split ul li { margin: 0; padding: var(--s-3) 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: var(--t-sm); }
.split ul li:last-child { border-bottom: 1px solid var(--rule); }
.split .proof { margin-top: var(--s-6); }
main p.source { font-size: var(--t-sm); color: var(--ink-3); }

.band { background: var(--band); border-block: 1px solid var(--rule); }
main > section.band { padding-block: 0; }
main > .band + section, main > section + .band { border-top: 1px solid var(--rule); }
.band .wrap { padding-block: var(--s-8); }
.band h2 { max-width: 24ch; }
.band p:not(.eyebrow) { max-width: var(--measure); color: var(--ink-2); }
.band .button { margin-top: var(--s-5); }

/* ---------- Tables ---------- */
.table { overflow-x: auto; margin-bottom: var(--s-4); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
th, td { padding: .65rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
thead th { font: 600 .8125rem/1.4 var(--mono); color: var(--ink-3); border-bottom: 1px solid var(--ink); white-space: nowrap; vertical-align: bottom; }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.proof td:nth-child(n+3), .proof th:nth-child(n+3) { text-align: right; font-family: var(--mono); white-space: nowrap; }
.compare { min-width: 40rem; }
.compare tbody th { width: 9rem; font-family: var(--mono); font-size: .8125rem; font-weight: 500; color: var(--ink-3); }
.compare thead th { font: 600 var(--t-md)/1.3 var(--serif); color: var(--ink); white-space: normal; }
.compare thead th:first-child { border-bottom-color: transparent; }

/* ---------- Pro, Factur-X ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.features > * { min-width: 0; padding: var(--s-5); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-1); }
.features > :last-child { background: transparent; border-style: dashed; border-color: var(--rule-strong); }
.features h3 { margin-bottom: var(--s-3); }
.features p { color: var(--ink-2); font-size: var(--t-sm); }

.plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: var(--s-8); margin: var(--s-7) 0 var(--s-6); padding: 0 var(--s-5);
  max-width: 54rem;
}
.plan { padding: var(--s-5) var(--s-6) var(--s-6); }
.plan h3 { font-size: var(--t-md); margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--rule); }
.price { margin: 0 0 var(--s-3); color: var(--ink-2); font-size: var(--t-sm); }
.price strong {
  display: block; margin-bottom: var(--s-1);
  font: 500 var(--t-price)/1.05 var(--serif); letter-spacing: -.01em; color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.plan p:last-child { color: var(--ink-2); }
.note { max-width: var(--measure); color: var(--ink-2); font-size: var(--t-sm); }

.timeline {
  list-style: none; padding: 0; margin: var(--s-6) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--s-6) 0;
}
.timeline li { position: relative; margin: 0; padding: var(--s-5) var(--s-6) 0 0; border-top: 2px solid var(--ink); color: var(--ink-2); }
.timeline li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--ember);
}
.timeline strong { display: block; margin-bottom: var(--s-2); font: 600 var(--t-lg)/1.25 var(--serif); color: var(--ink); }

.steps {
  list-style: none; counter-reset: step; padding: 0; margin: var(--s-6) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s-6);
}
.steps li { counter-increment: step; margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--rule); color: var(--ink-2); }
.steps li::before {
  content: counter(step); display: block; margin-bottom: var(--s-3);
  font: 500 2.75rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--ember);
}
.steps strong { color: var(--ink); }

/* ---------- Waitlist form ---------- */
.waitlist {
  max-width: 50rem; margin-top: var(--s-6); padding: var(--s-6);
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-1);
}
.field { display: grid; gap: .4rem; margin-bottom: var(--s-5); min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0 var(--s-4); }
.waitlist label, .waitlist legend { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.hint { font-size: var(--t-xs); font-weight: 400; color: var(--ink-3); }
.waitlist legend .hint { margin-left: .25em; }
.field > .hint { margin-top: -.1rem; }
input[type="email"], input[type="text"], select, textarea {
  width: 100%; min-height: 2.875rem; padding: .6rem .75rem;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--control); border-radius: var(--r-1);
}
textarea { resize: vertical; min-height: 4.5rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field .hint[id$="-error"], .error-text { color: var(--error); font-weight: 600; }
.waitlist fieldset {
  min-width: 0; margin: 0 0 var(--s-5); padding: 0; border: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: var(--s-2);
}
.waitlist fieldset:has(> .check > input[type="radio"]) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
/* A floated legend is a grid item: it takes the whole first row, not a cell. */
.waitlist legend { float: left; width: 100%; grid-column: 1 / -1; padding: 0; margin-bottom: var(--s-3); }
.waitlist fieldset[aria-invalid="true"] { box-shadow: none; }
.waitlist fieldset[aria-invalid="true"] .check { border-color: var(--error); }
.check {
  display: flex; align-items: flex-start; gap: .6rem; margin: 0;
  padding: .6rem .75rem; border: 1px solid var(--rule-strong); border-radius: var(--r-1);
  background: var(--paper); cursor: pointer;
  font-size: var(--t-sm); font-weight: 400 !important; line-height: 1.4;
  transition: border-color .15s, background-color .15s;
}
.check:hover { border-color: var(--control); }
.check input { flex: none; width: 1.05rem; height: 1.05rem; margin: .1rem 0 0; accent-color: var(--ember); }
.check:has(input:checked) { border-color: var(--ember); background: var(--ember-wash); }
.check:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 1px; }
.check input:focus-visible { outline: 0; }
.other { grid-column: 1 / -1; display: grid; gap: .4rem; margin-top: var(--s-2); }
.trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist .button { margin-top: var(--s-2); }
.form-status { margin: var(--s-4) 0 0; font-size: var(--t-sm); }
.form-status:empty { display: none; }
.form-status[data-state] { padding: var(--s-3) var(--s-4); border: 1px solid currentColor; border-radius: var(--r-1); font-weight: 600; }
.form-status[data-state="ok"] { color: var(--ok); background: var(--ok-wash); }
.form-status[data-state="error"] { color: var(--error); background: var(--error-wash); }
.fine { margin-top: var(--s-4); font-size: var(--t-xs); color: var(--ink-3); max-width: var(--measure); }
.waitlist.sent > :not(.form-status) { display: none; }
.waitlist.sent .form-status { margin: 0; padding: var(--s-5); font: 500 var(--t-md)/1.45 var(--serif); }

/* ---------- FAQ ---------- */
.faq details { max-width: 48rem; border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: var(--s-4) 2.5rem var(--s-4) 0;
  font: 600 var(--t-md)/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: var(--s-4);
  font: 400 1.375rem/1.2 var(--mono); color: var(--ember);
}
.faq details[open] > summary::after { content: "\2212"; }
.faq summary:hover { color: var(--ember-ink); }
.faq details > :not(summary) { max-width: var(--measure); margin: 0 0 var(--s-5); color: var(--ink-2); }

/* ---------- Migration guide ---------- */
.guide { padding-block: var(--s-8); }
.guide h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: var(--s-5); }
.guide .lead { margin-bottom: var(--s-7); }
.guide h2 { margin-top: var(--s-8); font-size: var(--t-lg); }
.guide .lead + h2 { margin-top: 0; }
.guide h2 + p, .guide pre + p { color: var(--ink-2); }
.guide pre.code { margin-bottom: var(--s-5); }
.notes ul { list-style: none; padding: 0; }
.notes li { margin: 0; padding: var(--s-3) 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.notes li:last-child { border-bottom: 1px solid var(--rule); }
.aside { margin-top: var(--s-8); padding: var(--s-5); background: var(--tint); border: 1px solid var(--rule); border-radius: var(--r-1); }
.aside h2 { margin-top: 0 !important; }
.aside p { color: var(--ink-2); font-size: var(--t-sm); }
.guide-links { margin-top: var(--s-8); }
.guide-links ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.guide-links li { margin: 0; }
.guide-links a {
  display: inline-block; padding: .45rem .75rem; min-height: 2.25rem;
  font: 500 .875rem/1.3 var(--mono); color: var(--ink); text-decoration: none;
  background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-1);
}
.guide-links a:hover { border-color: var(--ember); color: var(--ink); }

/* ---------- Legal, notice pages ---------- */
.legal { padding-block: var(--s-8); }
.legal h1 { font-size: var(--t-xl); }
.legal h1 + p { color: var(--ink-3); font-size: var(--t-sm); margin-bottom: var(--s-7); }
.legal h2 { font-size: var(--t-md); margin-top: var(--s-7); }
.legal p, .legal li { color: var(--ink-2); }
.notice { max-width: calc(36rem + 2 * var(--gutter)); padding-block: var(--s-9); }
.notice h1 { font-size: var(--t-xl); }
.notice p { font-family: var(--serif); font-size: var(--t-md); line-height: 1.55; color: var(--ink-2); }
.notice form { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); color: var(--ink-3); font-size: var(--t-sm); }
.site-footer .wrap { display: grid; gap: var(--s-4); padding-block: var(--s-6) var(--s-7); }
.site-footer p { max-width: var(--measure); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0; padding: 0; list-style: none; }
.site-footer .links > * { margin: 0; }
.site-footer a { color: var(--ink-2); text-decoration-color: var(--rule-strong); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Small screens ---------- */
@media (max-width: 47.99em) {
  :root { --mark-gap: 6px; --mark-len: 8px; }
  main > section, .hero, .guide, .legal { padding-block: var(--s-7); }
  .notice { padding-block: var(--s-8); }
  .site-header nav { gap: var(--s-1) var(--s-4); }
  .site-header .lang { margin-left: var(--s-2); }
  .site-header .lang::before { left: calc(-1 * (var(--s-2) + var(--s-4) / 2)); }
  .channels, .split { grid-template-columns: minmax(0, 1fr); }
  .channels { gap: var(--s-6); }
  .split { gap: var(--s-7); }
  .proof { padding: var(--s-4); }
  .plans { gap: var(--s-7); padding: 0; }
  .plan { padding: var(--s-4) var(--s-5) var(--s-5); }
  .waitlist { padding: var(--s-5) var(--s-4); margin-inline: calc(-1 * var(--s-2)); }
  .actions .button { flex: 1 1 auto; }
}

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

@media print {
  .site-header nav, .skip, .copy, .waitlist { display: none; }
  .site-header::after { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  pre.code > code { white-space: pre-wrap; }
}
