:root {
  --text: #0A0A0A;
  --text-muted: #525252;
  --bg: #fafafa;
  --border: #e5e5e5;
}

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

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 96px 16px 64px;
}

h1, h2 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: 40px; letter-spacing: -0.02em; }
h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 2em; }

p { margin: 0 0 1em; }

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover, a:focus-visible { color: var(--text-muted); }

footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
footer p { margin: 0; }

@media (max-width: 640px) {
  main { padding-top: 64px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
}

.muted { color: var(--text-muted); }

footer a { color: var(--text-muted); }
footer a:hover, footer a:focus-visible { color: var(--text); }
