:root {
  --bg: #070d16;
  --bg-alt: #0b1420;
  --surface: #ffffff;
  --surface-alt: #f4f6fa;
  --surface-2: #e9eef6;
  --card: var(--surface);
  --border: #dde5f0;
  --text: #0b1420;
  --text-muted: #5b6b80;
  --text-light: #c7d3e3;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-soft: #fcd34d;
  --steel: #94a3b8;
  --green: #10b981;
  --red: #ef4444;
  --amber: #f59e0b;
  --radius: 4px;
  --radius-sm: 2px;
  --glow-amber: rgba(245,158,11,.38);
  --glow-blue: rgba(59,130,246,.42);
  --edge: rgba(245,158,11,.45);
  --grid-line: rgba(255,255,255,.028);
  --shadow: 0 10px 30px rgba(10, 20, 35, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 20, 35, 0.18);
  --header-bg: rgba(255, 255, 255, 0.92);
  --container: 1180px;
  --font-head: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --stripe: repeating-linear-gradient(-45deg, #f59e0b 0 12px, #0b1420 12px 24px);
}

[data-theme="dark"] {
  --surface: #0e1724;
  --surface-alt: #0a121d;
  --surface-2: #152134;
  --border: #223249;
  --text: #e6eefb;
  --text-muted: #90a3bd;
  --text-light: #c7d3e3;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.58);
  --header-bg: rgba(7, 13, 22, 0.88);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }

.metrika-pixel { position: absolute; left: -9999px; }

.accent {
  background: linear-gradient(120deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, filter .2s ease;
  white-space: nowrap;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.btn:hover { filter: drop-shadow(0 0 16px var(--glow-amber)); }
.btn--primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, .35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(29, 78, 216, .45); filter: drop-shadow(0 0 18px var(--glow-blue)); }
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn--outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  background: rgba(245, 158, 11, .18);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, .35);
}
.badge--soft {
  background: rgba(29, 78, 216, .1);
  color: var(--primary);
  border-color: rgba(29, 78, 216, .18);
}
[data-theme="dark"] .badge--soft {
  background: rgba(59, 130, 246, .16);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, .3);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(15,23,42,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  transition: color .3s ease;
  flex-shrink: 0;
}
.header.is-scrolled .logo { color: var(--text); }
.logo__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 900;
  font-size: 20px;
}
.logo--light { color: #fff; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: color .2s ease;
  white-space: nowrap;
}
.header.is-scrolled .nav__link { color: var(--text-muted); }
.nav__link:hover,
.nav__link.is-active { color: #fff; }
.header.is-scrolled .nav__link:hover,
.header.is-scrolled .nav__link.is-active { color: var(--primary); }
[data-theme="dark"] .header.is-scrolled .nav__link:hover,
[data-theme="dark"] .header.is-scrolled .nav__link.is-active { color: var(--primary-light); }
.nav__cta { margin-left: 6px; }

.header__tools { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  transition: .25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,.2); }
.header.is-scrolled .theme-toggle { color: var(--text); background: var(--surface-2); border-color: var(--border); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
}
.burger span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s ease;
}
.header.is-scrolled .burger span { background: var(--text); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 170px 0 110px;
  color: #fff;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 12% 8%, rgba(29,78,216,.55), transparent 60%),
    radial-gradient(700px 500px at 88% 22%, rgba(245,158,11,.32), transparent 60%),
    radial-gradient(700px 600px at 60% 100%, rgba(59,130,246,.28), transparent 65%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 40%, transparent 85%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 22px 0 20px;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero__stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(120deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label { font-size: 13px; color: var(--text-light); }

.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 22px 22px 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}
.hero__card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dot:nth-child(1) { background: #ff5f57; }
.dot:nth-child(2) { background: #febc2e; }
.dot:nth-child(3) { background: #28c840; }
.hero__card-title { margin-left: 8px; font-size: 13px; color: var(--text-light); font-weight: 500; }

.checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  color: var(--text-light);
  transition: color .3s ease;
  cursor: pointer;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  transition: .3s ease;
}
.checklist li.is-done { color: #fff; }
.checklist li.is-done::before {
  background: var(--green);
  border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__card-actions { display: flex; gap: 8px; }
.hero__card-actions .btn { flex: 1; }
.btn--icon { flex: 0 0 46px !important; padding: 0; }
.btn--icon svg { width: 18px; height: 18px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 72px;
  color: #fff;
  background: var(--bg);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 420px at 15% 0%, rgba(29,78,216,.5), transparent 62%),
    radial-gradient(700px 420px at 90% 30%, rgba(245,158,11,.26), transparent 62%);
}
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 20px 0 16px;
}
.page-hero p { font-size: 18px; color: var(--text-light); }
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { opacity: .5; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--surface-alt); }
/* Фон всех секций единый — чередования нет */
.section { background: var(--surface); }
.section--tight { padding-top: 64px; }
.section__head { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 18px 0 14px;
  line-height: 1.15;
}
.section__subtitle { font-size: 17px; color: var(--text-muted); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29,78,216,.35);
}
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(29,78,216,.12), rgba(245,158,11,.14));
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-muted); }

