@font-face{font-family:"Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/newsreader.woff2) format("woff2");}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/public-sans.woff2) format("woff2");}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url(fonts/jetbrains-mono.woff2) format("woff2");}
:root{color-scheme:light}
body{margin:0}
img{max-width:100%}
[hidden]{display:none!important}


/* Layout: a left-aligned reading column; the sky takes everything to its right and
   runs off the top-right corner like cut polka-dot fabric; one source line closes the hero. */
:root {
  --page: #f3f0e8;
  --surface: #e9e4d8;
  --line: #d3cbbb;
  --edge: #938a77;
  --ink: #202923;
  --muted: #565f57;
  --accent: #646642;
  --note-link: #24546b;
  --doc-link: #8b4329;
  --doc-link-bg: #f1dfd2;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #131a15;
    --surface: #1e2620;
    --line: #39453c;
    --edge: #5f6d62;
    --ink: #eceee5;
    --muted: #a4aea3;
    --accent: #c3c697;
    --note-link: #9ccfdd;
    --doc-link: #eebd8b;
    --doc-link-bg: #3a2c21;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #131a15;
  --surface: #1e2620;
  --line: #39453c;
  --edge: #5f6d62;
  --ink: #eceee5;
  --muted: #a4aea3;
  --accent: #c3c697;
  --note-link: #9ccfdd;
  --doc-link: #eebd8b;
  --doc-link-bg: #3a2c21;
  color-scheme: dark;
}

html { height: 100%; }
body {
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "mast" "pitch" "sky" "source" "links";
  padding-inline: var(--gutter);
}
.mast   { grid-area: mast;   position: relative; z-index: 1; padding-block: 1.25rem 0.5rem; }
.pitch  { grid-area: pitch;  position: relative; z-index: 1; padding-block: 1.25rem 0.5rem; }
.links  { grid-area: links;  position: relative; z-index: 1; padding-block: 1.25rem 2rem; }
.source { grid-area: source; position: relative; z-index: 1; }
.sky-room {
  grid-area: sky;
  height: clamp(30.5rem, 137vw, 34.5rem);
  margin-inline: calc(-1 * var(--gutter));
}
.sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  -webkit-user-select: none;
  user-select: none;
}

@media (min-width: 54rem) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "mast sky" "pitch sky" "links sky" "source source";
    column-gap: 2.5rem;
    min-height: max(35rem, min(100svh - 3.5rem, 52rem));
  }
  .mast  { padding-block: 2rem 0; }
  .pitch { padding-block: clamp(2.5rem, 9vh, 6rem) 0; }
  .links { padding-block: 1.75rem 2.5rem; }
  .sky-room { height: auto; margin-inline: 0 calc(-1 * var(--gutter)); }
}

/* ── Logo: Moon i, live text. Geometry from the brand kit (geometry.json).
      The i is set dotless and its dot is drawn, so the dot can travel. ── */
.logo {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 32;
  font-size: 1.875rem;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  margin-left: 0.4321em;
  margin-top: 0.0756em;
  color: var(--ink);
  text-decoration: none;
  border-radius: 2px;
}
.logo::before {
  content: "";
  position: absolute;
  left: -0.4321em;
  top: -0.0756em;
  width: 0.4522em;
  height: 0.4522em;
  border-radius: 50%;
  background: currentColor;
}
.logo-moon {
  position: absolute;
  left: 0.0717em;   /* dot centre 0.1471em, radius 0.0754em */
  top: 0.0158em;    /* baseline 0.735em from the top, dot centre 0.6438em above it */
  width: 0.1508em;
  height: 0.1508em;
  border-radius: 50%;
  background: currentColor;
  transform-origin: -0.2777em 0.1347em;   /* the planet's centre */
}
/* while the cloth is opening, the dot of the i is still on its way */
:root.intro #logo .logo-moon { visibility: hidden; }
.logo.orbit .logo-moon { animation: moon-orbit 2.6s cubic-bezier(0.62, 0, 0.3, 1) 1 both; }
@keyframes moon-orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (min-width: 54rem) { .logo { font-size: 2.125rem; } }

