/* King of the Geeks: site stylesheet.

   The "control room" look of the v1 design canvas (design/canvas): graphite grounds, one hi-vis
   orange accent, Archivo for display and body (its width axis widens the headings) and JetBrains
   Mono for every label, number and code. Values are the canvas's, moved out of inline styles so
   the content-security policy can keep style-src to 'self'.

   Layout is flex-wrap with flex-basis throughout, as the canvas drew it: columns stack on their
   own at phone width, with no breakpoints to keep in step. */

/* ---- fonts (SIL OFL 1.1; provenance in /fonts/README.md) --------------------------------- */

/* Each url names the font's build fingerprint, so the font is served cached for a year, like
   every other asset. A changed font gets a new fingerprint, and HeadersAndEndpointsTests says
   where to find the new name. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.7jbqytjrpm.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.o4br5m92ov.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;

  --bg: #0A0C0F;
  --bg-2: #0D1014;
  --bg-3: #07090B;
  --panel: #0E1216;
  --panel-2: #171C22;
  --unit: #151A20;
  --unit-line: #262E37;
  --grid: #10141A;
  --contour: #161C23;
  --hatch: #131820;

  --line: #161B21;
  --line-2: #1A2027;
  --line-3: #222931;
  --line-4: #2E3741;
  --line-5: #3A444F;
  --line-6: #46515D;

  /* Text on --bg: 16.8, 12.6, 9.0, 5.4 and 6.6 to 1. --muted passes 4.5 on every ground here.
     No text is set below 12 px: mono capitals at 10.5 to 11.5 px were hard to read on a phone
     (site audit, 2026-12-01; StylesheetTests holds it). */
  --text: #ECEEF0;
  --text-2: #C9CED4;
  --text-3: #A9B0B9;
  --muted: #7E8792;
  --muted-2: #8E97A2;

  /* Hi-vis orange. Dark text on it (6.9 to 1), never white (2.9 to 1). */
  --accent: #FF6B1A;
  --accent-soft: rgba(255, 107, 26, 0.10);
  --accent-line: rgba(255, 107, 26, 0.45);
  --on-accent: #0A0C0F;
  --on-accent-2: #1E2228;

  /* The design's "Expanded" headline width: Archivo's wdth axis at 112%. */
  --display-stretch: 112%;

  --font-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

/* ---- base ---------------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.ribbon {
  padding: 8px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--accent-line);
  background: #1A1006;
  color: #F2C4A5;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- layout -------------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1312px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 56px);
}

.band {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.band--alt {
  background: var(--bg-2);
}

/* The grid behind a hero: graph paper, barely there. */
.band--grid {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
}

.band--contours {
  overflow: hidden;
}

.band--contours > .wrap {
  position: relative;
}

.band--accent {
  border-bottom: 0;
  background: var(--accent);
  color: var(--on-accent);
}

.pad {
  padding-block: clamp(80px, 9vw, 128px);
}

.pad-hero {
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(72px, 8vw, 120px);
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 72px;
}

.split--top {
  align-items: flex-start;
}

.split__main {
  flex: 1.3 1 520px;
  min-width: 0;
}

.split__aside {
  flex: 1 1 400px;
  min-width: 0;
}

.split--even > .split__main,
.split--even > .split__aside {
  flex: 1 1 460px;
}

.split--about > .split__aside {
  flex: 0 1 400px;
}

/* The canvas tunes some sections' columns by hand. These carry its values where the default
   would visibly move a column or rewrap a grid inside one (measured against it at 1440 px). */
.split--page-hero > .split__main {
  flex: 1.15 1 500px;
}

.split--page-hero > .split__aside {
  flex: 1 1 420px;
}

.split--product-hero > .split__main {
  flex: 1.2 1 500px;
}

.split--product-hero > .split__aside {
  flex: 1 1 440px;
}

.split--aside-wide > .split__main {
  flex: 1 1 440px;
}

.split--aside-wide > .split__aside {
  flex: 1.1 1 480px;
}

.split--aside-wider > .split__main {
  flex: 1 1 420px;
}

