/* NetAura v2 «Optical / Deep Signal». Только токены из tokens.css. Mobile-first: 320 → 768 → 1200.
   Без JavaScript для оформления. Вся анимация — внутри prefers-reduced-motion: no-preference. */

/* ================= База ================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--sp-2)); }
body {
  margin: 0; background: var(--c-deep); color: var(--c-text-on-dark);
  font-family: var(--font-sans); font-weight: var(--fw-regular);
  font-size: var(--fs-body); line-height: var(--lh-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul.plain, ol.plain { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: var(--fw-semibold); overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.t-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--c-muted-on-dark); }
.t-small { font-size: var(--fs-small); line-height: var(--lh-small); }
.t-muted { color: var(--c-muted-on-dark); }
.statement { font-size: var(--fs-statement); line-height: var(--lh-statement); font-weight: var(--fw-regular); letter-spacing: -0.005em; }

/* Моно-метки и индексы */
.label {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  font-family: var(--font-mono); font-weight: var(--fw-regular);
  font-size: var(--fs-mono); line-height: var(--lh-mono); letter-spacing: var(--ls-mono);
  text-transform: uppercase; color: var(--c-aura);
}
.label--muted { color: var(--c-muted-on-dark); }
.label::before { content: ""; width: 16px; height: 1px; background: currentColor; flex: none; }
.label--bare::before { content: none; }

a { color: var(--c-aura); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-aura-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus-dark); outline-offset: var(--focus-offset); border-radius: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: var(--sp-2); top: -100px; z-index: 100; background: var(--c-aura); color: var(--c-deep); padding: var(--sp-1) var(--sp-2); border-radius: var(--radius-s); }
.skip-link:focus { top: var(--sp-1); color: var(--c-deep); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }

/* Технический фон: точечная сетка + свечение */
.dots { background-image: radial-gradient(var(--c-dot) 1px, transparent 1.5px); background-size: var(--dot-step) var(--dot-step); }
.section--dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--c-dot) 1px, transparent 1.5px);
  background-size: var(--dot-step) var(--dot-step);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, var(--c-deep) 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 0%, var(--c-deep) 0%, transparent 75%);
}
.section > .container { position: relative; }

/* Световое «волокно» — разделитель секций */
.fiber { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, var(--c-glow-none), var(--c-aura) 50%, var(--c-glow-none)); opacity: .55; }

/* ================= Кнопки ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  min-height: 52px; padding: 14px var(--sp-4); max-width: 100%;
  border-radius: var(--radius-s); border: 1px solid transparent;
  font: inherit; font-weight: var(--fw-semibold); font-size: var(--fs-body); line-height: 24px;
  text-decoration: none; text-align: center; cursor: pointer;
}
.btn--primary { background: var(--c-aura); color: var(--c-deep); box-shadow: 0 0 0 0 var(--c-glow-none); }
.btn--primary:hover { background: var(--c-aura-hover); color: var(--c-deep); text-decoration: none; box-shadow: 0 0 32px var(--c-glow); }
.btn--ghost { background: transparent; color: var(--c-text-on-dark); border-color: var(--c-line-on-dark-strong); }
.btn--ghost:hover { color: var(--c-aura-hover); border-color: var(--c-aura); text-decoration: none; }
.btn--sm { min-height: 40px; padding: 8px var(--sp-2); font-size: var(--fs-small); line-height: var(--lh-small); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; background: var(--c-deep-3); color: var(--c-muted-on-dark); border-color: var(--c-line-on-dark-strong); box-shadow: none; }
.btn__arrow { width: 18px; height: 18px; flex: none; }

/* Светлый контекст */
.on-light .btn--primary { background: var(--c-accent); color: var(--c-bg); }
.on-light .btn--primary:hover { background: var(--c-accent-hover); box-shadow: none; }

