@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/nunito-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens come from the AgentMachinist docs so the two sites read as one.
   Orange (signal) means you act, blue (blueprint) means the machine works. */
:root {
  color-scheme: light dark;
  --paper-0: #fbfaf6;
  --paper-1: #f3f1eb;
  --paper-2: #e8e5dc;
  --card: #fffefa;
  --ink-0: #17212a;
  --ink-1: #34434f;
  --ink-2: #65727c;
  --line: #c8c7c1;
  --line-strong: #90969a;
  --grid-minor: rgb(23 33 42 / 0.045);
  --grid-major: rgb(23 33 42 / 0.07);
  --blueprint: #285f78;
  --blueprint-soft: #dce8ec;
  --signal: #c84f24;
  --signal-strong: #9f3716;
  --signal-soft: #f4ded4;
  --terminal: #17212a;
  --terminal-deep: #0b1116;
  --terminal-ink: #e9eee9;
  --terminal-muted: #a9b7ba;
  --terminal-prompt: #f08457;
  --shadow-sm: 0 1px 2px rgb(23 33 42 / 0.06), 0 4px 10px rgb(23 33 42 / 0.04);
  --shadow-lg: 0 22px 48px rgb(23 33 42 / 0.12), 0 4px 12px rgb(23 33 42 / 0.06);
  --sans: "Avenir Next", Avenir, "Nunito Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper-0: #10171d;
    --paper-1: #151f27;
    --paper-2: #23313b;
    --card: #17222b;
    --ink-0: #edf0ec;
    --ink-1: #c6d0d2;
    --ink-2: #97a5ab;
    --line: #34434d;
    --line-strong: #63727a;
    --grid-minor: rgb(237 240 236 / 0.035);
    --grid-major: rgb(237 240 236 / 0.06);
    --blueprint: #77b4c9;
    --blueprint-soft: #183542;
    --signal: #f08457;
    --signal-strong: #ff9d76;
    --signal-soft: #45281f;
    --terminal: #090e12;
    --terminal-deep: #070b0e;
    --shadow-sm: 0 0 0 1px rgb(255 255 255 / 0.05);
    --shadow-lg: 0 24px 60px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(255 255 255 / 0.07);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink-0);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background-color: var(--paper-0);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
  -webkit-font-smoothing: antialiased;
  /* The stamp's scale-in briefly overhangs the viewport on phones. */
  overflow-x: clip;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
code, pre { font-family: var(--mono); }
img, video, svg { max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--signal-soft); color: var(--ink-0); }

.shell { width: min(1200px, calc(100% - 2.5rem)); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--ink-0);
  color: var(--paper-0);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Shared type */

.kicker, .eyebrow {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker { color: var(--signal-strong); }
.eyebrow { color: var(--blueprint); }

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; }

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.mark { width: 1.8rem; height: 1.8rem; color: var(--signal); flex: none; }
.mark path { fill: none; stroke: currentColor; stroke-width: 2; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 650;
}
.nav-links a:not(.button) { color: var(--ink-1); text-decoration: none; }
.nav-links a:not(.button):hover { color: var(--ink-0); text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--ink-0);
  color: var(--paper-0);
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease;
}
/* paper-0 flips with the theme: light text on dark orange, dark text on light orange. */
.button:hover { background: var(--signal-strong); color: var(--paper-0); }

@media (max-width: 640px) {
  .nav-optional { display: none; }
  .nav-links { gap: 1rem; }
}

/* Hero */

.hero {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem);
}

@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 4.5rem; }
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 10.5vw, 7.4rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
h1 .line { display: block; }
h1 .accent { color: var(--signal); }

