/* Cherry Crest editor handbook. Exa Design System, docs surface.
   Layout: Exa-docs three columns. Top bar, page list on the left, one 720px reading column,
   "On this page" on the right (wide screens only). Below 1024px the page list folds into a menu bar.
   Fills: white everywhere. A gray fill appears only on cards, callouts, placeholders and the current page in the list.

   TYPE SCALE: five sizes, one sans family, mono only for code and web addresses.
     36/40  page-title     h1                                   700  -0.025em
     24/32  section-title  h2                                   600  -0.02em
     16/28  body           p, li, callouts, steps               400  (muted variant: lead, secondary text)
     16/28  body-strong    h3, step titles, card titles, UI names, run-in callout titles   600
     14/20  small          sidebar, on-this-page, tables, captions, meta rows            400 (600 for table heads, current page)
     12/16  label          sidebar group names, TBD tag, step numbers, placeholder kind  600
   No serif, no uppercase eyebrows, no letter-spaced small caps. */
:root {
  /* Exa Design System tokens (light) */
  --surface: #ffffff;
  --gray-100: #f8f8f9;
  --gray-200: #f3f3f4;
  --gray-300: #e6e6e8;
  --text: #111827;
  --ink: #101321;
  --text-muted: #62626c;          /* gray-700: Exa docs paragraph gray */
  --text-faint: #6b7280;          /* text-muted-cool */
  --exa-blue: #1840ed;
  --exa-blue-hover: #1622ed;
  --border-hairline: rgba(16,19,33,0.12);
  --border-grid: rgba(215,217,222,0.7);
  --border-control: #e5e7eb;
  --border-strong: #d4d4d8;       /* gray-400 */
  --focus-ring: #1840ed;
  --warning: #906604;
  --warning-subtle: #fff7ec;
  --warning-border: #ffc763;
  --danger: #ce0c24;
  --danger-subtle: #fef6f5;
  --danger-border: #fdbfb9;
  --tag-sky-bg: #dbeafe;
  --tag-sky-text: #1e40af;
  --tag-green-bg: #d1fae5;
  --tag-green-text: #065f46;
  --chart-muted: #d4d4d8;

  --sans: "ABC Diatype", "ABCDiatype", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "GeistMono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --topbar: 56px;
  --dur-base: 150ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0b0b10; --gray-100: #111114; --gray-200: #1a1a1d; --gray-300: #26262a;
    --text: #f5f5f6; --ink: #f5f5f6; --text-muted: #a1a1a8; --text-faint: #8b8b93;
    --exa-blue: #7aa4fd; --exa-blue-hover: #95b7fc;
    --border-hairline: rgba(250,250,250,0.14); --border-grid: rgba(250,250,250,0.12);
    --border-control: #26262a; --border-strong: #4a4a50; --focus-ring: #5f7cff;
    --warning: #c58a08; --warning-subtle: #110901; --warning-border: #4e3504;
    --danger: #fd5150; --danger-subtle: #1c0202; --danger-border: #700a12;
    --tag-sky-bg: #243876; --tag-sky-text: #a5cafd;
    --tag-green-bg: #014737; --tag-green-text: #77d1ae;
    --chart-muted: #4a4a50;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #0b0b10; --gray-100: #111114; --gray-200: #1a1a1d; --gray-300: #26262a;
  --text: #f5f5f6; --ink: #f5f5f6; --text-muted: #a1a1a8; --text-faint: #8b8b93;
  --exa-blue: #7aa4fd; --exa-blue-hover: #95b7fc;
  --border-hairline: rgba(250,250,250,0.14); --border-grid: rgba(250,250,250,0.12);
  --border-control: #26262a; --border-strong: #4a4a50; --focus-ring: #5f7cff;
  --warning: #c58a08; --warning-subtle: #110901; --warning-border: #4e3504;
  --danger: #fd5150; --danger-subtle: #1c0202; --danger-border: #700a12;
  --tag-sky-bg: #243876; --tag-sky-text: #a5cafd;
  --tag-green-bg: #014737; --tag-green-text: #77d1ae;
  --chart-muted: #4a4a50;
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + env(safe-area-inset-top, 0px) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: 0ms !important; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
a { color: var(--exa-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-base) var(--ease); }
a:hover { color: var(--exa-blue-hover); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }
strong, b { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
code { font-family: var(--mono); font-size: 0.875em; background: var(--gray-200); border: 1px solid var(--border-hairline); border-radius: var(--radius-sm); padding: 1px 5px; overflow-wrap: anywhere; color: var(--ink); }
p { margin: 0 0 16px; }
figure { margin: 0; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin: 6px 0; }
li::marker { color: var(--text-faint); }
svg.i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type styles (the only ones) ---------- */
h1, .page-title { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); margin: 0; text-wrap: balance; }
h2, .section-title { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin: 48px 0 16px; text-wrap: balance; }
h3, .body-strong { font-size: 16px; line-height: 28px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; }
.lead, .muted { color: var(--text-muted); }
.small { font-size: 14px; line-height: 20px; }
.label { font-size: 12px; line-height: 16px; font-weight: 600; }
.ui { font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { h1, .page-title { font-size: 30px; line-height: 36px; } h2, .section-title { font-size: 22px; line-height: 30px; } }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--border-hairline);
}
.topbar-in {
  max-width: 1280px; margin: 0 auto; height: var(--topbar);
  display: flex; align-items: center; gap: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 24px; height: 24px; border-radius: var(--radius-sm); background: var(--ink); color: var(--surface); display: grid; place-items: center; font-size: 12px; line-height: 16px; font-weight: 600; flex: none; }