/* ---------- Pros / Cons ---------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.proscons__col {
  border-radius: var(--radius);
  padding: 34px 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.proscons__col--pro { border-top: 4px solid var(--green); }
.proscons__col--con { border-top: 4px solid var(--red); }
.proscons__title { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 22px; }
.proscons__title span {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.proscons__col--pro .proscons__title span { background: var(--green); }
.proscons__col--con .proscons__title span { background: var(--red); }
.proscons__list { display: flex; flex-direction: column; gap: 16px; }
.proscons__list li { font-size: 15px; color: var(--text-muted); padding-left: 26px; position: relative; }
.proscons__list li b { color: var(--text); }
.proscons__list li::before { position: absolute; left: 0; top: 1px; font-weight: 800; font-size: 15px; }
.proscons__col--pro .proscons__list li::before { content: "✓"; color: var(--green); }
.proscons__col--con .proscons__list li::before { content: "✕"; color: var(--red); }

.callout {
  margin-top: 34px;
  padding: 22px 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, rgba(29,78,216,.08), rgba(245,158,11,.08));
  border-left: 5px solid var(--primary);
  font-size: 16px;
  color: var(--text);
}
.callout--warn { border-left-color: var(--amber); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 12px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 40px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--accent));
  opacity: .25;
}
.timeline__item { position: relative; display: flex; gap: 34px; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
  flex: 0 0 58px;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 22px rgba(29,78,216,.35);
  z-index: 1;
}
.timeline__body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  flex: 1;
  transition: transform .25s ease, box-shadow .25s ease;
}
.timeline__body:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.timeline__body h3 { font-size: 18px; margin-bottom: 8px; }
.timeline__body p { font-size: 15px; color: var(--text-muted); }

/* ---------- Tabs ---------- */
.tabs__nav { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tabs__btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: .25s ease;
}
.tabs__btn:hover { border-color: var(--primary); color: var(--primary); }
.tabs__btn.is-active {
  background: linear-gradient(120deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(29,78,216,.3);
}
.tabs__panel { display: none; animation: fade .4s ease; }
.tabs__panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.reg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.reg__desc h3 { font-size: 22px; margin-bottom: 12px; }
.reg__desc > p { color: var(--text-muted); margin-bottom: 22px; }
.reg__facts { display: flex; flex-direction: column; gap: 12px; }
.reg__facts li { font-size: 14.5px; color: var(--text-muted); padding-left: 24px; position: relative; }
.reg__facts li::before { content: "→"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.reg__facts li b { color: var(--text); }
.reg__steps { counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.reg__steps li {
  position: relative;
  padding-left: 42px;
  font-size: 15px;
  color: var(--text-muted);
  counter-increment: step;
}
.reg__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(29,78,216,.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.docs { margin-top: 34px; background: var(--bg); border-radius: var(--radius); padding: 34px; color: #fff; }
.docs h3 { font-size: 20px; margin-bottom: 22px; }
.docs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.docs__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 14.5px;
  color: var(--text-light);
}
.docs__item span { font-size: 20px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--surface); }
.table th, .table td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--bg); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--surface-alt); }
.table td:first-child { font-weight: 600; color: var(--text); }
.table td { color: var(--text-muted); }
.table .yes { color: var(--green); font-weight: 700; }
.table .no { color: var(--red); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color .25s ease; }
.faq__item.is-open { border-color: var(--primary); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}
.faq__icon {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(29,78,216,.12);
  color: var(--primary);
  font-size: 20px;
  font-weight: 500;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 24px 22px; color: var(--text-muted); font-size: 15px; }

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: start;
}
.calc__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field .hint { font-size: 12.5px; color: var(--text-muted); font-weight: 400; margin-top: 6px; display: block; }
.field input[type="number"],
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--inline { display: flex; align-items: center; gap: 10px; }
.field--inline input { width: 18px; height: 18px; accent-color: var(--primary); }

.calc__results { display: flex; flex-direction: column; gap: 16px; }
.result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: .3s ease;
}
.result__left { min-width: 0; }
.result__name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.result__note { font-size: 13.5px; color: var(--text-muted); }
.result__value { font-size: 24px; font-weight: 900; white-space: nowrap; color: var(--text); }
.result.is-best {
  border-color: var(--green);
  background: linear-gradient(120deg, rgba(16,185,129,.1), rgba(245,158,11,.06));
}
.result.is-best .result__value { color: var(--green); }
.result__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  background: var(--green);
  color: #fff;
  vertical-align: middle;
}
.result.is-disabled { opacity: .45; }

