:root {
  --ink: #12172b;
  --muted: #5b6478;
  --line: #e2e6ef;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --accent: #2563a8;
  --accent-soft: #e8f0fa;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f8;
    --muted: #9aa4ba;
    --line: #2a3145;
    --surface: #0f1322;
    --surface-alt: #161c2d;
    --accent: #7cb7f2;
    --accent-soft: #1b2740;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.wrap {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

header.site {
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(160deg, #16203c, #25386e);
  display: grid;
  place-items: center;
  color: #4bb8fa;
  font-size: 13px;
  font-weight: 700;
}

nav.site {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
}

nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--accent);
}

main { padding: 56px 0 72px; }

h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

h2 {
  font-size: 21px;
  line-height: 1.35;
  margin: 44px 0 12px;
  font-weight: 650;
}

h3 {
  font-size: 17px;
  margin: 26px 0 6px;
  font-weight: 600;
}

p { margin: 0 0 14px; }

.lede {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 32px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: -8px;
  margin-bottom: 32px;
}

ul { padding-left: 22px; }
li { margin-bottom: 8px; }

.hero {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.facts div {
  background: var(--surface-alt);
  padding: 16px 18px;
}

.facts dt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2px;
}

.facts dd {
  margin: 0;
  font-weight: 550;
}

.note {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 18px 0 24px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

code {
  font: 14px ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
}

footer.site a { color: var(--muted); }

@media (min-width: 720px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; }
  h1 { font-size: 44px; }
}