.split--aside-wider > .split__aside {
  flex: 1.2 1 520px;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.stack--tight {
  gap: 16px;
}

.split__aside.stack {
  align-items: stretch;
}

.head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 64px;
  margin-bottom: 56px;
}

.head--single {
  margin-bottom: 44px;
}

.head__title {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.head__aside {
  flex: 1 1 340px;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-3);
}

/* Hairline grids: the gaps show the line colour behind the cells. */
.cells {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  border: 1px solid var(--line-2);
  background: var(--line-2);
}

.cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg);
}

.band--alt .cell {
  background: var(--bg-2);
}

.cell--wide {
  flex: 1 1 440px;
}

.cell--half {
  flex: 1 1 250px;
}

.cell--third {
  flex: 1 1 300px;
}

/* ---- type ---------------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.h1 {
  font-size: clamp(46px, 5.6vw, 84px);
  font-weight: 820;
  font-stretch: var(--display-stretch);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--text);
}

.h1--page {
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 1;
}

.h1__dim {
  color: var(--muted);
}

.h2 {
  max-width: 820px;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 780;
  font-stretch: var(--display-stretch);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
}

.h2--big {
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.025em;
}

.h2--medium {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.06;
}

.h2--on-accent {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 820;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--on-accent);
}

.h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 760;
  font-stretch: var(--display-stretch);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}

.h3--medium {
  font-size: 24px;
}

.h3--small {
  font-size: 21px;
  font-weight: 720;
  line-height: 1.2;
}

.h3--step {
  font-size: 19px;
  font-weight: 720;
  line-height: 1.25;
}

.lead {
  max-width: 580px;
  font-size: clamp(18px, 1.45vw, 20px);
  line-height: 1.6;
  color: var(--text-3);
}

.lead--bright {
  color: var(--text-2);
}

.text {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-3);
}

.small {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-3);
}

.mono-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono-note--plain {
  max-width: 560px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: none;
}

.caption {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.index {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* A fact still to come: visible, never invented. */
.pending {
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--line-2);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.85em;
  white-space: nowrap;
}

/* ---- buttons and links --------------------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--large {
  min-height: 56px;
  padding: 0 26px;
}

.btn--ghost {
  border-color: var(--line-4);
  background: transparent;
  color: var(--text);
  font-weight: 600;
}

.btn--ghost:hover {
  border-color: var(--line-6);
  background: var(--panel-2);
  filter: none;
}

.btn--dark {
  border-color: var(--bg);
  background: var(--bg);
  color: var(--text);
}

.band--accent a:focus-visible {
  outline-color: var(--on-accent);
}

.arrow {
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.more:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.more--large {
  font-size: 16px;
}

/* ---- chips and badges ---------------------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 640px;
}

.chip {
  padding: 7px 12px;
  border: 1px solid var(--line-4);
  border-radius: 2px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.chips--small {
  gap: 6px;
}

.chips--small .chip {
  padding: 4px 9px;
  font-size: 12px;
}

/* Evidence chips. Field-tested is filled, measured outlined in the accent, vendor a solid grey
   outline, design dashed, open dotted: told apart by fill and line, not hue alone. */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line-5);
  border-radius: 2px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--field-tested {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.badge--measured {
  border-color: var(--accent);
  color: var(--accent);
}

.badge--vendor {
  border-style: solid;
}

.badge--design,
.badge--in-design {
  border-style: dashed;
  color: var(--text-3);
}

.badge--open {
  border-style: dotted;
  border-color: var(--line-6);
  color: var(--muted-2);
}

/* ---- status strip, header, footer ---------------------------------------------------------- */

.status-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}

.status-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-strip__location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.led {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-5);
}

.status-strip .led {
  width: 7px;
  height: 7px;
}

.led--on {
  background: var(--accent);
}

.led--blink-a { animation: blink 2.4s steps(1, end) infinite; }
.led--blink-b { animation: blink 1.6s steps(1, end) infinite; }
.led--blink-c { animation: blink 1.1s steps(1, end) infinite; }
.led--blink-d { animation: blink 3.1s steps(1, end) infinite; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.18; }
}

@media (prefers-reduced-motion: reduce) {
  .led { animation: none; }
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 12px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--text);
}

