/*
 * House style — shared by every product site.
 *
 * This file knows nothing about any one product. A product site loads it
 * first, then a short product stylesheet that sets the --brand-* tokens
 * (accent colour, display font, mark letter). See house-style.html.
 *
 * Sections: 1 tokens · 2 base · 3 layout · 4 header & nav · 5 type
 * 6 buttons & chips · 7 heroes · 8 the status strip · 9 screenshots
 * 10 feature blocks · 11 lists, tables, code · 12 steps & FAQ
 * 13 call-to-action band & footer · 14 motion & print
 */

/* 1 ─ Tokens ─────────────────────────────────────────────────────────── */

:root {
  /* Set by the product stylesheet. These are neutral fallbacks. */
  --brand-accent: #3b4b63;
  --brand-accent-strong: #2c394d;
  --brand-accent-soft: #eef1f5;
  --brand-on-accent: #ffffff;
  --brand-display: Georgia, "Times New Roman", serif;

  /* Family neutrals: a cool white page, near-black ink. */
  --canvas: #f4f5f7;
  --paper: #ffffff;
  --paper-2: #fafbfc;
  --ink: #15171b;
  --ink-2: #4b5059;
  --ink-3: #6f7580;
  --rule: #e1e4e9;
  --rule-strong: #c9ced6;
  --shadow: 0 1px 2px rgba(16, 20, 28, .05), 0 12px 32px -12px rgba(16, 20, 28, .18);
  --shadow-lg: 0 2px 4px rgba(16, 20, 28, .04), 0 32px 64px -24px rgba(16, 20, 28, .28);

  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--brand-display);
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --wrap: 1180px;
  --gutter: 16px;
  --section: clamp(64px, 9vw, 120px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0e1013;
    --paper: #16191e;
    --paper-2: #1b1f25;
    --ink: #eceef1;
    --ink-2: #b2b7bf;
    --ink-3: #8a909a;
    --rule: #2a2f37;
    --rule-strong: #3a414b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 32px 64px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #0e1013;
  --paper: #16191e;
  --paper-2: #1b1f25;
  --ink: #eceef1;
  --ink-2: #b2b7bf;
  --ink-3: #8a909a;
  --rule: #2a2f37;
  --rule-strong: #3a414b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 32px 64px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }

/* 2 ─ Base ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-text);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brand-accent-soft); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--paper); padding: 8px 12px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3 ─ Layout ─────────────────────────────────────────────────────────── */

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section + .section:not(.section-tint) { padding-top: 0; }
.section-tint { background: var(--canvas); border-block: 1px solid var(--rule); }
.section-tint + .section { padding-top: var(--section); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.centre { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* 4 ─ Header & nav ───────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.mark { width: 30px; height: 30px; flex: none; color: var(--ink); }
.mark .mark-letter { fill: var(--paper); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-sm); }
.nav a:hover { color: var(--ink); background: var(--canvas); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--canvas); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary[aria-current] { color: var(--brand-on-accent); background: var(--brand-accent); padding: 8px 16px; border-radius: 999px; }
.nav a.btn-primary:hover { background: var(--brand-accent-strong); }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink-2); cursor: pointer; margin-left: 4px; }
.theme-toggle:hover { color: var(--ink); border-color: var(--rule-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

/* Small screens: the nav folds into a menu. */
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 15px; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); padding: 8px var(--gutter) 20px; }
.menu-panel a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--rule); }
.menu-panel a[aria-current="page"] { color: var(--brand-accent); }
.menu-panel .btn { margin-top: 16px; display: flex; justify-content: center; border: 0; }
@media (max-width: 899px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header .theme-toggle { margin-left: 0; }
}

/* 5 ─ Type ───────────────────────────────────────────────────────────── */

h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
.display, h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.06; font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
h4 { font-size: 15px; font-weight: 650; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 640px; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.section-head h2 + p, .section-head h1 + p { margin-top: 18px; }

/* The family's signature label: monospaced, with the double slash
   (the same separator as the products' own footers). */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font: 500 13px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--brand-accent); }
.kicker::before { content: "//"; color: var(--ink-3); }

