/* ============================================================
   The Architect — public site
   Palette and tonal steps mirror the app's "ops console" theme.
   ============================================================ */

/* Fonts are self-hosted, not loaded from Google's CDN — that would send every
   visitor's IP to a US third party before they have consented to anything.
   Files and licences live in fonts/; regenerate with fonts/fetch-fonts.sh,
   which prints this exact block so the two cannot drift.

   IBM Plex Sans and JetBrains Mono are variable: one file covers the whole
   weight axis, which is why they declare a range rather than a single value. */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/IBM-Plex-Sans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/IBM-Plex-Sans-Condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/IBM-Plex-Sans-Condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/JetBrains-Mono-var.woff2') format('woff2');
}

:root {
  --void:    #080b10;
  --canvas:  #0d1117;
  --panel:   #161b22;
  --panel-2: #1c2128;
  --panel-3: #232a33;
  --line:    #242c36;
  --line-2:  #313a45;

  --ink:  #e6edf3;
  --mute: #8b95a1;
  --dim:  #5c6672;

  --run:  #3fb950;
  --sig:  #58a6ff;
  --bell: #e3b341;
  --err:  #f85149;

  --display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --body:    "IBM Plex Sans", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  --bar-h: 34px;
  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1160px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  padding-bottom: var(--bar-h);
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--sig); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: var(--mono); font-size: .88em;
  color: var(--ink); background: var(--panel-3);
  padding: .1em .38em; border-radius: 3px;
}
.lede code, .hero__copy code { color: var(--ink); background: rgba(255,255,255,.055); }

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

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--sig); color: #06213b; padding: 10px 16px;
  font-family: var(--mono); font-size: 13px;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- top bar ---------- */

.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(13,17,23,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__in {
  display: flex; align-items: center; gap: 28px;
  height: 62px;
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut);
}
.mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
}
.mark:hover { text-decoration: none; }
.mark__glyph { height: 24px; width: auto; flex: none; display: block; }
.foot .mark__glyph { height: 20px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.top nav a {
  font-family: var(--mono); font-size: 13px; color: var(--mute);
  letter-spacing: .01em;
}
.top nav a:hover { color: var(--ink); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--ink); }

.langsel { flex: none; }
.langsel select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: var(--panel-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238b95a1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 9px center;
  background-size: 10px;
  border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--mute); font-family: var(--mono); font-size: 12px;
  padding: 6px 26px 6px 10px; margin: 0; cursor: pointer;
}
.langsel select:hover { color: var(--ink); border-color: var(--mute); }
.langsel select:focus-visible { border-color: var(--sig); outline: none; }

/* ---------- window sections ---------- */

.win { padding-block: clamp(72px, 11vw, 132px); border-top: 1px solid var(--line); }
.win:first-of-type { border-top: 0; }
.win--tint { background: var(--void); }

.winhead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 34px; }
.winhead__id {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--sig); letter-spacing: .06em; flex: none;
}
.winhead__label {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  letter-spacing: .18em; text-transform: uppercase;
}
.winhead__rule { flex: 1; height: 1px; background: var(--line); }

h2.big {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  line-height: .98; letter-spacing: -.015em;
  margin: 0 0 22px; text-wrap: balance;
}
h3.sub {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.12; letter-spacing: -.005em; margin: 0 0 10px;
}

.lede { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--mute); max-width: 62ch; margin: 0 0 20px; }
.lede strong { color: var(--ink); font-weight: 600; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

/* ---------- hero ---------- */

.hero { padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 110px); }
.hero__mark {
  height: clamp(46px, 6vw, 64px); width: auto; display: block;
  margin: 0 0 30px;
}
.hero__eyebrow {
  font-family: var(--mono); font-size: 12.5px; color: var(--mute);
  letter-spacing: .16em; text-transform: uppercase; margin: 0 0 26px;
}
.hero__eyebrow b { color: var(--run); font-weight: 500; }

.tagline {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.1rem, 12.4vw, 9.6rem);
  line-height: .84; letter-spacing: -.028em;
  text-transform: uppercase; margin: 0 0 30px;
}
.tagline > span { display: block; }
.stop { color: var(--run); }

/* closing line of a section, set in the tagline's voice rather than a heading's */
.closer {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.7rem, 4.2vw, 3.05rem);
  line-height: 1.02; letter-spacing: -.015em;
  margin: clamp(52px, 7vw, 84px) 0 0;
  padding-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--line);
  text-wrap: balance;
}

