:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  --accent: #b64d2a;
  --surface: #fffaf6;
  --text: #241c19;
  --muted: #6f625d;
  --border: #e7d8d0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
}

main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

h1, h2 { line-height: 1.2; }
h1 { margin-bottom: 8px; }
h2 { margin-top: 32px; }
a { color: var(--accent); }
.meta { color: var(--muted); }
.notice {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent));
}
.button {
  display: inline-block;
  margin: 8px 0;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #171416;
    --text: #f7eee9;
    --muted: #c7b8b0;
    --border: #433832;
    --accent: #ef8d66;
  }
}
