:root {
  --bg: #fafaf9;
  --fg: #1c1917;
  --muted: #57534e;
  --accent: #059669;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0a09;
    --fg: #f5f5f4;
    --muted: #a8a29e;
    --accent: #34d399;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.6;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.brace {
  margin: 0;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.25rem;
}

h1 {
  margin: 0.25rem 0;
  font-family: var(--mono);
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  letter-spacing: -0.03em;
}

.tagline { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.125rem; }

nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a:hover, a:focus-visible { border-bottom-color: currentColor; }

footer { padding: 1.5rem 1rem; text-align: center; color: var(--muted); }
