/* ── Botsitters ────────────────────────────────────────────
   A room at night. One warm amber lamp with a direction, monitor
   cyan reserved strictly for values that change in real time,
   soft coral for flags. Nothing here shouts; it's 3am.

   Nothing on this wall is ever affirmatively good — things are
   only moving or not. There is no green in this palette.
   ──────────────────────────────────────────────────────── */

:root {
  --night:   #151726;
  --night-2: #1B1E30;
  --night-3: #232741;
  --edge:    #2E3350;

  --lamp:     #F0A93B;   /* the nightlight — primary accent, used sparingly */
  --glow:     #7FD4E8;   /* live values ONLY: clocks, combs, counters */
  --alarm:    #E86A5A;   /* a flag, not a siren */

  --linen:      #EFE9DF;
  --muted:      #9096B0;
  --faint:      #8A90AC;  /* text — 5.23:1 on --night-2 */
  --faint-rule: #656B87;  /* non-text decoration only */

  /* Exactly six type sizes. Anything else is drift, not a decision. */
  --t-display: clamp(2.5rem, 12cqi, 3.9rem);
  --t-section: clamp(1.9rem, 4.2vw, 2.9rem);
  --t-lead:    1.375rem;
  --t-body:    1.0625rem;
  --t-meta:    .8125rem;
  --t-micro:   .6875rem;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body:    "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --rule: 1px solid var(--edge);
  --bar-h: 65px;

  /* One light direction: warm on the top edge, cold shadow beneath. */
  --lit:  inset 0 1px 0 rgba(240,169,59,.10);
  --drop: 0 24px 60px -28px rgba(0,0,0,.8);
}

*, *::before, *::after { box-sizing: border-box; }

/* .btn sets display, which would otherwise beat the UA [hidden] rule. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-optical-sizing: auto;
}

/* Kill motion, not colour: cross-fades aren't vestibular triggers. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-property: color, background-color, border-color, opacity !important;
    transition-duration: .18s !important;
  }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--linen);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-variation-settings: 'opsz' 76; letter-spacing: -.036em; }
h2 { font-variation-settings: 'opsz' 42; letter-spacing: -.026em; }
h3 { font-variation-settings: 'opsz' 20; letter-spacing: -.014em; }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--lamp); color: var(--night);
  padding: .6rem 1rem; font-family: var(--mono); font-size: var(--t-meta); z-index: 50;
}
.skip:focus { left: 0; }

/* ── Top bar ──────────────────────────────────────────── */

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem var(--gutter);
  border-bottom: var(--rule);
  position: sticky; top: 0; z-index: 20;
  background: rgba(21,23,38,.78);
  backdrop-filter: blur(10px);
}

.wordmark {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 800; font-size: var(--t-body);
  letter-spacing: -.02em; text-decoration: none;
}

/* The lamp spills downward — it is a light, not a dot. */
.lamp {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 7px 16px -3px rgba(240,169,59,.62), 0 0 0 3px rgba(240,169,59,.12);
}
.lamp-sm { width: 7px; height: 7px; box-shadow: 0 5px 12px -3px rgba(240,169,59,.5); }

.topnav { display: flex; align-items: center; gap: 1.6rem; }
.topnav a {
  font-family: var(--mono); font-size: var(--t-meta);
  color: var(--muted); text-decoration: none;
  transition: color .18s ease;
}
.topnav a:hover { color: var(--linen); }
.topnav-cta { color: var(--lamp) !important; }
.topnav-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 680px) {
  .topnav a:not(.topnav-cta) { display: none; }
}

/* ── Bands ────────────────────────────────────────────── */

.band {
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
  position: relative;
}
.band + .band { border-top: var(--rule); }
.band[id] { scroll-margin-top: calc(var(--bar-h) + 1.5rem); }

/* The night runs down the page as one clock. */
@media (min-width: 1400px) {
  main { position: relative; }
  main::before {
    content: ''; position: absolute; top: 0; bottom: 0;
    left: calc(var(--gutter) - 2.5rem);
    width: 1px; background: var(--edge);
  }
  .band[data-time]::before {
    content: attr(data-time);
    position: absolute;
    left: calc(var(--gutter) - 2.5rem);
    top: clamp(3.5rem, 8vw, 7rem);
    transform: translate(-50%, -50%);
    background: var(--night);
    padding: .4rem 0;
    font-family: var(--mono); font-size: var(--t-meta);
    color: var(--lamp);
    font-variant-numeric: tabular-nums;
  }
}