.wordmark__text {
  font-size: 15px;
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wordmark--small {
  min-height: 44px;
}

.wordmark--small .wordmark__text {
  font-size: 14px;
}

/* The logo pup, at its own shape (142 x 192): the height sets the size. */
.logo {
  flex: none;
  width: auto;
  height: 44px;
}

.wordmark--small .logo {
  height: 38px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-3);
  font-size: 15px;
  font-weight: 500;
}

.site-nav__link:hover {
  color: #FFFFFF;
}

.site-nav__link[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.site-nav .btn {
  margin-left: 4px;
}

/* The phone menu: the same links as .site-nav behind a <details> disclosure, which needs no
   script. Below 720 px the nav no longer fits beside the wordmark, so the menu takes its place;
   one of the two is displayed at any width, never both. */
.site-menu {
  display: none;
}

.site-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-4);
  border-radius: 3px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.site-menu__toggle::-webkit-details-marker {
  display: none;
}

.site-menu__toggle:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.site-menu[open] .site-menu__toggle {
  border-color: var(--accent);
}

/* Two bars that cross into an X while the menu is open. */
.site-menu__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 12px;
}

.site-menu__icon::before,
.site-menu__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.15s ease, top 0.15s ease;
}

.site-menu__icon::before { top: 2px; }
.site-menu__icon::after { top: 8px; }
.site-menu[open] .site-menu__icon::before { top: 5px; transform: rotate(45deg); }
.site-menu[open] .site-menu__icon::after { top: 5px; transform: rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .site-menu__icon::before,
  .site-menu__icon::after { transition: none; }
}

/* Drops below the header, full width, over the page rather than pushing it down. */
.site-menu__panel {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 8px clamp(16px, 4vw, 56px) 24px;
  border-bottom: 1px solid var(--line-3);
  background: var(--bg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.site-menu__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 18px;
  font-weight: 500;
}

.site-menu__link[aria-current="page"] {
  padding-left: 14px;
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--accent);
}

.site-menu__cta {
  justify-content: center;
  margin-top: 20px;
}

@media (max-width: 719.98px) {
  .status-strip__area {
    display: none;
  }

  .site-header {
    position: relative;
  }

  .site-header__inner {
    flex-wrap: nowrap;
    gap: 16px;
    padding-block: 10px;
  }

  .site-nav {
    display: none;
  }

  .site-menu {
    display: block;
  }
}

/* The wordmark gives way before the menu does on the narrowest phones. */
@media (max-width: 359.98px) {
  .wordmark__text {
    font-size: 13px;
    letter-spacing: 0.06em;
  }
}

.site-footer {
  background: var(--bg-3);
}

.site-footer > .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 32px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.site-footer__brand {
  flex: 2 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-footer__brand p {
  max-width: 340px;
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__col {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
}

.site-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-3);
  font-size: 15px;
}

.site-footer__col a:hover {
  color: var(--text);
}

