/* Air & Gravity Systems: site stylesheet.

   Direction B, "Graticule" (site redesign, 2026-10-31; canvas sources in
   design/site-redesign-2026-10-31/): a dark instrument-panel ground, phosphor for proven work,
   amber for work in design or a placeholder, condensed display type, and a faint measurement
   grid behind each page's opening band. Values are the canvas's, moved out of inline styles so
   the content-security policy can keep style-src to 'self'.

   Type: display = self-hosted Barlow Semi Condensed; body = self-hosted IBM Plex Sans; every
   number, label and document ID = self-hosted IBM Plex Mono with tabular figures. The design
   was drawn in these faces, so they lead each stack; the system faces after them are only a
   fallback while a font loads. */

/* ---- fonts (SIL OFL 1.1; provenance in /fonts/README.md) --------------------------------- */

@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-semi-condensed-500.woff2') format('woff2');
  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: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-semi-condensed-600.woff2') format('woff2');
  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: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-semi-condensed-700.woff2') format('woff2');
  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;
}

/* One variable file covers 400 to 600, as Google serves it. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-600.woff2') format('woff2');
  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 ------------------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* Grounds, darkest last. */
  --ground: #0C1013;
  --panel: #11171B;
  --panel-2: #0F1418;
  --ribbon: #1A2228;
  --base: #080B0D;

  /* Ink. --text-3 is the dimmest that still passes 4.5:1 on every ground. */
  --text: #E8EEF0;
  --text-2: #A3B0B7;
  --text-3: #8796A0;
  --text-link: #C5CFD4;

  /* Status: phosphor = proven, amber = in design or a placeholder, grey = direction or open. */
  --phosphor: #5FE0B8;
  --phosphor-hover: #A6F0D8;
  --phosphor-ink: #06261C;
  --phosphor-wash: rgba(95, 224, 184, 0.06);
  --amber: #E5B04E;

  --rule: rgba(232, 238, 240, 0.12);
  --rule-soft: rgba(232, 238, 240, 0.1);
  --rule-box: rgba(232, 238, 240, 0.14);
  --rule-mid: rgba(232, 238, 240, 0.18);
  --rule-frame: rgba(232, 238, 240, 0.2);
  --rule-strong: rgba(232, 238, 240, 0.28);
  --grid: rgba(232, 238, 240, 0.045);
  --grid-plot: rgba(232, 238, 240, 0.06);
  --veil: rgba(12, 16, 19, 0.86);

  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Barlow Semi Condensed', 'DIN Alternate', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Cascadia Mono', Consolas, monospace;

  --measure: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---- base --------------------------------------------------------------------------------- */

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ground);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, dl, dd, ol, ul {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

.d { font-family: var(--font-display); }
.m { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

a { color: var(--phosphor); }
a:hover { color: var(--phosphor-hover); }
a:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 3px; }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.pending { color: var(--amber); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--phosphor);
  font-size: 12px;
  text-decoration: none;
}

.skip-link, .skip-link:hover { color: var(--phosphor-ink); }
.skip-link:focus { top: 12px; }

/* ---- ribbon, header, footer --------------------------------------------------------------- */

.ribbon {
  background: var(--ribbon);
  color: var(--text-2);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 7px 16px;
}

.ribbon b { color: var(--amber); font-weight: 600; }

.site-header {
  background: var(--ground);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px 28px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.wordmark {
  display: inline-block;
  padding: 12px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark, .wordmark:hover { color: var(--text); }
.wordmark__amp { color: var(--phosphor); }

.wordmark__systems {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--text-3);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-nav a {
  color: var(--text-2);
  text-decoration: none;
  padding: 14px 0;
}

.site-nav a:hover { color: var(--text); }

.site-nav a[aria-current="page"] {
  color: var(--phosphor);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--phosphor);
}


.site-footer {
  background: var(--base);
  color: var(--text-2);
  padding: clamp(56px, 7vw, 84px) 0 40px;
  border-top: 1px solid var(--rule);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 48px;
}

.site-footer__pitch { flex: 1 1 460px; min-width: 0; }

.site-footer__line {
  margin-top: 12px;
  max-width: 22ch;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text);
}

.site-footer__contact { margin-top: 18px; font-size: 16px; }

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--text-link);
  text-decoration: none;
}

.site-footer__nav a:hover { color: var(--text); }

