*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: light dark;
  --bg: #fff;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --muted: #555;
  --card-border: #eee;
  --card-hover: #f7f7f7;
  --toggle-bg: #f0f0f0;
  --toggle-border: #ddd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --text: #f0f0f0;
    --text-secondary: #8f8f8f;
    --muted: #bbb;
    --card-border: #2e2e2e;
    --card-hover: #1e1e1e;
    --toggle-bg: #2a2a2a;
    --toggle-border: #3a3a3a;
  }
}

body {
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  padding: 80px 24px;
  max-width: 480px;
  margin: 0 auto;
}

h1 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
a { color: inherit; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 64px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.back-link { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.notice section { margin-top: 24px; }
.notice h2 { margin-bottom: 6px; }
