/* ============================================================================
   Complevia — complevia.fyi
   Plain CSS. No build step, no preprocessor, no third-party host.
   Deployed by copying files.

   The page is dark in every context, on purpose: all five screenshots are the
   app's own #0B0F14, so on a dark page they read as the product rather than as
   pictures of a product. Every colour below is sampled from those screenshots,
   which is what keeps the page and the app from drifting apart.
   ========================================================================= */

:root {
  color-scheme: dark;

  /* ── Surfaces, darkest to lightest ─────────────────────────────────── */
  --ink-900:     #080B10;   /* page */
  --ink-800:     #0B0F14;   /* the app's own background — wells, code, image beds */
  --ink-700:     #111720;   /* alternating section band */
  --surface:     #171D25;   /* cards — the app's card colour */
  --surface-2:   #1E2632;   /* raised / hover */

  /* ── Lines ─────────────────────────────────────────────────────────── */
  --line:        #263040;   /* hairlines, dividers, image frames (decorative) */
  --line-strong: #56647E;   /* borders that identify a control — 3.22:1 on --ink-900 */

  /* ── Text (contrast measured against --ink-900) ────────────────────── */
  --text:        #E8EDF4;   /* 16.3:1 */
  --text-mid:    #A7B2C2;   /*  8.96:1 */
  --text-dim:    #7E8A9B;   /*  5.49:1 on page, 4.84:1 on --surface */

  /* ── Accent — the app's blue ───────────────────────────────────────── */
  --accent:      #4DA3FF;   /* 7.32:1 on --ink-900 */
  --accent-soft: #71B5FE;
  --accent-tint: rgba(77, 163, 255, .12);
  --on-accent:   #080B10;   /* 7.50:1 on --accent */
  --focus:       #9EC9FF;

  /* ── Spacing scale, 4px base ───────────────────────────────────────── */
  --s2: 8px;   --s3: 12px;  --s4: 16px;  --s5: 24px;
  --s6: 32px;  --s7: 48px;  --s8: 64px;  --s9: 96px;  --s10: 128px;

  /* ── Shape ─────────────────────────────────────────────────────────── */
  --r-sm: 10px;  --r-md: 14px;  --r-lg: 20px;  --r-xl: 28px;

  /* ── Layout ────────────────────────────────────────────────────────── */
  --max-w: 1200px;
  --measure: 36em;          /* ~612px — nothing on this page is a 1120px paragraph */
  --header-h: 64px;

  --lift: 0 24px 60px -32px rgba(0, 0, 0, .85);
}

/* ── Reset ──────────────────────────────────────────────────────────── */

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

html {
  /* 1rem = 17px, and still scales with the reader's own browser setting. */
  font-size: 106.25%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Without this every anchor lands underneath the sticky header. */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-mid);
  background:
    radial-gradient(1200px 620px at 50% -220px, rgba(77, 163, 255, .10), transparent 70%),
    var(--ink-900);
  background-attachment: fixed, scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* A belt only. The layout must not need it — the nav is what used to push
     the document sideways between 641 and 785px, and it now collapses at 900. */
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  color: var(--text);
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

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

ul, ol { margin: 0; padding: 0; }

a { color: var(--accent); }
a:hover { color: var(--accent-soft); }

code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;
}

/* One focus rule for everything. The dark inner ring guarantees the light
   outer ring stays visible even on the accent-filled download button, so
   there is no per-element exception anyone can forget to add. */
:where(a, button, summary, input, .btn):focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ink-900), 0 0 0 5px var(--focus);
  border-radius: var(--r-sm);
}

::selection { background: var(--accent); color: var(--on-accent); }

/* ── Skip link ──────────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: top .12s ease;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

/* ── Layout primitives ──────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.section { padding-block: clamp(64px, 9vw, 128px); }

.section--band {
  background: var(--ink-700);
  border-block: 1px solid var(--line);
}

.measure { max-width: var(--measure); }

.stack > * + * { margin-top: var(--s5); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ── Type scale ─────────────────────────────────────────────────────── */