.brand-name { font-size: 16px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.brand-sub { font-size: 14px; line-height: 20px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-link { margin-left: auto; font-size: 14px; line-height: 20px; color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 6px 10px; border-radius: var(--radius-sm); }
.topbar-link:hover { color: var(--ink); background: var(--gray-200); }
@media (max-width: 520px) { .brand-sub { display: none; } }

/* ---------- Shell ---------- */
.shell {
  max-width: 1280px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px;
}
.sidebar { display: none; }
.toc { display: none; }
@media (min-width: 1024px) {
  .shell { grid-template-columns: 232px minmax(0, 720px); }
  .sidebar {
    display: block; position: sticky; top: calc(var(--topbar) + env(safe-area-inset-top, 0px));
    align-self: start; height: calc(100vh - var(--topbar)); overflow-y: auto;
    padding: 24px 16px 48px 0; border-right: 1px solid var(--border-hairline);
  }
  .mnav { display: none; }
}
@media (min-width: 1240px) {
  .shell { grid-template-columns: 232px minmax(0, 720px) 200px; justify-content: space-between; }
  .toc { display: block; position: sticky; top: calc(var(--topbar) + env(safe-area-inset-top, 0px)); align-self: start; padding: 40px 0 48px; }
}
.article { min-width: 0; padding-block: 0 96px; }
.page-head { padding-top: 24px; }
@media (min-width: 1024px) { .article { padding-top: 40px; } .page-head { padding-top: 0; } }

/* Page list (sidebar and phone menu share it) */
.nav-group { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink); margin: 24px 10px 6px; }
.nav-group:first-child { margin-top: 0; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a {
  display: block; padding: 6px 10px; border-radius: var(--radius-md);
  font-size: 14px; line-height: 20px; color: var(--text-muted); text-decoration: none;
}
.nav-list a:hover { color: var(--ink); background: var(--gray-100); }
.nav-list a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--gray-200); }

/* Phone menu */
.mnav { border-bottom: 1px solid var(--border-hairline); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.mnav summary {
  list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: 10px;
  font-size: 14px; line-height: 20px; color: var(--text-muted);
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mnav summary .chev { margin-left: auto; transition: transform var(--dur-base) var(--ease); }
.mnav[open] summary .chev { transform: rotate(180deg); }
.mnav-body { padding: 4px 0 16px; }

/* On this page */
.toc-title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border-hairline); }
.toc li { margin: 0; }
.toc a { display: block; padding: 4px 0 4px 12px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; line-height: 20px; color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }

/* ---------- Page header ---------- */
.page-head { margin-bottom: 32px; }
.page-group { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--exa-blue); margin: 0 0 8px; }
.page-head .lead { margin: 12px 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 16px 0 0; padding: 0; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.meta li { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.meta b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.article > h2:first-of-type { margin-top: 40px; }
.page-head + h2 { margin-top: 0; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; margin: 8px 0 24px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 20px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--border-grid); }
th:last-child, td:last-child { padding-right: 0; }
thead th { font-weight: 600; color: var(--ink); border-bottom-color: var(--border-strong); }
td:first-child { font-weight: 600; color: var(--ink); }
table.plain td:first-child { font-weight: 400; color: var(--text); }
td.num, th.num { font-variant-numeric: tabular-nums; }
.source { font-size: 14px; line-height: 20px; color: var(--text-muted); margin: -12px 0 24px; }

/* ---------- Callouts (Exa: gray fill, hairline, 6px, 16x20, 16px icon) ---------- */
.callout { display: flex; gap: 12px; border: 1px solid var(--border-hairline); background: var(--gray-100); border-radius: var(--radius-md); padding: 16px 20px; margin: 16px 0 24px; }
.callout > svg.i { margin-top: 6px; color: var(--text-muted); }
.callout-body { min-width: 0; }
.callout-body > :last-child { margin-bottom: 0; }
.callout-body p { margin-bottom: 8px; }
.callout.warn { background: var(--warning-subtle); border-color: var(--warning-border); }
.callout.warn > svg.i { color: var(--warning); }
.callout.stop { background: var(--danger-subtle); border-color: var(--danger-border); }
.callout.stop > svg.i { color: var(--danger); }

.tbd {
  display: inline-block; white-space: nowrap; vertical-align: 2px;
  font-size: 12px; line-height: 16px; font-weight: 600;
  color: var(--warning); background: var(--warning-subtle); border: 1px solid var(--warning-border);
  border-radius: var(--radius-sm); padding: 1px 6px; margin-right: 4px;
}
.tag { display: inline-block; white-space: nowrap; font-size: 12px; line-height: 16px; font-weight: 600; border-radius: var(--radius-sm); padding: 2px 6px; color: var(--tag-sky-text); background: var(--tag-sky-bg); }
.tag.static { color: var(--tag-green-text); background: var(--tag-green-bg); }

/* ---------- Steps (Exa: 28px round number, connecting line) ---------- */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 8px 0 24px; }
ol.steps > li { counter-increment: step; position: relative; padding: 0 0 20px 44px; margin: 0; }
ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
  font-size: 12px; line-height: 16px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: var(--gray-200); color: var(--ink);
}
ol.steps > li::after { content: ""; position: absolute; left: 13.5px; top: 34px; bottom: 6px; width: 1px; background: var(--border-hairline); }
ol.steps > li:last-child { padding-bottom: 0; }
ol.steps > li:last-child::after { display: none; }
ol.steps ul { margin: 8px 0 0; }
ol.steps .shot { margin: 12px 0 4px; }
ol.steps .shot-frame { aspect-ratio: 16 / 5; }

/* ---------- Cards and link lists ---------- */
.cards { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cards li { margin: 0; }
.cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 20px; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); text-decoration: none; color: var(--text-muted); font-size: 14px; line-height: 20px; transition: border-color var(--dur-base) var(--ease); }
.cards a:hover { border-color: var(--border-strong); color: var(--text-muted); }
.cards strong { font-size: 16px; line-height: 28px; }
.cards .go { margin-top: auto; padding-top: 8px; color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

.rows { list-style: none; padding: 0; margin: 8px 0 24px; border-top: 1px solid var(--border-hairline); }
.rows li { margin: 0; border-bottom: 1px solid var(--border-hairline); }
.rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 12px 4px; min-height: 48px; text-decoration: none; color: var(--ink); font-weight: 600; }
.rows a span { font-size: 14px; line-height: 20px; color: var(--text-muted); font-weight: 400; text-align: right; }
.rows a:hover { background: var(--gray-100); color: var(--ink); }
@media (max-width: 560px) { .rows a { grid-template-columns: minmax(0, 1fr); } .rows a span { text-align: left; } }

