:root {
  --accent: hsl(225, 68%, 46%);
  --accent-soft: hsl(225, 70%, 94%);
  --ink: #16202a;
  --muted: #5d6b7a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --radius: 10px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 5;
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); letter-spacing: .2px; }
.brand svg { width: 28px; height: 28px; }
nav.main a { margin-left: 22px; color: var(--muted); font-size: .95rem; }
nav.main a.active, nav.main a:hover { color: var(--ink); text-decoration: none; }
.hero { padding: 84px 0 64px; background: linear-gradient(180deg, var(--accent-soft), var(--bg) 70%); }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; margin: 0 0 16px; max-width: 760px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600;
  background: var(--accent); color: #fff; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; filter: brightness(.94); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); margin-left: 10px; }
section { padding: 56px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 1.6rem; margin: 0 0 8px; }
p.sub { color: var(--muted); margin: 0 0 32px; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.stat { padding: 18px; border-left: 3px solid var(--accent); background: var(--bg); }
.stat b { display: block; font-size: 1.6rem; }
.stat span { color: var(--muted); font-size: .9rem; }
table.plain { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.plain th, table.plain td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
table.plain th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.ok { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2fa36b; margin-right: 8px; vertical-align: middle; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 32px; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
.err { text-align: center; padding: 110px 0; }
.err h1 { font-size: 5rem; margin: 0; color: var(--accent); }
@media (max-width: 640px) {
  nav.main a { margin-left: 14px; font-size: .9rem; }
  .hero { padding: 56px 0 40px; }
  .btn.ghost { margin-left: 0; margin-top: 10px; }
}