h1 {
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-weight: 600;
}

.h1-quiet {
  display: block;
  color: var(--text-mid);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text-mid);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.meta {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dim);
}

.meta strong { color: var(--text); font-weight: 600; }

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 15px 26px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface); color: var(--text); }

.btn-sm {
  font-size: 0.92rem;
  padding: 11px 18px;
  min-height: 44px;          /* WCAG 2.2 target size, with room */
  border-radius: 999px;
}

/* ── Header ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 16, .84);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--header-h);
  padding-block: var(--s2);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-block: 6px;
}
.logo:hover { color: var(--text); }

.logo-icon { width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto; }
.logo-text { font-size: 1.05rem; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding-block: 12px;        /* 18px-tall inline anchors were below the floor */
  font-size: 0.94rem;
  color: var(--text-mid);
  text-decoration: none;
}
.site-nav a:hover { color: var(--text); }

/* The nav collapses well before it can overflow. The previous stylesheet hid
   it at 640px while seven links plus a nowrap pill still needed ~790px, which
   is what pushed the whole document sideways between 641 and 785px. The four
   links have a replacement below the hero, so nothing is lost by hiding them. */
@media (max-width: 900px) {
  .site-nav { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */

/* The top pad is deliberately small at the narrow end: on a 375x812 phone
   every pixel above the h1 is a pixel the download button is pushed down,
   and the acceptance gate for this page is that the button's top edge stays
   at or above 480. */
.hero { padding-block: clamp(20px, 7vw, 96px) clamp(48px, 7vw, 88px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

/* The copy is FIRST in source order, so the single-column case stacks it on
   top for free. There is no `order` property anywhere in this file — that is
   what keeps the headline and the download button above the fold on a phone. */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

.hero-copy > * + * { margin-top: var(--s5); }
.hero-copy .eyebrow + h1 { margin-top: var(--s4); }
.hero-copy h1 { max-width: 16ch; }
.hero-copy .lead { max-width: 32em; }
.hero-copy .btn-primary { margin-top: var(--s6); }
.hero-meta { margin-top: var(--s4); max-width: 40em; }
.hero-alt { font-size: 1rem; margin-top: var(--s4); }

@media (max-width: 560px) {
  .hero-copy .btn-primary { width: 100%; margin-top: var(--s5); }
}

/* ── Hero demo: the escalation ladder, drawn ────────────────────────── */
/* No screenshot in /screens shows a notification, and the mechanic this page
   sells IS the notification. So this one illustration is drawn — and labelled
   as an illustration directly beneath, so it can never be mistaken for a
   capture. Frozen, no animation: a diagram that needs motion to be read is a
   diagram that fails for prefers-reduced-motion and in a screenshot. */

.hero-demo {
  margin: 0;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--lift);
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s6);
}

.demo-title { font-size: 1.05rem; font-weight: 600; color: var(--text); }

.demo-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid rgba(77, 163, 255, .28);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.ruler { position: relative; margin: 0 6px var(--s7); }

.ruler-track {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  position: relative;
}

.ruler-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.ruler-dot--soft {
  left: 1.5%;  width: 8px;  height: 8px;
  background: rgba(77, 163, 255, .5);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, .08);
}
.ruler-dot--focused {
  left: 42%;   width: 11px; height: 11px;
  background: rgba(77, 163, 255, .78);
  box-shadow: 0 0 0 5px rgba(77, 163, 255, .10);
}
.ruler-dot--strict {
  left: 78%;   width: 14px; height: 14px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(77, 163, 255, .14);
}

.ruler-ticks { position: relative; height: 1.5em; margin-top: 12px; }

.ruler-tick {
  position: absolute;
  top: 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  transform: translateX(-50%);
}
.ruler-tick--start { left: 0;  transform: none; }
.ruler-tick--end   { right: 0; left: auto; transform: none; }
.ruler-tick--b { left: 42%; }
.ruler-tick--c { left: 78%; }

.notif-stack { display: grid; gap: 10px; }

.notif {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: #12171F;
}
.notif--2 { background: #151C26; border-color: rgba(77, 163, 255, .22); }
.notif--3 {
  background: #17202C;
  border-color: rgba(77, 163, 255, .45);
  border-left: 3px solid var(--accent);
}

.notif-when {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.notif--3 .notif-when { color: var(--accent); }

.notif-body { font-size: 0.94rem; color: var(--text-mid); }
.notif--2 .notif-body { font-size: 1rem; color: var(--text); }
.notif--3 .notif-body { font-size: 1.02rem; font-weight: 600; color: var(--text); }

.notif-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.notif-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  color: var(--text-mid);
}
.notif--3 .notif-btn:not(.notif-btn--fill) { border-color: rgba(77, 163, 255, .4); color: var(--text); }
.notif--3 .notif-btn--fill { border-color: var(--accent); }
.notif-btn--fill {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.demo-note {
  margin-top: var(--s5);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dim);
}

@media (max-width: 480px) {
  /* The intermediate times live in the card headers anyway. */
  .ruler-tick--a, .ruler-tick--b, .ruler-tick--c { display: none; }
}

/* ── Fact strip ─────────────────────────────────────────────────────── */

.facts {
  border-block: 1px solid var(--line);
  background: var(--ink-800);
  padding-block: var(--s5);
}

.facts ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s6);
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.facts strong { color: var(--text); font-weight: 600; }

/* ── Contents: the four failures, and where each is answered ────────── */

.toc { padding-block: clamp(48px, 6vw, 80px); }

.toc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--s3);
  list-style: none;
  margin-top: var(--s6);
}

