:root {
  --bg: #0f1115;
  --surface: #161922;
  --border: #262a36;
  --text: #e4e6eb;
  --text-dim: #9aa0aa;
  --accent: #6366f1;
  --accent-hover: #7c7fee;
  --code-bg: #1d2030;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.tagline {
  color: var(--text-dim);
  font-size: 17px;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  color: var(--text);
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

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

strong {
  font-weight: 600;
}

code {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 14px;
  color: #d4d4d8;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
}

.nav a {
  font-size: 14px;
  color: var(--text-dim);
}

.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--surface);
  font-weight: 600;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f5f5f7;
    --border: #e2e2e5;
    --text: #1a1a1f;
    --text-dim: #6b6e76;
    --code-bg: #f5f5f7;
  }
}