.hero    { padding-block: clamp(3.5rem, 7vw, 7rem) clamp(4rem, 9vw, 9rem); }
.shift   { padding-block: clamp(4rem, 8vw, 8rem); }
.signup  { padding-block: clamp(4rem, 9vw, 9rem) clamp(3.5rem, 7vw, 7rem); }

.band-head { max-width: 46ch; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.band-head h2 { font-size: var(--t-section); }
.band-sub { color: var(--muted); margin-top: .9rem; }

.eyebrow {
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: .14em;
  text-transform: uppercase; color: var(--lamp);
  margin-bottom: 1.5rem;
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.hero-copy { container-type: inline-size; }

/* The lamp itself — a light in the room, not a screen filter.
   Uses ::after because ::before already carries the spine clock. */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(90ch 60ch at 92% 6%, rgba(240,169,59,.16), transparent 60%);
}
.hero > * { position: relative; z-index: 1; }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}

.hero h1 { font-size: var(--t-display); margin-bottom: 1.6rem; }
.hero .lede { max-width: 46ch; color: var(--muted); }
.lede-strong { margin-top: 1rem; color: var(--linen); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

.btn {
  display: inline-block;
  font-family: var(--mono); font-size: var(--t-meta);
  padding: .8rem 1.4rem; border-radius: 2px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--lamp); color: #1A1305; font-weight: 500; }
.btn-primary:hover { background: #FFC15C; }
.btn-ghost { border-color: var(--edge); color: var(--linen); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }

/* ── The watch wall ───────────────────────────────────── */

.wall-figure { margin: 0; }

.wall {
  position: relative;
  background: linear-gradient(180deg, var(--night-2), #191C2C);
  border: var(--rule);
  border-radius: 4px;
  box-shadow: var(--lit), var(--drop);
  overflow: hidden;
}

/* Above 960 the wall runs off the right edge: a fleet continues off-screen. */
@media (min-width: 961px) {
  .hero .wall {
    margin-right: calc(var(--gutter) * -1);
    border-right: 0;
    border-radius: 4px 0 0 4px;
  }
}

.wall::after {
  /* The room's temperature when something is wrong. */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--alarm); opacity: 0;
  transition: opacity .6s ease;
}
.wall.is-alarmed::after { opacity: .05; }

.wall-head {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1.1rem;
  border-bottom: var(--rule);
  background: rgba(0,0,0,.18);
  position: relative; z-index: 2;
}
.wall-title {
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.wall-meta, .wall-replay {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint);
}
.wall-replay { color: var(--faint-rule); }
@media (max-width: 720px) { .wall-replay { display: none; } }

.wall-clock {
  margin-left: auto;
  font-family: var(--mono); font-size: var(--t-meta);
  color: var(--glow);
  font-variant-numeric: tabular-nums;
}

.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--glow);
  animation: breathe 2.6s ease-in-out infinite;
}
.pulse.is-still { animation: none; opacity: 1; }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* The lamp inside the wall — it turns toward the problem. */
.wall-lamp {
  position: absolute; left: 0; right: 0; height: 190px;
  top: 42px;
  pointer-events: none; z-index: 1;
  background: radial-gradient(60% 100% at 50% 0%, rgba(240,169,59,.09), transparent 70%);
  transition: top .7s cubic-bezier(.4,0,.2,1);
}
.wall.is-alarmed .wall-lamp { top: 118px; }

.rows { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }

.row {
  display: grid;
  grid-template-columns: 2.5rem 7.5rem minmax(0, 1fr) 3.5rem 4.25rem auto;
  grid-template-areas:
    "owner name task task cost chip"
    "owner name log  comb cost chip";
  gap: .12rem .8rem;
  align-items: center;
  padding: .8rem 1.1rem;
  border-bottom: 1px solid rgba(46,51,80,.55);
  transition: background-color .6s cubic-bezier(.2,.8,.2,1), opacity .7s ease;
}
.row:last-child { border-bottom: 0; }

