@font-face { font-family: "Geograph"; src: url("/fonts/geographwebregular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Geograph"; font-weight: 500; src: url("/fonts/geographwebmedium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Cartograph CF"; src: url("/fonts/CartographCF-Regular.otf") format("opentype"); font-display: swap; }

:root {
  --navy: #102c56;
  --ivory: #fffcf6;
  --blue: #246bee;
  --orange: #f87a3b;
  --muted: #e6ecf1;
  --line: rgba(16, 44, 86, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--navy);
  font: 17px/1.6 "Geograph", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.mono {
  font-family: "Cartograph CF", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wrap { width: 100%; padding: 0 48px; }

/* Header */
.top { border-bottom: 1px solid var(--navy); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 26px; width: auto; display: block; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--navy); border-radius: 999px; padding: 6px 12px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

main { flex: 1; }

/* Home */
.hero { display: flex; align-items: center; padding: 96px 0; }
.hero h1 {
  font-weight: 500;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lede { margin-top: 28px; font-size: 20px; max-width: 34em; opacity: 0.8; }
.hero p.lede a { color: var(--blue); }

/* Legal pages */
.doc { padding: 96px 0 120px; }
.doc .wrap > * { max-width: 720px; }
.doc .mono { opacity: 0.7; }
.doc h1 { font-weight: 500; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.03em; line-height: 1.05; margin: 20px 0 16px; }
.doc .updated { opacity: 0.6; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--navy); }
.doc h2 { font-weight: 500; font-size: 22px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.doc p, .doc ul { opacity: 0.85; margin-bottom: 14px; }
.doc ul { padding-left: 1.25em; }
.doc li { margin-bottom: 6px; }

/* Footer */
.foot { border-top: 1px solid var(--navy); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; }
.foot span { opacity: 0.6; }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 64px 0; }
  .doc { padding: 64px 0 80px; }
}