@media (prefers-reduced-motion: no-preference) {
  .btn, a, .module, .module::after, .field__control, .nav-list a { transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
}

/* ================= Блок: Header ================= */
.b-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-header-bg); border-bottom: 1px solid var(--c-line-on-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
/* Прозрачная поверх Hero → тёмная при прокрутке: только CSS (scroll-driven animations).
   Браузеры без поддержки показывают шапку сразу тёмной — это штатный вид. */
@supports (animation-timeline: scroll()) {
  .b-header--over-hero { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  @keyframes header-solid {
    from { background-color: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
    to   { background-color: var(--c-header-bg); border-bottom-color: var(--c-line-on-dark); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  }
}
.b-header__inner { display: flex; align-items: center; gap: var(--sp-2); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 36px; width: auto; }
.nav-list { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); padding: 0; list-style: none; }
.nav-list a { color: var(--c-text-on-dark); text-decoration: none; padding-block: var(--sp-1); display: inline-block; font-size: var(--fs-small); line-height: var(--lh-small); }
.nav-list a:hover { color: var(--c-aura-hover); }
.lang-switch[hidden] { display: none; }

.b-header__desktop { display: none; }
.menu { margin-left: auto; }
.menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--sp-1);
  min-height: 44px; padding: 0 var(--sp-1); color: var(--c-text-on-dark);
  font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--ls-mono); text-transform: uppercase;
  border-radius: var(--radius-s);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu__icon { width: 24px; height: 24px; }
.menu[open] .menu__icon--open, .menu:not([open]) .menu__icon--close { display: none; }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-deep); border-bottom: 1px solid var(--c-line-on-dark);
  padding: var(--sp-2) var(--gutter) var(--sp-4);
}
.menu__panel .nav-list { flex-direction: column; gap: 0; }
.menu__panel .nav-list a { display: block; padding-block: 14px; border-bottom: 1px solid var(--c-line-on-dark); font-size: var(--fs-body); line-height: var(--lh-body); }
.menu__panel .btn { margin-top: var(--sp-3); width: 100%; }

@media (min-width: 900px) {
  .menu { display: none; }
  .b-header__desktop { display: flex; align-items: center; gap: var(--sp-4); margin-left: auto; }
  .brand img { height: 40px; }
}

/* ================= Блок: Hero ================= */
.b-hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + var(--sp-6)); padding-bottom: var(--sp-8);
  display: flex; align-items: center;
}
.b-hero::before { /* сетка, гаснущая к краям */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(var(--c-dot) 1px, transparent 1.5px); background-size: var(--dot-step) var(--dot-step);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 50%, var(--c-deep) 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 72% 50%, var(--c-deep) 0%, transparent 80%);
}
.b-hero::after { /* нижнее «волокно» */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--c-glow-none), var(--c-aura) 50%, var(--c-glow-none)); opacity: .55;
}
.b-hero__grid { display: grid; gap: var(--sp-4); align-items: center; width: 100%; }
.b-hero__text { position: relative; z-index: 1; max-width: 760px; }
.b-hero__text .label { margin-bottom: var(--sp-3); }
.b-hero__text h1 { margin-bottom: var(--sp-3); }
.b-hero__text .t-lead { margin-bottom: var(--sp-5); max-width: 600px; }
.b-hero__art { position: relative; justify-self: center; width: min(88vw, 360px); aspect-ratio: 1; z-index: -1; margin-top: calc(-1 * var(--sp-2)); }
.b-hero__art::before { /* световой объект */
  content: ""; position: absolute; inset: -20%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--c-glow) 0%, var(--c-glow-soft) 30%, var(--c-glow-none) 62%);
}
.aura { position: relative; width: 100%; height: 100%; overflow: visible; }
.aura .ring { fill: none; stroke: var(--c-line-on-dark-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.aura .arc { fill: none; stroke: var(--c-aura); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.aura .core { fill: var(--c-aura); }
.aura .core-ring { fill: none; stroke: var(--c-aura); stroke-width: 2; vector-effect: non-scaling-stroke; }
.aura .wave { transform-origin: 50% 50%; transform-box: view-box; }
.aura .w1 { opacity: 1; } .aura .w2 { opacity: .85; } .aura .w3 { opacity: .7; } .aura .w4 { opacity: .5; } .aura .w5 { opacity: .32; }

@media (prefers-reduced-motion: no-preference) {
  .aura .wave { animation: aura-pulse var(--pulse) ease-in-out infinite; }
  .aura .w2 { animation-delay: -2s; } .aura .w3 { animation-delay: -4s; } .aura .w4 { animation-delay: -6s; } .aura .w5 { animation-delay: -8s; }
  .b-hero__art::before { animation: aura-glow var(--pulse) ease-in-out infinite; }
  @keyframes aura-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); opacity: .45; } }
  @keyframes aura-glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
}

