:root {
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --text: #111827;
  --muted: #4b5563;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --border: #e5e7eb;
  --header-bg: #2563eb;
  --header-border: #1d4ed8;
  --header-title: #ffffff;
  --header-app: #dbeafe;
  --max: 44rem;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
header {
  padding: 1.5rem 1.35rem 1.1rem;
  color: var(--header-title);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}
header h1 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--header-title);
  font-weight: 800;
}
.app-name { margin: 0.35rem 0 0; color: var(--header-app); font-size: 0.95rem; }
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.35rem 2.5rem;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-bottom: 1.25rem; }
nav a { color: var(--primary); font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: 0.95rem; }
h2 { margin-top: 1.5rem; font-size: 1.15rem; color: var(--primary-dark); }
p, li { color: var(--text); }
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.35rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--primary); }
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #d1d5db;
    --bg: #1c1c1e;
    --surface: #2c2c2e;
    --border: #3a3a3c;
    --primary: #60a5fa;
    --primary-dark: #bfdbfe;
  }
  nav a, footer a { color: #93c5fd; }
}
