:root {
  color-scheme: dark;
  --background: #050608;
  --panel: #111319;
  --text: #f2f3f6;
  --muted: #b7bec9;
  --line: #303642;
  --blue: #5a9cff;
  --green: #24e36a;
  --measure: 72rem;
}

* { box-sizing: border-box; }

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% -5%, rgb(60 139 255 / 18%), transparent 28rem),
    linear-gradient(180deg, #080a0e 0%, var(--background) 38%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: #8db9ff; }
a:focus-visible { border-radius: 0.2rem; outline: 0.2rem solid var(--green); outline-offset: 0.2rem; }

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  transform: translateY(-200%);
  border-radius: 0.5rem;
  background: var(--text);
  color: var(--background);
  padding: 0.65rem 0.9rem;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer,
main {
  width: min(calc(100% - 2rem), var(--measure));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
}

.brand {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand span { color: var(--blue); }
nav ul { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; margin: 0; padding: 0; list-style: none; }
nav a { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
nav a[aria-current="page"] { color: var(--text); text-decoration-color: var(--blue); text-decoration-thickness: 0.15rem; }
main { padding-block: clamp(3rem, 8vw, 6rem); }

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 { font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif; line-height: 1; text-transform: uppercase; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(3rem, 10vw, 6.5rem); letter-spacing: -0.025em; }
.lede { max-width: 46rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2.2vw, 1.3rem); }
.updated { display: inline-block; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); padding: 0.35rem 0.75rem; font-size: 0.85rem; }
.content { display: grid; gap: 1rem; max-width: 54rem; margin-top: clamp(3rem, 8vw, 5rem); }
section { border: 1px solid var(--line); border-radius: 1rem; background: rgb(17 19 25 / 86%); padding: clamp(1.25rem, 4vw, 2rem); }
h2 { margin: 0 0 0.9rem; font-size: clamp(1.55rem, 4vw, 2.15rem); letter-spacing: 0.015em; }
p, ul, ol { margin-top: 0; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
li + li { margin-top: 0.55rem; }
.callout { border-left: 0.25rem solid var(--blue); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-block: 1.5rem 2.5rem;
  font-size: 0.9rem;
}

.site-footer p { margin: 0; }

@media (max-width: 44rem) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav ul { gap: 0.5rem 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
