:root {
  --paper: #e6eaee;
  --ink: #172026;
  --mute: #5c6a74;
  --line: #c3ccd4;
  --panel: #f4f6f8;
  --oxide: #b85c2c;
  --rack: #1a2229;
  --rack-line: #2d3a44;
  --led: #e0a15a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 64px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Familjen Grotesk", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: #f0d3c2; }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--panel);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
  padding: 0 28px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
}
.mark {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.mark-ash {
  font-size: 26px;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -3px 0 var(--oxide);
}
.mark-proxy {
  margin-left: 1px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--mute);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--mute);
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--oxide); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -5px; }
.nav-toggle span:after { top: 5px; }

.wrap { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 320px);
  gap: 40px;
  align-items: center;
  padding: 56px 0 48px;
}
.kicker {
  margin: 0 0 18px;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--oxide);
}
h1 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
  font-size: clamp(44px, 6.4vw, 76px);
  max-width: 11ch;
}
.lede {
  max-width: 38ch;
  margin: 22px 0 0;
  color: var(--mute);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--panel);
  transition: transform 280ms var(--ease), background 280ms var(--ease), color 280ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; transform: none; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--panel); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 3px;
}

.rack {
  background: var(--rack);
  color: #d5dde3;
  padding: 14px 14px 18px;
  justify-self: end;
  width: 100%;
}
.rack-top, .unit {
  display: grid;
  grid-template-columns: 36px 1fr 14px;
  gap: 10px;
  align-items: center;
}
.rack-top {
  grid-template-columns: 1fr auto;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: #8ea0ad;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--rack-line);
}
.rack ol { list-style: none; margin: 0; padding: 8px 0 0; }
.unit {
  padding: 7px 8px;
  border-bottom: 1px solid var(--rack-line);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 15px;
}
.unit span { color: #7f92a0; }
.led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a4650;
  justify-self: end;
}
.unit.live .led {
  background: var(--led);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip div { padding: 18px 20px 20px; }
.strip div + div { border-left: 1px solid var(--line); }
.strip dt {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--mute);
}
.strip dd { margin: 6px 0 0; font-size: 20px; letter-spacing: -0.03em; }

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.page { padding-top: 48px; }
h2 {
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head p { margin: 0; color: var(--mute); max-width: 42ch; }

.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
  font-weight: 400;
}
.spec th {
  width: 28%;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--mute);
}
.spec tbody tr:hover th,
.spec tbody tr:hover td { background: color-mix(in srgb, var(--panel) 80%, transparent); }
.spec a { color: var(--oxide); }
.token {
  display: inline;
  padding: 1px 6px;
  background: var(--rack);
  color: #d7e0e6;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.92em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.split h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.split p { margin: 0; color: var(--mute); }
.split article + article { margin-top: 28px; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.6;
  background: var(--rack);
  color: #d7e0e6;
  padding: 22px 24px;
  overflow-x: auto;
  margin: 0;
}
.mono .dim { color: #8ea0ad; }

.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}
label { display: grid; gap: 6px; }
label span {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
}
input, textarea, select {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 12px 12px;
  border-radius: 0;
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note { color: var(--mute); font-size: 15px; }
.form-status { min-height: 1.4em; margin: 0; }
.form-status.ok { color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--mute);
  font-size: 14px;
}
.site-footer a { color: var(--ink); }

@media (max-width: 800px) {
  .site-header { padding: 0 16px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 20px; width: 100%; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .hero, .section-head, .split, .strip, .form-row {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 32px; gap: 28px; }
  .rack { justify-self: stretch; max-width: 420px; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  section { padding: 64px 0; }
  .site-footer { flex-direction: column; padding: 24px 16px 32px; }
  .spec th { width: auto; display: block; padding-bottom: 0; }
  .spec td { display: block; padding-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .unit.live .led { animation: none; }
  .btn { transition: none; }
}