@media (min-width: 768px) {
  .b-hero { min-height: max(640px, 100svh); padding-top: calc(var(--header-h) + var(--sp-8)); padding-bottom: var(--sp-10); }
  .b-hero__grid { grid-template-columns: repeat(12, 1fr); gap: var(--grid-gap); }
  .b-hero__text { grid-column: 1 / span 8; grid-row: 1; }
  .b-hero__art { grid-column: 7 / span 6; grid-row: 1; justify-self: end; width: 100%; max-width: 560px; margin-top: 0; }
}
@media (min-width: 1200px) {
  .b-hero__text { grid-column: 1 / span 8; grid-row: 1; max-width: 820px; }
  .b-hero__art { grid-column: 7 / span 6; max-width: 620px; margin-right: calc(-1 * var(--sp-6)); }
}

/* ================= Блок: Заголовок секции ================= */
.b-section-head { max-width: 760px; margin-bottom: var(--sp-6); }
.b-section-head h2 { position: relative; }
.b-section-head .label { margin-bottom: var(--sp-2); }
.b-section-head p { margin-top: var(--sp-2); color: var(--c-muted-on-dark); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.b-section-head p.statement { color: var(--c-text-on-dark); font-size: var(--fs-statement); line-height: var(--lh-statement); margin-top: var(--sp-3); }

/* ================= Блок: Сетка карточек (модули) ================= */
.b-cards { display: grid; gap: var(--grid-gap); grid-template-columns: 1fr; padding: 0; list-style: none; }
@media (min-width: 768px) { .b-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .b-cards--4 { grid-template-columns: repeat(4, 1fr); } .b-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.module {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0;
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: linear-gradient(180deg, var(--c-deep-3), var(--c-deep-2));
  border: 1px solid var(--c-line-on-dark); border-radius: var(--radius-l);
}
/* уголки-риски */
.module::before, .module::after {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
  border-color: var(--c-aura); border-style: solid; opacity: .7;
}
.module::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; border-top-left-radius: var(--radius-l); }
.module::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; border-bottom-right-radius: var(--radius-l); }
.module:hover { border-color: var(--c-aura); box-shadow: 0 0 0 1px var(--c-glow-soft), 0 12px 48px -12px var(--c-glow); }
.module__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.module__icon { width: 44px; height: 44px; flex: none; border-radius: var(--radius-m); border: 1px solid var(--c-line-on-dark-strong); color: var(--c-aura); display: grid; place-items: center; background: var(--c-deep); }
.module__icon svg { width: 24px; height: 24px; }
.module .label { min-width: 0; overflow-wrap: anywhere; }
.module p { color: var(--c-muted-on-dark); }
.module__list { display: grid; gap: var(--sp-2); padding: var(--sp-2) 0 0; margin-top: auto; list-style: none; border-top: 1px solid var(--c-line-on-dark); }
.module__list li { color: var(--c-muted-on-dark); font-size: var(--fs-small); line-height: var(--lh-small); }
.module__list strong { display: block; color: var(--c-text-on-dark); font-weight: var(--fw-semibold); font-size: var(--fs-body); line-height: var(--lh-body); }

/* Модули на светлой панели */
.on-light .module { background: var(--c-bg); border-color: var(--c-line); }
.on-light .module::before, .on-light .module::after { border-color: var(--c-accent); }
.on-light .module:hover { border-color: var(--c-accent); box-shadow: 0 12px 40px -16px var(--c-glow); }
.on-light .module__icon { background: var(--c-surface); border-color: var(--c-line); color: var(--c-accent); }
.on-light .module p { color: var(--c-slate); }

