:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #5f6672;
  --line: #d9dde5;
  --paper: #ffffff;
  --soft: #f4f6f9;
  --red: #d73a49;
  --blue: #1674d1;
  --focus: #005fcc;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: #075ea8; }
a:hover { color: #033f73; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.topbar,
main,
footer {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

nav { display: flex; flex-wrap: wrap; gap: 20px; }
nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); }

.intro { padding: 88px 0 64px; }
.split-accent { border-top: 8px solid var(--red); border-bottom: 8px solid var(--blue); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.18; }
h1 { margin: 0; font-size: clamp(42px, 8vw, 72px); }
h2 { margin: 48px 0 12px; font-size: 25px; }
.lead { max-width: 720px; color: #333842; font-size: 21px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.actions a { font-weight: 750; }
.actions .primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  color: white;
  background: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

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

.facts div { min-height: 150px; padding: 28px; background: var(--soft); }
.facts strong, .facts span { display: block; }
.facts span { margin-top: 8px; color: var(--muted); }

.document { max-width: 760px; padding: 70px 0 90px; }
.document h1 { font-size: clamp(38px, 7vw, 58px); }
.document section { padding-top: 2px; }
.document li + li { margin-top: 8px; }

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  .topbar { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  nav { gap: 14px; }
  .intro { padding: 58px 0 46px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { min-height: auto; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 0; }
}
