@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --base: #f3f4f3;
  --raised: #ffffff;
  --overlay: #e9eeed;
  --ink: #202927;
  --muted: #586561;
  --line: #d3dcda;
  --control-line: #7b8985;
  --accent: #b73722;
  --accent-hover: #972c1b;
  --accent-soft: #f9eae5;
  --fold: #e8492a;
  --secondary: #3d655e;
  --stage: #222d2b;
  --stage-text: #f3f5f3;
  --stage-muted: #c3cfcb;
  --radius: 16px;
  --shadow: 0 2px 4px #24342d03, 0 16px 40px -24px #24342d26;
  --display: "Archivo", sans-serif;
  --body: "Plus Jakarta Sans", sans-serif;
  --mono: "JetBrains Mono", monospace;
  font: 400 16px/1.8 var(--body);
  color: var(--ink);
  background: var(--base);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-wrap: break-word; }
main, article, section, aside, nav, figure, div { min-width: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
main:focus { outline: none; }
[id] { scroll-margin-top: 32px; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 100%;
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-top: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
h3 { font-size: 1.5rem; letter-spacing: -.025em; }
p { margin: 0 0 1.25rem; max-width: 70ch; }
li + li { margin-top: .55rem; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }
::selection { background: #f2c5b8; color: var(--ink); }
.shell { width: min(1248px, 100% - 112px); margin-inline: auto; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.skip-link {
  z-index: 20; position: absolute; top: 12px; left: 16px;
  padding: .65rem 1rem; background: var(--raised); border-radius: 8px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

/* A quiet header lets the Fold, and the recording, own the page. */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 108px; padding-block: 22px; display: flex;
  align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark, .footer-logo { display: inline-block; vertical-align: middle; }
.wordmark img { width: 214px; }
.brand-tagline { margin: 3px 0 0; font-size: .6875rem; color: var(--muted); }
.header-inner nav { display: flex; align-items: center; gap: 6px; }
.header-inner nav > a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 16px; border-radius: 8px;
  font-size: .8125rem; font-weight: 600; text-decoration: none;
  transition: color .18s, background-color .18s;
}
.header-inner nav > a:hover { background: var(--overlay); }
.header-inner nav > a[aria-current] { color: var(--accent); background: var(--accent-soft); }
.header-inner nav > .github-nav { margin-left: 16px; border: 1px solid var(--control-line); }
.source-chip {
  border-left: 1px solid var(--line); margin-left: 5px; padding-left: 12px;
  font: .6875rem/1.6 var(--mono); color: var(--muted); white-space: nowrap;
}
.eyebrow {
  font: 400 .75rem/1.6 var(--mono); letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.period { color: var(--accent); }

/* Broad, soft light frames the actual product; the rest shares one light field. */
.hero { position: relative; padding-top: 66px; }
.hero-copy {
  display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 96px;
  align-items: start;
}
.hero h1 {
  grid-row: 1 / 5; font-size: clamp(4.5rem, 7.6vw, 6.75rem);
  line-height: .99; letter-spacing: -.045em; font-weight: 670;
  margin: 0; align-self: center;
}
.lead { font-size: 1.0625rem; line-height: 1.85; color: var(--muted); }
.hero .lead { max-width: 36ch; margin: 2px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 24px;
  min-height: 48px; padding: 11px 20px; border: 1px solid transparent;
  border-radius: 8px; background: var(--accent); color: #fff;
  box-shadow: 0 2px 3px #7e2d1914, inset 0 1px 0 #ffffff1a;
  font-size: .8125rem; font-weight: 700; text-decoration: none;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}
.button:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 4px 12px #7e2d1926; }
.button:active { box-shadow: none; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--control-line); box-shadow: none; }
.button.secondary:hover { background: var(--raised); border-color: var(--ink); }
.hero-free { margin: 0 0 6px; color: var(--muted); font-size: .75rem; line-height: 1.85; }
.hero-free br { display: block; }
.crew-note { margin: 0; font-size: .75rem; color: var(--muted); }
.hero-stage {
  position: relative; isolation: isolate; width: min(1060px, 100%);
  margin: 50px auto 0;
}
.hero-stage::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -48px -32px 15px; border-radius: 50%;
  background: radial-gradient(ellipse at 72% 35%, #e2c7bd65, transparent 60%),
    radial-gradient(ellipse at 18% 55%, #bbcfca85, transparent 65%);
  filter: blur(25px);
}
.demo-monitor {
  position: relative; margin: 0; border-radius: var(--radius);
  border: 1px solid #43524d; background: var(--stage); color: var(--stage-text);
  box-shadow: 0 32px 60px -28px #233c3452, 0 3px 8px #233c3414;
  overflow: hidden;
}
.monitor-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 8px 18px; min-height: 52px;
  font: .6875rem/1.6 var(--mono);
  background: linear-gradient(110deg, #35433f, #27322f);
}
.monitor-bar > span { display: flex; align-items: center; gap: 10px; }
.record-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #f5846a; box-shadow: 0 0 0 4px #f5846a12; }
.demo-toggle {
  flex-shrink: 0; min-height: 36px; padding: 5px 11px; border: 1px solid #8f9e98;
  border-radius: 6px; color: var(--stage-text); background: transparent; font: .6875rem/1.6 var(--mono);
}
.demo-toggle:hover { background: #ffffff12; }
.demo-monitor :focus-visible { outline-color: #f6ae99; }
.demo-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #eff0f6; border-block: 1px solid #55645e; }
.demo-monitor figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 18px; color: var(--stage-muted); font: .6875rem/1.6 var(--mono);
}
.stage-caption { margin: 18px 96px 0 0; font-size: .75rem; line-height: 1.8; color: var(--muted); max-width: 85ch; }
.hero-ribbon { position: absolute; z-index: 1; right: -32px; bottom: -28px; width: 116px; transform: rotate(-9deg); }
.hero-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  border-bottom: 1px solid var(--line); padding-block: 28px; margin-top: 30px;
  color: var(--muted); font: .6875rem/1.8 var(--mono);
}
.hero-bottom p { margin: 0; }
.hero-bottom a { white-space: nowrap; }
.section { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 43ch; margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.85; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-card {
  display: flex; flex-direction: column; background: var(--raised);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.feature-describe { display: grid; grid-column: 1 / -1; grid-template-columns: .8fr 1.2fr; }
.feature-copy { padding: 32px; }
.step-index { font: .75rem/1.7 var(--mono); color: var(--muted); margin-bottom: 22px; }
.step-number { color: var(--accent); }
.feature-copy h3 { font-size: 2.125rem; margin: 0 0 12px; }
.tag-chip { display: inline-flex; align-items: center; gap: 6px; font: .6875rem/1.7 var(--mono); color: var(--muted); }
.tag-chip strong { color: var(--secondary); font-weight: 400; }
.feature-copy > p:last-of-type { max-width: 44ch; margin: 16px 0 0; font-size: .875rem; line-height: 1.9; }
.feature-example {
  flex-grow: 1; margin: auto 16px 16px; padding: 24px;
  background: #edf1f0; border: 1px solid #dde4e1; border-radius: 10px;
}
.feature-describe .feature-example { display: flex; align-items: center; margin: 16px 16px 16px 0; padding: 28px; }
.feature-example pre { background: none; padding: 0; border: 0; margin: 0; border-radius: 0; font-size: .75rem; line-height: 1.95; }
.snippet-label, .snippet-foot { font: .6875rem/1.8 var(--mono); color: var(--muted); }
.snippet-label { margin-bottom: 16px; }
.snippet-foot { margin: 20px 0 0; }
.voice-quote { font-size: 1rem; font-weight: 500; line-height: 2; margin: 0; max-width: 38ch; }
mark { background: none; color: inherit; padding: 0; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-skip-ink: none; }
.asterisk { font-size: .75rem; color: var(--muted); margin: 24px 0 32px; }
.production-notes { border-block: 1px solid var(--line); }
.production-notes summary { padding: 22px 0; font-size: .875rem; font-weight: 600; }
.production-notes summary::marker { color: var(--accent); }
.production-notes summary .small { font-size: .75rem; font-weight: 400; margin-left: 16px; color: var(--muted); }
.original-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; padding: 24px 0 36px; }
.original-features h3 { font-size: 1.25rem; margin-bottom: 12px; }
.original-features p, .original-features a { font-size: .875rem; }
.original-features p { color: var(--muted); }

/* The script is the illustration. Cue labels are useful, readable annotations. */
.on-word { background: var(--overlay); padding-block: 80px; border-block: 1px solid var(--line); }
.cue-narration {
  font: 500 clamp(1.75rem, 3.3vw, 3rem)/2.35 var(--display);
  letter-spacing: -.035em; margin: 40px 0; max-width: 48ch; text-wrap: pretty;
}
.cue { position: relative; display: inline-block; white-space: nowrap; line-height: 1.2; }
.cue mark { display: inline-block; padding: .08em 0; }
.cue-action { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100% + 5px); color: var(--accent); font: .6875rem/1.4 var(--mono); letter-spacing: 0; white-space: nowrap; }
.nobr .cue-action { margin-left: 3px; }
.nobr { white-space: nowrap; }
.cue-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid #c4cfcb; padding-top: 22px; color: var(--muted); font: .6875rem/1.8 var(--mono); }
.cue-bottom p { margin: 0; }
.cue-bottom code { padding: 0; background: none; }

.audit-panel { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px; }
.audit-intro h2 { margin: 0 0 14px; }
.audit-intro p:last-child { max-width: 65ch; margin: 20px 0 32px; font-size: .875rem; color: var(--muted); }
.table-scroll, .reference-table { max-width: 100%; overflow-x: auto; scrollbar-color: var(--control-line) var(--overlay); }
table { width: 100%; border-collapse: collapse; margin: 24px 0 28px; font-size: .8125rem; line-height: 1.8; }
th, td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th { font-weight: 600; background: #edf1f0; }
td p { margin: 0; }
caption { caption-side: bottom; text-align: left; font: .6875rem/1.8 var(--mono); color: var(--muted); padding-top: 16px; }
.audit-excerpt { table-layout: fixed; font: .75rem/1.8 var(--mono); margin: 12px 0 28px; }
.audit-excerpt th:first-child { width: 26%; }
.audit-excerpt th:nth-child(2) { width: 26%; }
.audit-excerpt th:nth-child(3) { width: 28%; }
.audit-excerpt th:last-child { width: 20%; }
.audit-excerpt th, .audit-excerpt td { padding: 16px 10px; }
.audit-excerpt th { font-size: .6875rem; font-weight: 400; color: var(--muted); }
.audit-excerpt code { background: none; padding: 0; }
.verdict { display: inline-block; border: 1px solid #9fbdb5; border-radius: 4px; padding: 3px 8px; background: #e5f0eb; color: #2d5f50; font: 400 .6875rem/1.5 var(--mono); letter-spacing: .02em; }
.verdict.warn { background: #f6efdd; color: #765718; border-color: #c5b178; }
.verdict.fail { background: var(--accent-soft); color: #a63120; border-color: #d8ab9f; }
.audit-facts { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 12px; }
.audit-facts p { max-width: 65ch; margin: 0; font-size: .8125rem; line-height: 1.9; color: var(--muted); }
.audit-facts strong { color: var(--ink); }
.audit-facts .button { flex-shrink: 0; }
.audit-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: none; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.mini-audit { font: .6875rem/1.6 var(--mono); margin: 0; }
.mini-audit th { background: none; color: var(--muted); font-weight: 400; }
.mini-audit th, .mini-audit td { padding: 10px 6px; border-color: #cbd6d1; }
.mini-audit .verdict { font-size: .625rem; padding: 2px 6px; }

.install-section { padding-top: 0; padding-bottom: 56px; }
.install-section h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.install-section > p { max-width: 68ch; font-size: .9375rem; line-height: 1.9; }
.install-section > a { color: var(--accent); font-size: .875rem; }
code { font-family: var(--mono); font-size: .88em; }
:not(pre) > code { overflow-wrap: anywhere; background: #e6ece9; padding: .12em .3em; border-radius: 4px; }
pre {
  background: #eaf0ed; color: #2a3933; border: 1px solid #ccd8d1;
  border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2;
  margin: 24px 0; padding: 26px; font-size: .8125rem; line-height: 1.95;
}
pre code { font-size: inherit; }
code, pre, kbd, samp { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
.code-block { margin-block: 28px; position: relative; }
.code-block pre { margin: 0; padding-top: 72px; }
.code-label { position: absolute; top: 24px; left: 26px; max-width: calc(100% - 120px); color: var(--muted); font: .6875rem/1.6 var(--mono); }
.copy-button { position: absolute; top: 14px; right: 14px; min-width: 65px; min-height: 36px; padding: 5px 12px; border: 1px solid var(--control-line); border-radius: 6px; background: #ffffff70; color: var(--ink); font: .6875rem/1.6 var(--mono); }
.copy-button:hover { background: var(--raised); border-color: var(--ink); }
.copy-status { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.copy-status:empty { display: none; }
.syntax-key { color: #89402c; }
.syntax-comment { color: #5a6a60; }
.next-page { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 32px 0; margin-bottom: 40px; }
.next-page p { margin: 0; font-size: .875rem; }
.next-page .eyebrow { margin-bottom: 5px; }
.site-footer { border-top: 1px solid var(--line); background: #e9eeeb; }
.footer-inner { display: grid; grid-template-columns: .9fr 1.35fr auto; align-items: center; gap: 40px; padding-block: 44px; }
.footer-logo img { width: 184px; }
.footer-inner p { margin: 10px 0 0; font-size: .6875rem; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: .75rem; }
.footer-joke code { background: none; padding: 0; font-size: .6875rem; color: var(--ink); }
.footer-joke span { display: block; margin-top: 4px; }

/* Reference pages share the overview's materials and a readable measure. */
.page-heading { padding-block: 64px 60px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.page-heading h1 { font-size: clamp(3rem, 5.5vw, 5rem); max-width: 22ch; margin-bottom: 24px; }
.page-heading .lead { max-width: 65ch; margin: 0; font-size: .9375rem; }
.reading-shell { padding-bottom: 64px; }
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 48px; }
.toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); padding: 7px 12px 15px 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #becbc5 transparent; }
.toc .eyebrow { font-size: .6875rem; margin-bottom: 18px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--line); font-size: .75rem; line-height: 1.65; color: var(--muted); text-decoration: none; }
.toc a:hover { background: var(--overlay); color: var(--ink); }
.toc a[aria-current] { border-left-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.prose { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 44px 0; }
.prose h2 { border-top: 1px solid var(--line); margin: 56px 0 22px; padding-top: 36px; font-size: 2.125rem; letter-spacing: -.035em; line-height: 1.2; }
.prose > section:first-child h2 { border-top: 0; margin-top: 0; padding-top: 0; }
.prose h3 { margin: 32px 0 16px; font-size: 1.5rem; line-height: 1.3; }
.prose p { max-width: 68ch; }
.prose p, .prose li { font-size: .9375rem; line-height: 1.95; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li > p { margin-bottom: .6rem; }
.prose a { color: var(--accent); }
.prose a.button { color: #fff; }
.prose a.button.secondary { color: var(--ink); }
.prose table { table-layout: fixed; }
.prose th:first-child, .prose td:first-child { width: 24%; }
.prose th:nth-child(2):not(:last-child), .prose td:nth-child(2):not(:last-child) { width: 21%; }
.prose .check-table th:first-child, .prose .check-table td:first-child { width: 18%; }
.prose .check-table th:nth-child(2), .prose .check-table td:nth-child(2) { width: 41%; }
.reference-table { margin-block: 24px 28px; }
.reference-table table { min-width: 600px; margin: 0; }
.prose .reference-table table { font-size: .8125rem; }
.callout { margin: 28px 0; padding: 22px 24px; background: var(--overlay); border-left: 3px solid var(--secondary); border-radius: 0 10px 10px 0; }
.callout > strong { font-size: .9375rem; }
.callout p { margin: 8px 0 0; }
.prose .next-page { margin: 40px 0 8px; }

@media (width <= 1100px) {
  .shell { width: calc(100% - 72px); }
  .source-chip { display: none; }
  .hero-copy { column-gap: 40px; }
  .hero h1 { font-size: 8.2vw; }
  .hero-ribbon { right: -20px; width: 100px; }
  .hero-stage::before { inset-inline: -20px; }
  .header-inner nav > a { padding-inline: 12px; }
  .docs-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .prose { padding: 32px 28px 0; }
  .audit-facts { align-items: start; flex-direction: column; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1.4fr; gap: 24px; }
  .footer-joke { grid-column: 1 / -1; }
  .footer-joke span { display: inline; margin-left: 20px; }
}
@media (width <= 760px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { align-items: start; flex-direction: column; gap: 16px; padding-block: 18px 12px; }
  .wordmark img { width: 190px; }
  .brand-tagline { font-size: .625rem; }
  .header-inner nav { width: 100%; justify-content: space-between; gap: 4px; }
  .header-inner nav > a { padding: 7px 12px; font-size: .75rem; min-height: 44px; }
  .header-inner nav > .github-nav { margin-left: 0; }
  .hero { padding-top: 42px; }
  .hero-copy { display: block; }
  .hero h1 { font-size: clamp(3.5rem, 12.7vw, 5.5rem); margin: 0 0 24px; line-height: 1.01; }
  .hero .lead { max-width: 40ch; font-size: .9375rem; }
  .hero-free { max-width: 44ch; }
  .hero-free br { display: block; }
  .actions { margin-block: 24px 20px; gap: 10px; }
  .button { padding-inline: 16px; gap: 18px; font-size: .75rem; }
  .hero-stage { margin-top: 34px; }
  .hero-stage::before { inset: -24px -6px 0; filter: blur(15px); }
  .demo-monitor { border-radius: 10px; }
  .monitor-bar { min-height: 50px; padding: 6px 10px; gap: 5px; font-size: .625rem; }
  .monitor-bar > span { gap: 7px; }
  .record-dot { width: 5px; height: 5px; box-shadow: none; }
  .demo-toggle { font-size: .625rem; padding-inline: 8px; min-height: 36px; }
  .demo-monitor figcaption { padding: 10px; font-size: .625rem; gap: 8px; }
  .stage-caption { margin: 18px 48px 0 0; font-size: .6875rem; }
  .hero-ribbon { width: 68px; right: -8px; bottom: 3px; }
  .hero-bottom { align-items: start; gap: 20px; font-size: .625rem; padding-block: 24px; margin-top: 26px; }
  .hero-bottom p { max-width: 25ch; }
  .section { padding-block: 64px; }
  .section-heading { display: block; margin-bottom: 28px; }
  h2 { font-size: 2.375rem; }
  .section-heading > p { margin-top: 18px; font-size: .875rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-describe { display: flex; grid-column: auto; }
  .feature-copy { padding: 26px 24px; }
  .feature-copy h3 { font-size: 2rem; }
  .step-index { margin-bottom: 18px; font-size: .75rem; }
  .feature-copy > p:last-of-type { font-size: .875rem; }
  .feature-example, .feature-describe .feature-example { margin: 0 12px 12px; padding: 20px; }
  .feature-example pre { font-size: .6875rem; line-height: 1.95; }
  .voice-quote { font-size: .9375rem; }
  .asterisk { margin-block: 24px; }
  .production-notes summary .small { display: block; margin: 6px 0 0 14px; }
  .original-features { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .on-word { padding-block: 56px; }
  .cue-narration { margin: 28px 0 32px; font-size: clamp(1.65rem, 6.8vw, 2.5rem); line-height: 2.6; }
  .cue-action { font-size: .625rem; bottom: calc(100% + 5px); }
  .cue-bottom { font-size: .625rem; }
  .audit-panel { padding: 26px 20px; }
  .audit-intro p:last-child { margin-bottom: 24px; }
  .audit-excerpt { font-size: .625rem; }
  .audit-excerpt th { font-size: .625rem; }
  .audit-excerpt th, .audit-excerpt td { padding: 14px 5px; }
  .audit-excerpt .verdict { font-size: .5625rem; padding: 3px 4px; }
  .audit-legend > span:last-child { flex-basis: 100%; }
  .audit-legend { font-size: .6875rem; }
  .install-section { padding-top: 0; padding-bottom: 40px; }
  .install-section h2 { font-size: clamp(2.25rem, 8.5vw, 3.5rem); }
  .install-section > p { font-size: .875rem; }
  pre { padding: 20px; font-size: .6875rem; }
  .code-label { left: 20px; }
  .next-page { margin-bottom: 24px; padding-block: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 36px; }
  .footer-inner nav { gap: 12px 24px; }
  .footer-logo img { width: 180px; }
  .footer-joke { grid-column: auto; }
  .footer-joke span { display: block; margin-left: 0; }
  .page-heading { padding-block: 40px 36px; margin-bottom: 28px; }
  .page-heading h1 { font-size: clamp(2.625rem, 10.5vw, 4rem); line-height: 1.06; }
  .page-heading .lead { font-size: .875rem; }
  .docs-layout { display: block; }
  .toc { position: static; max-height: none; padding: 0 0 24px; overflow: visible; }
  .toc .eyebrow { margin-bottom: 12px; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-size: .6875rem; }
  .toc a[aria-current] { border-color: var(--accent); }
  .prose { padding: 28px 20px 0; border-radius: 12px; }
  .prose h2 { font-size: 1.875rem; margin-top: 40px; padding-top: 28px; }
  .prose h3 { font-size: 1.375rem; }
  .prose p, .prose li { font-size: .875rem; }
  .prose .reference-table table { font-size: .75rem; }
  .callout { padding: 18px; }
  .reading-shell { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { transition: none !important; animation: none !important; }
}

/* Icons: Lucide (ISC) line icons and the GitHub mark (Octicons, MIT), inline SVG in currentColor. */
.i { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.16em; }
.i-gh { width: 1.1em; height: 1.1em; }
a:has(> .i), button:has(> .i) { display: inline-flex; align-items: center; gap: .45em; }
.copy-button .i, .demo-toggle .i { width: .95em; height: .95em; }
@media (prefers-reduced-motion: no-preference) {
  a:hover > .i:not(.i-gh):last-child { transform: translateX(2px); transition: transform .15s ease; }
}

/* Coding-agent section */
.agent-section { padding-top: 40px; }
.agent-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; max-width: 76ch; }
.agent-steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 52px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 12px; font-size: .9375rem; line-height: 1.75; }
.agent-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; font: 600 .8125rem/1.75 var(--mono); color: var(--accent, #c2401f); }
.footer-credit { margin-top: 4px; font-size: .8125rem; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