/* Key numbers card (overview) */
.keyfacts { border: 1px solid var(--border-hairline); background: var(--gray-100); border-radius: var(--radius-lg); padding: 20px; margin: 8px 0 24px; }
.keyfacts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.keyfacts dt { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.keyfacts dd { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.keyfacts p { margin: 0; }
@media (max-width: 560px) { .keyfacts dl { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* ---------- Media placeholders ---------- */
.shot { margin: 16px 0 24px; }
.shot-frame {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 16 / 6; max-width: 100%; min-height: 112px;
  border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--gray-100);
  color: var(--text-muted); text-align: center; padding: 16px;
}
.shot-frame svg.i { width: 20px; height: 20px; }
.shot-kind { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--text-muted); }
.shot figcaption { font-size: 14px; line-height: 20px; color: var(--text-muted); margin-top: 8px; }
.shot figcaption b { color: var(--ink); }
.shot.small .shot-frame { aspect-ratio: 16 / 5; }
.shot-imgs { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.shot-imgs a { max-width: 100%; }
.shot-imgs a + a { max-width: 60%; }
.shot-imgs img { display: block; width: 100%; height: auto; border: 1px solid var(--border-hairline); border-radius: 6px; }
.shot.small .shot-imgs { max-width: 480px; }

/* ---------- Diagrams ---------- */
.diagram { border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: 20px; margin: 16px 0 8px; }
.diagram + figcaption, .diagram-cap { font-size: 14px; line-height: 20px; color: var(--text-muted); margin: 8px 0 24px; }
.dg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 640px) { .dg { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.dg-head { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); margin: 0 0 2px; display: flex; align-items: center; gap: 8px; }
.dg-sub { font-size: 14px; line-height: 20px; color: var(--text-muted); margin: 0 0 12px; }
.dg-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dg-page { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink); min-height: 56px; display: flex; flex-direction: column; gap: 4px; }
.dg-page i { display: block; height: 4px; border-radius: 2px; background: var(--chart-muted); }
.dg-page i:nth-child(2) { width: 80%; } .dg-page i:nth-child(3) { width: 55%; }
.dg-page.more { border-style: dashed; color: var(--text-muted); justify-content: center; text-align: center; font-weight: 400; }
.dg-flow { display: grid; grid-template-columns: minmax(0, 0.9fr) 24px minmax(0, 1.1fr); align-items: center; gap: 8px; }
.dg-tpl { border: 1.5px solid var(--ink); border-radius: var(--radius-sm); padding: 10px; font-size: 12px; line-height: 16px; color: var(--text-muted); }
.dg-tpl b { display: block; font-size: 14px; line-height: 20px; }
.dg-arrow { color: var(--text-muted); justify-self: center; }
.dg-items { display: grid; gap: 6px; }
.dg-item { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 6px 8px; font-size: 12px; line-height: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dg-item.more { border-style: dashed; color: var(--text-muted); }

/* To-scale bars */
.bars { display: grid; gap: 14px; margin: 0; }
.bar-row { display: grid; gap: 4px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; color: var(--text); }
.bar-label b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-track { height: 10px; border-radius: 2px; background: var(--gray-200); position: relative; }
.bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--chart-muted); }
.bar-fill.used { background: var(--ink); }
.bar-fill.limit { background: transparent; border: 1.5px solid var(--exa-blue); }
.bar-fill.over { background: repeating-linear-gradient(135deg, var(--danger) 0 3px, transparent 3px 6px); border: 1px solid var(--danger); }
.bars-scale { font-size: 12px; line-height: 16px; color: var(--text-muted); margin: 12px 0 0; }

/* Publish diagram */
.pub { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pub-col { display: grid; gap: 8px; align-content: start; }
.pub-chip { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 6px 10px; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.pub-chip.on { border-color: var(--ink); background: var(--gray-200); color: var(--ink); font-weight: 600; }
.pub-chip .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--chart-muted); flex: none; }
.pub-chip.on .dot { background: var(--ink); }

/* ---------- Lists used on reference pages ---------- */
.keep, .tbd-list { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 12px; }
.keep li, .tbd-list li { margin: 0; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: 16px 20px; }
.keep li > strong, .tbd-list li > strong { display: block; margin-bottom: 4px; }
.keep li p, .tbd-list li p { margin: 0; }
.tbd-list .tbd { margin-bottom: 6px; }

/* ---------- Pager and footer ---------- */
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 64px; }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager a:hover { border-color: var(--border-strong); color: var(--ink); }
.pager a span { font-size: 14px; line-height: 20px; color: var(--text-muted); font-weight: 400; }
.pager .next { grid-column: 2; text-align: right; }
.page-foot { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border-hairline); font-size: 14px; line-height: 20px; color: var(--text-muted); }
.page-foot p { margin: 0; }

/* "Before you start" checklist and Webflow tutorial links on task pages */
.prereq { list-style: none; padding: 16px 20px; margin: 8px 0 24px; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); }
.prereq li { padding-left: 24px; position: relative; margin: 4px 0; }
.prereq li::before { content: "☐"; position: absolute; left: 0; color: var(--text-muted); }
details.why { margin: 24px 0; border-top: 1px solid var(--border-hairline); padding-top: 12px; }
details.why > summary { cursor: pointer; font-weight: 600; }

/* Yes/no comparison table */
.compare th.yn, .compare td.yn { text-align: center; }
.compare td.yes { color: var(--ink); font-weight: 700; }
.compare td.no { color: var(--text-muted); }

/* "Why" note under a step */
.why-note { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.why-note b { color: var(--ink); }

/* Static-page usage pie */
.pie-fig { display: flex; align-items: center; gap: 20px; margin: 16px 0 24px; }
.pie { flex: none; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--ink) 0 15.3%, var(--border-hairline) 15.3% 100%); }
.pie-fig figcaption { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.pie-fig figcaption strong { color: var(--ink); }
