:root {
  color-scheme: dark;
  --ink: #f6f2e8;
  --muted: #b8b7b2;
  --night: #090b10;
  --panel: #111722;
  --line: #2d3542;
  --signal: #ffca3a;
  --cyan: #66e3ff;
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(102, 227, 255, 0.08) 50%, transparent 50.2%),
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: var(--cyan);
  text-underline-offset: 0.2em;
}

a:hover {
  color: white;
}

a:focus-visible,
button:focus-visible {
  outline: 0.25rem solid var(--signal);
  outline-offset: 0.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  color: var(--night);
  background: var(--signal);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

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

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: var(--ink);
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: end;
  min-height: 38rem;
  padding-block: 6rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--signal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.3rem;
}

.hero-note,
.notice {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-left: 0.35rem solid var(--signal);
  background: rgba(17, 23, 34, 0.92);
}

.hero-note strong,
.notice strong {
  color: var(--signal);
}

.lede {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 3rem 6rem;
}

.card {
  min-height: 16rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.card .number {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
}

.document {
  max-width: 52rem;
  padding-block: 4rem 7rem;
}

.document h1 {
  max-width: none;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.document li + li {
  margin-top: 0.55rem;
}

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

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 48rem) {
  header,
  .hero,
  .grid {
    display: block;
  }

  header {
    padding-block: 1rem;
  }

  nav ul {
    margin-top: 0.75rem;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem;
  }

  .hero-note {
    margin-top: 2.5rem;
  }

  .card {
    min-height: auto;
    margin-top: 1rem;
  }
}

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