/* telemai site — one stylesheet for the landing page (the switchboard), the docs and the changelog.
   Agents speak in mono, people speak in serif. */

:root {
  color-scheme: dark;
  --void: #060811;
  --panel: #0C1122;
  --panel-2: #121A35;
  --line: #1F2A4A;
  --ink: #E8EDFF;
  --muted: #8E99BC;
  --dim: #4E5A80;
  --signal: #5B9BFF;
  --signal-deep: #2F6BFF;
  --human: #F2C27A;
  --fail: #FF6B7A;
  --backend: #5B9BFF;
  --frontend: #6FE0D2;
  --data: #B7A4FF;
  --font-human: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-agent: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--void); scroll-behavior: smooth; }
body { margin: 0; background: var(--void); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--signal); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.mono { font-family: var(--font-agent); }
.serif { font-family: var(--font-human); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* header */
header.top { position: sticky; top: 0; z-index: 9; background: rgba(6, 8, 17, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { display: block; width: 36px; height: 36px; }
.brand span { font-family: var(--font-agent); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
nav.links { display: flex; gap: 28px; align-items: center; }
nav.links a { font-family: var(--font-agent); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 14px var(--font-body); text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.btn:hover { border-color: var(--signal); color: var(--ink); }
.btn.primary { background: var(--signal-deep); border-color: var(--signal-deep); color: #FFFFFF; box-shadow: 0 0 28px -8px var(--signal); }
.btn.primary:hover { background: var(--signal); border-color: var(--signal); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 760px) { nav.links { display: none; } .brand span { display: none; } }

/* footer */
footer.site-footer { border-top: 1px solid var(--line); }
footer.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px; font-family: var(--font-agent); font-size: 12px; color: var(--muted); }
footer.site-footer a { color: var(--muted); text-decoration: none; }
footer.site-footer a:hover { color: var(--ink); }
footer.site-footer .foot-brand { display: inline-flex; align-items: center; gap: 8px; }
footer.site-footer .foot-brand img { display: block; width: 22px; height: 22px; }

/* hero */
/* hero: copy on the left, the "isolated → linked" graphic on the right */
.hero { padding-block: 48px 64px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--font-human); font-weight: 400; font-size: clamp(42px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.hero h1 em { display: block; color: var(--human); }
.hero .lede { margin: 0; max-width: 46ch; color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-art { position: relative; margin: 0; width: 100%; aspect-ratio: 1 / 0.88; max-width: 100%; }
.hero-art::before { content: ""; position: absolute; inset: 15% 15% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 107, 255, 0.2), rgba(47, 107, 255, 0)); filter: blur(24px); pointer-events: none; }
#heroNet { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-steps { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); display: flex; gap: 4px; white-space: nowrap; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--void); font: 500 10px var(--font-agent); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-steps span { padding: 3px 9px; border-radius: 999px; color: var(--dim); transition: color .3s, background .3s; }
.hero-steps span.on { color: var(--signal); background: rgba(91, 155, 255, 0.12); }
.hero-steps span.on[data-k="bad"] { color: var(--fail); background: rgba(255, 107, 122, 0.1); }
.hero-steps span.on[data-k="you"] { color: var(--human); background: rgba(242, 194, 122, 0.12); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-art { aspect-ratio: 1 / 0.92; }
}

/* the demo section sits under the hero */
section.block.demo .intro { margin-bottom: 32px; }
.hero .lede strong { color: var(--ink); font-weight: 500; }
.beta { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-family: var(--font-agent); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.beta i { width: 7px; height: 7px; border-radius: 50%; background: var(--frontend); box-shadow: 0 0 10px var(--frontend); animation: blink 1.6s ease-in-out infinite; }
.voices { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.voices span { display: inline-flex; align-items: center; gap: 8px; }
.voices .a { font-family: var(--font-agent); color: var(--signal); font-size: 13px; }
.voices .h { font-family: var(--font-human); font-style: italic; color: var(--human); font-size: 19px; }

/* stage: the network on the left with no frame; one panel on the right holds the controls, the wire and the counts. */
.stage-band { padding-block: 0 56px; }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: stretch; }
.stage::before { content: ""; position: absolute; left: 12%; top: 30%; width: 45%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 107, 255, 0.22), rgba(47, 107, 255, 0)); filter: blur(30px); pointer-events: none; }
@keyframes blink { 50% { opacity: .3; } }
.counts { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; font-family: var(--font-agent); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.counts b { color: var(--ink); font-weight: 500; margin-left: 4px; }
.counts .q b { color: var(--human); }
.canvas-box { position: relative; min-height: 560px; }
/* one line of narration, in the human voice, saying what the current scenario is doing */
.narrate { position: absolute; top: 2px; left: 0; z-index: 2; margin: 0; max-width: min(300px, 32%); font-family: var(--font-human); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--ink); text-wrap: pretty; pointer-events: none; }
.narrate.flash { animation: narr .45s ease-out; }
@keyframes narr { from { opacity: 0; transform: translateY(4px); } }
#net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.panel { position: relative; display: flex; flex-direction: column; min-width: 0; height: 560px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 17, 34, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.panel-head { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; border-bottom: 1px solid var(--line); }
.scenarios { display: flex; flex-direction: column; gap: 8px; }
.btn.scen { width: 100%; justify-content: space-between; border-radius: 12px; padding: 0 16px; background: var(--void); text-align: left; }
.btn.scen::after { content: "→"; font-family: var(--font-agent); color: var(--muted); transition: color .2s, transform .2s; }
.btn.scen:hover:not(:disabled)::after { color: var(--signal); transform: translateX(3px); }
.wire { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.panel .wire h2 { max-width: none; margin: 0; padding: 14px 18px 0; font: 500 11px var(--font-agent); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
#log { list-style: none; margin: 0; padding: 8px 18px 12px; flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28px); mask-image: linear-gradient(to bottom, transparent, #000 28px); }
#log > li:first-child { margin-top: auto; }
#log::-webkit-scrollbar { display: none; }
.panel-foot { padding: 12px 18px; border-top: 1px solid var(--line); }
#log li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 5px 0; font-family: var(--font-agent); font-size: 12px; line-height: 1.5; color: var(--muted); animation: in .35s ease-out; }
#log li time { color: var(--dim); font-variant-numeric: tabular-nums; }
#log li .who { color: var(--ink); }
#log li.t-backend .who { color: var(--backend); }
#log li.t-frontend .who { color: var(--frontend); }
#log li.t-data .who { color: var(--data); }
#log li.t-hub .who { color: var(--signal); }
#log li.k-crit .msg { color: var(--ink); }
#log li.k-quiet { opacity: .6; }
#log li.k-fail .msg, #log li.k-fail .who { color: var(--fail); }
#log li.k-human { font-family: var(--font-human); font-size: 18px; line-height: 1.35; color: var(--human); }
#log li.k-human .who { color: var(--human); font-style: italic; }
#log li.k-human time { font-family: var(--font-agent); font-size: 12px; padding-top: 4px; }
@keyframes in { from { opacity: 0; transform: translateY(4px); } }
/* approval bar: one short strip along the bottom of the map, so the graph stays visible above it */
.ask { position: absolute; left: 0; right: 0; bottom: 8px; padding: 10px 12px 10px 18px; border-radius: 14px; background: rgba(18, 26, 53, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--human); box-shadow: 0 0 40px -14px var(--human); display: flex; align-items: center; gap: 16px; }
.ask[hidden] { display: none; }
.ask .ask-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ask .from { font: 500 10px var(--font-agent); letter-spacing: 0.1em; text-transform: uppercase; color: var(--human); }
.ask p { margin: 0; font-family: var(--font-human); font-size: 18px; line-height: 1.25; color: var(--ink); text-wrap: pretty; }
.ask p code { font-family: var(--font-agent); font-size: 13px; color: var(--signal); }
.ask .row { display: flex; gap: 8px; flex: none; }
.ask .btn { min-height: 40px; padding: 0 16px; }
@media (max-width: 600px) {
  .ask { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; }
  .ask .row .btn { flex: 1; }
}
.ask .btn.primary { background: var(--human); border-color: var(--human); color: #1A1206; box-shadow: none; }
.ask .btn.primary:hover { background: #FFD596; border-color: #FFD596; }
@media (max-width: 960px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stage::before { left: 20%; top: 5%; width: 60%; height: 40%; }
  .panel { height: auto; }
  #log { height: 240px; flex: none; }
}

/* facts strip under the stage */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.fact b { display: block; font: 500 11px var(--font-agent); letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); margin-bottom: 6px; }
.fact p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* sections */
section.block { padding-block: 72px; border-top: 1px solid var(--line); }
.kicker { font: 500 11px var(--font-agent); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); margin: 0 0 14px; }
section.block h2 { margin: 0 0 14px; font-family: var(--font-human); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; max-width: 20ch; }
section.block .intro { margin: 0 0 40px; max-width: 60ch; color: var(--muted); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.voice-card { padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 14px; }
.voice-card h3 { margin: 0; font: 500 12px var(--font-agent); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.voice-card.humans { border-color: #6B5A3B; }
.thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.thread li { display: flex; flex-direction: column; gap: 6px; }
.thread code { font-family: var(--font-agent); font-size: 13.5px; line-height: 1.6; color: var(--signal); overflow-wrap: anywhere; }
.thread code span { color: var(--muted); }
.thread p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.thread .from { font: 500 10px var(--font-agent); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.thread p.say { font-family: var(--font-human); font-size: 24px; line-height: 1.25; color: var(--human); text-wrap: pretty; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* who hears what */
.proto { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.proto-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; padding: 18px 22px; border-top: 1px solid var(--line); align-items: baseline; }
.proto-row:first-child { border-top: 0; }
.proto-row.head { background: var(--panel); font: 500 11px var(--font-agent); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-block: 12px; }
.proto-row .ev { font-size: 16px; color: var(--ink); font-weight: 500; }
.proto-row .ev small { display: block; margin-top: 2px; font: 500 11px var(--font-agent); letter-spacing: 0.08em; text-transform: uppercase; color: var(--human); }
.proto-row .hears { font-size: 15px; color: var(--muted); }
.proto-row .says { font-family: var(--font-agent); font-size: 13px; color: var(--signal); overflow-wrap: anywhere; }
.proto-row.human .says { font-family: var(--font-human); font-size: 20px; color: var(--human); }
@media (max-width: 760px) {
  .proto-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .proto-row.head { display: none; }
}

/* install */
.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.term { border: 1px solid var(--line); border-radius: 16px; background: var(--void); overflow: hidden; }
.term-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); }
.term-line:first-child { border-top: 0; }
.term-line .where { display: block; font: 500 11px var(--font-agent); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.term-line code { font-family: var(--font-agent); font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.term-line code::before { content: "$ "; color: var(--signal); }
.term-note { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.copy { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 12px var(--font-agent); cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--signal); }
form.wait { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
form.wait label.lbl { flex-basis: 100%; font: 500 11px var(--font-agent); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
form.wait input.email { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 15px var(--font-body); }
form.wait input.email::placeholder { color: #5D6890; }
form.wait input.email:focus-visible { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px rgba(91, 155, 255, 0.3); }
form.wait .note { flex-basis: 100%; margin: 0; min-height: 1.4em; font-family: var(--font-human); font-style: italic; font-size: 19px; color: var(--human); }
@media (max-width: 860px) { .install { grid-template-columns: minmax(0, 1fr); } }
section.block.updates .wrap { text-align: center; }
section.block.updates h2 { max-width: none; }
section.block.updates .intro { margin: 0 auto 28px; max-width: 72ch; }
section.block.updates form.wait { max-width: none; justify-content: center; }
section.block.updates form.wait input.email { flex: 1 1 420px; max-width: 640px; }
section.block.updates form.wait .note { text-align: center; }

/* docs */
.docs { max-width: 1200px; margin: 0 auto; padding: 48px 16px 96px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; }
.docs-nav { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.docs-nav .group { margin: 18px 0 8px; font: 500 11px var(--font-agent); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.docs-nav .group:first-child { margin-top: 0; }
.docs-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; border: 1px solid transparent; transition: all .2s; }
.docs-nav a:hover { color: var(--ink); background: var(--panel); }
.docs-nav a.active { color: var(--ink); background: var(--panel); border-color: var(--line); }
.docs-main { min-width: 0; max-width: 780px; }
.eyebrow { font: 500 11px var(--font-agent); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid #6B5A3B; background: rgba(242, 194, 122, 0.08); font: 500 11px var(--font-agent); letter-spacing: 0.12em; text-transform: uppercase; color: var(--human); }

/* prose */
.prose h1 { font-family: var(--font-human); font-weight: 400; margin: 12px 0 16px; font-size: clamp(38px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.prose h2 { font-family: var(--font-human); font-weight: 400; margin: 56px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 32px; line-height: 1.1; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-body); font-weight: 600; margin: 32px 0 10px; font-size: 18px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: #C5CDE8; }
.prose p.lead { font-size: 18px; color: var(--muted); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--signal); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-family: var(--font-human); font-size: 1.08em; font-style: italic; }
.prose code { font-family: var(--font-agent); font-size: .9em; color: var(--signal); background: var(--panel); padding: 2px 6px; border-radius: 6px; }
.prose pre { margin: 16px 0 24px; padding: 18px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; font-family: var(--font-agent); font-size: 13.5px; line-height: 1.7; color: var(--ink); }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose pre .c { color: var(--dim); }
.prose pre .p { color: var(--signal); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14.5px; }
.prose th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 500 11px var(--font-agent); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.prose td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; color: #C5CDE8; }
.prose td:first-child { white-space: nowrap; }
.callout { margin: 20px 0 28px; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.callout.warn { border-color: #6B5A3B; background: rgba(242, 194, 122, 0.06); }
.callout p { margin: 0; font-size: 15px; }
.callout .label { display: block; margin-bottom: 6px; font: 500 11px var(--font-agent); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.callout.warn .label { color: var(--human); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 32px 64px; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--signal); display: flex; align-items: center; justify-content: center; font: 500 13px var(--font-agent); color: var(--signal); box-shadow: 0 0 20px -4px var(--signal); }
.steps > li::after { content: ""; position: absolute; left: 22px; top: 48px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, rgba(91, 155, 255, .6), rgba(91, 155, 255, 0)); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 8px 0 8px; }
.pager { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.pager a { font-size: 14px; text-decoration: none; }

/* small pages (thanks) */
.simple { min-height: 60vh; padding-block: 96px; }
.simple .wrap { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.simple h1 { margin: 0; font-family: var(--font-human); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.simple h1 em { color: var(--human); }
.simple p { margin: 0; color: var(--muted); font-size: 17px; }
.simple .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 32px; }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .docs-nav .group { display: none; }
}
@media (max-width: 600px) {
  .canvas-box { min-height: 690px; }
  .narrate { max-width: none; right: 0; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .narrate.flash { animation: none; }
  .beta i, #log li { animation: none; }
  html { scroll-behavior: auto; }
}