.rowowner {
  grid-area: owner; align-self: center;
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint-rule);
}
.rowname {
  grid-area: name; align-self: center;
  font-family: var(--mono); font-size: var(--t-meta); color: var(--linen);
}
.rowtask {
  grid-area: task; font-size: var(--t-meta);
  font-family: var(--body); color: var(--linen);
  min-height: 1.35em;
}
.rowlog {
  grid-area: log;
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-height: 1.3em;
  font-variant-numeric: tabular-nums;
}
.rowcost {
  grid-area: cost; align-self: center; justify-self: end;
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint);
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}
.row.is-flagged .rowcost { color: var(--alarm); }
.row.is-held .rowcost { color: var(--lamp); }

/* The comb: a retry loop is a shape before it is a number. */
.comb {
  grid-area: comb; align-self: center;
  display: flex; align-items: flex-end; gap: 2px;
  height: 14px;
}
/* Bar heights ride on classes, not inline styles: the CSP forbids style
   attributes, and a supervision product should not ship an exception. */
.comb i {
  width: 2px; height: 3px;
  background: var(--glow); opacity: .45;
  transition: height .28s ease, background-color .3s ease, opacity .3s ease;
}
.comb i.h1 { height: 1px }   .comb i.h2 { height: 2px }   .comb i.h3 { height: 3px }
.comb i.h4 { height: 4px }   .comb i.h5 { height: 5px }   .comb i.h6 { height: 6px }
.comb i.h7 { height: 7px }   .comb i.h8 { height: 8px }   .comb i.h9 { height: 9px }
.comb i.h10 { height: 10px } .comb i.h11 { height: 11px } .comb i.h12 { height: 12px }
.comb i.h13 { height: 13px } .comb i.h14 { height: 14px }
.row.is-flagged .comb i, .minirow.is-flagged .comb i { background: var(--alarm); opacity: .9; }
.row.is-held .comb i, .minirow.is-held .comb i { background: var(--lamp); opacity: .8; }

.chip {
  grid-area: chip; align-self: center;
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: .14em;
  text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 2px; white-space: nowrap;
  border: 1px solid;
}
/* Nothing here is ever "good" — only moving or not. */
.chip-ok   { color: var(--muted); border-color: var(--edge); background: transparent; }
.chip-idle { color: var(--faint-rule); border-color: rgba(101,107,135,.35); background: transparent; }
.chip-flag { color: var(--alarm); border-color: rgba(232,106,90,.45); background: rgba(232,106,90,.1); }
.chip-held { color: var(--lamp);  border-color: rgba(240,169,59,.45); background: rgba(240,169,59,.1); }
.chip.is-flipping { animation: chipflip .2s ease; }
@keyframes chipflip { 0% { transform: scaleY(1) } 50% { transform: scaleY(0) } 100% { transform: scaleY(1) } }

.row.is-flagged { background: rgba(232,106,90,.07); }
.row.is-flagged .rowlog { color: var(--alarm); }
.row.is-held { background: rgba(240,169,59,.07); }
.row.is-held .rowlog { color: var(--lamp); }
.row.is-dimmed { opacity: .55; }

.rowlog.is-landing { animation: land .12s ease-out; }
@keyframes land { from { opacity: 0; transform: translateY(3px) } to { opacity: 1; transform: none } }

/* The fleet continues past the bottom edge. */
.row-ambient { opacity: .55; }
.rows .row-ambient:nth-last-child(2) { opacity: .3; }
.rows .row-ambient:last-child { opacity: .14; }
@media (max-width: 960px) { .row-ambient { display: none; } }

@media (max-width: 1280px) {
  .row {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    grid-template-areas:
      "owner name chip"
      "owner task task"
      "owner log  cost"
      "owner comb comb";
    gap: .25rem .7rem;
  }
  .rowcost { justify-self: end; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name chip" "task task" "log cost" "comb comb"; }
  .rowowner { display: none; }
}

.wall-foot {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1.1rem;
  border-top: var(--rule);
  background: rgba(0,0,0,.18);
  position: relative; z-index: 2;
}
.wall-caption {
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint);
  flex: 1 1 16ch; min-width: 0;
  transition: opacity .2s ease;
}
.wall-caption.is-fading { opacity: 0; }

