:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --text: #1c1d1f;
  --muted: #5f636b;
  --border: #e3e4e6;
  --accent: #2f6fde;
  --accent-text: #ffffff;
  --code-bg: #f1f2f4;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --surface: #1a1b1e;
    --text: #e8e9eb;
    --muted: #9da1a8;
    --border: #2c2e33;
    --accent: #6c9cf0;
    --accent-text: #0d1117;
    --code-bg: #24262a;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

h1 { font-size: 2.25rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; }
p, li { color: var(--muted); }
strong { color: var(--text); }
a { color: var(--accent); }

.brand {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.code output {
  font: 600 1.5rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  background: var(--code-bg);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

button {
  font: inherit;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-text);
  border: 0;
  border-radius: 6px;
  padding: 0.5rem 1rem;
}

footer {
  margin-top: 4rem;
  font-size: 0.875rem;
  color: var(--muted);
}