/* ── Text ─────────────────────────────────────────── */
h1 {
  margin: 0;
  max-width: 9em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 1.55rem + 4.3vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.lede {
  margin: 1.1rem 0 0;
  max-width: 27em;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.02rem + 0.42vw, 1.3125rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.links { display: flex; flex-wrap: wrap; align-items: center; align-self: start; gap: 0.75rem 1.5rem; margin: 0; }
.links a { font-size: 1rem; line-height: 1.75; }

/* A link to somewhere on this site: solid underline. */
.note-link {
  color: var(--note-link);
  text-decoration: underline solid 1px;
  text-underline-offset: 0.22em;
}
/* A link to a document kept elsewhere: dotted underline, a file icon and its kind. */
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0 0.55em 0 0.45em;
  border-radius: 4px;
  background: var(--doc-link-bg);
  color: var(--doc-link);
  text-decoration: none;
}
.doc-link svg { flex: none; width: 0.875em; height: 0.875em; }
.doc-link .name { text-decoration: underline dotted 1.5px; text-underline-offset: 0.22em; }
.doc-link .kind { font-size: 0.8125rem; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Source line: where the thing you point at lives, then what it is ── */
.source {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.25rem;
  min-height: 5.75rem;
  margin: 0;
  padding-block: 0.875rem;
  border-top: 1px solid var(--line);
}
.source .path {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  white-space: pre;
}
.source .say { flex: 1 1 100%; min-width: 0; font-size: 0.9375rem; color: var(--muted); }
.source .src-go { font-size: 0.9375rem; white-space: nowrap; }
@media (min-width: 54rem) {
  .source { min-height: 0; padding-block: 0.9rem 1rem; }
  .source .say { flex: 1 1 16rem; }
}

/* ── Sky ──────────────────────────────────────────── */
.sky circle { fill: var(--ink); }
.sky .labels text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink);
  opacity: 0;
  transition: opacity 0.2s linear, fill 0.12s linear;
  pointer-events: none;
}
.sky .labels text.moon { font-weight: 500; fill: var(--muted); }
.sky .labels text.in { opacity: 1; }
.sky .labels text.tag { font-weight: 400; fill: var(--muted); }
.sky .labels text.on { fill: var(--accent); }
.sky.no-tags .labels text.tag { display: none; }
.sky .marks path {
  fill: var(--page);
  opacity: 0;
  transition: opacity 0.25s linear;
  pointer-events: none;
}
.sky .marks path.in { opacity: 1; }
.sky .marks path.line { fill: none; stroke: var(--page); stroke-linecap: round; stroke-linejoin: round; }
/* prototype choice: the mark alone, with no dot behind it */
.sky .bodies circle.marked { transition: opacity 0.25s linear; }
.sky.logos-solid .bodies circle.marked.in { opacity: 0; }
.sky.logos-solid .marks path { fill: var(--ink); }
.sky.logos-solid .marks path.line { fill: none; stroke: var(--ink); }

.sky .hits circle {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
  pointer-events: none;
  cursor: grab;
  touch-action: none;
  outline: none;
}
.sky.ready .hits circle { pointer-events: all; }
.sky.dragging .hits circle { cursor: grabbing; }
.sky .hits circle:focus-visible { stroke: var(--accent); }