/* ================= Блок: Плашка Add-on ================= */
.b-addon {
  position: relative; margin-top: var(--grid-gap); overflow: hidden;
  display: grid; gap: var(--sp-2); align-items: center;
  padding: var(--sp-3); border-radius: var(--radius-l);
  border: 1px solid var(--c-line-on-dark-strong);
  background: linear-gradient(90deg, var(--c-glow-soft), var(--c-glow-none) 60%), var(--c-deep-2);
}
.b-addon::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-aura); box-shadow: 0 0 16px var(--c-glow); }
.b-addon h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.b-addon p { color: var(--c-muted-on-dark); }
@media (min-width: 768px) { .b-addon { grid-template-columns: auto auto 1fr; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); } }

/* ================= Блок: Строка-примечание ================= */
.b-note { margin-top: var(--sp-5); }

/* ================= Светлая панель ================= */
.panel-light {
  position: relative; background: var(--c-surface); color: var(--c-ink);
  border-radius: var(--radius-panel); padding: var(--sp-8) var(--sp-1);
  box-shadow: 0 40px 120px -40px var(--c-glow-soft);
}
.panel-light .label { color: var(--c-accent); }
.panel-light .label--muted { color: var(--c-slate); }
.panel-light a { color: var(--c-accent); }
.panel-light a:hover { color: var(--c-accent-hover); }
.panel-light :focus-visible { outline: var(--focus-light); }
.panel-light .b-section-head p { color: var(--c-slate); }
.panel-light .b-section-head p.statement { color: var(--c-ink); }
.panel-wrap { padding-inline: var(--sp-1); }
@media (min-width: 768px) { .panel-light { padding: var(--sp-12) var(--sp-6); } .panel-wrap { padding-inline: var(--gutter); } }
@media (min-width: 1200px) { .panel-light { padding: var(--sp-16) var(--sp-10); } .panel-wrap { max-width: calc(var(--container) + 2 * var(--sp-10) + 2 * var(--gutter)); margin-inline: auto; } }

/* ================= Блок: Текстовый блок ================= */
.b-text { display: grid; gap: var(--sp-4); }
.b-text__body { max-width: 760px; display: grid; gap: var(--sp-2); }
@media (min-width: 1200px) {
  .b-text--split { grid-template-columns: repeat(12, 1fr); gap: var(--grid-gap); align-items: start; }
  .b-text--split > .b-text__head { grid-column: 1 / span 4; }
  .b-text--split > .b-text__body { grid-column: 5 / span 8; max-width: none; }
}