.toc-list a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  transition: background-color .15s ease, border-color .15s ease;
}
.toc-list a:hover { background: var(--surface-2); border-color: var(--line-strong); }

.toc-list b { display: block; font-size: 1rem; font-weight: 600; }
.toc-list span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-mid);
}

/* ── A section with one screenshot beside it ────────────────────────── */
/* Deliberately NOT a gallery grid. One screenshot per argument, next to the
   argument it supports. A grid of five phones proves five screens exist; a
   captioned screenshot beside a claim proves the claim — and a two-item flow
   layout has no column count that can collapse to one. */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  /* Image column moves left on wide screens only; the text stays first in
     source order, so the stacked mobile case is unaffected. */
  .split--rev { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .split--rev > .shot { grid-column: 1; grid-row: 1; }
}

.split-copy > * + * { margin-top: var(--s5); }
.split-copy p { max-width: var(--measure); }

.shot { margin: 0; }

.shot img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-inline: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-800);
}

/* No drop shadow and no fake bezel: on a page built from the app's own
   near-black, a 1px line is the whole separation the screenshot needs. */

.shot figcaption {
  margin-top: var(--s3);
  max-width: 34em;
  margin-inline: auto;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--text-mid);
}

@media (max-width: 899px) {
  .shot img { max-width: 260px; }
}

/* ── Cards ──────────────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s3);
  list-style: none;
  margin-top: var(--s7);
}

.card {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.card h3 { font-size: 1.05rem; }
.card p { margin-top: var(--s2); font-size: 0.94rem; color: var(--text-mid); }

/* ── The honest-limits list ─────────────────────────────────────────── */

.limits {
  list-style: none;
  margin-top: var(--s7);
  display: grid;
  gap: var(--s5);
  max-width: var(--measure);
}

.limits li {
  padding-left: var(--s5);
  border-left: 2px solid var(--line-strong);
}

.limits b { color: var(--text); font-weight: 600; }

