:root {
  --background: #fff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --notice: #fef3c7;
  --notice-text: #78350f;
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f172a;
    --text: #fff;
    --muted: #cbd5e1;
    --border: #334155;
    --notice: #451a03;
    --notice-text: #fde68a;
  }
}

html, body { margin: 0; }

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.25rem; margin: 32px 0 8px; }
p, li { color: var(--muted); }
ul, ol { padding-left: 20px; }
a { color: inherit; }
.updated { margin: 0 0 24px; font-size: 0.875rem; }
.notice { background: var(--notice); color: var(--notice-text); border-radius: 8px; padding: 12px 16px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--border); }
td { color: var(--muted); }

body.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
}

.hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; line-height: normal; margin: 0; }