/* Company: заявление + таблица фактов */
.facts { display: grid; gap: 0; margin-top: var(--sp-4); border-top: 1px solid var(--c-line-on-dark-strong); }
.facts__row { display: grid; gap: var(--sp-1); padding-block: var(--sp-2); border-bottom: 1px solid var(--c-line-on-dark); }
.facts dt { color: var(--c-muted-on-dark); }
.facts dd { font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
@media (min-width: 768px) { .facts__row { grid-template-columns: 220px 1fr; gap: var(--sp-3); align-items: baseline; } }

/* ================= Блок: Контакты + Форма заявки ================= */
.b-contact { display: grid; gap: var(--sp-6); }
.b-contact__intro .label { margin-bottom: var(--sp-2); }
.b-contact__intro p { color: var(--c-muted-on-dark); margin-top: var(--sp-2); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.b-contact__list { display: grid; gap: var(--sp-2); margin-top: var(--sp-5); }
.contact-item { display: grid; gap: var(--sp-1); padding: var(--sp-3); border-radius: var(--radius-l); border: 1px solid var(--c-line-on-dark); background: var(--c-deep-2); min-width: 0; }
.contact-item dd { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
.contact-item a { color: var(--c-text-on-dark); text-decoration-color: var(--c-aura); }
.contact-item a:hover { color: var(--c-aura-hover); }
@media (min-width: 1200px) {
  .b-contact { grid-template-columns: repeat(12, 1fr); gap: var(--grid-gap); align-items: start; }
  .b-contact__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + var(--sp-4)); }
  .b-contact__form { grid-column: 7 / span 6; }
}

/* ---------- Форма ---------- */
.form-card {
  position: relative; padding: var(--sp-4) var(--sp-3); border-radius: var(--radius-l);
  background: var(--c-deep-2); border: 1px solid var(--c-line-on-dark-strong);
  box-shadow: 0 32px 96px -32px var(--c-glow-soft);
}
@media (min-width: 768px) { .form-card { padding: var(--sp-5); } }
.form-card__head { margin-bottom: var(--sp-4); }
.form-card__head p { color: var(--c-muted-on-dark); margin-top: var(--sp-1); }
.form-card__req { margin-top: var(--sp-2); }
.form { display: grid; gap: var(--sp-3); }
.field { display: grid; gap: var(--sp-1); min-width: 0; }
.field__label { font-weight: var(--fw-semibold); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-on-dark); }
.field__control {
  width: 100%; min-height: 52px; padding: 13px var(--sp-2);
  font: inherit; font-size: var(--fs-body); line-height: 24px; color: var(--c-text-on-dark);
  background: var(--c-deep-3); border: 1px solid var(--c-field-border); border-radius: var(--radius-m);
  -webkit-appearance: none; appearance: none;
}
textarea.field__control { min-height: 168px; resize: vertical; }
.field__control::placeholder { color: var(--c-muted-on-dark); opacity: 1; }
.field__control:hover { border-color: var(--c-muted-on-dark); }
.field__control:focus { outline: none; }
.field__control:focus-visible, .field__control.is-focus { outline: var(--focus-dark); outline-offset: 0; border-color: var(--c-aura); box-shadow: 0 0 0 4px var(--c-glow-soft); }
.field__meta { display: flex; justify-content: space-between; gap: var(--sp-2); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-muted-on-dark); }
.field__counter { font-family: var(--font-mono); font-size: var(--fs-mono); line-height: var(--lh-small); letter-spacing: 0.02em; margin-left: auto; white-space: nowrap; }
.field__error { display: flex; gap: var(--sp-1); align-items: flex-start; color: var(--c-error-on-dark); font-size: var(--fs-small); line-height: var(--lh-small); }
.field__error svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.field--invalid .field__control { border-color: var(--c-error-on-dark); box-shadow: inset 3px 0 0 var(--c-error-on-dark); }
.field--invalid .field__counter.is-over { color: var(--c-error-on-dark); }
.form__notice { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-muted-on-dark); }
.form__actions { display: grid; gap: var(--sp-2); }
.form__actions .btn { width: 100%; }
@media (min-width: 768px) { .form__actions .btn { width: auto; justify-self: start; min-width: 220px; } }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* ловушка, невидима */

.spinner { width: 18px; height: 18px; flex: none; }
.spinner circle { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 40 60; }
@media (prefers-reduced-motion: no-preference) { .spinner { animation: spin 0.9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }

.alert {
  display: flex; gap: var(--sp-2); align-items: flex-start;
  padding: var(--sp-2); border-radius: var(--radius-m);
  border: 1px solid var(--c-error-on-dark); background: var(--c-error-bg-dark); color: var(--c-text-on-dark);
  font-size: var(--fs-small); line-height: var(--lh-small);
}
.alert svg { width: 20px; height: 20px; flex: none; color: var(--c-error-on-dark); }
.alert a { color: var(--c-aura); }

.form-success { display: grid; gap: var(--sp-2); justify-items: start; padding-block: var(--sp-4); }
.form-success__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--c-aura); border: 1px solid var(--c-aura); box-shadow: 0 0 32px var(--c-glow); }
.form-success__icon svg { width: 28px; height: 28px; }
.form-success p { color: var(--c-muted-on-dark); }

