@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #0E0F12;
  --color-surface: #16181D;
  --color-surface-raised: #1E2128;
  --color-border: #2A2E37;
  --color-text-high: #F5F7FA;
  --color-text-medium: #A8B0BD;
  --color-text-low: #8A93A3;
  --color-primary: #B8F23D;
  --color-on-primary: #0E0F12;
  --color-secondary: #4DA3FF;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-md: 12px;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text-medium);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-secondary); text-underline-offset: 2px; }
a:hover { color: var(--color-primary); }

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

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 600;
  text-decoration: none;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 24px 24px 0;
}

.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__mark { flex: 0 0 auto; display: block; }
.brand__word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-high);
}
.masthead__back { font-size: 14px; }

.doc {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.doc__eyebrow {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-primary);
}

h1 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--color-text-high);
}

.doc__meta { margin: 0 0 32px; font-size: 14px; color: var(--color-text-low); }

h2 {
  margin: 40px 0 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--color-text-high);
}

h3 {
  margin: 28px 0 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text-high);
}

p { margin: 0 0 16px; }
strong { color: var(--color-text-high); font-weight: 600; }

ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 6px; }

code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--color-surface-raised);
  color: var(--color-text-high);
  font-size: 0.9em;
}

.facts {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 15px;

  table-layout: auto;
}

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

.facts thead th {
  background: var(--color-surface-raised);
  color: var(--color-text-high);
  font-weight: 600;
}

.facts tbody th {
  width: 30%;
  background: var(--color-surface);
  color: var(--color-text-high);
  font-weight: 600;
  white-space: nowrap;
}

.doc-footer {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: var(--measure);
  margin: 48px auto 0;
  padding: 20px 24px 40px;
  border-top: 1px solid var(--color-surface-raised);
  font-size: 13px;
  color: var(--color-text-low);
}
.doc-footer__home { font-family: var(--font-heading); font-weight: 700; }

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  .doc { padding-top: 28px; }

  .facts tbody th { width: auto; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