/* ---------- Quiz ---------- */
.quiz {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.quiz__bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-bottom: 30px; }
.quiz__bar span { display: block; height: 100%; width: 0; background: linear-gradient(120deg, var(--primary), var(--accent)); transition: width .4s ease; }
.quiz__step { display: none; animation: fade .35s ease; }
.quiz__step.is-active { display: block; }
.quiz__question { font-size: 22px; font-weight: 800; margin-bottom: 22px; line-height: 1.3; }
.quiz__options { display: flex; flex-direction: column; gap: 12px; }
.quiz__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  transition: .2s ease;
}
.quiz__option::before {
  content: "";
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: .2s ease;
}
.quiz__option:hover { border-color: var(--primary); transform: translateX(4px); }
.quiz__option:hover::before { border-color: var(--primary); }
.quiz__option.is-selected { border-color: var(--primary); background: rgba(29,78,216,.1); }
.quiz__option.is-selected::before { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--surface); }
.quiz__back { margin-top: 22px; }
.quiz__result { display: none; text-align: center; }
.quiz__result.is-active { display: block; animation: fade .4s ease; }
.quiz__result-icon {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 34px;
  background: linear-gradient(135deg, rgba(29,78,216,.15), rgba(245,158,11,.15));
}
.quiz__result h3 { font-size: 26px; margin-bottom: 12px; }
.quiz__result p { color: var(--text-muted); margin-bottom: 20px; }
.quiz__advice {
  text-align: left;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.quiz__advice li { font-size: 14.5px; color: var(--text-muted); padding-left: 22px; position: relative; margin-bottom: 8px; }
.quiz__advice li:last-child { margin-bottom: 0; }
.quiz__advice li::before { content: "\2192"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ---------- Calendar ---------- */
.calendar { display: flex; flex-direction: column; gap: 12px; }
.calendar__row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color .2s ease;
}
.calendar__row:hover { border-color: var(--primary); }
.calendar__date { font-weight: 800; color: var(--primary); font-size: 15px; }
.calendar__what { font-size: 14.5px; color: var(--text); }
.calendar__who {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ---------- OKVED ---------- */
.okved { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.okved__group { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 24px; box-shadow: var(--shadow); }
.okved__group h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.okved__group h3 span { font-size: 20px; }
.okved__list { display: flex; flex-direction: column; gap: 8px; }
.okved__list li { font-size: 14px; color: var(--text-muted); display: flex; gap: 10px; }
.okved__list code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 12.5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- Support cards ---------- */
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.support__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(29,78,216,.35); }
.support__type {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245,158,11,.15);
  color: #b45309;
  margin-bottom: 14px;
}
[data-theme="dark"] .support__type { color: #fcd34d; }
.support__card h3 { font-size: 18px; margin-bottom: 10px; }
.support__card p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.support__meta { font-size: 13.5px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; }
.support__meta b { color: var(--text); }

/* ---------- Niches ---------- */
.niches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.niche {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.niche:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.niche__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.niche__emoji {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(29,78,216,.12), rgba(245,158,11,.14));
}
.niche__head h3 { font-size: 19px; }
.niche__block { margin-bottom: 14px; }
.niche__block:last-child { margin-bottom: 0; }
.niche__block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.niche__block--pro h4 { color: var(--green); }
.niche__block--con h4 { color: var(--red); }
.niche__block--money h4 { color: var(--primary); }
.niche__block p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Contact form ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact__info h3 { font-size: 24px; margin-bottom: 14px; }
.contact__info p { color: var(--text-muted); margin-bottom: 26px; }
.contact__list { display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--text-muted); }
.contact__list .ci { font-size: 20px; }
.contact__list b { color: var(--text); display: block; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.is-active { display: block; animation: fade .4s ease; }
.form-success__icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(16,185,129,.15);
  color: var(--green);
  font-size: 32px;
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--primary), #0e7490 60%, var(--accent)); color: #fff; padding: 80px 0; text-align: center; }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.cta p { font-size: 18px; opacity: .92; max-width: 620px; margin: 0 auto 32px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--primary); box-shadow: 0 12px 30px rgba(0,0,0,.2); }

/* ---------- Footer ---------- */
.footer { background: var(--bg); color: var(--text-light); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { margin-top: 16px; font-size: 14.5px; color: #94a3b8; max-width: 320px; }
.footer__nav h3 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__nav a { display: block; font-size: 14.5px; color: #94a3b8; margin-bottom: 10px; transition: color .2s ease; }
.footer__nav a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #64748b; }

/* ---------- To top & progress ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 20px;
  box-shadow: 0 12px 28px rgba(29,78,216,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: .3s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 110;
  transition: width .1s linear;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Print ---------- */
.print-only { display: none; }
@media print {
  body * { visibility: hidden; }
  .print-only, .print-only * { visibility: visible; }
  .print-only {
    display: block;
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    padding: 24px;
    color: #000;
  }
  .print-only h2 { font-size: 22px; margin-bottom: 8px; }
  .print-only p.sub { color: #555; margin-bottom: 20px; }
  .print-only ol { list-style: decimal; padding-left: 22px; }
  .print-only ol li { margin-bottom: 10px; font-size: 15px; color: #000; }
  .print-only li.done { text-decoration: line-through; color: #888; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav__link { font-size: 14px; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .reg { grid-template-columns: 1fr; padding: 30px; }
  .docs__grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc__form { position: static; }
  .support { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 30px; }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11,17,32,.98);
    backdrop-filter: blur(14px);
    padding: 18px 24px 26px;
    transform: translateY(-130%);
    transition: transform .35s ease;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__link, .header.is-scrolled .nav__link { color: #cbd5e1; padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav__link:hover, .nav__link.is-active,
  .header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--accent); }
  .nav__cta { margin: 14px 0 0; }
  .burger { display: flex; }
  .proscons { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .okved { grid-template-columns: 1fr; }
  .niches { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero { padding: 140px 0 80px; }
  .page-hero { padding: 130px 0 56px; }
  .hero__stats { gap: 28px; }
  .stat__num { font-size: 28px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .docs__grid { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
  .timeline::before { left: 28px; }
  .timeline__num { flex-basis: 46px; width: 46px; height: 46px; font-size: 14px; }
  .timeline__item { gap: 20px; }
  .calendar__row { grid-template-columns: 1fr; gap: 8px; }
  .result { flex-direction: column; align-items: flex-start; gap: 10px; }
  .result__value { font-size: 22px; }
  .quiz { padding: 26px 20px; }
  .calc__form { padding: 24px; }
  .form-card { padding: 24px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; }
  .cta__actions .btn { width: 100%; }
}

/* =========================================================
   EXTRA COMPONENTS
   ========================================================= */

/* ---------- Theme toggle (3-state) ---------- */
.theme-toggle .icon-system { display: none; }
html[data-theme-pref="system"] .theme-toggle .icon-sun { display: none; }
html[data-theme-pref="system"] .theme-toggle .icon-moon { display: none; }
html[data-theme-pref="system"] .theme-toggle .icon-system { display: block; }
html[data-theme-pref="dark"] .theme-toggle .icon-system { display: none; }
html[data-theme-pref="light"] .theme-toggle .icon-system { display: none; }

/* ---------- Nav dropdown ---------- */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: color .2s ease;
  white-space: nowrap;
}
.header.is-scrolled .nav__drop-toggle { color: var(--text-muted); }
.nav__drop-toggle:hover,
.nav__item.is-open .nav__drop-toggle { color: #fff; }
.header.is-scrolled .nav__drop-toggle:hover,
.header.is-scrolled .nav__item.is-open .nav__drop-toggle { color: var(--primary); }
.nav__drop-toggle .caret { transition: transform .25s ease; }
.nav__item.is-open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
  z-index: 120;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  width: 13px; height: 13px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.nav__item:hover .dropdown,
.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: .18s ease;
}
.dropdown a:hover { background: rgba(29,78,216,.1); color: var(--primary); }
.dropdown a .di { font-size: 17px; }

/* ---------- Wizard ---------- */
.wizard { max-width: 900px; margin: 0 auto; }
.wizard__progress { display: flex; align-items: center; gap: 8px; margin-bottom: 34px; }
.wizard__dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}
.wizard__dot i {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: .25s ease;
}
.wizard__dot.is-active i { background: var(--primary); border-color: var(--primary); color: #fff; }
.wizard__dot.is-done i { background: var(--green); border-color: var(--green); color: #fff; }
.wizard__dot.is-active { color: var(--text); }

.wizard__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.wizard__step { display: none; animation: fade .35s ease; }
.wizard__step.is-active { display: block; }
.wizard__step h3 { font-size: 22px; margin-bottom: 10px; }
.wizard__step > p.lead { color: var(--text-muted); margin-bottom: 24px; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.choice {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  padding: 18px;
  text-align: left;
  transition: .2s ease;
  cursor: pointer;
}
.choice:hover { border-color: var(--primary); transform: translateY(-3px); }
.choice.is-selected { border-color: var(--primary); background: rgba(29,78,216,.1); box-shadow: 0 0 0 1px var(--primary) inset; }
.choice__icon { font-size: 22px; margin-bottom: 8px; }
.choice h4 { font-size: 15.5px; margin-bottom: 4px; }
.choice p { font-size: 13px; color: var(--text-muted); }

.wizard__list { display: flex; flex-direction: column; gap: 10px; }
.wizard__list label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 14.5px;
  cursor: pointer;
  transition: .2s ease;
}
.wizard__list label:hover { border-color: var(--primary); }
.wizard__list input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.wizard__summary { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.wizard__summary h4 { font-size: 16px; margin-bottom: 14px; }
.wizard__summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14.5px; }
.wizard__summary dt { color: var(--text-muted); }
.wizard__summary dd { font-weight: 600; color: var(--text); }

/* ---------- Plan generator ---------- */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.metric {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
}
.metric__label { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.metric__value { font-size: 26px; font-weight: 900; color: var(--text); }
.metric--good { border-color: var(--green); }
.metric--good .metric__value { color: var(--green); }
.metric--bad { border-color: var(--red); }
.metric--bad .metric__value { color: var(--red); }
.plan-break { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 24px; font-size: 15px; color: var(--text-muted); }
.plan-break b { color: var(--text); }

/* ---------- Blog ---------- */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__cover {
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 44px;
  background: linear-gradient(135deg, rgba(29,78,216,.18), rgba(245,158,11,.2));
}
.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--primary); margin-bottom: 10px; }
.post h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.3; }
.post p { font-size: 14.5px; color: var(--text-muted); flex: 1; }
.post__meta { margin-top: 16px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; }

/* ---------- Article ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-muted); margin-bottom: 26px; }
.article__lead { font-size: 19px; color: var(--text); margin-bottom: 26px; line-height: 1.6; }
.article h2 { font-size: 27px; margin: 38px 0 14px; letter-spacing: -.01em; }
.article h3 { font-size: 20px; margin: 28px 0 10px; }
.article p { font-size: 16.5px; color: var(--text); margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 0; }
.article ul li, .article ol li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 16px; color: var(--text-muted); }
.article ul li::before { content: "•"; position: absolute; left: 6px; color: var(--primary); font-weight: 900; }
.article ol { counter-reset: a; }
.article ol li { counter-increment: a; padding-left: 34px; }
.article ol li::before { content: counter(a); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(29,78,216,.12); color: var(--primary); font-size: 12px; font-weight: 800; }
.article blockquote {
  border-left: 4px solid var(--primary);
  background: var(--surface-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 24px;
  margin: 24px 0;
  font-size: 16.5px;
  color: var(--text);
}
.article .table-wrap { margin: 24px 0; }

.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--border); }
.share span { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.share a, .share button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: .2s ease;
}
.share a:hover, .share button:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 20px; bottom: 20px;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  z-index: 130;
  transform: translateY(140%);
  transition: transform .4s ease;
}
.cookie.is-visible { transform: none; }
.cookie p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.cookie a { color: var(--primary); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 100;
  gap: 10px;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.sticky-cta .btn { flex: 1; }

/* ---------- Mobile additions ---------- */
@media (max-width: 820px) {
  .choice-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .blog { grid-template-columns: 1fr 1fr; }
  .nav__item { flex-direction: column; align-items: stretch; }
  .nav__drop-toggle { padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.07); justify-content: space-between; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .dropdown::before { display: none; }
  .nav__item.is-open .dropdown { max-height: 480px; }
  .dropdown a { color: #cbd5e1; }
  .dropdown a:hover { background: rgba(255,255,255,.06); color: var(--accent); }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  .cookie { left: 12px; right: 12px; max-width: none; bottom: 90px; }
}

@media (max-width: 560px) {
  .metrics { grid-template-columns: 1fr; }
  .blog { grid-template-columns: 1fr; }
  .wizard__card { padding: 24px 20px; }
  .wizard__dot span { display: none; }
}

button.card { width: 100%; text-align: left; font-family: inherit; }
.nav__lang { font-weight: 700; }

/* ---------- Print for metrics/plan ---------- */
@media print {
  .print-only .metric { break-inside: avoid; border: 1px solid #ccc; padding: 10px; margin-bottom: 8px; }
  .print-only .metric__label { color: #555; }
  .print-only .metric__value { font-size: 20px; font-weight: 700; }
  .print-only .wizard__summary dl { display: block; }
}

/* =========================================================
   ROUND 3 — IDEAS / COMPARE / GLOSSARY / CALENDAR / SEARCH
   ========================================================= */

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--text-muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Filter chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group__label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted); font-size: 14px; font-weight: 500;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.results-count { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.empty { padding: 40px; text-align: center; color: var(--text-muted); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty strong { display: block; color: var(--text); margin-bottom: 6px; font-size: 18px; }

/* ---------- Ideas ---------- */
.idea-card { display: flex; flex-direction: column; gap: 12px; }
.idea-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.idea-card__icon { font-size: 30px; line-height: 1; }
.idea-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.idea-card__stat { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.idea-card__stat b { display: block; font-size: 15px; color: var(--text); }
.idea-card__stat span { font-size: 11px; color: var(--text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); font-weight: 600; }
.idea-card__meter { height: 8px; border-radius: 999px; background: var(--surface-alt); overflow: hidden; border: 1px solid var(--border); }
.idea-card__meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.idea-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.level { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.level--easy { background: rgba(16,185,129,.14); color: var(--green); }
.level--mid { background: rgba(245,158,11,.16); color: var(--amber); }
.level--hard { background: rgba(239,68,68,.14); color: var(--red); }

/* ---------- Compare / matrix ---------- */
.compare { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.compare thead th { background: var(--surface-alt); font-size: 15px; }
.compare thead th.is-best { background: color-mix(in srgb, var(--green) 16%, var(--surface-alt)); }
.compare td:first-child { font-weight: 600; color: var(--text); width: 220px; }
.compare tbody tr:hover { background: var(--surface-alt); }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--red); font-weight: 700; }
.compare .maybe { color: var(--amber); font-weight: 700; }
.rec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.rec__card { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.rec__card.is-ideal { border-color: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.12); }
.rec__card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rec__score { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.rec__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.rec__list li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 8px; }
.rec__list li.minus::before { content: '✕'; color: var(--red); }
.switches { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

/* ---------- Glossary ---------- */
.glossary__search { position: relative; margin-bottom: 20px; }
.glossary__search input { width: 100%; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
.glossary__letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.glossary__letters a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-alt); border: 1px solid var(--border); font-weight: 700; font-size: 14px; color: var(--text-muted); }
.glossary__letters a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.glossary__group h2 { margin: 28px 0 12px; font-size: 22px; color: var(--primary); }
.term { border-bottom: 1px solid var(--border); padding: 14px 0; scroll-margin-top: 96px; }
.term:last-child { border-bottom: 0; }
.term dt { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.term dd { margin: 0; color: var(--text-muted); font-size: 15px; }
.term:hover dt { color: var(--primary); }
.term dd a { color: var(--primary); }

/* ---------- Calendar ---------- */
.cal-list { display: flex; flex-direction: column; gap: 12px; }
.event { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--surface); }
.event__date { text-align: center; }
.event__date b { display: block; font-size: 22px; line-height: 1; }
.event__date span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.event__body h3 { font-size: 16px; margin-bottom: 4px; }
.event__body p { font-size: 14px; color: var(--text-muted); }
.event__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-alt); border: 1px solid var(--border); color: var(--text-muted); }
.pill--npd { color: #10b981; border-color: rgba(16,185,129,.4); }
.pill--usn { color: #3b82f6; border-color: rgba(59,130,246,.4); }
.pill--patent { color: #f59e0b; border-color: rgba(245,158,11,.4); }
.event__action { display: flex; flex-direction: column; gap: 8px; }
.reminder-btn.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.cal-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }

/* ---------- Site search overlay ---------- */
.nav__search { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500; }
.header.is-scrolled .nav__search { color: var(--text-muted); }
.nav__search:hover { color: #fff; }
.header.is-scrolled .nav__search:hover { color: var(--primary); }
.nav__search kbd { font-size: 11px; border: 1px solid currentColor; border-radius: 6px; padding: 1px 5px; opacity: .7; }
.search-overlay { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(2,6,23,.6); backdrop-filter: blur(6px); }
.search-overlay.is-open { display: block; }
.search-box { max-width: 640px; margin: 12vh auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box__input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.search-box__input svg { flex: none; color: var(--text-muted); }
.search-box__input input { flex: 1; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 18px; outline: none; }
.search-results { max-height: 52vh; overflow-y: auto; padding: 8px; }
.search-result { display: block; padding: 12px 14px; border-radius: var(--radius-sm); }
.search-result:hover, .search-result.is-active { background: var(--surface-alt); }
.search-result h4 { font-size: 15px; margin-bottom: 2px; }
.search-result p { font-size: 13px; color: var(--text-muted); }
.search-result mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; border-radius: 4px; padding: 0 2px; }
.search-empty { padding: 28px; text-align: center; color: var(--text-muted); }

/* ---------- Admin ---------- */
.admin-login { max-width: 420px; margin: 40px auto; }
.admin-login input { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; margin-bottom: 12px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; vertical-align: top; }
.admin-table th { background: var(--surface-alt); }
.admin-table tr:hover { background: var(--surface-alt); }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-code { font-size: clamp(72px, 18vw, 160px); font-weight: 900; line-height: 1; background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 900px) {
  .rec { grid-template-columns: 1fr; }
  .idea-card__stats { grid-template-columns: repeat(3, 1fr); }
  .event { grid-template-columns: 72px 1fr; }
  .event__action { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 560px) {
  .idea-card__stats { grid-template-columns: 1fr; }
  .compare td:first-child { width: auto; }
  .search-box { margin-top: 6vh; }
}

/* =========================================================
   ROUND 4 — accessibility, favorites, documents, tooling
   ========================================================= */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary, #1d4ed8);
  color: #fff;
  font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--primary, #1d4ed8);
  outline-offset: 2px;
  border-radius: 6px;
}

.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.fav-btn:hover { border-color: var(--primary, #1d4ed8); color: var(--primary, #1d4ed8); }
.fav-btn.is-on { border-color: #f59e0b; color: #f59e0b; }
.fav-btn__star { font-size: 16px; line-height: 1; }

.calc-share { margin-top: 16px; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  background: var(--card, #fff);
}
.toolbar input[type="search"],
.toolbar select { min-width: 220px; }

.search-group {
  padding: 10px 14px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  background: var(--card, #fff);
}
.doc-card__icon { font-size: 26px; }
.doc-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.doc-disclaimer { margin-top: 14px; font-size: 13px; color: var(--text-muted, #64748b); }

.doc-preview { display: none; }
.doc-preview.is-open { display: block; }
.doc-preview__overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(15, 23, 42, .55);
}
.doc-preview__panel {
  position: fixed;
  z-index: 1501;
  top: 50%;
  left: 50%;
  width: min(860px, 94vw);
  max-height: 86vh;
  transform: translate(-50%, -50%);
  overflow: auto;
  background: var(--card, #fff);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, .35);
}
.doc-preview__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border, #e2e8f0);
  background: var(--card, #fff);
}
.doc-preview__close { border: 0; background: transparent; font-size: 22px; cursor: pointer; line-height: 1; }
.doc-preview__body { padding: 20px; }
.doc-preview__body h3 { margin-top: 0; }
.doc-preview__foot { padding: 14px 20px; border-top: 1px solid var(--border, #e2e8f0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.sitemap__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 14px;
  font-size: 20px;
}
.sitemap__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(29, 78, 216, .12);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
}
.sitemap-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sitemap-list li {
  padding: 14px 16px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  background: var(--card, #fff);
}
.sitemap-list a { font-weight: 600; }
.sitemap-list span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted, #64748b);
}

/* =========================================================
   SECURITY THEME — «ОХРАНА»
   ========================================================= */
::selection { background: rgba(245, 158, 11, .35); color: inherit; }

h1, h2, h3, h4, h5, .logo__text, .stat__num, .section__title, .metric__value {
  font-family: var(--font-head);
}

body { background: var(--surface); }

.skip-link { background: var(--primary); }

/* ---------- Logo ---------- */
.logo { gap: 11px; letter-spacing: .01em; }
.logo__mark {
  width: 42px; height: 44px;
  border-radius: 12px 12px 16px 16px;
  background: linear-gradient(150deg, #1e3a8a, #1d4ed8 55%, #f59e0b 160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 8px 18px rgba(7,13,22,.35);
  font-size: 0;
  position: relative;
  overflow: hidden;
}
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(245,158,11,.55));
  opacity: .55;
}
.logo__mark svg { width: 23px; height: 23px; position: relative; z-index: 1; }
.logo__text { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.logo__sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}
.header.is-scrolled .logo__sub { color: var(--text-muted); }
.footer .logo__sub { color: #64748b; }

/* ---------- Header ---------- */
.header__inner { height: 80px; }
.nav { gap: 20px; }
.nav__link, .nav__drop-toggle, .nav__search { letter-spacing: .01em; }
.header.is-scrolled { border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px rgba(7,13,22,.08); }
.nav__cta { box-shadow: 0 8px 20px rgba(29,78,216,.32); }

/* ---------- Hero / page hero ---------- */
.hero, .page-hero {
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(29,78,216,.5), transparent 62%),
    radial-gradient(620px 420px at 88% 16%, rgba(245,158,11,.22), transparent 62%),
    linear-gradient(160deg, #070d16 0%, #0a1524 55%, #0d1b2e 100%);
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--stripe);
  opacity: .85;
  z-index: 3;
}
.hero__bg, .page-hero__bg {
  background:
    radial-gradient(760px 420px at 15% 5%, rgba(29,78,216,.42), transparent 62%),
    radial-gradient(600px 420px at 92% 30%, rgba(245,158,11,.19), transparent 62%);
}
.hero__bg::after {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 42%, #000 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 35%, transparent 82%);
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 50%;
  width: 300px;
  height: 360px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3z'/%3E%3Cpath d='m8.7 12.2 2.2 2.2 4.4-4.4' stroke-width='1'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: .11;
  pointer-events: none;
}
@media (max-width: 900px) { .page-hero__bg::after { display: none; } }
.hero { padding: 176px 0 116px; }
.page-hero { padding: 152px 0 82px; }

/* «Жёсткая» шапка и герой: hazard-полоса и лучи */
.header { position: relative; }
.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,.55) 35%, rgba(59,130,246,.5) 70%, transparent);
  pointer-events: none;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--stripe);
  opacity: .85;
  pointer-events: none;
  z-index: 3;
}
.hero__title { text-shadow: 0 0 34px rgba(245,158,11,.12); }
.stat__num { text-shadow: 0 0 22px rgba(245,158,11,.28); }
.page-hero__inner { max-width: 880px; }
.hero__title { letter-spacing: -.03em; }
.hero__title .accent { background: linear-gradient(100deg, #fcd34d, #f59e0b 55%, #fb923c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__subtitle { color: #b8c7da; }
.badge {
  background: rgba(245,158,11,.14);
  color: #fcd34d;
  border: 1px solid rgba(245,158,11,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 20px rgba(245,158,11,.12);
  letter-spacing: .12em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.breadcrumbs { color: #93a6bd; }
.breadcrumbs a { color: #93a6bd; }
.breadcrumbs a:hover { color: var(--accent-soft); }
.breadcrumbs span { opacity: .4; }
.breadcrumbs .breadcrumbs__current { color: #e6eefb; }

/* hero fact chips */
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.hero__fact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: #c7d3e3;
  font-size: 13.5px;
  font-weight: 500;
}
.hero__fact b { color: #fff; font-weight: 700; }
.hero__fact i { font-style: normal; color: var(--accent); }
.hero__card { background: rgba(9, 18, 31, .72); border-color: rgba(255,255,255,.12); }
.hero__card-note { margin-top: 14px; font-size: 12px; color: #7e91aa; text-align: center; }
.checklist li::before { border-color: rgba(255,255,255,.22); }
.checklist li.is-done::before { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070d16' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.checklist li.is-done { color: #fff; }

/* ---------- Buttons ---------- */
.btn { letter-spacing: .01em; }
.btn--primary {
  background: linear-gradient(120deg, #1e40af, #1d4ed8 55%, #3b82f6);
  box-shadow: 0 12px 26px rgba(29,78,216,.34);
}
.btn--primary:hover { box-shadow: 0 18px 36px rgba(29,78,216,.44); }
.btn--accent {
  background: linear-gradient(120deg, #fbbf24, #f59e0b);
  color: #1a1203;
  box-shadow: 0 12px 26px rgba(245,158,11,.34);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(245,158,11,.44); filter: drop-shadow(0 0 18px var(--glow-amber)); }
.btn--outline { border-color: rgba(29,78,216,.5); }
.btn--dark-ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #e6eefb; }
.btn--dark-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); filter: drop-shadow(0 0 14px rgba(255,255,255,.18)); }

/* ---------- Section labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 4px; background: var(--accent); border-radius: 2px; }
[data-theme="dark"] .eyebrow { color: #93c5fd; }
.section__title { letter-spacing: -.025em; }

/* =========================================================
   ЖЁСТКИЙ СТИЛЬ: угловые карточки, неон, сетка
   ========================================================= */
body {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  background-attachment: fixed;
}

/* уголки у карточек */
.req, .result, .calc__form, .promo__body, .aside-cta, .doc-card {
  position: relative;
  border-radius: var(--radius-sm);
}
.req::after, .result::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 22px;
  height: 22px;
  border-top: 2px solid var(--edge);
  border-right: 2px solid var(--edge);
  pointer-events: none;
  opacity: .75;
}
.req:hover, .result:hover {
  border-color: rgba(245,158,11,.45);
  box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(245,158,11,.18);
}
.req:hover::after, .result:hover::after { opacity: 1; box-shadow: 0 0 14px var(--glow-amber); }

/* янтарная линия-акцент у заголовков секций */
.section__title { position: relative; }
.section__title::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--accent), rgba(245,158,11,0));
}
.section__head--left .section__title::after { margin-left: 0; }

/* hazard-полоса как разделитель */
.hazard-top { position: relative; }
.hazard-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stripe);
  opacity: .8;
}

/* угловая нумерация таймлайна */
.timeline__num {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  background: linear-gradient(140deg, rgba(245,158,11,.22), rgba(29,78,216,.22));
  border: 1px solid rgba(245,158,11,.45);
  color: #fcd34d;
  box-shadow: 0 0 0 1px rgba(245,158,11,.08), 0 0 22px rgba(245,158,11,.14);
}

/* технические заголовки таблиц */
.table thead th {
  background: linear-gradient(180deg, rgba(245,158,11,.12), rgba(10,17,28,.9));
  color: #fcd34d;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(245,158,11,.3);
}
.table tbody tr:hover { background: rgba(245,158,11,.045); }

/* FAQ и кнопки-аккордеон */
.faq__q { border-radius: var(--radius-sm); }
.faq__item.is-open .faq__q {
  border-color: rgba(245,158,11,.4);
  background: linear-gradient(90deg, rgba(245,158,11,.1), transparent 70%);
}

/* карточки-«терминалы»: рамка + уголки + свечение */
.hero__card, .promo, .aside-cta, .callout, .calc__form {
  border-radius: var(--radius-sm);
}
.hero__card, .promo {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(245,158,11,.12);
}
.callout {
  border-left-width: 3px;
  box-shadow: inset 0 0 26px rgba(245,158,11,.05);
}
.promo__tags span, .promo__cover span {
  border-radius: 2px;
  letter-spacing: .06em;
}
.promo__tags span { border-color: rgba(245,158,11,.22); color: #fcd34d; }

/* полосы-«предупреждение» в подвале и CTA */
.cta::before { opacity: .95; }
.footer__bottom { border-top: 1px solid rgba(245,158,11,.12); }

/* полосы прокрутки */
* { scrollbar-color: rgba(245,158,11,.45) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(245,158,11,.55), rgba(29,78,216,.55));
  border-radius: 6px;
}
::selection { background: rgba(245,158,11,.42); color: #0b1420; }

/* тонкие «лайфлайны» между крупными блоками */
.section { border-bottom: 1px solid rgba(255,255,255,.04); }

/* таймлайн: вертикальная шина */
.timeline__body { position: relative; }
.timeline__body::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(245,158,11,.5), rgba(245,158,11,0));
}

/* быстрые факты и колонки «плюс/минус» */
.qfact, .proscons__col, .faq__item { border-radius: var(--radius-sm); }
.qfact:hover { border-color: rgba(245,158,11,.4); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.proscons__col { position: relative; overflow: hidden; }
.proscons__col--pro { box-shadow: inset 3px 0 0 rgba(16,185,129,.55); }
.proscons__col--con { box-shadow: inset 3px 0 0 rgba(239,68,68,.5); }
.proscons__col--pro:hover { box-shadow: inset 3px 0 0 rgba(16,185,129,.9), 0 12px 30px rgba(0,0,0,.4); }
.proscons__col--con:hover { box-shadow: inset 3px 0 0 rgba(239,68,68,.85), 0 12px 30px rgba(0,0,0,.4); }
.faq__icon { color: var(--accent); transition: transform .25s ease, color .25s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); color: #fff; }

/* бейджи-метки */
.hero__fact { border-radius: 2px; }
.hero__fact i { color: var(--accent); text-shadow: 0 0 10px var(--glow-amber); }


/* ---------- Cards ---------- */
.card { position: relative; overflow: hidden; }
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity .25s ease;
}
.card--hover:hover::after { opacity: 1; }
.card--hover:hover { border-color: rgba(29,78,216,.3); }
.card__icon {
  background: linear-gradient(140deg, rgba(29,78,216,.14), rgba(245,158,11,.16));
  border: 1px solid rgba(29,78,216,.14);
}
.card h3 { line-height: 1.32; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--primary); }
.card__link:hover { gap: 10px; }
[data-theme="dark"] .card__link { color: #93c5fd; }

/* ---------- Timeline ---------- */
.timeline__num {
  background: linear-gradient(145deg, #1e3a8a, #1d4ed8);
  box-shadow: 0 10px 24px rgba(29,78,216,.32), inset 0 0 0 1px rgba(255,255,255,.15);
  border-radius: 14px;
}
.timeline::before { background: linear-gradient(var(--primary), var(--accent)); opacity: .35; }
.timeline__body:hover { border-color: rgba(29,78,216,.3); }

/* ---------- Table ---------- */
.table thead th {
  background: linear-gradient(120deg, #0a1420, #122a45);
  border-bottom: 2px solid var(--accent);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 12.5px;
}
.table tbody tr:nth-child(even) { background: rgba(29,78,216,.025); }
[data-theme="dark"] .table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.table-wrap { border-radius: var(--radius-sm); }

/* ---------- Callout ---------- */
.callout {
  position: relative;
  padding: 22px 26px 22px 60px;
  border-left-width: 4px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(110deg, rgba(29,78,216,.08), rgba(245,158,11,.06));
  line-height: 1.6;
}
.callout::before {
  content: "!";
  position: absolute;
  left: 18px; top: 22px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}
.callout--warn { border-left-color: var(--accent); background: linear-gradient(110deg, rgba(245,158,11,.11), rgba(245,158,11,.04)); }
.callout--warn::before { background: var(--accent); color: #1a1203; }
.callout strong:first-child { display: inline; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background:
    radial-gradient(700px 360px at 18% 0%, rgba(29,78,216,.55), transparent 62%),
    radial-gradient(520px 320px at 88% 80%, rgba(245,158,11,.22), transparent 62%),
    linear-gradient(140deg, #070d16, #0b1a2c 60%, #10243c);
  overflow: hidden;
}
.cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--stripe); }
.cta::after {
  content: "";
  position: absolute;
  right: -60px; top: 50%;
  width: 380px; height: 380px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,.25);
  box-shadow: 0 0 0 40px rgba(245,158,11,.04), 0 0 0 90px rgba(245,158,11,.03);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta h2 { font-family: var(--font-head); letter-spacing: -.02em; }
.cta .btn--primary { background: #fff; color: #0b1420; }
.cta .btn--primary:hover { background: var(--accent); color: #1a1203; }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: 0; background: #060b13; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--stripe); opacity: .8; }
.footer__inner { padding: 60px 0 48px; }
.footer__brand p { color: #8496ad; }
.footer__nav h3 { letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: #fcd34d; }
.footer__nav a { color: #8ea0b7; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { background: rgba(255,255,255,.02); }
.footer__bottom .container { color: #66788f; }
.footer__disclaimer { max-width: 420px; }

/* ---------- Progress / to-top ---------- */
.progress-bar { height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); box-shadow: 0 0 14px rgba(245,158,11,.45); }
.to-top { border-radius: 14px; background: linear-gradient(145deg, #1e3a8a, #1d4ed8); box-shadow: 0 14px 30px rgba(7,13,22,.35); }

/* ---------- Article page ---------- */
.article-page {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.article-page .article { max-width: 100%; margin: 0; }
.article-page > .article,
.article-page > .article-aside { min-width: 0; }
.article .table-wrap { max-width: 100%; }
.article-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 18px; }

.aside__print { margin-top: 8px; }

.toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(29,78,216,.05), transparent);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: "+";
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: rgba(245,158,11,.16);
  color: var(--amber);
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease;
}
.toc[open] summary::after { content: "−"; }
.toc__list {
  list-style: none;
  margin: 0;
  padding: 8px;
  counter-reset: toc;
  max-height: min(56vh, 520px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.toc__list li { counter-increment: toc; }
.toc__list a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text-muted);
  transition: background .18s ease, color .18s ease;
}
.toc__list a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--steel);
  padding-top: 2px;
}
.toc__list a:hover { background: var(--surface-alt); color: var(--text); }
.toc__list a.is-active { background: rgba(29,78,216,.09); color: var(--primary); font-weight: 600; }
.toc__list a.is-active::before { color: var(--primary); }
[data-theme="dark"] .toc__list a.is-active { background: rgba(59,130,246,.16); color: #93c5fd; }

.aside-cta {
  border-radius: var(--radius);
  padding: 22px;
  color: #e6eefb;
  background:
    radial-gradient(280px 180px at 90% 0%, rgba(245,158,11,.28), transparent 65%),
    linear-gradient(150deg, #0a1420, #122a45);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: var(--shadow);
}
.aside-cta b { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 6px; }
.aside-cta p { font-size: 12.5px; color: #9db0c7; margin-bottom: 14px; }
.aside-cta .btn { width: 100%; }

.article__meta { gap: 10px; margin-bottom: 28px; }
.article__meta span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
}
.article__lead {
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  color: var(--text);
}
.article h2 {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.22;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  scroll-margin-top: 100px;
}
.article h3 { font-family: var(--font-head); scroll-margin-top: 100px; }
.article p { line-height: 1.72; }
.article ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.article ul li, .article ol li { color: var(--text-muted); }
.article ol li::before {
  background: rgba(29,78,216,.12);
  color: var(--primary);
  border-radius: 7px;
}
.article blockquote { border-left-color: var(--accent); background: var(--surface-alt); }
.article .faq { margin: 22px 0 8px; }
.article .faq__q { font-size: 15.5px; }
.article .table-wrap { margin: 26px 0; }

.share { margin-top: 42px; }
.share button, .share a { border-radius: 10px; }
.share button:hover, .share a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ---------- Липкая навигация по разделам ---------- */
.sticky-toc {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(10,20,35,.12);
}
.sticky-toc[hidden] { display: none; }
.sticky-toc__nav {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}
.sticky-toc__nav:disabled { opacity: .4; cursor: default; }
.sticky-toc__title {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 12px;
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
@media (min-width: 1101px) {
  .sticky-toc {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 320px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
  }
}

/* ---------- Форма заявки ---------- */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.apply-status {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  min-height: 20px;
}
.apply-status.is-error { color: var(--red); }
#applySubmit[disabled] { opacity: .65; cursor: wait; }

/* ---------- Поиск по статье ---------- */
.aside-search { margin-bottom: 18px; }
.aside-search input[type="search"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.aside-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}
.aside-search__count { display: block; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.article h2.is-match {
  background: rgba(245,158,11,.14);
  border-radius: 8px;
  padding-left: 10px;
  margin-left: -10px;
}
.article mark { background: rgba(245,158,11,.38); color: inherit; border-radius: 3px; padding: 0 2px; }
.toc__list li.is-hidden { display: none; }
.subhead { font-size: 19px; margin: 34px 0 14px; }

/* ---------- Словарь терминов ---------- */
.gloss h2 { font-size: 15.5px; margin-bottom: 5px; letter-spacing: .01em; }
.gloss p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.gloss a { color: var(--primary); font-weight: 600; }
.gloss a:hover { text-decoration: underline; }
[data-theme="dark"] .gloss a { color: var(--primary-light); }

/* ---------- Promo (home) ---------- */
.promo {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(140deg, #0a1420, #10243c);
  box-shadow: var(--shadow-lg);
  color: #e6eefb;
}
.promo__cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 260px;
  background:
    radial-gradient(260px 200px at 50% 20%, rgba(29,78,216,.5), transparent 70%),
    radial-gradient(200px 180px at 80% 90%, rgba(245,158,11,.25), transparent 70%),
    #08111d;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.promo__cover::after { content: ""; position: absolute; inset: 0; background: var(--stripe); opacity: .06; }
.promo__shield {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 62px;
  line-height: 1;
  filter: drop-shadow(0 10px 24px rgba(245,158,11,.25));
}
.promo__cover span:not(.promo__shield) { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fcd34d; }
.promo__body { padding: 32px 34px; }
.promo__body h3 { font-size: 26px; line-height: 1.24; margin-bottom: 12px; letter-spacing: -.02em; }
.promo__body p { color: #a9bacd; font-size: 15px; margin-bottom: 18px; }
.promo__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.promo__tags span { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #c7d3e3; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 4px 10px; }
.promo__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Homepage grids ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qfact {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.qfact::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--primary), var(--accent)); }
.qfact b { display: block; font-family: var(--font-head); font-size: 26px; line-height: 1.1; color: var(--text); margin: 8px 0 4px; }
.qfact span { font-size: 13px; color: var(--text-muted); }
.qfact i { font-style: normal; font-size: 20px; }

.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.req { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.req__ic { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(29,78,216,.1); color: var(--primary); font-size: 18px; }
.req h3, .req h2 { font-size: 15.5px; margin-bottom: 4px; }
.req p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

.mini-faq { max-width: 860px; margin: 0 auto; }

/* ---------- Responsive (security theme) ---------- */
@media (max-width: 1100px) {
  .article-page { grid-template-columns: 1fr; gap: 30px; padding-bottom: 76px; }
  .article-aside { position: static; }
  .toc__list { max-height: 300px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .to-top { bottom: 78px; }
}
@media (max-width: 860px) {
  .promo { grid-template-columns: 1fr; }
  .promo__cover { min-height: 160px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .promo__shield { font-size: 44px; }
  .promo__body { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .quick-grid, .req-grid { grid-template-columns: 1fr; }
  .hero { padding: 146px 0 86px; }
  .page-hero { padding: 132px 0 60px; }
  .article h2 { font-size: 23px; }
  .article__lead { font-size: 17.5px; }
  .toc__list { max-height: 260px; }
  .promo__body h3 { font-size: 21px; }
  .hero__facts { gap: 6px; }
  .hero__fact { font-size: 12px; padding: 6px 10px; }
}

/* ---------- Header fit + mobile nav (security theme) ---------- */
@media (min-width: 821px) and (max-width: 1200px) {
  .nav {
    position: fixed;
    inset: 80px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(7,13,22,.97);
    backdrop-filter: blur(14px);
    padding: 18px 24px 26px;
    transform: translateY(-130%);
    transition: transform .35s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 96;
  }
  .nav.is-open { transform: none; }
  .nav__link, .header.is-scrolled .nav__link {
    color: #cbd5e1; padding: 12px 0; font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav__link:hover, .nav__link.is-active,
  .header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--accent); }
  .nav__cta { margin: 14px 0 0; }
  .burger { display: flex; }
}
@media (max-width: 1040px) {
  .logo__sub { display: none; }
  .nav { gap: 13px; }
  .nav__link, .nav__drop-toggle { font-size: 13.5px; }
}
@media (max-width: 820px) {
  .nav {
    inset: 80px 0 auto 0;
    max-height: calc(100vh - 80px);
    background: rgba(7, 13, 22, .97);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  body.nav-open { overflow: hidden; }
  .logo__sub { display: block; }
  .nav__link, .header.is-scrolled .nav__link { font-size: 16px; }
}
@media (max-width: 560px) {
  .logo__sub { display: none; }
  .logo__text { font-size: 16px; }
  .logo__mark { width: 38px; height: 40px; }
}

/* ---------- Оплата картой Сбербанка ---------- */
.paycard { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.bank-card {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  padding: 28px 30px 26px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, #21d788 0%, transparent 55%),
    linear-gradient(130deg, #048a43 0%, #12a854 48%, #0f9e6e 100%);
  box-shadow: 0 24px 60px rgba(4, 138, 67, 0.30);
  position: relative;
  overflow: hidden;
  font-family: var(--font-head);
}
.bank-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.10) 50%, transparent 60%);
  pointer-events: none;
}
.bank-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bank-card__sber {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; letter-spacing: .10em; font-size: 15px;
}
.bank-card__sber svg { width: 26px; height: 26px; }
.bank-card__mir {
  font-weight: 800; font-style: italic; font-size: 17px;
  letter-spacing: .04em; color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 7px; padding: 4px 11px;
}
.bank-card__mid { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bank-card__chip svg { width: 42px; height: 30px; }
.bank-card__contactless svg { width: 22px; height: 22px; }
.bank-card__number {
  font-size: clamp(21px, 4.4vw, 26px);
  font-weight: 700;
  letter-spacing: .085em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  margin-bottom: 20px;
  overflow: hidden;
}
.bank-card__bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: rgba(255,255,255,.82);
  text-transform: uppercase; letter-spacing: .09em;
}
.bank-card__hint { opacity: .75; text-transform: none; letter-spacing: .02em; }

.paycard__actions {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.paycard__actions .btn svg { width: 18px; height: 18px; }
.paycard__status { font-size: 14px; font-weight: 600; color: var(--green); min-width: 0; text-align: center; }
.paycard__status.is-error { color: var(--red); }

@media (max-width: 560px) {
  .paycard__status { min-width: 0; }
}

/* ---------- Print article ---------- */
@media print {
  body * { visibility: visible !important; }
  .header, .page-hero, .article-aside, .cta, .footer, .to-top,
  .progress-bar, .share, .sticky-cta, .cookie, .skip-link, .metrika-pixel { display: none !important; }
  .section, .section--tight { padding: 0 !important; }
  .article-page { display: block !important; }
  .article { max-width: 100% !important; }
  .article h2 { padding-left: 10px; border-left-width: 3px; }
  .article h2, .article h3 { break-after: avoid; }
  .table-wrap, .callout, .faq__item { break-inside: avoid; }
  .faq__a { max-height: none !important; }
  .article a { color: #0b1420 !important; text-decoration: underline; }
  body { background: #fff !important; color: #000 !important; }
}



