:root {
  color-scheme: light dark;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --border: #E3E5EA;
  --text: #1B1E27;
  --text-muted: #62687A;
  --accent: #174B94;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1115;
    --surface: #181B21;
    --border: #2A2E38;
    --text: #EDEEF2;
    --text-muted: #9299AB;
    --accent: #6BB6FF;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

header.page {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

header.page img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

header.page .name {
  font-size: 20px;
  font-weight: 700;
}

nav.crumbs {
  font-size: 14px;
  color: var(--text-muted);
  margin: 4px 0 36px;
}

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

nav.crumbs a:hover { text-decoration: underline; }

h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 8px;
}

p {
  margin: 0 0 14px;
  color: var(--text);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 20px 0;
}

.card a {
  font-weight: 600;
  text-decoration: none;
}
.card a:hover { text-decoration: underline; }

.card .desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

footer {
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-muted);
}