.site-footer__address { font-style: normal; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ---- bands -------------------------------------------------------------------------------- */

.band {
  padding: clamp(56px, 7vw, 92px) 0;
  border-top: 1px solid var(--rule);
}

.band--hero {
  padding: clamp(52px, 7vw, 104px) 0 clamp(48px, 6vw, 80px);
  border-top: 0;
}

.band--short { padding: clamp(48px, 6vw, 72px) 0; }
.band--panel { background: var(--panel); }

/* The graticule: a faint measurement grid behind each page's opening band. */
.band--grid {
  background-color: var(--ground);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---- type --------------------------------------------------------------------------------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--phosphor);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.section-head__group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.section-head__aside {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.section-title {
  margin: 12px 0;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-title--flush { margin: 0; }

.sub-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sub-title--upper {
  margin: 22px 0 18px;
  font-size: clamp(26px, 2.8vw, 34px);
}

.lead {
  max-width: 60ch;
  font-size: 17px;
  color: var(--text-2);
}

.lead--small { max-width: 40ch; font-size: 16px; }
.lead--narrow { max-width: 48ch; }

.hero-title {
  margin-top: 22px;
  font-size: clamp(52px, 7.4vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* The flight control headline is three times the magnetometer's length (2026-11-16). */
.hero-title--long { font-size: clamp(42px, 5.2vw, 74px); }

.hero-sub {
  margin-top: 26px;
  max-width: 32ch;
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 500;
  line-height: 1.4;
}

.hero-lead {
  margin-top: 16px;
  max-width: 54ch;
  font-size: 17px;
  color: var(--text-2);
}

.hero-lead--wide { margin-top: 24px; max-width: 60ch; font-size: 18px; }

.page-title {
  margin-top: 20px;
  font-size: clamp(48px, 6.4vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.product-title {
  font-size: clamp(72px, 10vw, 136px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.01em;
}

.product-name {
  margin-top: 18px;
  max-width: 24ch;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.big-figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
}

.big-figure__number {
  font-size: clamp(80px, 9vw, 120px);
  font-weight: 600;
  line-height: 0.9;
  color: var(--phosphor);
}

.big-figure__unit { font-size: 20px; }

.request-id {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* ---- actions and links -------------------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 30px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.actions--flush { margin-top: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--phosphor);
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.btn, .btn:hover { color: var(--phosphor-ink); }
.btn:hover { background: var(--phosphor-hover); }

.link-rule {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

/* ---- chips -------------------------------------------------------------------------------- */

.chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.badge,
.gate-chip,
.doc-chip {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.badge--small { padding: 2px 7px; }

/* Evidence classes. The two phosphor classes differ by fill, not hue. */
.badge--field-tested { color: var(--phosphor-ink); background: var(--phosphor); border-color: var(--phosphor); }
.badge--measured { color: var(--phosphor); }
.badge--in-design, .badge--amber { color: var(--amber); }

/* Not evidence classes: direction, availability, an open item. */
.badge--grey, .gate-chip { color: var(--text-2); border-style: dashed; border-color: var(--text-3); }
.badge--light { color: var(--text); }

/* ---- layout ------------------------------------------------------------------------------- */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
}

.split--center { align-items: center; }
.split--top { align-items: flex-start; }
.split--end { align-items: flex-end; }

.split__main { flex: 1 1 440px; min-width: 0; }
.split__main--narrow { flex-basis: 320px; }
.split__aside { flex: 1 1 400px; min-width: 0; }
.split__aside--wide { flex-basis: 480px; }
.split__aside--wider { flex: 2 1 560px; }

.panels {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.panels--top {
  align-items: flex-start;
  gap: 32px 40px;
  margin-top: 0;
}

.panel {
  flex: 1 1 420px;
  min-width: 0;
  border: 1px solid var(--rule-box);
  background: var(--panel);
}

.band--panel .panel { background: var(--ground); border-color: var(--rule-mid); }

.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--rule);
}

.panel__head--stack { display: block; }

.panel__title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.panel__text {
  padding: 16px 22px 0;
  font-size: 15px;
  color: var(--text-2);
}

.panel > .panel__text:last-child { padding-bottom: 20px; }
.panel__body { padding: 6px 22px 16px; }

/* A grid of cells divided by hairlines: the gap shows the rule colour behind. */
.cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.cells--legend { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.cell {
  padding: 24px 22px 26px;
  background: var(--ground);
}

.cells--legend .cell { padding: 20px 20px 22px; background: var(--panel-2); }

.cell__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--phosphor);
}

.cell__mark {
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--phosphor);
}

.cell--kit .cell__kicker {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text);
}

.cell__title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.cell__text {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-2);
}

.cell__title + .cell__text { margin-top: 0; font-size: 14px; }

.cell--fit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cell--fit .cell__title { margin-bottom: 0; }

.cell__fit {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--phosphor);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.steps--four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.step {
  padding-top: 14px;
  border-top: 1px solid var(--phosphor);
}

.step__number {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--phosphor);
}

.steps--four .step__number { font-size: 40px; }

.step__title {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
}

.step__text {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-2);
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 48px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--rule-frame);
}

.cta-box__main { flex: 1 1 460px; min-width: 0; }

.cta-box__title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.cta-box__text {
  margin-top: 10px;
  max-width: 56ch;
  font-size: 16px;
  color: var(--text-2);
}

.note-line {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

.note-line .badge { margin-right: 12px; }

/* ---- hero readout ------------------------------------------------------------------------- */

.readout {
  border: 1px solid var(--rule-frame);
  background: var(--veil);
}

.readout__head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.readout__avail { color: var(--phosphor); }
.readout__body { padding: 26px 22px 22px; }

.readout__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-2);
}

.readout__value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.readout__number {
  font-size: clamp(88px, 11vw, 148px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--phosphor);
}

.readout__unit { font-size: 20px; color: var(--text); }

.readout__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

.readouts {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
}

.readouts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.readouts--five {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 48px;
  border: 1px solid var(--rule);
}

.readouts__cell {
  padding: 16px 18px;
  background: var(--panel-2);
}

.readouts__value {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.readouts--five .readouts__value { font-size: 32px; }
.readouts__value--accent { color: var(--phosphor); }

.readouts__label {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

/* ---- board photographs (angled, cropped 2:1) ---------------------------------------------- */

.board-photo__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--rule-box);
}

.photo-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px 32px;
  margin-top: 36px;
}

