:root {
  --ink: #1a2433;
  --muted: #4c5b6a;
  --paper: #eef3f4;
  --white: #ffffff;
  --line: #d0dbe1;
  --steel: #1f4e5f;
  --steel-deep: #163844;
  --clay: #c2613a;
  --clay-deep: #9a4a2b;
  --night: #121a22;
  --night-2: #0c1218;
  --ok: #2f6f4e;
  --header: 72px;
  --measure: 66ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Bahnschrift, "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--steel);
}

a:hover {
  color: var(--clay-deep);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

:target {
  scroll-margin-top: calc(var(--header) + 12px);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--night);
  color: var(--white);
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 var(--steel);
}

.header-bar {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand span {
  display: block;
  font-size: 0.95rem;
}

.brand small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--clay);
  color: var(--steel-deep);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--steel);
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--steel-deep);
  color: var(--white);
}

.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-grid > *,
.split > *,
.device-grid > *,
.steps > *,
.footer-grid > *,
.section-head > * {
  min-width: 0;
}

.kicker {
  margin: 0 0 10px;
  color: var(--steel);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lead {
  margin: 0 0 18px;
  max-width: var(--measure);
  color: var(--ink);
  font-size: 1.12rem;
}

.note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-row {
  min-height: 52px;
  display: flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  background: var(--clay);
  color: var(--white);
  text-decoration: none;
  font-weight: 650;
}

.btn:hover {
  background: var(--clay-deep);
  color: var(--white);
}

.status-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 8px solid var(--clay);
  padding: 12px;
  max-width: 100%;
}

.status-board img {
  width: 100%;
  height: auto;
}

.band {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px 28px;
  margin-bottom: 22px;
  align-items: end;
}

h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.prose p {
  margin: 0 0 14px;
  max-width: var(--measure);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 8px 0 22px;
  padding: 0;
  list-style: none;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--steel);
  padding: 16px 14px 18px;
  min-height: 180px;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--clay-deep);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.device-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 16px 8px;
  border-bottom: 4px solid var(--steel);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  table-layout: fixed;
}

.spec th,
.spec td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec th {
  width: 38%;
  color: var(--steel-deep);
  font-weight: 650;
  background: #f7fbfb;
}

.spec tr:last-child th,
.spec tr:last-child td {
  border-bottom: 0;
}

.spec td {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
}

.feature-block {
  margin-top: 22px;
}

.feature-block h3 {
  margin-bottom: 8px;
}

.legal {
  background: var(--night);
  color: #e6eef2;
  padding: 48px 0;
}

.legal h2,
.legal a {
  color: #f3f7f8;
}

.legal p {
  max-width: var(--measure);
  margin: 0 0 14px;
  color: #d5e0e6;
}

.site-footer {
  background: var(--night-2);
  color: #c5d0d6;
  padding: 36px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer a {
  color: #f2f6f7;
}

.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #9fb0ba;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.updated {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid #243140;
  color: #9fb0ba;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .section-head,
  .split,
  .steps,
  .device-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: 0;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
