:root {
  color-scheme: light;
  --canvas: #f5f7fa;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #5f6b7a;
  --rule: #d7dee8;
  --action: #2257d6;
  --focus: #ffbf47;
  --error: #a33131;
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--action);
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}

a:hover { text-decoration-thickness: .16em; }

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-header {
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.wordmark {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -.02em;
  text-decoration: none;
}

.site-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.site-nav a { padding: 10px 0; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  flex: 1;
}

.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--rule); }
.kicker, .section-label, .parameter-rail small {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.kicker, .section-label { color: var(--muted); }
h1, h2 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 840px; margin: 12px 0 26px; font-size: clamp(46px, 7vw, 82px); }
h2 { margin: 10px 0 18px; font-size: clamp(30px, 4vw, 46px); }
h3 { margin: 38px 0 8px; font-size: 23px; line-height: 1.25; letter-spacing: -.015em; }
p, ul { max-width: 68ch; }
code { overflow-wrap: anywhere; word-break: break-word; }
.lede { color: var(--muted); font-size: 21px; }

.parameter-rail {
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  border-top: 2px solid var(--ink);
}
.parameter-rail li { position: relative; padding: 18px 12px 12px 0; border-right: 1px solid var(--rule); }
.parameter-rail li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--action);
}
.parameter-rail small, .parameter-rail b { display: block; }
.parameter-rail small { color: var(--muted); line-height: 1.4; }
.parameter-rail b { margin-top: 4px; font-size: 15px; }

.content-section, .policy-document { padding: 72px 0; }
.content-section + .content-section { border-top: 1px solid var(--rule); }
.policy-document { max-width: 760px; }
.policy-document h1 { font-size: clamp(42px, 6vw, 68px); }
.effective-date { margin-bottom: 42px; color: var(--muted); }
.disclosure {
  max-width: 760px;
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--action);
  background: var(--paper);
}
.disclosure strong { display: block; margin-bottom: 6px; }
.disclosure p { margin: 0; }
.policy-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }

.not-found {
  max-width: 720px;
  padding: 110px 0;
  border-left: 5px solid var(--error);
  padding-left: 28px;
}
.not-found h1 { color: var(--error); }

.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { padding: 8px 0; }

@media (max-width: 720px) {
  body { font-size: 16px; line-height: 1.6; }
  .site-header { padding: 18px 20px; align-items: flex-start; flex-direction: column; }
  main, .site-footer { width: min(100% - 32px, 1120px); }
  .hero { padding: 64px 0 52px; }
  h1 { font-size: clamp(42px, 14vw, 62px); }
  .lede { font-size: 18px; }
  .content-section, .policy-document { padding: 52px 0; }
  .parameter-rail { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .parameter-rail li { padding: 8px 12px 16px 20px; border-right: 0; }
  .parameter-rail li::before { top: 11px; left: -6px; }
  .site-footer { flex-direction: column; }
  .not-found { margin: 52px 0; padding: 34px 0 34px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