/* The hold button keeps its slot even while hidden, so on narrow screens
   give the caption its own line rather than a 16ch gutter. */
@media (max-width: 680px) { .wall-caption { flex: 1 1 100%; } }

/* Kept in flow so the panel height never twitches. */
.btn-hold {
  background: transparent; border-color: rgba(240,169,59,.5); color: var(--lamp);
  padding: .5rem 1rem;
  visibility: hidden; opacity: 0;
  transition: opacity .16s ease, transform .16s ease, background-color .18s ease;
  transform: translateX(-4px);
}
.btn-hold.is-offered { visibility: visible; opacity: 1; transform: none; }
.btn-hold:hover { background: rgba(240,169,59,.12); }

.wall-caption-a11y {
  margin-top: .9rem;
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint-rule);
  max-width: 70ch;
}

/* ── The shift log ────────────────────────────────────── */

.shiftbar {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 2.4rem; max-width: 78ch;
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint-rule);
}
.shiftbar-rule { position: relative; flex: 1; height: 2px; background: var(--edge); }
.shiftbar-rule i { position: absolute; top: -3px; width: 2px; height: 8px; background: var(--alarm); }
.shiftbar-rule .t1 { left: 26% } .shiftbar-rule .t2 { left: 38% }
.shiftbar-rule .t3 { left: 62% } .shiftbar-rule .t4 { left: 87% }

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

.entry {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 46ch) minmax(0, 1fr);
  gap: 0 2.4rem;
  padding: 1.7rem 0;
  border-top: var(--rule);
}
.entry:last-child { border-bottom: var(--rule); }

.stamp {
  font-family: var(--mono); font-size: var(--t-meta); color: var(--lamp);
  font-variant-numeric: tabular-nums;
  padding-top: .3rem;
}
.entry-body h3 { font-size: var(--t-lead); font-weight: 600; margin-bottom: .55rem; }
.entry-body p { color: var(--muted); }

.trace {
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint-rule);
  line-height: 1.9; padding-top: .3rem;
}

@media (max-width: 1100px) {
  .entry { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .trace { grid-column: 2; padding-top: .9rem; }
}
@media (max-width: 560px) {
  .entry { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .trace { grid-column: 1; }
}

/* ── The note on the counter ──────────────────────────── */

.counter {
  margin: 0; max-width: 62ch;
  background: var(--night-2);
  border: var(--rule); border-radius: 4px;
  box-shadow: var(--lit), var(--drop);
  padding: 1.6rem 1.7rem;
  overflow-x: auto;
}
.counter code {
  font-family: var(--mono); font-size: var(--t-meta); color: var(--linen);
  line-height: 2.1; white-space: pre;
  font-variant-numeric: tabular-nums;
}
.counter .k { color: var(--lamp); }

/* ── Exhibits ─────────────────────────────────────────── */

.exhibits { display: grid; gap: 1px; background: var(--edge); border-block: var(--rule); }

.exhibit {
  background: var(--night);
  display: grid;
  grid-template-columns: minmax(0, 42ch) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 2.4rem 0;
}
/* Flipping the sides has to flip the track widths too, or the demo
   lands in the copy's narrow column and truncates its own telemetry. */
.exhibit-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 42ch); }
.exhibit-flip .exhibit-copy { order: 2; }
.exhibit-flip .exhibit-demo { order: 1; }

/* Exhibit rows are static, so their telemetry may wrap rather than elide. */
.exhibit .rowlog { white-space: normal; overflow: visible; }

.exhibit h3 { font-size: var(--t-lead); font-weight: 600; margin-bottom: .7rem; }
.exhibit p { color: var(--muted); }

.exhibit-demo {
  background: var(--night-2);
  border: var(--rule); border-radius: 4px;
  box-shadow: var(--lit), var(--drop);
  padding: .5rem 0 0;
  overflow: hidden;
}