/* ================= Блок: Footer ================= */
.b-footer { position: relative; background: var(--c-deep); color: var(--c-muted-on-dark); padding-block: var(--sp-10) var(--sp-5); overflow: hidden; isolation: isolate; }
.b-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--c-glow-none), var(--c-aura) 50%, var(--c-glow-none)); opacity: .55; }
.b-footer::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -240px; bottom: -360px; border-radius: 50%; background: radial-gradient(circle, var(--c-glow-soft), var(--c-glow-none) 65%); }
.b-footer__grid { display: grid; gap: var(--sp-6); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--c-line-on-dark); }
.b-footer__mark { width: 88px; height: auto; }
.b-footer__brand { display: grid; gap: var(--sp-3); align-content: start; }
.b-footer__brand img.b-footer__logo { height: 40px; width: auto; margin-top: var(--sp-3); }
.b-footer__col .label { margin-bottom: var(--sp-2); }
.b-footer .nav-list { flex-direction: column; gap: 0; }
.b-footer .nav-list a { color: var(--c-text-on-dark); font-size: var(--fs-body); line-height: var(--lh-body); padding-block: 4px; }
.b-footer .nav-list a:hover { color: var(--c-aura-hover); }
.b-footer__legal { display: grid; gap: var(--sp-1); align-content: start; font-size: var(--fs-small); line-height: var(--lh-small); }
.b-footer__legal .legal-name { color: var(--c-text-on-dark); font-weight: var(--fw-semibold); }
.b-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); justify-content: space-between; padding-top: var(--sp-3); font-size: var(--fs-small); line-height: var(--lh-small); }
.b-footer__bottom a { color: var(--c-text-on-dark); }
@media (min-width: 768px) {
  .b-footer__grid { grid-template-columns: repeat(12, 1fr); gap: var(--grid-gap); }
  .b-footer__brand { grid-column: 1 / span 5; }
  .b-footer__col--nav { grid-column: 7 / span 2; }
  .b-footer__col--legal { grid-column: 9 / span 4; }
}

/* ================= Шаблон: Юридическая страница ================= */
.page-legal { padding-block: var(--sp-4) var(--sp-10); }
.legal-head { margin-bottom: var(--sp-6); max-width: 760px; }
.legal-head .label { margin-bottom: var(--sp-2); }
.legal-head h1 { color: var(--c-ink); }
.legal-head .label--muted { margin-top: var(--sp-3); }
.legal-layout { display: grid; gap: var(--sp-5); }
.toc { border: 1px solid var(--c-line); border-radius: var(--radius-l); background: var(--c-bg); padding: var(--sp-3); align-self: start; }
.toc .label { margin-bottom: var(--sp-2); }
.toc ol { padding: 0; margin: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 32px 1fr; padding: 6px 0; color: var(--c-ink); text-decoration: none; font-size: var(--fs-small); line-height: var(--lh-small); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--c-accent); }
.toc a:hover { color: var(--c-accent); text-decoration: underline; }
.legal-body { max-width: 720px; counter-reset: sec; color: var(--c-ink); }
.legal-body > section { padding-top: var(--sp-5); margin-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.legal-body > section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h2 { counter-increment: sec; font-size: var(--fs-h3); line-height: var(--lh-h3); margin-bottom: var(--sp-2); display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2); align-items: baseline; }
.legal-body h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--font-mono); font-weight: var(--fw-regular); font-size: var(--fs-mono); letter-spacing: var(--ls-mono); color: var(--c-accent); }
.legal-body h3 { font-size: var(--fs-body); line-height: var(--lh-body); margin-top: var(--sp-3); margin-bottom: var(--sp-1); }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: var(--sp-2); }
.legal-body ul { padding-left: var(--sp-3); }
.legal-body li + li { margin-top: var(--sp-1); }
.legal-body li::marker { color: var(--c-accent); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-2); font-size: var(--fs-small); line-height: var(--lh-small); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px var(--sp-2) 12px 0; border-bottom: 1px solid var(--c-line); }
.legal-table th { font-family: var(--font-mono); font-weight: var(--fw-regular); font-size: var(--fs-mono); letter-spacing: var(--ls-mono); text-transform: uppercase; color: var(--c-slate); }
.table-scroll { overflow-x: auto; }
@media (min-width: 1200px) {
  .legal-layout { grid-template-columns: 280px 1fr; gap: var(--sp-10); }
  .toc { position: sticky; top: calc(var(--header-h) + var(--sp-3)); }
}