.lede {
  max-width: 36rem;
  margin: 1.8rem 0 2rem;
  color: var(--ink-1);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.terminal {
  color-scheme: dark;
  max-width: 34rem;
  overflow: hidden;
  border-radius: 14px;
  background: var(--terminal);
  color: var(--terminal-ink);
  box-shadow: var(--shadow-lg);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.55rem 0.5rem 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  color: var(--terminal-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terminal pre {
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
  font-size: clamp(0.82rem, 2.6vw, 0.95rem);
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.prompt { color: var(--terminal-prompt); user-select: none; }

.copy-button {
  min-height: 2rem;
  padding: 0 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.07);
  color: var(--terminal-ink);
  font: 600 0.72rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.copy-button:hover { background: rgb(255 255 255 / 0.15); }
.copy-button:focus-visible { outline-color: var(--terminal-prompt); }

.hero-note { margin: 0.85rem 0 0; color: var(--ink-2); font-size: 0.95rem; }

.hero-links, .start-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 1.75rem 0 0;
  font-weight: 750;
}

/* Hero art: the Spec card that gets stamped */

.hero-art {
  position: relative;
  width: min(100%, 27rem);
  margin-inline: auto;
  padding-top: 2.6rem;
}

.dimension {
  position: absolute;
  top: 0.6rem;
  left: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 0.9rem;
  border-inline: 1px solid var(--blueprint);
  color: var(--blueprint);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dimension::before, .dimension::after { content: ""; flex: 1; border-top: 1px solid currentColor; }

.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.6rem 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  animation: card-thunk 260ms ease-out 1.05s both;
}

.spec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.sha-chip {
  padding: 0.15rem 0.55rem;
  border: 1.5px solid var(--signal);
  border-radius: 8px;
  background: var(--signal-soft);
  color: var(--signal-strong);
  font-weight: 750;
}

.spec-title {
  margin: 1.3rem 0 1.4rem;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.bar {
  display: block;
  width: 92%;
  height: 0.7rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--paper-2);
}
.bar-ink { width: 62%; background: var(--ink-1); }
.bar-short { width: 76%; }
.bar-shorter { width: 44%; }

.stamp {
  position: absolute;
  right: -0.6rem;
  bottom: 1.6rem;
  padding: 0.3rem 0.85rem 0.3rem 1rem;
  border: 4px solid currentColor;
  border-radius: 12px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: clamp(1.45rem, 3.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(-9deg);
  animation: stamp-in 420ms cubic-bezier(0.2, 0.9, 0.3, 1.15) 700ms both;
}

@media (max-width: 640px) {
  .stamp { right: 0.9rem; bottom: 1.4rem; }
}

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-16deg) scale(1.6); }
  to { opacity: 1; transform: rotate(-9deg) scale(1); }
}

@keyframes card-thunk {
  0%, 100% { transform: rotate(-2deg); }
  40% { transform: rotate(-2deg) translateY(4px) scale(0.995); }
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip::before { content: ""; width: 0.5rem; height: 0.5rem; background: currentColor; }
.chip-you { background: var(--signal-soft); color: var(--signal-strong); }
.chip-you::before { border-radius: 50%; }
.chip-machine { background: var(--blueprint-soft); color: var(--blueprint); }

/* Problem band */

.band {
  border-block: 1px solid var(--line);
  background: var(--paper-1);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.band-grid { display: grid; gap: 0.5rem; }
@media (min-width: 960px) {
  .band-grid { grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem; }
  .band-grid .kicker { margin-top: 0.9rem; }
}

.statement { max-width: 18ch; font-size: clamp(2.3rem, 5.6vw, 4.4rem); }

.statement-body {
  max-width: 44rem;
  margin: 1.6rem 0 0;
  color: var(--ink-1);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.5;
}
.statement-body strong { color: var(--ink-0); font-weight: 700; }

/* Sections */

.section { padding-block: clamp(4rem, 9vw, 7rem); }

.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.section-head-center { margin-inline: auto; text-align: center; }

.section-lede { margin: 1.1rem 0 0; color: var(--ink-1); font-size: 1.15rem; }

.section-foot { margin: 1.75rem 0 0; font-weight: 750; }

/* Two decisions with the machine's work between them */

.decisions { display: grid; gap: 0; }

@media (min-width: 960px) {
  .decisions { grid-template-columns: minmax(0, 1fr) 13.5rem minmax(0, 1fr); align-items: stretch; }
}

.decision {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--signal);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.decision h3 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); letter-spacing: -0.035em; }
.decision p { margin: 0; color: var(--ink-1); }

.decision .decision-label {
  color: var(--signal-strong);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cmd {
  color-scheme: dark;
  display: block;
  margin-top: auto;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  background: var(--terminal);
  color: var(--terminal-ink);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.handoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.6rem;
  color: var(--blueprint);
}
.handoff::before, .handoff::after {
  content: "";
  flex: 1;
  min-height: 1.4rem;
  border-left: 2px dashed currentColor;
}
.handoff span {
  padding: 0.5rem 0.9rem;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  background: var(--blueprint-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 960px) {
  .handoff { flex-direction: row; gap: 0.4rem; padding-inline: 0.4rem; }
  .handoff::before, .handoff::after { min-height: 0; border-left: 0; border-top: 2px dashed currentColor; }
  /* A fixed basis stops the label claiming its one-line width and
     squeezing the dashed lines to nothing. */
  .handoff span { flex: 0 0 7.25rem; padding-inline: 0.5rem; }
}

/* Six stations */

.stations {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

@media (min-width: 640px) { .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stations { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.station {
  --who: var(--blueprint);
  --who-text: var(--blueprint);
  padding: 1.5rem 1.45rem 1.65rem;
  border-top: 5px solid var(--who);
  background: var(--card);
}
.station.you { --who: var(--signal); --who-text: var(--signal-strong); }
.station h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.station p { margin: 0; color: var(--ink-1); font-size: 0.98rem; }
.station .station-tag {
  margin-bottom: 0.8rem;
  color: var(--who-text);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Video */

.video-figure { max-width: 980px; margin: 0 auto; }

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--terminal);
  box-shadow: var(--shadow-lg);
}
.video-frame video { display: block; width: 100%; height: 100%; }

.video-figure figcaption { margin-top: 1rem; color: var(--ink-2); text-align: center; font-size: 0.95rem; }

.transcript { max-width: 46rem; margin: 1.25rem auto 0; }
.transcript summary {
  width: fit-content;
  margin-inline: auto;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.transcript-body {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.transcript-body p { margin: 0 0 0.75rem; color: var(--ink-1); }
.transcript-body p:last-child { margin-bottom: 0; }

/* Agents */

.agents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.agent strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; }
.agent code { color: var(--blueprint); font-size: 0.85rem; }
.agent code::before { content: "$ "; color: var(--ink-2); }

.agents-note { max-width: 46rem; margin: 1.75rem 0 0; color: var(--ink-1); font-size: 1.1rem; }

/* Boundaries */

.boundaries { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) {
  .boundaries { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 4rem; }
}

.boundary-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.boundary-list li { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.boundary-list li:last-child { border-bottom: 1px solid var(--line); }
.boundary-list h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.boundary-list p { margin: 0; color: var(--ink-1); }

.boundary-figure { margin: 0; }
.boundary-figure figcaption { margin-top: 1.25rem; font-weight: 750; }

.boundary-map { display: block; width: 100%; height: auto; font-family: var(--sans); }
.bm-zone { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 7 6; }
.bm-zone-label { fill: var(--signal-strong); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.bm-box { fill: var(--card); stroke: var(--line-strong); stroke-width: 1.5; }
.bm-controller { stroke: var(--signal); stroke-width: 2; }
.bm-agent { stroke: var(--blueprint); stroke-width: 2; }
.bm-outside { stroke: var(--ink-2); stroke-dasharray: 5 4; }
.bm-title { fill: var(--ink-0); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.bm-sub { fill: var(--ink-1); font-size: 14px; }
.bm-small.bm-title { font-size: 14px; }
.bm-small.bm-sub { font-size: 12px; }
.bm-note { fill: var(--blueprint); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.bm-arrow { stroke: var(--blueprint); stroke-width: 2; }
.bm-head { fill: var(--blueprint); }
.bm-link { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 4 4; }

/* The map scales to about two thirds on phones, so its text grows to stay readable. */
@media (max-width: 640px) {
  .bm-sub { font-size: 17px; }
  .bm-small.bm-title { font-size: 15px; }
  .bm-small.bm-sub { font-size: 15px; }
  .bm-note, .bm-zone-label { font-size: 14px; }
}

/* Get started: a dark band in both themes */

.start-band {
  color-scheme: dark;
  --ink-0: #edf0ec;
  --ink-1: #c6d0d2;
  --ink-2: #97a5ab;
  --line: #2c3a44;
  --signal: #f08457;
  --signal-strong: #ff9d76;
  padding-block: clamp(4rem, 9vw, 6.5rem);
  background-color: var(--terminal-deep);
  background-image:
    linear-gradient(rgb(237 240 236 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(237 240 236 / 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink-0);
}

.start-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .start-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
}

.start-copy > p:not(.kicker):not(.start-links) { margin: 1.25rem 0 0; color: var(--ink-1); font-size: 1.1rem; }

/* Two groups: the free rehearsal, then a real Task that spends agent usage. */
.steps-title { margin: 0 0 0.9rem; font-size: 1.2rem; line-height: 1.2; }
.steps + .steps-title { margin-top: 2.75rem; }

.steps-note { max-width: 38rem; margin: 0 0 1.1rem; color: var(--ink-1); font-size: 0.98rem; }

.steps { margin: 0; padding: 0; list-style: none; }

.step {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.45rem 0.9rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step p { margin: 0; color: var(--ink-1); align-self: center; }

.step-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--signal);
  border-radius: 50%;
  color: var(--signal-strong);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 750;
}

.step-cmd {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #05090c;
}
.step-cmd code {
  flex: 1;
  min-width: 0;
  color: var(--terminal-ink);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.step-cmd .copy-button { flex: none; }

/* On phones the command takes the full row so flags like --local stay whole. */
@media (max-width: 640px) {
  .step-cmd { grid-column: 1 / -1; }
  .step-cmd code { font-size: 0.84rem; }
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2.25rem 3rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.footer-brand { display: flex; align-items: center; gap: 0.75rem; max-width: 40rem; margin: 0; }
.footer-brand .mark { width: 1.5rem; height: 1.5rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; list-style: none; font-weight: 650; }
.footer-links a { color: var(--ink-1); }

/* 404 */

.notfound { padding-block: clamp(4rem, 14vw, 9rem); }
.notfound h1 { font-size: clamp(3rem, 9vw, 6rem); }
.notfound p:not(.kicker) { max-width: 34rem; margin: 1.5rem 0 0; color: var(--ink-1); font-size: 1.2rem; }

/* Larger hit areas for fingers. */
@media (pointer: coarse) {
  .copy-button { min-height: 2.75rem; padding-inline: 0.95rem; }
  .nav-links a:not(.button) { display: inline-block; padding-block: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp, .spec-card { animation: none; }
}
