:root {
  color-scheme: light dark;
  --bg: #0f1115;
  --surface: #171a21;
  --border: #2a3140;
  --text: #eef1f6;
  --muted: #9aa4b8;
  --accent: #5b8cff;
  --accent-soft: rgba(91, 140, 255, 0.12);
  --max-width: 720px;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --border: #d8dee9;
    --text: #111827;
    --muted: #5b6475;
    --accent: #2563eb;
    --accent-soft: rgba(37, 99, 235, 0.08);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, var(--accent-soft), transparent 42%), var(--bg);
  color: var(--text);
}

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

a:hover {
  text-decoration: none;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.site-header img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.site-header h1 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.site-header p {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

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

.card h2,
.card h3 {
  margin-top: 0;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.nav-links a {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  background: var(--surface);
}

.nav-links a:hover {
  border-color: var(--accent);
}

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

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}
