:root {
  --bg: #fafaf7;
  --fg: #111;
  --muted: #555;
  --rule: #e6e4dd;
  --link: #0b5fff;
  --link-hover: #0033b8;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@supports (font-variation-settings: normal) {
  :root { --font-sans: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

header {
  margin-bottom: 3rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.tagline {
  margin: 0 0 0.75rem;
  color: var(--fg);
  font-size: 1rem;
  font-style: italic;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta a {
  color: var(--muted);
}

section {
  margin-top: 2.75rem;
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  margin: 1.5rem 0 0.4rem;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin: 0.35rem 0;
}

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover {
  border-bottom-color: var(--link-hover);
  color: var(--link-hover);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

@media (max-width: 480px) {
  html, body { font-size: 16px; }
  main { padding: 3rem 1.25rem 4rem; }
  h1 { font-size: 1.5rem; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --fg: #ededed;
    --muted: #9a9a9a;
    --rule: #2a2a2a;
    --link: #7aa7ff;
    --link-hover: #b3c9ff;
  }
}
