:root {
  --bg: #fbf3e2; --surface: #fffdf6; --ink: #18264a; --ink-soft: #5d6886;
  --yellow: #ffc02e; --yellow-deep: #e89c00; --blue: #3e9bf0; --line: #ecdfc4;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111a33; --surface: #1a2647; --ink: #fdf5e4; --ink-soft: #a9b3cf; --line: #2b3a66;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
header.top img { width: 56px; height: 56px; clip-path: inset(3% round 19%); }
header.top a { color: inherit; text-decoration: none; font-weight: 700; font-size: 1.3rem; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; margin: 0 0 12px; }
h2 { margin-top: 32px; font-size: 1.3rem; }
p, li { color: var(--ink-soft); }
strong { color: var(--ink); }
a { color: var(--blue); }
.hero { text-align: center; padding-top: 24px; }
.hero img { width: min(60vw, 240px); clip-path: inset(3% round 19%); }
.card {
  background: var(--surface); border-radius: 20px; padding: 20px 24px; margin: 20px 0;
  box-shadow: 0 4px 0 var(--line);
}
.btn {
  display: inline-block; background: var(--yellow); color: #18264a; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; box-shadow: 0 3px 0 var(--yellow-deep);
}
nav.links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px; }
footer { text-align: center; color: var(--ink-soft); font-size: 0.9rem; padding: 24px 16px; }