.board-photo__caption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

/* ---- tables ------------------------------------------------------------------------------- */

.table-scroll { overflow-x: auto; }

.spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table--compact { min-width: 420px; }

.spec-table caption {
  caption-side: top;
  padding-bottom: 10px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.spec-table thead th {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--rule-strong);
  text-align: left;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.spec-table__parameter { width: 26%; }
.spec-table__basis { width: 15%; }

.spec-table tbody th[scope="row"],
.spec-table tbody td {
  padding: 11px 16px 11px 0;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.spec-table tbody th[scope="row"] { font-weight: 400; color: var(--text-2); }
.spec-table--compact tbody th[scope="row"] { width: 32%; }
.spec-table tbody:last-of-type tr:last-child > * { border-bottom: 1px solid var(--rule); }

.spec-table__group th {
  padding: 26px 0 8px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--phosphor);
}

.spec-table tbody:first-of-type .spec-table__group th { padding-top: 22px; }

.spec-basis { font-size: 10px; letter-spacing: 0.14em; white-space: nowrap; }
.spec-basis--field-tested span { padding: 2px 6px; background: var(--phosphor); color: var(--phosphor-ink); font-weight: 600; }
.spec-basis--measured { color: var(--phosphor); }
.spec-basis--vendor { color: var(--text-3); }
.spec-basis--design { color: var(--text-2); }
.spec-basis--open { color: var(--amber); }

.spec-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

.spec-legend__label { font-weight: 700; }
.spec-legend__label--field-tested { padding: 0 4px; background: var(--phosphor); color: var(--phosphor-ink); }
.spec-legend__label--measured { color: var(--phosphor); }
.spec-legend__label--vendor { color: var(--text-3); }
.spec-legend__label--design { color: var(--text-2); }
.spec-legend__label--open { color: var(--amber); }

.doc-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.doc-table th {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--rule-strong);
  text-align: left;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.doc-table td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text-2);
}

.doc-table td.doc-table__number { font-weight: 600; color: var(--text); }

.doc-status { font-size: 11px; letter-spacing: 0.1em; }
.doc-status--draft-on-request { color: var(--amber); }
.doc-status--in-preparation { color: var(--text-2); }
.doc-chip.doc-status--in-preparation { border-style: dashed; border-color: var(--text-3); }

/* ---- fact lists, gates, log --------------------------------------------------------------- */

.fact-list { font-size: 13px; }

.fact-list__row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.fact-list__row:last-child { border-bottom: 0; }
.fact-list dt { flex: 0 0 96px; color: var(--text-3); }
.fact-list dd { min-width: 0; }

.fact-list--wide { border-top: 1px solid var(--rule-mid); }
.fact-list--wide .fact-list__row { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.fact-list--wide .fact-list__row:last-child { border-bottom: 1px solid var(--rule); }
.fact-list--wide dt { flex-basis: 140px; }

.gate-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-2);
}

.gate-summary__count { letter-spacing: 0.14em; }

.gate-segs {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  gap: 4px;
}

