*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
a { color: var(--court); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 32px 20px 64px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.eyebrow { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin: 0 0 .3em; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px; background: var(--surface); border-bottom: 1px solid var(--border); }
.nav__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--clay); }
.nav__brand:hover { text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 18px; }
.navlink { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.navlink:hover { color: var(--text); text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 14px; }

/* Theme toggle */
.theme-toggle { background: none; border: 1px solid var(--border); border-radius: var(--radius-pill);
  width: 34px; height: 34px; cursor: pointer; color: var(--text); font-size: 15px; line-height: 1; }
.theme-toggle:hover { background: var(--surface-2); }

/* Footer */
.footer { border-top: 1px solid var(--border); color: var(--text-muted);
  font-size: .82rem; text-align: center; padding: 24px 20px; }
