:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #5f6368;
  --line: #e6e3de;
  --accent: #0f766e;
  --max: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141517;
    --surface: #1c1d20;
    --text: #ececec;
    --muted: #a3a6ab;
    --line: #2c2e33;
    --accent: #5eead4;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.lang a { color: var(--muted); text-decoration: none; margin-left: 0.75rem; font-size: 0.9rem; }
.lang a[aria-current] { color: var(--text); font-weight: 600; }

main section { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
main section:last-child { border-bottom: 0; }

h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 0 0 1rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.25rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0; }

ul.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
ul.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 0.6rem; padding: 1rem; }
ul.cards strong { display: block; margin-bottom: 0.25rem; }
ul.cards span { color: var(--muted); font-size: 0.95rem; }

dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; overflow-wrap: anywhere; }

.privacy p, .privacy li { color: var(--muted); font-size: 0.95rem; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; padding: 1.5rem 0 2.5rem; }
footer p { margin: 0.2rem 0; }
