:root {
  color-scheme: dark;
  --ink: #f2f2f0;
  --muted: #92928d;
  --faint: #656560;
  --line: #2a2a27;
  --paper: #0d0d0c;
  --panel: #141412;
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.045), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  line-height: 1.72;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:hover,
a:focus-visible {
  color: #fff;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

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

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

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

.brand {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
}

nav a,
.eyebrow,
footer {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

.hero {
  min-height: min(700px, calc(100svh - 88px));
  display: grid;
  align-content: center;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 30px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 30px;
  font-size: clamp(64px, 12vw, 154px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

h2 {
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

h3 {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 50ch;
  color: #b9b9b4;
  font-size: clamp(16px, 2vw, 21px);
}

.cta {
  width: fit-content;
  display: inline-block;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid #555550;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 260px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--panel);
}

.card p,
.prose p,
.prose li {
  color: #a8a8a3;
}

.number {
  display: block;
  margin-bottom: 70px;
  color: var(--faint);
  font-size: 11px;
}

.prose {
  width: min(100%, 54rem);
  padding: 80px 0 110px;
}

.prose h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 90px);
}

.prose h2 {
  margin-top: 60px;
  font-size: clamp(24px, 4vw, 38px);
}

.prose h3 {
  margin-top: 36px;
}

.prose li + li {
  margin-top: 10px;
}

.notice {
  margin: 42px 0;
  padding: 24px;
  border: 1px solid var(--line);
  color: #cacac5;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 34px 0 52px;
  border-top: 1px solid var(--line);
}

footer span {
  margin-right: auto;
}

@media (max-width: 720px) {
  header {
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 220px;
  }
}

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