.site-footer__col p {
  margin-bottom: 10px;
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer__col .site-footer__head {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__col .site-footer__mono {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- panels -------------------------------------------------------------------------------- */

.panel {
  border: 1px solid var(--line-3);
  border-radius: 4px;
  background: var(--panel);
}

/* Grounds, as the canvas paints them (measured, 2026-10-30). On the lighter alt band a panel sits
   darker than the band. On the darkest band, heroes keep --panel and cards elsewhere sit a step
   lighter (--lifted). */
.band--alt .panel {
  background: var(--bg);
}

.panel--lifted {
  background: var(--bg-2);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel__head-strong {
  color: var(--text);
}

.panel__head-accent {
  color: var(--accent);
}

.panel__foot {
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

.kv__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.kv__row dt {
  flex: 0 0 150px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kv__row dd {
  flex: 1 1 240px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

/* ---- home: rack, facts, services, points, timeline ----------------------------------------- */

.rack {
  max-width: 560px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rack__panel {
  padding-bottom: 18px;
}

.rack__panel .panel__head {
  padding: 16px 16px 0;
  border-bottom: 0;
}

.rack__online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
}

.rack__units {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 0;
}

.rack__row {
  display: flex;
  gap: 10px;
  height: 28px;
}

.rack__row--2u {
  height: 60px;
}

.rack__row--3u {
  height: 92px;
}

.rack__u {
  flex: none;
  width: 30px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 28px;
  text-align: right;
}

.rack__unit {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  border: 1px solid var(--unit-line);
  border-radius: 2px;
  background: var(--unit);
}

.rack__unit--ai {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.rack__unit--free {
  border-style: dashed;
  border-color: var(--line-5);
  background: transparent;
}

.rack__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rack__row--1u .rack__text {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.rack__label {
  flex: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rack__unit--ai .rack__label,
.rack__unit--free .rack__label {
  color: var(--accent);
}

.rack__sub {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rack__unit--ai .rack__sub {
  color: var(--text-2);
}

.vent {
  flex: none;
  width: 56px;
  height: 26px;
  background-image: repeating-linear-gradient(90deg, var(--unit-line) 0 2px, transparent 2px 6px);
}

.rack__unit--ai .vent {
  height: 50px;
  background-image: repeating-linear-gradient(90deg, var(--accent-line) 0 2px, transparent 2px 6px);
}

.leds {
  flex: none;
  display: flex;
  gap: 6px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  border-inline: 1px solid var(--line-2);
  background: var(--line-2);
}

.fact {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px 28px;
  background: var(--bg-2);
}

.fact__figure {
  color: var(--text);
  font-size: 34px;
  font-weight: 800;
  font-stretch: var(--display-stretch);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.fact__text {
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.45;
}

.service {
  gap: 20px;
  padding: clamp(28px, 3vw, 44px);
}

.service__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--text-3);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service__list {
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.service__more {
  margin-top: auto;
  align-self: flex-start;
}

.plus-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plus-list li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.45;
}

.plus-list li::before {
  content: "+";
  flex: none;
  color: var(--accent);
}

.plus-list--two {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 28px;
  max-width: 600px;
}

.plus-list--two li {
  flex: 1 1 250px;
}

.plus-list--rows {
  gap: 0;
  padding: 8px 24px 16px;
}

.plus-list--rows li {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

.plus-list--rows li:last-child {
  border-bottom: 0;
}

.plus-list--rows li::before {
  font-family: var(--font-mono);
}

.plus-list--dim li {
  color: var(--text-2);
}

.plus-list--dim li::before {
  color: var(--muted);
}

.point {
  gap: 10px;
}

.point__tag {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 32px;
}

.timeline__step {
  position: relative;
  flex: 1 1 230px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line-4);
}

.timeline__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.timeline__step .text {
  font-size: 16px;
}

/* ---- before and after, contours ----------------------------------------------------------- */

.compare__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.compare__row:last-child {
  border-bottom: 0;
}

.compare__before {
  flex: 1 1 200px;
  min-width: 0;
  color: var(--muted-2);
  font-size: 15.5px;
  line-height: 1.45;
}

.compare__arrow {
  flex: none;
  color: var(--accent);
  font-family: var(--font-mono);
}

.compare__after {
  flex: 1 1 200px;
  min-width: 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.45;
}

.contours {
  position: absolute;
  width: 900px;
  height: 900px;
  pointer-events: none;
  fill: none;
  stroke: var(--contour);
  stroke-width: 1;
}

.contours--right {
  top: -200px;
  right: -240px;
}

.contours--left {
  top: -260px;
  left: -320px;
}

/* ---- photographs to come ------------------------------------------------------------------- */

.photo-slot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line-3);
  border-radius: 4px;
  background-color: var(--panel);
  background-image: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 14px);
  text-align: center;
}

.photo-slot--wide {
  aspect-ratio: 16 / 10;
}

.photo-slot--portrait {
  aspect-ratio: 4 / 5;
}

.photo-slot__caption {
  padding: 6px 10px;
  border: 1px dashed var(--line-5);
  background: var(--panel);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-slot__note {
  padding: 2px 8px;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* A slot outside a hero, on the darkest band: a step lighter, labels with it (see .panel--lifted). */
.photo-slot--lifted,
.photo-slot--lifted .photo-slot__caption,
.photo-slot--lifted .photo-slot__note {
  background-color: var(--bg-2);
}

/* A supplied photograph: its own shape (from its width and height), no hatching, the note under
   it. After the shape and lifted rules on purpose, so it wins over both at equal specificity. */
.photo-slot--filled {
  align-items: stretch;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.photo-slot__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-3);
  border-radius: 4px;
}

.photo-slot--filled .photo-slot__note {
  padding: 0;
  background: none;
  line-height: 1.5;
}

/* ---- the call to action -------------------------------------------------------------------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 56px;
  padding-block: clamp(64px, 7vw, 104px);
}

.cta__copy {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta__text {
  max-width: 640px;
  color: var(--on-accent-2);
  font-size: 18px;
  line-height: 1.55;
}

/* ---- the magnetometer page ----------------------------------------------------------------- */

.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.status-line .badge {
  padding: 5px 10px;
  font-size: 12px;
}

.status-line__text {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-title {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-title__code {
  color: var(--text);
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 860;
  font-stretch: var(--display-stretch);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.product-title__line {
  max-width: 640px;
  color: var(--text-3);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 650;
  font-stretch: var(--display-stretch);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.figure {
  gap: 6px;
  padding: 20px 22px;
}

.figure__value {
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
  font-stretch: var(--display-stretch);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px 28px;
}

.flow__step {
  position: relative;
  flex: 1 1 170px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line-3);
  border-radius: 4px;
  background: var(--bg-2);
}

.band--alt .flow__step {
  background: var(--bg);
}

.flow__step--last {
  border-color: var(--accent-line);
}

.flow__index {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flow__badge {
  margin-top: auto;
}

/* Sits in the gap to the step's right. */
.flow__chevron {
  position: absolute;
  top: 50%;
  right: -21px;
  transform: translateY(-50%);
  color: var(--line-6);
  font-size: 22px;
  line-height: 1;
}

.measured {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.5;
}

.measured__head {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-3);
  border-radius: 4px;
  background: var(--bg);
}

.table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.table--wide {
  min-width: 860px;
}

.table caption {
  caption-side: bottom;
  padding: 14px 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: left;
}

.table thead th {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-3);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.table tbody th,
.table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table tbody tr:last-child th,
.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody th {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table td {
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.table .table__key {
  width: 24%;
}

.table .table__narrow {
  width: 150px;
}

.table tbody .table__service {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 720;
  font-stretch: var(--display-stretch);
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.table .table__dim {
  color: var(--text-3);
}

.table .table__price {
  white-space: nowrap;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 24px;
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 14px;
}

/* The noise figure's conditions, under the spec table: the figure is never shown without them. */
.noise {
  margin-top: 32px;
}

.noise .kv__row:last-child {
  border-bottom: 0;
}

.feature {
  gap: 8px;
  padding: 22px;
}

.feature__title {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.record {
  border-top: 1px solid var(--line-3);
}

.record__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}

.record__date {
  flex: 0 0 104px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.record__text {
  flex: 1 1 220px;
  min-width: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.fits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 28px;
}

.fits__head {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* One line beside its label, as the canvas draws it, not the 640 px a chip list stops at. */
.fits .chips {
  max-width: none;
}

/* ---- oil and gas --------------------------------------------------------------------------- */

.glossary {
  padding: 4px 0;
}

.glossary__row {
  display: flex;
  gap: 16px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
}

.glossary__row:last-child {
  border-bottom: 0;
}

.glossary dt {
  flex: 0 0 120px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
}

.glossary dd {
  flex: 1;
  min-width: 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
}

.feature-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--text);
}

.feature-link:hover {
  border-color: var(--accent);
}

.feature-link__copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-link__tag {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-link__title {
  font-size: 22px;
  font-weight: 720;
  font-stretch: var(--display-stretch);
  line-height: 1.3;
}

.feature-link__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

/* ---- hosting ------------------------------------------------------------------------------- */

.yyc {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 22px;
}

.yyc__mark {
  display: block;
  width: calc(100% - 48px);
  height: auto;
  margin-inline: 24px;
}

.yyc__mark text {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  font-family: var(--font-sans);
  font-size: 230px;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -6px;
}

.yyc__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-inline: 24px;
  border: 1px solid var(--line-2);
  background: var(--line-2);
}

.yyc__facts > div {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--panel);
}

.yyc__facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yyc__facts dd {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
}

.yyc .chips {
  margin-inline: 24px;
}

.versus {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.versus__side {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--bg);
}

.versus__side--ours {
  border-color: var(--accent-line);
}

.versus__head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-2);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.versus__side--ours .versus__head {
  color: var(--accent);
}

/* ---- apps ---------------------------------------------------------------------------------- */

/* The hero's answer to "where does it run?": one row per path, ours in the accent. */
.runs {
  padding: 4px 0;
}

.runs__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.runs__row:last-child {
  border-bottom: 0;
}

.runs dt {
  flex: 0 0 170px;
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.runs dd {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.runs__place {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.runs__row--ours .runs__place {
  color: var(--accent);
}

.runs__note {
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.5;
}

/* The same two paths in full, side by side. */
.paths {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.path {
  flex: 1 1 420px;
  min-width: 0;
}

.path--ours {
  border-color: var(--accent-line);
}

.path__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--line-2);
}

.path__tag {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.path--ours .path__tag {
  color: var(--accent);
}

.path__text {
  padding: 20px 24px 4px;
  color: var(--text-3);
  font-size: 16px;
  line-height: 1.6;
}

.paths__more {
  margin-top: 20px;
}

/* ---- the review page ----------------------------------------------------------------------- */

.next-steps {
  width: 100%;
  max-width: 520px;
  border-top: 1px solid var(--line-3);
}

.next-steps__item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}

.next-steps__item .index {
  flex: none;
  width: 28px;
}

.next-steps__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.next-steps__title {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.notice {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  background: var(--accent-soft);
}

.notice__head {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.notice__text {
  color: var(--text);
}

.direct {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.direct__head {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.direct__mono {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* ---- narrow screens ------------------------------------------------------------------------ */

@media (max-width: 640px) {
  .kv__row dt {
    flex-basis: 100%;
  }

  .glossary dt {
    flex-basis: 96px;
  }

  .runs dt {
    flex-basis: 100%;
  }

  .record__date {
    flex-basis: 100%;
  }

  /* Stacked steps read in order from their numbers; a chevron past the last one would hang
     over the 16 px gutter and scroll the page sideways (found at 375 px, 2026-10-30). */
  .flow__chevron {
    display: none;
  }

  /* Each table row becomes a card. Scrolled sideways at 375 px, the hosting table cut its
     descriptions mid-word and the spec table hid its Evidence column off the screen (site audit,
     2026-11-16). The column heads go; a cell that needs its head names it in data-label. */
  .table,
  .table tbody,
  .table caption {
    display: block;
  }

  .table,
  .table--wide {
    min-width: 0;
  }

  .table caption {
    border-bottom: 1px solid var(--line-3);
  }

  .table thead {
    display: none;
  }

  .table tbody tr {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
  }

  .table tbody tr:last-child {
    border-bottom: 0;
  }

  .table tbody th,
  .table td {
    display: block;
    width: auto;
    padding: 0;
    border-bottom: 0;
  }

  .table tbody th + td,
  .table td + td {
    margin-top: 8px;
  }

  .table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
}

/* The rack on phones: its lines wrap instead of ending in "…" (six were cut off at 375 px, site
   audit 2026-12-01). The vents give their width to the words, and a unit grows past its U height
   only when its words need the room. */
@media (max-width: 480px) {
  .rack .vent {
    display: none;
  }

  .rack__row {
    height: auto;
    min-height: 28px;
  }

  .rack__row--2u {
    min-height: 60px;
  }

  .rack__row--3u {
    min-height: 92px;
  }

  .rack__unit {
    padding-block: 6px;
  }

  .rack__row--1u .rack__text {
    flex-wrap: wrap;
    gap: 2px 12px;
  }

  .rack__sub {
    overflow: visible;
    white-space: normal;
  }
}
