:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d1b19;
  --muted: #5d5853;
  --line: #e4e0da;
  --accent: #4c1d95;
  --accent-soft: #efe9fb;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131a;
    --surface: #1d1a23;
    --ink: #f1eef6;
    --muted: #b1aabb;
    --line: #34303c;
    --accent: #c4b5fd;
    --accent-soft: #2a2238;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 920px; margin: 0 auto; padding: 32px 16px 64px; }
a { color: var(--accent); }
header.top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 32px; }
header.top .brand { font-weight: 700; letter-spacing: .02em; text-decoration: none; color: var(--ink); }
header.top nav a { margin-left: 12px; font-size: 14px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
.lead { font-size: 18px; color: var(--muted); max-width: 70ch; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: start; }
.hero img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 640px) { .hero { grid-template-columns: 1fr; } .hero img { max-width: 220px; } }
table.facts { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
table.facts tr:last-child th, table.facts tr:last-child td { border-bottom: 0; }
table.facts th { width: 32%; font-weight: 600; color: var(--muted); }
ul.plain { padding-left: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.grid figure { margin: 0; }
.grid img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.grid figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.note { background: var(--accent-soft); border-radius: 8px; padding: 14px 16px; font-size: 15px; }
.contact img { display: block; max-width: 100%; height: auto; margin-top: 6px; background: #fff; border-radius: 4px; padding: 4px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cards a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--accent); }
.cards strong { display: block; margin-bottom: 4px; }
.cards span { color: var(--muted); font-size: 14px; }
footer { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
