:root {
  color-scheme: light dark;
  --max-width: 42rem;
  --fg: #1a1a1a;
  --bg: #ffffff;
  --muted: #4a4a4a;
  --accent: #0b5f6a;
  --border: #d8d8d8;
}
@media (prefers-color-scheme: dark) {
  :root { --fg: #f0f0f0; --bg: #14181a; --muted: #c2c2c2; --accent: #6fd0dc; --border: #333; }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
}
header, main, footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.brand {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
nav a:hover, nav a:focus { text-decoration: underline; }
.lang-switch a {
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  padding: 0.25rem 0.6rem;
}
main { min-height: 50vh; }
h1 { font-size: 1.7rem; line-height: 1.25; }
h2 { font-size: 1.2rem; margin-top: 2rem; }
p { color: var(--muted); }
address { font-style: normal; color: var(--muted); }
footer {
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
footer a { color: var(--accent); }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
