:root {
  color-scheme: dark;
  --bg: #080e19; --card: #121f32; --line: #23344a;
  --ink: #ebf3fa; --muted: #92a6bc; --accent: #2dd4bf; --accent-ink: #2dd4bf; --button-ink: #051e1e;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f8fc; --card: #ffffff; --line: #d5e1ed;
    --ink: #162535; --muted: #52677c; --accent: #2dd4bf; --accent-ink: #0a7067; --button-ink: #051e1e;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; overflow-wrap: break-word; }
.wrap { max-width: 880px; margin: 0 auto; padding: 48px 16px 32px; }
section { margin-bottom: 44px; }
h1, h2, h3, p, ul { margin-top: 0; }
h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 25px; line-height: 1.25; margin-bottom: 14px; }
h3 { font-size: 18px; line-height: 1.3; margin-bottom: 6px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 10px 26px; border-radius: 12px; border: 1px solid var(--accent); background: var(--accent); color: var(--button-ink); font-weight: 700; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
a:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.facts { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; padding: 0; color: var(--muted); font-size: 15px; }
.facts b { display: block; font-size: 28px; line-height: 1.2; color: var(--ink); }
.topics { columns: 2; column-gap: 32px; padding-left: 20px; }
.topics li { margin-bottom: 8px; break-inside: avoid; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
article, .note { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
article p, .note p { color: var(--muted); margin-bottom: 0; font-size: 16px; }
.final { text-align: center; }
.foot { border-top: 1px solid var(--line); padding: 18px 16px; text-align: center; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }
@media (max-width: 720px) {
  .wrap { padding-top: 28px; }
  .topics { columns: 1; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
}