.gate-seg { box-sizing: border-box; flex: 1; height: 8px; }
.gate-seg--done { background: var(--phosphor); }
.gate-seg--active { background: var(--amber); }
.gate-seg--open { border: 1px solid var(--text-3); }

.gate-list { font-size: 13px; }

.gate {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.gate:last-child { border-bottom: 0; }
.gate__mark { box-sizing: border-box; flex: none; width: 9px; height: 9px; }
.gate__mark--done { background: var(--phosphor); }
.gate__mark--active { background: var(--amber); }
.gate__mark--open { border: 1px solid var(--text-3); }
.gate__label { flex: 1; min-width: 0; }
.gate__note { margin-left: 6px; color: var(--text-3); }
.gate__state { font-size: 10px; letter-spacing: 0.14em; }
.gate__state--done { color: var(--phosphor); }
.gate__state--active { color: var(--amber); }
.gate__state--open { color: var(--text-2); }

.gate-card__code { font-size: 11px; letter-spacing: 0.14em; color: var(--text-3); }

.gate-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.gate-card__count { font-size: 12px; letter-spacing: 0.1em; color: var(--phosphor); }

.log {
  margin-top: 30px;
  border-top: 1px solid var(--rule-mid);
}

.log-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.log-row__date { flex: 0 0 110px; font-size: 13px; }
.log-row__board { flex: 0 0 70px; font-size: 11px; letter-spacing: 0.12em; color: var(--text-3); }

.log-row__text {
  flex: 1 1 420px;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-2);
}

.log-row__text b { font-weight: 600; color: var(--text); }

/* ---- timeline (Home) ---------------------------------------------------------------------- */

.timeline-scroll { overflow-x: auto; margin-top: 44px; }

.timeline {
  display: flex;
  min-width: 900px;
  font-size: 12px;
}

.timeline__step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-right: 16px;
}

.timeline__step:last-child { padding-right: 0; }
.timeline__track { display: flex; align-items: center; }

.timeline__dot {
  box-sizing: border-box;
  flex: none;
  width: 12px;
  height: 12px;
  border: 2px solid var(--phosphor);
  border-radius: 50%;
}

.timeline__dot--filled { background: var(--phosphor); }
.timeline__line { flex: 1; height: 1px; background: var(--rule-strong); }
.timeline__line--open { height: 0; background: none; border-top: 1px dashed var(--rule-strong); }
.timeline__date { margin-top: 12px; color: var(--text-3); }

.timeline__text {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
}

/* ---- diagrams ----------------------------------------------------------------------------- */

.diagram-scroll { overflow-x: auto; margin-top: 40px; }

.diagram {
  box-sizing: border-box;
  min-width: 780px;
  padding: 34px 28px 30px;
  border: 1px solid var(--rule-box);
  background: var(--ground);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.diagram__row { display: flex; align-items: center; }

.diagram__box {
  box-sizing: border-box;
  flex: 0 0 190px;
  padding: 14px 12px;
  border: 1px solid var(--text-3);
  text-align: center;
}

.diagram__box--board {
  flex-basis: 280px;
  padding: 16px 14px;
  border: 1.5px solid var(--phosphor);
  background: var(--phosphor-wash);
}

.diagram__box--host { border-style: dashed; }
.diagram__box--small { flex: 0 0 170px; padding: 10px; }
.diagram__name { font-weight: 600; }
.diagram__box--board .diagram__name { color: var(--phosphor); }
.diagram__sub { margin-top: 4px; font-size: 11px; color: var(--text-3); }
.diagram__box--board .diagram__sub { margin-top: 2px; line-height: 1.7; color: var(--text-2); }

.diagram__wire {
  position: relative;
  flex: 1 1 0;
  border-top: 1px solid var(--text-2);
}

.diagram__wire span {
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  text-align: center;
  font-size: 11px;
  color: var(--text-2);
}

.diagram__drops {
  display: flex;
  justify-content: center;
  gap: 110px;
  height: 34px;
}

.diagram__drops span { width: 1px; background: var(--text-2); }

.diagram__inputs {
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* The flight control diagram: two lanes, the system buses below them, and the four shared
   nodes. The lane boxes are fixed-width at the row's ends, so the drops are padded in by half a
   box and line up at any width; the nodes spread edge to edge for the same reason. */
.diagram__drops--lanes { justify-content: space-between; gap: 0; height: 28px; padding: 0 139px; }

.diagram__bus {
  position: relative;
  height: 0;
  margin: 0 79px;
  border-top: 1px solid var(--text-2);
}

.diagram__bus span {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  padding: 0 12px;
  background: var(--ground);
  white-space: nowrap;
  font-size: 11px;
  color: var(--text-2);
}

.diagram__drops--nodes { justify-content: space-between; gap: 0; height: 28px; padding: 0 79px; }
.diagram__inputs--nodes { justify-content: space-between; gap: 0; }
.diagram__inputs--nodes .diagram__box--small { flex-basis: 160px; }

/* ---- the system, part by part (Home hero) -------------------------------------------------- */

.stack { margin: 0; padding: 0; list-style: none; }

.stack__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
}

.stack__row:last-child { border-bottom: 0; }

.stack__link {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 2px 14px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.stack__link:hover { color: var(--text); }
.stack__link:hover .stack__name { color: var(--phosphor); }

.stack__code {
  grid-row: span 2;
  align-self: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.stack__name {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.stack__note { font-size: 11px; letter-spacing: 0.04em; color: var(--text-2); }

/* ---- point lists (the autopilot partner's two panels) -------------------------------------- */

.point-list { margin: 0; padding: 0; list-style: none; }

.point-list li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--text-2);
}

.point-list li:last-child { border-bottom: 0; }

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  background: var(--phosphor);
}

.sync {
  padding: 30px 24px;
  border: 1px solid var(--rule-box);
  background: var(--ground);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.sync__clock {
  max-width: 240px;
  margin: 0 auto;
  padding: 12px 8px;
  border: 1px solid var(--text-2);
}

.sync__name { font-weight: 600; }
.sync__sub { margin-top: 2px; font-size: 11px; color: var(--text-3); }
.sync__stem { width: 1px; height: 22px; margin: 0 auto; background: var(--text-2); }
.sync__bus { height: 1px; margin: 0 16.6%; background: var(--text-2); }

.sync__drops {
  display: flex;
  gap: 12px;
  height: 22px;
}

.sync__drops span { position: relative; flex: 1 1 0; }

.sync__drops span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--text-2);
}