/* ── Steps ──────────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: var(--s5);
  margin-top: var(--s7);
  max-width: var(--measure);
}

.steps li {
  counter-increment: step;
  display: grid;
  /* minmax(0, 1fr), not 1fr: a grid track's default floor is min-content, so
     the unwrappable `white-space: pre` command block below would widen this
     track — and with it the whole document — instead of scrolling inside its
     own box. Removing the floor is what lets .cmd's overflow-x do its job. */
  grid-template-columns: 34px minmax(0, 1fr);
  gap: var(--s4);
  align-items: start;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid rgba(77, 163, 255, .3);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.steps b { color: var(--text); font-weight: 600; }

/* ── Digest block ───────────────────────────────────────────────────── */

.digest-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s2);
}

.digest {
  /* user-select:all means one click selects the whole hash, so nobody
     compares a half-copied digest and concludes the file is bad. */
  user-select: all;
  -webkit-user-select: all;
  display: block;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-all;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  color: var(--text);
  max-width: var(--measure);
}

.cmd {
  display: block;
  font-size: 0.85rem;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-top: var(--s2);
  color: var(--text);
  overflow-x: auto;
  white-space: pre;
}

/* ── FAQ — native <details>, no JavaScript ──────────────────────────── */

.faq { margin-top: var(--s7); max-width: 46em; }

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

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }

.faq details > div { padding-bottom: 22px; max-width: var(--measure); }
.faq details > div > * + * { margin-top: var(--s3); }

/* ── Section head ───────────────────────────────────────────────────── */

.section-header { max-width: 40em; }
.section-header > * + * { margin-top: var(--s4); }

/* ── CTA block ──────────────────────────────────────────────────────── */

.cta-block {
  margin-top: var(--s7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
}

/* ── Prose pages (privacy, supporting articles) ─────────────────────── */

.prose { max-width: 42em; }
.prose > * + * { margin-top: var(--s5); }
.prose h2 { margin-top: var(--s8); font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.prose h3 { margin-top: var(--s6); font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.35em; display: grid; gap: var(--s3); }
.prose li { padding-left: 4px; }
.prose li::marker { color: var(--text-dim); }
.prose .updated { font-size: 0.88rem; color: var(--text-dim); }
.prose blockquote {
  margin: 0;
  padding-left: var(--s5);
  border-left: 2px solid var(--line-strong);
  color: var(--text-mid);
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}
.crumb:hover { text-decoration: underline; }

.related {
  margin-top: var(--s8);
  padding-top: var(--s6);
  border-top: 1px solid var(--line);
}
.related ul { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s4); }
.related a { font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-800);
  padding-block: var(--s8);
  margin-top: var(--s9);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding-block: 10px;         /* 17px-tall inline anchors were below the floor */
  font-size: 0.94rem;
  color: var(--text-mid);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.88rem; color: var(--text-dim); }

/* ── Standalone links ───────────────────────────────────────────────── */
/* WCAG 2.2 §2.5.8 exempts a link sitting inside a sentence, but a link that
   IS the paragraph reads as a control and has to clear 24px. A bare inline
   anchor is ~20px tall, so these get their own padding. */
p > a:only-child,
.hero-alt a,
.prose p > a:first-child:last-of-type { display: inline-block; padding-block: 6px; }

/* ── Large screens ──────────────────────────────────────────────────── */
/* Type stops growing well before here — every clamp() upper bound is a fixed
   px value. At 2560px the page is not a ribbon on a black field because the
   wash and the band sections are full-bleed; only the content is columnar. */

@media (min-width: 1800px) {
  html { font-size: 112.5%; }         /* 1rem = 18px */
  :root { --max-w: 1280px; }
}

/* ── Reduced motion ─────────────────────────────────────────────────── */

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

/* ── Print ──────────────────────────────────────────────────────────── */

@media print {
  .site-header, .toc, .cta-block, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  .faq details > div { display: block; }
}

/* A paragraph that is nothing but links: same target-size reasoning as the
   :only-child rule above, but there are two of them side by side. */
.link-row { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.link-row a { display: inline-block; padding-block: 6px; }
