/* Tokens from docs/DESIGN_SYSTEM.md section 4 (TK-C, TK-T, space, radius, container).
   System fonts only: nothing is loaded from a font website (section 4.2). */
:root {
  --midnight: #050D1A;
  --deep: #0A1628;
  --teal: #00C896;
  --teal-text: #007A5C;
  --ivory: #F8F7F4;
  --white: #FFFFFF;
  --muted: #4A5568;
  --line: #E2E8F0;
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--midnight);
  font: 400 17px/1.6 var(--font);
}

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.band { background: var(--midnight); color: var(--ivory); }
.band a { color: var(--teal); } /* teal text only on dark bands, 8.4:1 */

.brand { display: flex; align-items: center; gap: 12px; padding-top: 24px; }
.wordmark { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }

.hero { padding-top: 40px; padding-bottom: 48px; }
h1 { font-size: 40px; line-height: 1.15; font-weight: 600; margin: 0 0 16px; max-width: 22ch; }
.lead { margin: 0; max-width: 60ch; color: var(--ivory); }

main { padding-top: 16px; padding-bottom: 48px; }
section { max-width: 760px; padding-top: 32px; }
h2 { font-size: 28px; line-height: 1.25; font-weight: 600; margin: 0 0 12px; }
main a { color: var(--teal-text); }

.facts { margin: 0; border: 1px solid var(--line); border-radius: 12px; }
.facts div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.foot { padding-top: 32px; padding-bottom: 32px; }
.foot p { margin: 0 0 8px; overflow-wrap: anywhere; }
.small { font-size: 14px; color: var(--ivory); opacity: .85; }

a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
main a:focus-visible { outline-color: var(--midnight); } /* teal fails 3:1 on white */

.note { color: var(--muted); margin: 12px 0 0; }
.list:empty { display: none; }
.list span + span::before { content: " · "; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
