:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --line: #e6e6e6;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111111; --fg: #eeeeee; --muted: #9a9a9a; --line: #2a2a2a; }
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  display: flex; flex-direction: column; min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--fg); line-height: 1.6;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--muted); }

header.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; font-size: .95rem;
}
header.top .brand { text-decoration: none; letter-spacing: .08em; font-weight: 500; }
header.top nav a { margin-left: 18px; text-decoration: none; color: var(--muted); }
header.top nav a:hover, header.top nav a[aria-current="page"] { color: var(--fg); }

main { flex: 1; display: grid; place-items: center; padding: 24px 16px; }
.hero { text-align: center; }
.hero h1 { margin: 0 0 12px; font-weight: 500; letter-spacing: .08em; font-size: clamp(1.8rem, 6vw, 3rem); }
.hero .contact { color: var(--muted); }

.page { width: 100%; max-width: 640px; }
.page h1 { font-weight: 500; letter-spacing: .04em; margin-top: 0; }
.page h2 { font-weight: 500; font-size: 1.1rem; margin-top: 2rem; }
.page .lang { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 0; }
.page hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

footer.bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 24px; font-size: .85rem; color: var(--muted);
}
footer.bottom img { width: 44px; height: 44px; display: block; }
footer.bottom .pride { text-align: right; }

@media (max-width: 480px) {
  header.top, footer.bottom { padding-left: 16px; padding-right: 16px; }
}