/* A blinking text cursor after a heading. */
.caret { display: inline-block; width: .06em; min-width: 3px; height: .9em; margin-left: .08em; background: var(--brand-accent); vertical-align: -.06em; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* 6 ─ Buttons & chips ────────────────────────────────────────────────── */

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 600 15px/1.2 var(--font-text); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-accent); color: var(--brand-on-accent); }
.btn-primary:hover { background: var(--brand-accent-strong); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-note { font: 13px/1.4 var(--font-mono); color: var(--ink-3); }

kbd, .key { display: inline-block; min-width: 1.7em; padding: 2px 6px; border: 1px solid var(--rule-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--paper); font: 500 .8em/1.4 var(--font-mono); color: var(--ink); text-align: center; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--rule); font: 500 13px/1.4 var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.badge-accent { background: var(--brand-accent-soft); border-color: transparent; color: var(--brand-accent); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* 7 ─ Heroes ─────────────────────────────────────────────────────────── */

.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 0; overflow: hidden; }
.hero::before {
  /* A faint ruled-paper ground. */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 420px at 70% 0%, var(--brand-accent-soft), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--rule) 45%, transparent) 31px 32px);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
}
.hero h1 { max-width: 17ch; }
.hero .lead { margin: 24px 0 32px; }
.shot.hero-shot { margin-top: clamp(40px, 6vw, 72px); }

.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px); background: var(--canvas); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .page-hero .wrap.has-shot { grid-template-columns: 5fr 6fr; } }

/* 8 ─ The status strip ───────────────────────────────────────────────── */
/* Facts set out like a writing app's status bar: label, value, divider. */

.status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0; padding: 0; list-style: none; font: 500 13px/1 var(--font-mono); color: var(--ink-3); }
.status li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; }
.status li + li { border-left: 1px solid var(--rule-strong); }
.status li:first-child { padding-left: 0; }
.status b { font-weight: 600; color: var(--ink); }
.status .on { color: var(--brand-accent); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

@media (max-width: 600px) {
  .status { gap: 4px 18px; }
  .status li { padding: 4px 0; }
  .status li + li { border-left: 0; }
}

/* 9 ─ Screenshots ────────────────────────────────────────────────────── */

.shot { margin: 0; }
.shot-frame { position: relative; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--rule); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-frame::before {
  /* A plain window bar: three dots and nothing else. */
  content: ""; display: block; height: 28px; border-bottom: 1px solid var(--rule); background:
    radial-gradient(circle at 18px 14px, var(--rule-strong) 4.5px, transparent 5px),
    radial-gradient(circle at 34px 14px, var(--rule-strong) 4.5px, transparent 5px),
    radial-gradient(circle at 50px 14px, var(--rule-strong) 4.5px, transparent 5px),
    var(--paper-2);
}
.shot-frame.bare::before { display: none; }
.shot-frame img { width: 100%; }
.shot figcaption { margin-top: 14px; font: 13px/1.5 var(--font-mono); color: var(--ink-3); }
.shot figcaption::before { content: "// "; }
.shot-zoom { cursor: zoom-in; }
.phone-frame { max-width: 300px; margin-inline: auto; border-radius: 38px; padding: 10px; background: var(--ink); box-shadow: var(--shadow-lg); }
.phone-frame img { border-radius: 29px; }

/* A pair of screenshots that overlap a little. */
.shot-pair { position: relative; display: grid; }
.shot-pair > :first-child { width: 88%; }
.shot-pair > :last-child { width: 62%; margin: -22% 0 0 auto; position: relative; }

/* Full-size view of a screenshot (assets/site.js). */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1800px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(10, 12, 16, .82); }
.lightbox img { max-height: 94vh; width: auto; border-radius: var(--radius); }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 22px; cursor: pointer; }

/* A plate: a close-up screenshot at the top of a card, panel or step.
   It bleeds to the card's edges (set --pad to the card's padding).
   .plate-top shows the top of a tall picture and fades the rest;
   .plate-strip suits a thin strip such as a status bar;
   .plate-alone stands on its own, outside a card. */
.card, .steps li { --pad: 28px; overflow: hidden; }
.mini > div { --pad: 24px; }
.plate {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10; margin: calc(-1 * var(--pad, 28px)) calc(-1 * var(--pad, 28px)) var(--pad, 28px);
  padding: 20px; overflow: hidden;
  background-color: var(--canvas);
  background-image: radial-gradient(color-mix(in srgb, var(--rule-strong) 70%, transparent) 1px, transparent 1.2px);
  background-size: 14px 14px;
  border-bottom: 1px solid var(--rule);
}
.section-tint .plate { background-color: var(--paper-2); }
.plate img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; border: 1px solid var(--rule); background: #fff;
  box-shadow: 0 1px 2px rgba(16, 20, 28, .06), 0 12px 28px -12px rgba(16, 20, 28, .3);
}
.plate-top { align-items: flex-start; padding-bottom: 0; }
.plate-top img { max-height: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.plate-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(to bottom, transparent, var(--canvas)); pointer-events: none; }
.section-tint .plate-top::after { background: linear-gradient(to bottom, transparent, var(--paper-2)); }
.plate-strip { aspect-ratio: auto; min-height: 150px; }
.plate-alone { margin: 24px 0 0; border: 1px solid var(--rule); border-radius: var(--radius); }
.plate-alone.plate-strip { min-height: 0; padding: 24px; }
.plate .file-tree { border: 1px solid var(--rule); box-shadow: 0 12px 28px -12px rgba(16, 20, 28, .3); font-size: 13px; line-height: 1.75; padding: 16px 20px; }
.steps li { display: flex; flex-direction: column; }
.steps li::before { order: 1; }
.steps li > * { order: 2; }
.steps li > .plate { order: 0; }

