:root {
  --bg: #f4fbf3;
  --surface: #ffffff;
  --ink: #1d2b22;
  --muted: #55665a;
  --accent: #2f8f4e;
  --accent-soft: #e2f3e5;
  --line: #d8e8da;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a14;
    --surface: #18241c;
    --ink: #e8f2ea;
    --muted: #a7b9ac;
    --accent: #6fcf8c;
    --accent-soft: #20352a;
    --line: #2b3f31;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"], nav a:hover { color: var(--accent); }
.hero { text-align: center; padding: 48px 16px 32px; }
.hero img { width: 140px; height: 140px; border-radius: 32px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.hero h1 { font-size: clamp(32px, 6vw, 48px); margin: 24px 0 8px; }
.hero p { color: var(--muted); font-size: 19px; margin: 4px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-bottom: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h2 { font-size: 19px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); }
.page-heading { padding-top: 32px; padding-bottom: 8px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: 13px; margin: 0; }
.page-heading h1 { font-size: clamp(28px, 5vw, 40px); margin: 6px 0 8px; }
.meta { color: var(--muted); font-size: 15px; }
.lang-switch { display: flex; gap: 8px; margin: 16px 0 8px; }
.lang-switch a { background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.doc { padding-bottom: 32px; }
.doc section { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 24px; }
.doc h2 { font-size: 24px; }
.doc h3 { font-size: 19px; margin-top: 24px; }
.kid { background: var(--accent-soft); border-radius: 16px; padding: 4px 20px; }
.contact-email { display: inline-block; font-size: 22px; font-weight: 700; margin: 8px 0 16px; word-break: break-all; }
.faq article { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 12px 0; }
.faq h3 { font-size: 18px; }
.button { display: inline-block; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.site-footer p { margin: 4px 0; }
.site-footer nav a { margin: 0 16px 0 0; }
@media (max-width: 520px) {
  nav a { margin-left: 12px; font-size: 15px; }
}
