:root {
  --bg: #fbf8f2;
  --surface: #fffefb;
  --sunken: #f2ece0;
  --ink: #1f1b2e;
  --muted: #575166;
  --line: #e2d8c7;
  --primary: #2c3a73;
  --primary-ink: #fffefb;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15111f;
    --surface: #201a2f;
    --sunken: #100c18;
    --ink: #f7f0e6;
    --muted: #c6bcd0;
    --line: #3a3150;
    --primary: #a9b6ff;
    --primary-ink: #15111f;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem); line-height: 1.2; }
h3 { font-size: 1.375rem; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; font-size: 1rem; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.mark { font: 600 1.25rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.top nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.top nav a { font-size: 1rem; font-weight: 500; color: var(--muted); text-decoration: none; padding-block: 8px; display: inline-block; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

main { padding-bottom: 72px; }
.hero { padding-block: 64px 40px; }
.hero h1 { max-width: 20ch; }
.eyebrow { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 16px; }
.lead { font-size: clamp(1.25rem, 1.15rem + 0.35vw, 1.375rem); line-height: 1.5; color: var(--muted); max-width: 38rem; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: 1rem; font-weight: 600; text-decoration: none; }
.link { font-size: 1rem; font-weight: 600; }

.band { padding-top: 56px; border-top: 1px solid var(--line); margin-top: 56px; }
.band h2 { margin-bottom: 24px; }
.measure { max-width: 38rem; }
.cards { display: grid; gap: 16px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards li, .plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.cards h3 { margin-bottom: 8px; }
.cards p { font-size: 1rem; color: var(--muted); }

.facts { margin: 0; display: grid; border-top: 1px solid var(--line); max-width: 44rem; }
.facts div { display: grid; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .facts div { grid-template-columns: 11rem 1fr; gap: 24px; } }
.facts dt { font-size: 1rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }

.page-head { padding-block: 56px 32px; }
.updated { font-size: 0.875rem; color: var(--muted); margin-top: 16px; }
.prose > * { max-width: 38rem; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 12px; }
.prose p, .prose li { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 1.25em; }

.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan h2 { font-size: 1.5rem; }
.plan-note { font-size: 1rem; color: var(--muted); margin-top: 4px; }
.plan table { width: 100%; border-collapse: collapse; margin-block: 20px; }
.plan th, .plan td { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.plan th { text-align: left; font-weight: 500; color: var(--muted); }
.plan td { text-align: right; font: 600 1.25rem/1.2 var(--serif); }
.plan > p:last-child { font-size: 1rem; }
.notes { margin-top: 32px; max-width: 44rem; display: grid; gap: 12px; color: var(--muted); font-size: 1rem; }

.foot { background: var(--sunken); border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.foot a { color: var(--ink); }
.foot-grid { display: grid; gap: 32px; padding-block: 48px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.foot-name, .foot-head { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.foot li { margin-bottom: 8px; }
.foot-base { border-top: 1px solid var(--line); padding-block: 20px; }