.minirow {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) 3.5rem 4rem auto;
  grid-template-areas: "name task task cost chip" "name log comb cost chip";
  gap: .12rem .7rem; align-items: center;
  padding: .7rem .9rem;
  font-size: var(--t-meta);
}
.minirow .rowname { grid-area: name; }
.minirow .rowtask { grid-area: task; }
.minirow .rowlog  { grid-area: log; }
.minirow .comb    { grid-area: comb; }
.minirow .rowcost { grid-area: cost; }
.minirow .chip    { grid-area: chip; }
.minirow.is-flagged { background: rgba(232,106,90,.07); }
.minirow.is-flagged .rowlog, .minirow.is-flagged .rowcost { color: var(--alarm); }
.minirow.is-held { background: rgba(240,169,59,.07); }
.minirow.is-held .rowlog, .minirow.is-held .rowcost { color: var(--lamp); }

.exhibit-rule {
  display: flex; gap: 1rem; flex-wrap: wrap;
  border-top: var(--rule); background: rgba(0,0,0,.18);
  padding: .7rem .9rem;
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint);
}
.ctl { border: 1px solid var(--edge); border-radius: 2px; padding: .2rem .55rem; color: var(--muted); }

@media (max-width: 900px) {
  .exhibit { grid-template-columns: minmax(0, 1fr); }
  .exhibit-flip .exhibit-copy { order: 0; }
  .exhibit-flip .exhibit-demo { order: 0; }
  .minirow { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "name chip" "task task" "log cost" "comb comb"; }
}

.console-note {
  margin-top: 1.8rem;
  color: var(--linen);
  max-width: 62ch;
}

/* ── Waitlist ─────────────────────────────────────────── */

/* The shift ends the way it began: words on the left, console on the right. */
@media (min-width: 961px) {
  .signup {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }
  .signup .band-head { margin-bottom: 0; align-self: center; }
}
.signup-panel { max-width: 62ch; }
@media (min-width: 961px) { .signup-panel { max-width: none; } }

.form { padding: 1.4rem 1.3rem; display: grid; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field label, .field legend {
  font-family: var(--mono); font-size: var(--t-meta);
  color: var(--muted); padding: 0;
}
.field-runtime { border: 0; margin: 0; padding: 0; }

.radios { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.radios label {
  display: inline-flex; align-items: center; gap: .45rem;
  border: var(--rule); border-radius: 2px;
  padding: .4rem .7rem; cursor: pointer;
  color: var(--faint);
  transition: border-color .18s ease, color .18s ease;
}
.radios label:hover { border-color: var(--muted); color: var(--linen); }
.radios input { accent-color: var(--lamp); margin: 0; }
.radios input:checked + span { color: var(--lamp); }

.field input[type="email"], .field input[type="text"] {
  background: var(--night-3);
  border: var(--rule); border-radius: 2px;
  color: var(--linen);
  font-family: var(--body); font-size: var(--t-body);
  padding: .8rem .9rem; width: 100%;
  box-shadow: var(--lit);
  transition: border-color .18s ease;
}
.field input::placeholder { color: var(--faint-rule); }
.field input:hover { border-color: var(--muted); }
.field input:focus { border-color: var(--lamp); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--alarm); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form .btn-primary { justify-self: start; border: 0; }
.form button[disabled] { opacity: .55; cursor: default; }

.formnote {
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint);
  min-height: 1.2em;
}
.formnote[data-state="error"] { color: var(--alarm); }
.formnote[data-state="done"]  { color: var(--lamp); }

/* ── Footer ───────────────────────────────────────────── */

.foot {
  display: flex; align-items: center; gap: 1rem 1.6rem; flex-wrap: wrap;
  padding: 1.6rem var(--gutter);
  border-top: var(--rule);
  font-family: var(--mono); font-size: var(--t-meta); color: var(--faint);
}
.foot-mark { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); }
.foot-line { flex: 1 1 auto; }
.foot-mail { color: var(--muted); text-decoration: none; }
.foot-mail:hover { color: var(--lamp); }

/* ── 404 ──────────────────────────────────────────────── */

.lost {
  min-height: 72vh;
  display: grid; align-content: center; justify-items: start;
  max-width: 46ch;
}
.lost h1 { font-size: var(--t-section); margin-bottom: 1.2rem; }
.lost p { color: var(--muted); }
.lost .btn { margin-top: 2rem; }