.hero__copy { max-width: 60ch; color: var(--mute); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero__copy strong { color: var(--ink); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  padding: 13px 22px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--sig); color: #06213b; font-weight: 700; }
.btn--primary:hover { background: #7cbaff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--mute); background: var(--panel); }
.btn svg { width: 15px; height: 15px; flex: none; }

.cta-note { font-family: var(--mono); font-size: 12.5px; color: var(--dim); }

/* ---------- current-work panel (hero demo) ---------- */

.cw {
  margin-top: clamp(48px, 7vw, 76px);
  background: var(--panel); border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.cw__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  letter-spacing: .04em;
}
.cw__bar b { color: var(--mute); font-weight: 500; }
.cw__bar span { margin-left: auto; }

.agent { border-bottom: 1px solid var(--line); }
.agent:last-child { border-bottom: 0; }
.agent__head { display: flex; align-items: center; gap: 13px; padding: 15px 16px; }
.avatar {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.avatar--claude { background: rgba(214,120,86,.14); color: #d67856; }
.avatar--aider  { background: rgba(63,185,80,.13);  color: var(--run); }
.avatar--codex  { background: rgba(88,166,255,.13); color: var(--sig); }
.agent__name { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.agent__host { font-family: var(--mono); font-size: 12.5px; color: var(--mute); }

.job {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px 13px 15px;
  border-left: 2px solid transparent;
  margin-left: 16px;
}
.job--run  { border-left-color: var(--run); }
.job--idle { border-left-color: var(--line-2); }
.job__main { min-width: 0; flex: 1; }
.job__title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.job__sum {
  font-family: var(--mono); font-size: 12.5px; color: var(--mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.chip {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; flex: none;
}
.chip--run { background: rgba(63,185,80,.13); color: var(--run); }
.chip--idle { border: 1px solid var(--line-2); color: var(--mute); }

.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.chip--run .dot { animation: pulse 1.9s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .28; } }

.bell { width: 14px; height: 14px; color: var(--bell); flex: none; opacity: 0; }
.bell.is-ringing { animation: bellfade 60s linear forwards; }
@keyframes bellfade { 0% { opacity: 1; } 100% { opacity: 0; } }

.cw__caption {
  font-family: var(--mono); font-size: 12.5px; color: var(--dim);
  margin-top: 14px; line-height: 1.75; max-width: 88ch;
}
.cw__caption b { color: var(--bell); font-weight: 500; }

/* ---------- requires block ---------- */

.requires {
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); padding: clamp(20px, 3vw, 30px);
  font-family: var(--mono); margin-bottom: 30px;
}
.requires__head {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 18px;
}
.requires dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 26px; }
.requires dt { color: var(--run); font-size: 14px; font-weight: 500; }
.requires dd { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.5; }

.gate {
  border-left: 2px solid var(--err); padding-left: 20px;
  max-width: 60ch; color: var(--ink); font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}
.gate p:first-child { font-weight: 600; }
.gate p { color: var(--mute); }
.gate p:first-child { color: var(--ink); }

/* ---------- generic grid + cards ---------- */

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
/* demo gets the wider half — terminal text needs the columns */
.grid--demo { grid-template-columns: 1.22fr 1fr; }
@media (max-width: 860px) { .grid--demo { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; padding: clamp(20px, 2.6vw, 28px);
}
.card__ic { width: 20px; height: 20px; color: var(--sig); margin-bottom: 14px; }
.card p { color: var(--mute); font-size: 15px; margin-bottom: 0; }
.card--flush { padding: 0; overflow: hidden; }

/* ---------- session switcher demo ---------- */

.swipe { border: 1px solid var(--line); border-radius: 8px; background: var(--void); overflow: hidden; }
.swipe__top {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.swipe__label { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.swipe__btns { margin-left: auto; display: flex; gap: 6px; }
.iconbtn {
  width: 30px; height: 30px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.iconbtn:hover { background: var(--panel-3); border-color: var(--mute); }
.iconbtn svg { width: 14px; height: 14px; }

.swipe__view { overflow: hidden; touch-action: pan-y; cursor: grab; }
.swipe__view.is-drag { cursor: grabbing; }
.swipe__track { display: flex; transition: transform .38s cubic-bezier(.22,.61,.36,1); }
.swipe__track.no-anim { transition: none; }
.pane { flex: 0 0 100%; padding: 22px clamp(16px, 3vw, 28px) 26px; user-select: none; }
.pane__name {
  font-family: var(--mono); font-size: 12.5px; color: var(--sig);
  margin-bottom: 14px; letter-spacing: .04em;
}
.pane__term {
  font-family: var(--mono); font-size: clamp(11px, 1.35vw, 13px); line-height: 1.7;
  white-space: pre; overflow-x: auto; color: var(--ink);
  margin: 0; min-height: 168px;
}
.pane__term .c-mute { color: var(--dim); }
.pane__term .c-run  { color: var(--run); }
.pane__term .c-sig  { color: var(--sig); }
.pane__term .c-bell { color: var(--bell); }
.pane__term .c-err  { color: var(--err); }

.swipe__dots { display: flex; gap: 7px; justify-content: center; padding: 0 0 16px; }
.swipe__dots button {
  width: 22px; height: 3px; border: 0; padding: 0; cursor: pointer;
  background: var(--line-2); border-radius: 2px; transition: background .2s;
}
.swipe__dots button[aria-current="true"] { background: var(--sig); }

.swipe__hint {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  text-align: center; padding: 0 16px 16px;
}

/* ---------- environment block ---------- */

.envwrap { border: 1px solid var(--line); border-radius: 8px; background: var(--void); overflow: hidden; }
.envwrap__top {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--panel-2);
  font-family: var(--mono); font-size: 12px; color: var(--mute);
}
.envwrap__top span { margin-left: auto; color: var(--dim); }
.env {
  margin: 0; padding: 20px clamp(16px, 2.4vw, 24px);
  font-family: var(--mono); font-size: clamp(11.5px, 1.25vw, 13px); line-height: 1.95;
  white-space: pre; overflow-x: auto; color: var(--ink);
}
.env .k { color: var(--sig); }
.env .v { color: var(--ink); }
.env .c { color: var(--dim); }
.env .s { color: var(--bell); }

/* the real connect order, as a sequence — each step happens before the next */
.seq {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  margin-top: 26px; font-family: var(--mono); font-size: 12.5px;
}
.seq__step {
  border: 1px solid var(--line-2); border-radius: 4px;
  padding: 8px 12px; color: var(--mute); white-space: nowrap;
}
.seq__step--now { border-color: var(--sig); color: var(--sig); }
.seq__arrow { color: var(--dim); }

/* ---------- device continuity ---------- */

.devices { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.device {
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.device__k {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
  display: flex; align-items: center; gap: 10px;
}
.device__soon {
  font-size: 10.5px; letter-spacing: .1em; color: var(--bell);
  border: 1px solid rgba(227,179,65,.4); border-radius: 3px;
  padding: 2px 6px; line-height: 1;
}
.device__v { font-family: var(--mono); font-size: 13.5px; color: var(--ink); line-height: 1.55; }
.device__v em { color: var(--mute); font-style: normal; }

/* ---------- trust list ---------- */

.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.trust li {
  display: grid; grid-template-columns: 22px 1fr; gap: 16px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.trust li:first-child { border-top: 1px solid var(--line); }
.trust__k { font-family: var(--mono); font-size: 16px; color: var(--run); line-height: 1.3; }
.trust__v { font-size: 15.5px; color: var(--mute); }
.trust__v b { color: var(--ink); font-weight: 600; display: block; font-size: 16px; margin-bottom: 3px; }

/* ---------- download / pricing ---------- */

.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan {
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column;
}
.plan--lead { border-color: var(--sig); background: linear-gradient(var(--panel), var(--panel)) padding-box; }
.plan__tier {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 14px;
}
.plan--lead .plan__tier { color: var(--sig); }
.plan__price {
  font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1; margin-bottom: 6px;
}
.plan__per { font-family: var(--mono); font-size: 12.5px; color: var(--dim); margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.plan li {
  display: grid; grid-template-columns: 16px 1fr; gap: 12px;
  font-size: 15px; color: var(--mute); line-height: 1.5;
}
.plan li::before { content: "+"; font-family: var(--mono); color: var(--run); }
.plan li.no::before { content: "\2013"; color: var(--dim); }
.plan .btn { justify-content: center; margin-top: auto; }

.pricenote {
  font-family: var(--mono); font-size: 12.5px; color: var(--dim);
  margin-top: 26px; line-height: 1.75; max-width: 84ch;
}

/* ---------- forms ---------- */

.form { max-width: 560px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px;
}
.field input, .field select {
  width: 100%; background: var(--panel-3); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 4px;
  padding: 13px 14px; font-family: var(--mono); font-size: 14.5px;
}
.field input::placeholder { color: var(--dim); }
.field input:focus, .field select:focus { border-color: var(--sig); outline: none; }
.field .help { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 8px; }
.field .err { font-family: var(--mono); font-size: 12px; color: var(--err); margin-top: 8px; display: none; }
.field.is-bad input { border-color: var(--err); }
.field.is-bad .err { display: block; }

.form__ok {
  display: none; border: 1px solid var(--run); border-radius: 8px;
  background: rgba(63,185,80,.07); padding: 24px;
}
.form__ok.is-on { display: block; }
.form__ok h3 { font-family: var(--display); font-size: 1.35rem; margin: 0 0 10px; }
.form__ok p { font-family: var(--mono); font-size: 13.5px; color: var(--mute); line-height: 1.7; }

/* Request failure — distinct from .field .err, which flags a bad value the user
   can fix. This one reports that the license service did not answer. */
.form__err {
  display: none; border: 1px solid var(--err); border-radius: 8px;
  background: rgba(248,81,73,.07); padding: 16px 18px; margin-top: 18px;
  font-family: var(--mono); font-size: 13px; color: var(--mute); line-height: 1.7;
}
.form__err.is-on { display: block; }

/* Turnstile renders an iframe of its own; just give it room. */
.cf-turnstile { margin-bottom: 20px; min-height: 65px; }

/* In-flight buttons: no layout shift, no double submit. */
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.btn:disabled { opacity: .6; pointer-events: none; }

/* ---------- legal pages ---------- */
/* Long-form running text for privacy.html and terms.html. Denser and narrower
   than the marketing copy — these are meant to be read through, not scanned. */

.legal { max-width: 74ch; }
.legal h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--ink); margin: 44px 0 14px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute); margin: 26px 0 10px;
}
.legal p, .legal li { color: var(--mute); font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--sig); }
.legal code { font-family: var(--mono); font-size: .88em; color: var(--ink); }

.legal table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.legal th, .legal td {
  text-align: left; vertical-align: top; padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--mute);
}
.legal th {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
}

/* Marks a value that must be filled in before launch. Deliberately loud. */
.todo {
  font-family: var(--mono); font-size: .9em; color: var(--bell);
  background: rgba(227,179,65,.1); border: 1px solid rgba(227,179,65,.35);
  border-radius: 3px; padding: 1px 6px;
}

.legal__meta {
  font-family: var(--mono); font-size: 12.5px; color: var(--dim);
  padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line);
}

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  font-family: var(--mono); font-size: 12px; color: var(--sig);
  border: 1px solid var(--line-2); border-radius: 4px;
  width: 26px; height: 26px; display: grid; place-items: center;
}
.steps p { color: var(--mute); font-size: 15px; }
.steps b { color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; background: var(--void); }
.foot__in { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.foot a, .foot span { font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
.foot a:hover { color: var(--ink); text-decoration: none; }
.foot__end { margin-left: auto; }

/* ============================================================
   Signature: tmux status line as site navigation
   ============================================================ */

.statusline {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  height: var(--bar-h);
  display: flex; align-items: stretch;
  background: var(--panel-3);
  border-top: 1px solid #000;
  font-family: var(--mono); font-size: 12.5px;
  user-select: none;
}
.statusline__session {
  background: var(--run); color: #05230c; font-weight: 700;
  display: flex; align-items: center; padding: 0 12px; flex: none;
  letter-spacing: .02em;
}
.statusline__wins {
  display: flex; align-items: stretch; overflow-x: auto; flex: 1;
  scrollbar-width: none;
}
.statusline__wins::-webkit-scrollbar { display: none; }
.statusline__wins a {
  display: flex; align-items: center; padding: 0 11px; flex: none;
  color: var(--mute); white-space: nowrap; letter-spacing: .01em;
}
.statusline__wins a:hover { color: var(--ink); background: rgba(255,255,255,.05); text-decoration: none; }
.statusline__wins a[aria-current="true"] { background: var(--sig); color: #06213b; font-weight: 700; }
.statusline__wins a[aria-current="true"]:hover { background: var(--sig); color: #06213b; }
.statusline__right {
  display: flex; align-items: center; gap: 14px; padding: 0 12px; flex: none;
  color: var(--dim); background: var(--panel-2);
}
.statusline__right b { color: var(--mute); font-weight: 400; }

@media (max-width: 640px) {
  .statusline__session { padding: 0 9px; font-size: 11.5px; }
  .statusline__right .hide-sm { display: none; }
  .statusline__wins a { padding: 0 9px; font-size: 11.5px; }
}

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .top nav { gap: 16px; }
  .top__in { height: 56px; gap: 14px; }
  .requires dl { grid-template-columns: 1fr; gap: 4px 0; }
  .requires dd { margin-bottom: 14px; }
  .job { margin-left: 10px; }
  .foot__end { margin-left: 0; }
  .langsel select { font-size: 11.5px; padding: 5px 22px 5px 8px; }
}

@media (max-width: 420px) {
  .top nav a.hide-xs { display: none; }
  .langsel select { max-width: 84px; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
