:root {
  color-scheme: light dark;
  --paper: #fff;
  --ink: #162231;
  --quiet: #46566a;
  --rule: #c9d5e1;
  --panel: #eaf3fc;
  --panel-rule: #b8cce1;
  --blue: #075bb6;
  --action: #0856a8;
  --action-hover: #064681;
  --good: #166248;
  --alert: #8a391c;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101922;
    --ink: #f1f5fb;
    --quiet: #b8c8da;
    --rule: #405166;
    --panel: #182b40;
    --panel-rule: #415e7e;
    --blue: #92c4fc;
    --action: #1766b7;
    --action-hover: #105698;
    --good: #96ddc3;
    --alert: #ffc4ab;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
p, dd { line-height: 1.65; }
a { color: var(--blue); text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.shell { width: min(70rem, 100% - 2 * clamp(1.25rem, 5vw, 4rem)); margin-inline: auto; }

.site-header {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
}
.site-header a, .source a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .875rem;
  font-weight: 650;
}
.site-header a { flex-shrink: 0; }
.wordmark { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .75rem; }
.wordmark strong { font-size: 1.25rem; letter-spacing: -.04em; }
.wordmark span { color: var(--quiet); font-size: .875rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 8vw, 7.25rem);
}
h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero-copy p { max-width: 36ch; margin-block: 1.25rem 1.75rem; color: var(--quiet); font-size: 1.125rem; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .625rem 1.125rem;
  border-radius: .5rem;
  background: var(--action);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.action:hover { background: var(--action-hover); }

.bench {
  padding: clamp(1.125rem, 3vw, 2.5rem);
  border: 1px solid var(--panel-rule);
  border-radius: 1rem;
  background: var(--panel);
}
.eyebrow { color: var(--quiet); font-size: .875rem; font-weight: 650; }
.bench h2 { margin-block: .25rem 1.5rem; font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.18; letter-spacing: -.04em; }
.bench dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: baseline;
  gap: .75rem;
  padding-block: .75rem;
  border-top: 1px solid var(--panel-rule);
}
.bench dl > div:last-child { padding-bottom: 0; }
.bench dt, .bench dd { font-size: .9375rem; }
.bench dt { color: var(--quiet); }
.bench dd { font-weight: 650; }
.documented { color: var(--good); }
.failed { color: var(--alert); }

.section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.375rem clamp(2rem, 8vw, 7.5rem);
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.75rem, 6vw, 5rem);
  scroll-margin-top: 1rem;
}
.section-heading h2 { margin-block: .375rem .875rem; font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.05em; text-wrap: balance; }
.section-heading p:not(.eyebrow), .steps p, .network-options dd { color: var(--quiet); }
.steps { padding-inline-start: 1.75rem; margin: 0; }
.steps li { padding-inline-start: .25rem; }
.steps li + li { margin-top: 1.25rem; }
.steps li::marker { color: var(--blue); font-weight: 700; }
.steps h3, .network-options dt { margin-bottom: .25rem; font-size: 1.125rem; font-weight: 700; }
.source { grid-column: 2; }
.network-options > div { padding-block: .875rem; border-bottom: 1px solid var(--rule); }
.network-options > div:first-child { padding-top: 0; }
.network-options > div:last-child { border-bottom: 0; padding-bottom: 0; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 1.5rem 2.5rem; color: var(--quiet); font-size: .875rem; }

@media (max-width: 48rem) {
  .hero, .section { grid-template-columns: minmax(0, 1fr); }
  .hero { align-items: start; }
  .hero-copy p, .section-heading p { max-width: 42ch; }
  .source { grid-column: 1; }
}
