:root {
  --bg: #fff6fb;
  --surface: #ffffff;
  --text: #3b2a5c;
  --muted: #5e5a78;
  --accent: #8a4fd6;
  --border: #f3d9ec;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f22;
    --surface: #1a1c36;
    --text: #f2f0ff;
    --muted: #ada9c9;
    --accent: #a99cff;
    --border: #272a4a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

header img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

header a {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-family: ui-rounded, 'SF Pro Rounded', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
}

h1 {
  font-family: ui-rounded, 'SF Pro Rounded', -apple-system, sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

h2 {
  font-family: ui-rounded, 'SF Pro Rounded', -apple-system, sans-serif;
  font-size: 1.3rem;
  margin: 36px 0 8px;
}

.muted {
  color: var(--muted);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 16px 0;
}

ul {
  padding-left: 1.2em;
}

li {
  margin: 4px 0;
}

footer {
  margin-top: 48px;
  font-size: 0.9rem;
  color: var(--muted);
}

footer a {
  margin-right: 16px;
}