/* 10 ─ Feature blocks ────────────────────────────────────────────────── */

.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; }
.section-tint .card { box-shadow: 0 1px 2px rgba(16, 20, 28, .04); }
.card h3 { margin: 0 0 10px; }
.card p { color: var(--ink-2); margin: 0; font-size: 16px; }
.card .num { display: block; font: 500 13px/1 var(--font-mono); color: var(--brand-accent); margin-bottom: 20px; }

/* Text beside a screenshot; alternate sides with .flip. */
.split { display: grid; gap: 40px; align-items: center; }
.split > *, .grid > *, .page-hero .wrap > * { min-width: 0; }
.split + .split { margin-top: clamp(80px, 11vw, 140px); }
.split-text h2 { margin-bottom: 18px; }
.split-text > p { color: var(--ink-2); }
@media (min-width: 1000px) {
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split.flip { grid-template-columns: 7fr 5fr; }
  .split.flip .split-text { order: 2; }
  .split.even { grid-template-columns: 1fr 1fr; }
}
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; text-decoration: none; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }

/* Small features, many to a row. */
.mini { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.mini > div { background: var(--paper); padding: 24px; }
.mini h3 { font-size: 16px; margin-bottom: 6px; }
.mini p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (min-width: 600px) { .mini { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mini { grid-template-columns: repeat(3, 1fr); } }

/* 11 ─ Lists, tables, code ───────────────────────────────────────────── */

.ticks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--brand-accent); border-bottom: 2px solid var(--brand-accent); transform: rotate(-45deg); }
.ticks b { color: var(--ink); font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { font: 600 12px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--paper-2); }
.table td:first-child { color: var(--ink); font-weight: 500; }
.table td { color: var(--ink-2); }

pre.code { margin: 0; padding: 22px 24px; overflow-x: auto; background: #12151a; color: #d8dde5; border-radius: var(--radius); font: 14px/1.65 var(--font-mono); }
pre.code .k { color: #9ec1ff; }
pre.code .s { color: #b9e3a5; }
pre.code .c { color: #7f8896; }
code { font: .9em var(--font-mono); background: var(--canvas); padding: 1px 5px; border-radius: 4px; }

/* 12 ─ Steps & FAQ ───────────────────────────────────────────────────── */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 600 13px/1 var(--font-mono); color: var(--brand-accent); margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--font-text); color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }

.note { padding: 18px 20px; border-left: 3px solid var(--brand-accent); background: var(--brand-accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-size: 16px; }
.note p:last-child { margin: 0; }

/* 13 ─ Call-to-action band & footer ──────────────────────────────────── */

.cta { --cta-bg: #12151a; --cta-ink: #f2f4f7; --cta-ink-2: #aeb4bd; --cta-rule: #343a44;
  position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; background: var(--cta-bg); color: var(--cta-ink); border-top: 1px solid var(--rule); }
.cta h2 { color: var(--cta-ink); max-width: 16ch; }
.cta p { color: var(--cta-ink-2); max-width: 560px; margin: 18px 0 32px; font-size: 19px; }
.cta .btn-ghost { background: transparent; color: var(--cta-ink); border-color: var(--cta-rule); }
.cta .btn-ghost:hover { border-color: var(--cta-ink); }
.cta .status { color: var(--cta-ink-2); margin-top: 28px; }
.cta .status b { color: var(--cta-ink); }
.cta .status li + li { border-color: var(--cta-rule); }
.cta::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-accent) 55%, transparent), transparent); opacity: .55; pointer-events: none; }

.pager { display: grid; gap: 16px; }
@media (min-width: 720px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; padding: 22px 24px; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--paper); }
.pager a:hover { border-color: var(--brand-accent); }
.pager span { display: block; font: 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 8px; }
.pager b { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.pager .next { text-align: right; }

.site-footer { padding: 56px 0 40px; background: var(--canvas); border-top: 1px solid var(--rule); font-size: 15px; }
.site-footer .wrap { display: grid; gap: 32px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 { font: 600 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .about p { color: var(--ink-2); max-width: 36ch; margin-top: 14px; }
.colophon { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--rule); font: 13px/1.5 var(--font-mono); color: var(--ink-3); }

/* 14 ─ Motion & print ────────────────────────────────────────────────── */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
  * { scroll-behavior: auto !important; }
}
@media print {
  .site-header, .cta, .site-footer, .theme-toggle { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
