@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #eeefea;
  --line: #d3d7cc;
  --ink: #182030;
  --ink-2: #4b5263;
  --cobalt: #2d55e0;
  --accent: #182030;
  --accent-ink: #eeefea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 1.125rem;
  line-height: 1.55;
  background-image:
    linear-gradient(to right, rgba(24, 32, 48, .065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(24, 32, 48, .065) 1px, transparent 1px);
  background-size: 40px 40px;
}

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }

.top { padding: 24px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-stretch: 112%; text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.brand rect { fill: var(--ink); }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 1rem; }

a { color: var(--cobalt); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: underline; }

main { padding: clamp(32px, 6vw, 88px) 0 96px; }
.doc { max-width: 62ch; }

.eyebrow { margin: 0 0 16px; color: var(--ink-2); font-size: .9375rem; font-weight: 600; }
h1 {
  margin: 0;
  font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.75rem);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.03em;
  line-height: .92;
  overflow-wrap: anywhere;
}
.doc h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); }
h2 { margin: 48px 0 12px; font-size: 1.625rem; font-weight: 750; font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.15; }
h3 { margin: 28px 0 8px; font-size: 1.125rem; font-weight: 700; }
p, ul, table { margin: 0 0 16px; }
ul { padding-left: 1.25em; }
li { margin-bottom: 6px; }
.lede { margin-top: 24px; max-width: 46ch; font-size: 1.375rem; line-height: 1.45; color: var(--ink-2); }
.meta { color: var(--ink-2); font-size: 1rem; }

.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; }
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 1.5em;
  border-radius: 999px; font-weight: 650; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
}
.btn:hover { filter: brightness(1.1); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: rgba(24, 32, 48, .06); filter: none; }

.hero { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 7fr 5fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 64px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { background: var(--paper); padding: 20px; }
.facts dt { color: var(--ink-2); font-size: .9375rem; }
.facts dd { margin: 4px 0 0; font-weight: 700; font-size: 1.25rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 72px; }
.features h2 { margin-top: 0; font-size: 1.25rem; }
.features p { color: var(--ink-2); }

.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--ink-2); font-size: .9375rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); }