/* ── Prototype controls: scaffolding, not part of the design ── */
.proto {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  padding: 0.75rem var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.proto .group { display: inline-flex; align-items: center; gap: 0.4rem; }
.proto button {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
}
.proto button[aria-pressed="true"] { background: var(--surface); border-color: var(--accent); color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .logo.orbit .logo-moon { animation: none; }
  .sky .labels text { transition: none; }
  .sky .marks path { transition: none; }
  .sky .bodies circle.marked { transition: none; }
}
:root[data-motion="reduced"] .logo.orbit .logo-moon { animation: none; }
:root[data-motion="reduced"] .sky .labels text { transition: none; }
:root[data-motion="reduced"] .sky .marks path { transition: none; }

/* ── Sections: one for each planet of the sky ───────────────────────────
   Each opens with its planet, cut by the page edge, and says where it lives. */
:root {
  --field: #e9e4d8;
  --warn: #7a4a12;
  --warn-bg: #f4e6cf;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --field: #232c25; --warn: #f1c783; --warn-bg: #3c3425; }
}
:root[data-theme="dark"] { --field: #232c25; --warn: #f1c783; --warn-bg: #3c3425; }

.part {
  padding-inline: var(--gutter);
  padding-block: clamp(4.5rem, 10vw, 8rem) 0;
  scroll-margin-top: 0.5rem;
  overflow-x: clip;
}
.part.joined { padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.part-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "where marker" "title title";
  align-items: end;
  column-gap: 1rem;
}
.where {
  grid-area: where;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.9rem;
  margin: 0 0 0.9rem;
}
.where .name { font: 600 0.8125rem/1.4 var(--sans); }
.where .path { font: 0.75rem/1.4 var(--mono); color: var(--accent); white-space: pre-wrap; }
.part h2 {
  grid-area: title;
  margin: 0;
  max-width: 15em;
  font: 500 clamp(2rem, 1.45rem + 2.3vw, 3.25rem)/1.08 var(--serif);
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.marker {
  grid-area: marker;
  display: block;
  width: calc(var(--mw) * 0.7px);
  height: auto;
  margin-right: calc(-1 * var(--gutter));
}
.marker circle, .moon circle { fill: var(--ink); }
.marker path, .moon path { fill: var(--page); }
.marker path.line, .moon path.line {
  fill: none;
  stroke: var(--page);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.moon { flex: none; width: 1.75rem; height: 1.75rem; overflow: visible; }
/* prototype choice, shared with the sky: the mark alone, with no dot behind it */
.logos-solid .marker circle.marked, .logos-solid .moon circle { opacity: 0; }
.logos-solid .marker path, .logos-solid .moon path {
  fill: var(--ink);
  transform: scale(1.45);
  transform-box: fill-box;
  transform-origin: center;
}
.logos-solid .marker path.line, .logos-solid .moon path.line { fill: none; stroke: var(--ink); }

.part-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.prose { max-width: 34rem; font: 1.1875rem/1.55 var(--serif); }
.prose p { margin: 0 0 1em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.stack { display: grid; gap: 1.5rem; min-width: 0; }

@media (min-width: 54rem) {
  .part-head { grid-template-areas: "where marker" "title marker"; grid-template-rows: auto 1fr; align-items: start; }
  .where { margin-top: 0.5rem; }
  .marker { width: calc(var(--mw) * 1px); }
  .part-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 2.5rem; align-items: start; }
  .part-body > .prose { position: sticky; top: 2rem; }
}

/* ── Specimens: the real thing, small, each ending in its source line ── */
.specimen { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 6px; }
.specimen > .in { padding: 1.1rem 1.25rem; }
.specimen h3 { margin: 0 0 0.35rem; font: 600 1rem/1.4 var(--sans); }
.specimen .lead { margin: 0 0 0.9rem; font-size: 0.9375rem; color: var(--muted); max-width: 34rem; }
.src {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1rem;
  margin: 0;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid var(--line);
  font: 0.75rem/1.5 var(--mono);
  color: var(--accent);
}
.src .say { font: 0.8125rem/1.5 var(--sans); color: var(--muted); }

.btn {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: 600 0.875rem/1.2 var(--sans);
  cursor: pointer;
}
.btn.primary { background: var(--ink); color: var(--page); }
.btn.quiet { border-color: var(--edge); font-weight: 500; }
.btn:disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.chip { font: 500 0.8125rem/1.4 var(--sans); color: var(--muted); white-space: nowrap; }
.chip::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.45em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.08em;
}
.chip.ok { color: var(--accent); }
.chip.warn { color: var(--warn); }

/* the four places */
.places { margin: 0; }
.places > div {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.1rem 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}
.places > div:first-child { border-top: 0; padding-top: 0.15rem; }
.places > div:last-child { padding-bottom: 0.15rem; }
.places dt { font: 500 0.875rem/1.5 var(--mono); }
.places dd { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.places dd strong { display: block; color: var(--ink); font-weight: 600; }

/* the log only grows */
.log { list-style: none; margin: 0 0 1rem; padding: 0; }
.log li { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.3s ease; }
.log li.new { grid-template-rows: 0fr; }
.log li > div { min-height: 0; overflow: hidden; }
.log .row { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0 1rem; padding: 0.4rem 0; }
.log time { padding-top: 0.22em; font: 0.75rem/1.5 var(--mono); color: var(--muted); }
.log p { margin: 0; font-size: 0.9375rem; }

/* nothing becomes a note until you approve it */
.flow .step { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.flow .step:first-child { border-top: 0; padding-top: 0.1rem; }
.flow .file { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 1rem; margin: 0; }
.flow .fpath { font: 500 0.8125rem/1.5 var(--mono); overflow-wrap: anywhere; }
.flow .meta { margin: 0.2rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.flow .meta.mono { font: 0.8125rem/1.5 var(--mono); overflow-wrap: anywhere; }
.flow .with-moon { display: flex; align-items: center; gap: 0.7rem; }
.flow .with-moon > div { flex: 1; min-width: 0; }
.flow .proposal {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem 1rem;
  border: 1.5px dotted var(--warn);
  border-radius: 6px;
  background: var(--warn-bg);
  transition: background-color 0.25s linear, border-color 0.25s linear;
}
.flow .proposal .fpath { color: var(--warn); }
.flow .proposal .add { margin: 0.55rem 0 0.9rem; max-width: 32rem; font: 1.0625rem/1.5 var(--serif); color: var(--warn); }
.flow .proposal.done { border: 1px solid var(--line); background: transparent; }
.flow .proposal.done .fpath, .flow .proposal.done .add { color: var(--ink); }
.flow .acts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.flow .after { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.flow .after button { margin-left: 0.35rem; padding: 0; border: 0; background: none; color: var(--note-link); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* bring your own sync */
.carriers { list-style: none; margin: 0; padding: 0; }
.carriers li { display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.carriers li:first-child { border-top: 0; padding-top: 0.15rem; }
.carriers li:last-child { padding-bottom: 0.15rem; }
.carriers p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.carriers strong { display: block; color: var(--ink); font-weight: 600; }
.carriers .plain { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1.5px solid var(--edge); }

/* the Reader, drawn with its own parts */
.screens { display: grid; gap: 1.25rem; justify-items: start; align-items: start; }
@media (min-width: 40rem) { .screens { grid-template-columns: repeat(2, minmax(0, 18rem)); } }
.rd {
  width: 100%;
  max-width: 18rem;
  padding: 0.95rem 0.95rem 0.8rem;
  border: 1px solid var(--edge);
  border-radius: 1.35rem;
  background: var(--page);
  font-size: 0.875rem;
}
.rd-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 1.9rem; }
.rd .logo { font-size: 1.25rem; margin-top: 0.1em; }
.rd-tools { display: flex; gap: 0.9rem; color: var(--accent); }
.rd-tools svg, .rd-back svg { display: block; width: 1.1rem; height: 1.1rem; }
.rd-back { color: var(--accent); }
.rd-aa { font: 600 0.8125rem/1.35 var(--sans); }
.rd-search { margin: 0.8rem 0 1rem; padding: 0.5rem 0.75rem; border-radius: 0.6rem; background: var(--field); color: var(--muted); }
.rd-label { margin: 0 0 0.4rem; font: 500 0.6875rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.rd-card, .rd-row { display: flex; align-items: center; gap: 0.65rem; }
.rd-card { margin-bottom: 0.5rem; padding: 0.65rem 0.75rem; border-radius: 0.6rem; background: var(--surface); }
.rd-card.sub { background: transparent; border: 1px solid var(--edge); }
.rd-row { padding: 0.55rem 0.1rem; border-top: 1px solid var(--line); }
.rd-card svg, .rd-row svg { flex: none; width: 1.05rem; height: 1.05rem; color: var(--muted); }
.rd-card p, .rd-row p { margin: 0; font-weight: 500; line-height: 1.35; }
.rd-card small, .rd-row small { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--muted); }
.rd-gap { height: 0.6rem; }
.rd-place { margin: 0.7rem 0 0.15rem; font-size: 0.8125rem; }
.rd-title { margin: 0; font: 600 1.6rem/1.12 var(--serif); letter-spacing: -0.015em; }
.rd-meta { margin: 0.35rem 0 0.8rem; font-size: 0.8125rem; color: var(--muted); }
.rd-text { margin: 0 0 0.7rem; font: 1rem/1.5 var(--serif); }
.rd .doc-link { display: inline; padding: 0.05em 0.35em; font: 500 0.8125rem/1.4 var(--sans); white-space: nowrap; }
.rd .doc-link svg { display: inline; width: 0.8em; height: 0.8em; margin-right: 0.3em; vertical-align: -0.05em; }
.rd .doc-link .kind { margin-left: 0.4em; font-size: 0.75rem; }
.rd-src { margin: 0.9rem 0 0; padding-top: 0.55rem; border-top: 1px solid var(--line); font: 0.6875rem/1.5 var(--mono); color: var(--muted); overflow-wrap: anywhere; }

/* what an agent sees */
.switch { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.seg {
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: 500 0.875rem/1.2 var(--sans);
  cursor: pointer;
}
.seg[aria-pressed="true"] { border-color: var(--accent); background: var(--surface); color: var(--accent); font-weight: 600; }
.tree { list-style: none; margin: 0; padding: 0; }
.tree li { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.26s ease, opacity 0.18s linear; }
.tree li > div { min-height: 0; overflow: hidden; }
.tree .row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.32rem 0; }
.tree .n { font: 0.8125rem/1.5 var(--mono); }
.tree .lvl0 .n { font-weight: 600; }
.tree .lvl1 { padding-left: 1.35rem; }
.tree .m { font-size: 0.8125rem; color: var(--muted); text-align: right; }
.tree li.top:not(:first-child) .row { margin-top: 0.45rem; }
.tree.agent li[data-agent="0"] { grid-template-rows: 0fr; opacity: 0; }
.tally { margin: 0.9rem 0 0; font-size: 0.9375rem; color: var(--muted); }

/* install */
.cmds { display: grid; gap: 1rem; min-width: 0; }
.cmd-head { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.7rem; font: 600 0.9375rem/1.3 var(--sans); }
.cmd-head .btn { margin-left: auto; min-height: 2.25rem; padding: 0.3rem 0.8rem; }
.cmd pre { margin: 0; overflow-x: auto; font: 0.8125rem/1.7 var(--mono); }
.cmd code { font: inherit; }
.fine { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.fine .doc-link { margin-right: 0.5rem; }

/* ── Foot ── */
.foot {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(5rem, 11vw, 9rem);
  padding: 2rem var(--gutter) 2.25rem;
  border-top: 1px solid var(--line);
}
.foot .glyph { width: 2.6rem; height: auto; }
.foot .glyph circle { fill: var(--ink); }
.foot .colophon { margin: 0; max-width: 36rem; font: 1.0625rem/1.5 var(--serif); }
.foot .src { padding: 0; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .log li, .tree li, .flow .proposal { transition: none; }
}
:root[data-motion="reduced"] .log li,
:root[data-motion="reduced"] .tree li,
:root[data-motion="reduced"] .flow .proposal { transition: none; }
