:root {
  color-scheme: light dark;
  --bg: #f4f1e9;
  --panel: #fff;
  --text: #172a35;
  --muted: #465964;
  --line: #c7d1d5;
  --accent: #006884;
  --button: #006884;
  --button-text: #fff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081018;
    --panel: #101c28;
    --text: #f5f8fb;
    --muted: #afbfcd;
    --line: #30495c;
    --accent: #6fdefb;
    --button: #6fdefb;
    --button-text: #081018;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0 auto;
  padding: 0 24px;
  max-width: 900px;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position:absolute; top:0; inset-inline-start:16px; padding:10px 16px; transform:translateY(-150%); background:var(--panel); z-index:10; }
.skip:focus { transform:translateY(0); }
.site-header {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 26px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 1.25rem; font-weight: 850; text-decoration: none; letter-spacing: .06em; }
.intro { margin: 32px 0; padding: 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.25; margin: 0 0 24px; }
h2 { font-size: 1.35rem; line-height: 1.4; margin: 0 0 12px; }
p { margin: 0 0 20px; }
.intro p { color: var(--muted); }
.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 750;
  text-decoration: none;
}
section { margin: 30px 0; }
.languages { margin: 40px 0; padding-top: 30px; border-top: 1px solid var(--line); }
.language-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.language-links a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.language-links [aria-current="page"] { color: var(--text); border-color: var(--accent); font-weight: 750; }
footer { padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin-bottom: 8px; }
@media (max-width: 520px) {
  body { padding: 0 16px; }
  .site-header { padding: 18px 0; }
  .intro { padding: 22px; margin: 24px 0; }
  .button { width: 100%; text-align: center; }
}
@media print {
  :root { --bg:#fff; --panel:#fff; --text:#000; --muted:#222; --line:#aaa; --accent:#000; }
  .button, .languages, footer a { display:none; }
  .intro { padding: 0; border:0; }
}
