/* NerdGolf site — shared by index.html and privacy.html */
:root {
  --fairway: #132619;
  --fairway-2: #1D3A26;
  --fairway-3: #2A4A33;
  --paper: #F7F4EC;
  --paper-2: #EFEAD9;
  --gold: #C9982E;
  --gold-soft: #E9D49A;
  --pencil: #23408E;
  --ink: #16201A;
  --muted: #5B6559;
  --on-dark: #E9EDE4;
  --on-dark-muted: #A8B3A4;
  --rule: #DDD6C2;
  --radius-phone: 44px;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Geist', system-ui, -apple-system, sans-serif;
  --hand: 'Caveat', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Top bar ─────────────────────────────────────────── */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 21px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.topbar nav { display: flex; gap: 26px; font-size: 15px; }
.topbar nav a { text-decoration: none; opacity: .8; }
.topbar nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ── Type ────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; font-variation-settings: 'opsz' 144; }
h1 { font-size: clamp(44px, 7.2vw, 88px); line-height: 0.98; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; }
h3 { font-size: 22px; line-height: 1.2; font-variation-settings: 'opsz' 24; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; max-width: 34em; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--fairway); color: var(--on-dark-muted); padding: 44px 0 56px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; }
