:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #555555;
  --accent: #1f4fd8;
  --border: #e3e3e3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #ececec;
    --muted: #a8a8a8;
    --accent: #7ea2ff;
    --border: #2c2c2c;
  }
}

* { box-sizing: border-box; }

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

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

header, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding-top: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

main { padding-top: 32px; padding-bottom: 40px; }

h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 1.2rem; margin: 32px 0 8px; }
p, li { margin: 0 0 12px; }
ul { padding-left: 22px; margin: 0 0 12px; }

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

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

.notice {
  border-left: 4px solid var(--accent);
  background: rgba(31, 79, 216, 0.06);
  padding: 12px 16px;
  margin: 20px 0;
}

footer {
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

footer a { margin-right: 14px; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
}
