:root {
  color-scheme: light dark;
  --bg: #f7f1e6;
  --surface: #fffaf2;
  --text: #2b2230;
  --muted: #6b5f70;
  --accent: #8a4f90;
  --border: #e6dccb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #19151b;
    --surface: #231e26;
    --text: #f3ece6;
    --muted: #b5a9b8;
    --accent: #d39bd8;
    --border: #3a323e;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 48px 20px 32px; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
header.brand { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
header.brand img { width: 72px; height: 72px; border-radius: 16px; }
header.brand a { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 16px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, ul { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.button {
  display: inline-block; padding: 12px 20px; border-radius: 12px;
  background: var(--accent); color: var(--bg); font-weight: 600; text-decoration: none;
}
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin: 24px 0; }
footer { max-width: 680px; margin: 0 auto; padding: 24px 20px 48px; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--border); }
footer nav a { margin-right: 16px; }
