:root {
  --bg: #FAFAF8;
  --fg: #1A1A1A;
  --fg-muted: #6B6B6B;
  --accent: #8B2500;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html, body {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.8;
  font-weight: 300;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

main {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 28px;
  margin-bottom: 6px;
}

p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 14px;
}

em {
  font-family: var(--serif);
  font-style: italic;
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
}

footer p {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.4;
  margin: 0;
}