.sync__drops .sync__drop--open::after { border-left: 1px dashed var(--text-3); }

.sync__boards {
  display: flex;
  gap: 12px;
}

.sync__board {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 6px;
  border: 1px dashed var(--text-3);
}

.sync__board--measured { border: 1.5px solid var(--phosphor); }
.sync__board--measured .sync__name { color: var(--phosphor); }
.sync__board--measured .sync__sub { color: var(--text-2); }

.plot-slot__frame {
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--rule-box);
  background-color: var(--ground);
  background-image:
    linear-gradient(var(--grid-plot) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-plot) 1px, transparent 1px);
  background-size: 10% 12.5%;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-2);
}

.plot-slot__todo { margin-top: 6px; font-size: 11px; color: var(--amber); }

.plot-slot__caption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

/* ---- documents page ----------------------------------------------------------------------- */

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 24px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.doc-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 40px;
  padding: 26px 24px;
  background: var(--ground);
}

.doc-item__number { flex: 0 0 170px; }
.doc-item__code { font-size: 18px; font-weight: 600; }
.doc-item__rev { margin-top: 4px; font-size: 11px; letter-spacing: 0.12em; color: var(--text-3); }
.doc-item__main { flex: 1 1 420px; min-width: 0; }

.doc-item__title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.doc-item__summary { margin-top: 6px; font-size: 15px; color: var(--text-2); }

.doc-item__status {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* ---- about -------------------------------------------------------------------------------- */

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 64px;
}

.about__main { flex: 1 1 460px; min-width: 0; }

.about__aside {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.credo {
  max-width: 22ch;
  padding-top: 16px;
  border-top: 1px solid var(--phosphor);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.notice {
  padding: 16px 18px;
  border: 1px solid var(--rule-box);
}

.notice__title { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; }
.notice__text { margin-top: 6px; font-size: 14px; color: var(--text-2); }

/* ---- utilities (last, so they win over the component they adjust) ------------------------- */

.mw-16 { max-width: 16ch; }
.mw-18 { max-width: 18ch; }
.mw-20 { max-width: 20ch; }
.mw-22 { max-width: 22ch; }
.mw-24 { max-width: 24ch; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-24 { margin-top: 24px; }
.mt-30 { margin-top: 30px; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }
.mt-44 { margin-top: 44px; }
.mt-56 { margin-top: 56px; }
.mb-28 { margin-bottom: 28px; }

/* ---- phone width -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  .site-nav { gap: 0 16px; }
  .fact-list dt { flex-basis: 84px; }
  .fact-list--wide dt { flex-basis: 112px; }
  .doc-item__status { align-items: flex-start; }
  .log-row__date { flex-basis: auto; }
}
