/* ==========================================================================
   u.stin vpn — второстепенные страницы
   success.html (.success-*), offer.html / privacy.html (.legal-*), 404.html (.nf-*),
   общее для них (.page-*). Только токены из tokens.css; базовые классы — из base.css.
   ========================================================================== */

/* ---------- Общее ---------- */
.page-sub { background: var(--bg); }
.page-sub .page { min-height: 70vh; }

/* ==========================================================================
   SUCCESS — «Оплата прошла»
   ========================================================================== */
.success-hero {
  position: relative; isolation: isolate; overflow: clip;
  display: grid; align-items: center; min-height: 100svh;
  padding: calc(var(--header-h) + clamp(40px, 6vh, 72px)) 0 clamp(56px, 8vh, 96px);
  text-align: center;
}
.success-hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.success-hero__grid {
  position: absolute; inset: -1px; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 30%, #000 0%, transparent 75%);
}
.success-hero__aura {
  position: absolute; inset: 0;
  background:
    radial-gradient(38% 32% at 50% 26%, rgba(var(--azure-rgb), .22), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, rgba(var(--navy-rgb), .9), transparent 70%),
    radial-gradient(40% 40% at 90% 0%, rgba(var(--cobalt-rgb), .12), transparent 70%);
  opacity: .6; transition: opacity 2.4s var(--ease-out);
}
.success-hero.is-lit .success-hero__aura { opacity: 1; }
.success-hero__rays {
  position: absolute; left: 50%; top: 26%; width: max(1500px, 130vw); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; opacity: 0; scale: .55;
  background: repeating-conic-gradient(from 0deg, rgba(var(--sky-rgb), .075) 0deg 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 6%, rgba(0, 0, 0, .5) 26%, transparent 62%);
  mask-image: radial-gradient(closest-side, #000 6%, rgba(0, 0, 0, .5) 26%, transparent 62%);
  transition: opacity 2.6s var(--ease-out), scale 3s var(--ease-out);
  animation: successRays 120s linear infinite;
}
.success-hero.is-lit .success-hero__rays { opacity: 1; scale: 1; }
@keyframes successRays { to { rotate: 360deg; } }
.success-hero__sparks { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.success-hero__inner { position: relative; display: grid; justify-items: center; }

/* Знак успеха: кольцо рисуется, галочка, вспышка, волны, орбита */
.success-mark { position: relative; width: clamp(120px, min(13vw, 19vh), 176px); aspect-ratio: 1; margin-bottom: clamp(26px, 3.4vw, 40px); }
.success-mark__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.success-mark__ticks { fill: none; stroke: rgba(var(--sky-rgb), .38); stroke-width: 1.4; stroke-dasharray: 1.2 6.02; transform-origin: 100px 100px; animation: successSpin 60s linear infinite; }
.success-mark__track { fill: none; stroke: rgba(var(--sky-rgb), .12); stroke-width: 2; }
.success-mark__disc { transform-box: fill-box; transform-origin: center; }
.success-mark__ring {
  fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 100 100;
  transform: rotate(-90deg); transform-origin: 100px 100px;
  filter: drop-shadow(0 0 6px rgba(var(--sky-rgb), .85));
}
.success-mark__check {
  fill: none; stroke: #fff; stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 100;
  filter: drop-shadow(0 0 7px rgba(var(--sky-rgb), .95)) drop-shadow(0 0 22px rgba(var(--azure-rgb), .7));
}
.success-mark__halo {
  position: absolute; inset: -34%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--sky-rgb), .34), rgba(var(--azure-rgb), .14) 45%, transparent 72%);
  animation: successBreath 4.8s ease-in-out infinite alternate;
}
.success-mark__wave {
  position: absolute; inset: 12%; border-radius: 50%; opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(var(--ice-rgb), .9), 0 0 24px 2px rgba(var(--sky-rgb), .7), inset 0 0 24px rgba(var(--sky-rgb), .5);
}
.success-mark__flash {
  position: absolute; inset: 18%; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, #fff, rgba(var(--ice-rgb), .7) 35%, rgba(var(--sky-rgb), 0) 75%);
  mix-blend-mode: screen;
}
.success-mark__orbit {
  position: absolute; inset: -16%; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .1);
  animation: successSpin 14s linear infinite;
}
.success-mark__orbit i {
  position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 10px 2px rgba(var(--sky-rgb), .95), 0 0 30px 6px rgba(var(--azure-rgb), .5);
}
@keyframes successSpin { to { rotate: 360deg; } }
@keyframes successBreath { from { scale: .92; opacity: .75; } to { scale: 1.06; opacity: 1; } }

/* Начальные состояния — только с JS и не для reduced-motion */
.js .success-mark:not(.is-static) .success-mark__ring { stroke-dashoffset: 100; }
.js .success-mark:not(.is-static) .success-mark__check { stroke-dashoffset: 100; }
.js .success-mark:not(.is-static) .success-mark__disc { opacity: 0; scale: .55; }
.js .success-mark:not(.is-static) .success-mark__ticks,
.js .success-mark:not(.is-static) .success-mark__track,
.js .success-mark:not(.is-static) .success-mark__orbit,
.js .success-mark:not(.is-static) .success-mark__halo { opacity: 0; }

.success-mark.is-play .success-mark__track { animation: successFade .8s var(--ease-out) .1s both; }
.success-mark.is-play .success-mark__ticks { animation: successFade 1.4s var(--ease-out) .25s both, successSpin 60s linear infinite; }
.success-mark.is-play .success-mark__ring { animation: successDraw .95s cubic-bezier(.65, 0, .35, 1) .15s both; }
.success-mark.is-play .success-mark__disc { animation: successDisc .9s var(--ease-spring) .5s both; }
.success-mark.is-play .success-mark__check { animation: successDraw .42s cubic-bezier(.3, 0, .2, 1) .88s both; }
.success-mark.is-play .success-mark__svg { animation: successPop .9s var(--ease-out) 1.2s both; }
.success-mark.is-play .success-mark__flash { animation: successFlash .9s var(--ease-out) 1.22s both; }
.success-mark.is-play .success-mark__wave { animation: successWave 1.6s var(--ease-out) 1.22s both; }
.success-mark.is-play .success-mark__wave--2 { animation: successWave 1.9s var(--ease-out) 1.42s both; }
.success-mark.is-play .success-mark__halo { animation: successFade 1.2s var(--ease-out) 1.2s both, successBreath 4.8s ease-in-out 2.4s infinite alternate; }
.success-mark.is-play .success-mark__orbit { animation: successFade 1.4s var(--ease-out) 1.5s both, successSpin 14s linear infinite; }
@keyframes successFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes successDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes successDisc { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }
@keyframes successPop { 0% { scale: 1; } 30% { scale: 1.07; } 100% { scale: 1; } }
@keyframes successFlash { 0% { opacity: 0; scale: .4; } 18% { opacity: 1; } 100% { opacity: 0; scale: 2.1; } }
@keyframes successWave { 0% { opacity: .95; scale: 1; } 100% { opacity: 0; scale: 3.1; } }

.success-hero__eyebrow { margin-bottom: 26px; }
.success-hero__eyebrow::before { background: var(--ok); box-shadow: 0 0 10px 1px rgba(var(--ok-rgb), .9); }
.success-hero__title { max-width: 12em; font-size: clamp(40px, min(6.4vw, 11vh), 100px); }
.success-line-mask { padding-bottom: .14em; margin-bottom: -.14em; }

/* Появление текста hero — по сигналу success.js (после знака), страховка — через 5 с */
.js .success-rise {
  opacity: 0; translate: 0 26px; filter: blur(8px);
  transition: opacity 1.1s var(--ease-out), translate 1.3s var(--ease-out), filter 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
  animation: successFailsafe .01s linear 5s forwards;
}
.success-hero.is-text .success-rise { opacity: 1; translate: 0 0; filter: none; }
@keyframes successFailsafe { to { opacity: 1; translate: 0 0; filter: none; } }
.success-hero__lead { margin: 24px auto 0; max-width: 34em; }
.success-hero__lead b { color: var(--text); font-weight: 600; white-space: nowrap; }
.success-demo {
  display: inline-flex; justify-self: center; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 16px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
  background: rgba(var(--sky-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .22);
}
.success-demo .i { width: 15px; height: 15px; color: var(--sky); }
.success-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* «Чек» заказа */
.success-receipt {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(900px, 100%); margin: clamp(48px, 6vh, 72px) 0 0;
  border-radius: var(--r-lg); text-align: left;
  /* без backdrop-filter: под «чеком» вращаются лучи — размытие пересчитывалось бы каждый кадр */
  background: linear-gradient(180deg, rgba(16, 30, 64, .9), rgba(7, 14, 32, .92));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .07), var(--shadow-card);
}
.success-receipt::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: var(--grad-line);
}
.success-receipt::after { /* блик один раз после появления */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(var(--ice-rgb), .09) 48%, rgba(var(--sky-rgb), .06) 52%, transparent 65%);
  translate: -100% 0;
}
.success-hero.is-text .success-receipt::after { animation: successSweep 1.8s var(--ease-in-out) 2.1s both; }
@keyframes successSweep { to { translate: 100% 0; } }
.success-receipt__cell { position: relative; padding: 22px 26px 24px; min-width: 0; }
.success-receipt__cell + .success-receipt__cell::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 0; border-left: 1px dashed var(--line-2);
}
.success-receipt dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.success-receipt dd {
  margin: 10px 0 0; font-family: var(--f-display); font-size: clamp(15px, 1.25vw, 18px); font-weight: 400; letter-spacing: -.02em;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.success-receipt dd.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }

/* Ключ */
.success-key { padding-top: clamp(72px, 10vw, 140px); }
.success-key__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 7vw, 110px); }
.success-key__visual { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px) 0; }
.success-key__glow {
  position: absolute; left: 50%; top: 50%; width: 130%; aspect-ratio: 1.4; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--azure-rgb), .3), rgba(var(--cobalt-rgb), .1) 50%, transparent);
}
.success-key__orbit { position: absolute; left: 50%; top: 52%; width: 118%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; perspective: 1200px; }
.success-key__orbit i {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .12);
  transform: rotateX(74deg); animation: successOrbit 26s linear infinite;
}
.success-key__orbit i::after {
  content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 12px 3px rgba(var(--sky-rgb), .9);
}
.success-key__orbit i:nth-child(2) { inset: 12%; animation-duration: 17s; animation-direction: reverse; }
@keyframes successOrbit { from { transform: rotateX(74deg) rotateZ(0deg); } to { transform: rotateX(74deg) rotateZ(360deg); } }
.success-card { width: min(480px, 100%); }
.success-card__status {
  position: absolute; right: 7%; top: 36%; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: clamp(8.5px, .72vw, 10.5px); letter-spacing: .14em; text-transform: uppercase; color: var(--ok);
  background: rgba(var(--bg-rgb), .45); box-shadow: inset 0 0 0 1px rgba(var(--ok-rgb), .45), 0 0 20px -6px rgba(var(--ok-rgb), .7);
}
.success-card__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: dotPulse 1.8s ease-in-out infinite; }
.success-key__text { display: grid; justify-items: start; gap: 22px; }
.success-key__text .h2 { max-width: 10em; }
.success-facts { display: grid; width: 100%; margin-top: 14px; border-top: 1px solid var(--line); }
.success-facts li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.success-facts__ic {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--sky);
  background: linear-gradient(180deg, rgba(var(--sky-rgb), .12), rgba(var(--sky-rgb), .03));
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .2), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.success-facts__ic .i { width: 21px; height: 21px; }
.success-facts b { display: block; font-size: 16px; font-weight: 600; color: var(--text); }
.success-facts li > div > span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--text-2); }

/* Подключение */
.success-setup { overflow: clip; padding-bottom: clamp(80px, 9vw, 130px); }
.success-setup__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 30%, rgba(var(--navy-rgb), .9), transparent 70%), linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg));
}
.success-setup .section-head { margin-bottom: clamp(36px, 4vw, 52px); }
.success-tabs {
  position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto; padding: 5px; border-radius: var(--r-pill);
  background: rgba(var(--navy-rgb), .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .05);
}
html:not(.js) .success-tabs { display: none; }
.success-tabs__pill {
  position: absolute; left: 0; top: 5px; bottom: 5px; border-radius: var(--r-pill); opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--sky-rgb), .22), rgba(var(--azure-rgb), .14));
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .45), inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 26px -8px rgba(var(--azure-rgb), .8);
  transition: translate .65s var(--ease-out), width .65s var(--ease-out), opacity .3s;
}
.success-tabs__tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; color: var(--text-3); transition: color .4s;
}
.success-tabs__tab .i { width: 17px; height: 17px; }
.success-tabs__tab:hover { color: var(--text-2); }
.success-tabs__tab[aria-selected="true"] { color: var(--text); }
.success-tabs__tab[aria-selected="true"] .i { color: var(--sky); }

.success-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.success-step {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 300px;
  padding: 28px 28px 26px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(18, 34, 72, .5), rgba(8, 16, 36, .45));
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-card);
}
.success-step::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -20%), rgba(var(--sky-rgb), .1), transparent 70%);
}
.success-step__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--sky); }
.success-step__num::before { content: "Шаг "; color: var(--text-3); }
.success-step__ic {
  position: absolute; right: 24px; top: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--sky);
  background: radial-gradient(circle at 50% 30%, rgba(var(--sky-rgb), .2), rgba(var(--sky-rgb), .03));
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .25), 0 0 26px -8px rgba(var(--sky-rgb), .6);
}
.success-step__ic .i { width: 20px; height: 20px; }
.success-step .h3 { margin-top: 26px; }
.success-step p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.success-step__btn, .success-step__hint { margin-top: auto; }
.success-step__hint {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; max-width: 100%; padding: 0 16px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--text-2);
  background: rgba(var(--bg-rgb), .35); box-shadow: inset 0 0 0 1px var(--line-2);
}
.success-step__hint > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.success-step__hint .i { width: 16px; height: 16px; color: var(--sky); }
.success-step__hint--ok { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(var(--ok-rgb), .35), 0 0 24px -10px rgba(var(--ok-rgb), .8); text-transform: uppercase; letter-spacing: .12em; }
/* мини-переключатель «включается», когда карточка появилась */
.success-switch {
  position: relative; flex: none; width: 32px; height: 19px; border-radius: var(--r-pill);
  background: rgba(var(--ok-rgb), .22); box-shadow: inset 0 0 0 1px rgba(var(--ok-rgb), .6), 0 0 14px -2px rgba(var(--ok-rgb), .7);
  transition: background-color .5s .9s, box-shadow .5s .9s;
}
.success-switch i {
  position: absolute; left: 3px; top: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px var(--ok); translate: 13px 0;
  transition: translate .7s var(--ease-spring) .9s, background-color .4s .9s, box-shadow .4s .9s;
}
.success-step__hint--ok { transition: color .5s .9s, box-shadow .5s .9s; }
.js .success-step:not(.is-in) .success-step__hint--ok { color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.js .success-step:not(.is-in) .success-switch { background: rgba(var(--text-rgb), .08); box-shadow: inset 0 0 0 1px var(--line-2); }
.js .success-step:not(.is-in) .success-switch i { translate: 0 0; background: var(--text-3); box-shadow: none; }
/* смена устройства — шаги «перелистываются» */
.success-steps.is-swap .success-step { animation: successSwap .8s var(--ease-out) both; }
.success-steps.is-swap .success-step:nth-child(2) { animation-delay: .05s; }
.success-steps.is-swap .success-step:nth-child(3) { animation-delay: .1s; }
@keyframes successSwap {
  0% { opacity: 1; translate: 0 0; filter: blur(0); }
  36% { opacity: 0; translate: 0 12px; filter: blur(6px); }
  100% { opacity: 1; translate: 0 0; filter: blur(0); }
}

.success-help {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 24px 26px; border-radius: var(--r-lg);
  background: linear-gradient(100deg, rgba(var(--cobalt-rgb), .2), rgba(8, 16, 36, .5) 55%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.success-help::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 10%) var(--my, 50%), rgba(var(--sky-rgb), .12), transparent 70%);
}
.success-help__ic {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; color: var(--sky);
  background: rgba(var(--sky-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .25);
}
.success-help__ic .i { width: 24px; height: 24px; }
.success-help__text { flex: 1; min-width: 0; }
.success-help__text b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 18px; letter-spacing: -.02em; }
.success-help__text span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.success-help__actions { flex: none; }

/* ==========================================================================
   LEGAL — оферта и политика
   ========================================================================== */
.legal-hero { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(52px, 6vw, 84px); }
.legal-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.legal-hero__bg::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 90% at 85% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 85% 0%, #000, transparent 70%);
}
.legal-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(45% 60% at 88% 0%, rgba(var(--azure-rgb), .2), transparent 70%), radial-gradient(45% 45% at 0% 70%, rgba(var(--navy-rgb), .75), transparent 70%);
}
.legal-hero__glyph {
  position: absolute; right: max(2vw, calc(50% - var(--container) / 2 - 40px)); top: 50%; margin-top: -.62em;
  font-family: var(--f-display); font-weight: 200; font-size: clamp(320px, 38vw, 620px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--sky-rgb), .2);
  background: linear-gradient(160deg, rgba(var(--sky-rgb), .1), rgba(var(--azure-rgb), .02) 60%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
  user-select: none;
}
.legal-hero__beam {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad-line); opacity: .7;
  box-shadow: 0 0 24px 1px rgba(var(--sky-rgb), .25);
}
.legal-switch {
  position: relative; display: inline-flex; max-width: 100%; margin-bottom: clamp(30px, 4vw, 44px); padding: 5px; border-radius: var(--r-pill);
  background: rgba(var(--navy-rgb), .5); box-shadow: inset 0 0 0 1px var(--line-2);
}
.legal-switch a {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; color: var(--text-3); white-space: nowrap; transition: color .35s, background-color .35s, box-shadow .35s;
}
.legal-switch a .i { width: 16px; height: 16px; }
.legal-switch__short { display: none; }
.legal-switch a:hover { color: var(--text); }
.legal-switch a[aria-current="page"] {
  color: var(--text); background: rgba(var(--sky-rgb), .12);
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .35), 0 6px 20px -8px rgba(var(--azure-rgb), .8);
}
.legal-switch a[aria-current="page"] .i { color: var(--sky); }
.legal-title { font-size: clamp(30px, 5.4vw, 84px); max-width: 13em; }
.legal-hero .lead { margin-top: 24px; max-width: 38em; }
.legal-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
}
.legal-meta > i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-4); }
.legal-meta button, .legal-meta a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); letter-spacing: inherit; text-transform: inherit; font-size: inherit; font-family: inherit; transition: color .3s; }
.legal-meta button:hover, .legal-meta a:hover { color: var(--sky); }
.legal-meta .i { width: 15px; height: 15px; color: var(--sky); }

/* Коротко о главном */
.legal-brief { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 5vw, 60px); }
.legal-brief__item {
  position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: start; gap: 12px; padding: 20px 20px 22px; border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 34, 72, .48), rgba(8, 16, 36, .4));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: box-shadow .5s;
}
.legal-brief__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -30%), rgba(var(--sky-rgb), .1), transparent 70%);
}
.legal-brief__item:hover { box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .07); }
.legal-brief__item .i { width: 22px; height: 22px; color: var(--sky); }
.legal-brief__item b { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.35; }
.legal-brief__item span { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }

/* Раскладка: оглавление + документ */
.legal-layout {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start;
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 140px);
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 40px); z-index: 5; }
.legal-toc__toggle { display: none; }
.legal-toc__head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3);
}
.legal-toc__pct { color: var(--sky); font-variant-numeric: tabular-nums; }
.legal-toc__nav { position: relative; display: grid; padding-left: 2px; }
.legal-toc__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.legal-toc__rail::before { /* прочитанная часть документа */
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--sky-rgb), .1), rgba(var(--sky-rgb), .45));
  transform: scaleY(var(--p, 0)); transform-origin: 50% 0;
}
.legal-toc__ind {
  position: absolute; left: -1px; top: 0; width: 3px; height: 0; border-radius: 3px; opacity: 0;
  background: var(--sky); box-shadow: 0 0 12px 1px rgba(var(--sky-rgb), .9);
  transition: translate .6s var(--ease-out), height .6s var(--ease-out), opacity .4s;
}
.legal-toc__nav a {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; padding: 8px 0 8px 18px;
  font-size: 14px; line-height: 1.4; color: var(--text-3); transition: color .35s, translate .5s var(--ease-out);
}
.legal-toc__nav a i { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--text-4); transition: color .35s; }
.legal-toc__nav a:hover { color: var(--text-2); translate: 2px 0; }
.legal-toc__nav a.is-active { color: var(--text); }
.legal-toc__nav a.is-active i { color: var(--sky); }

.legal-doc { max-width: 700px; min-width: 0; }
.legal-note {
  display: flex; gap: 14px; margin-bottom: 40px; padding: 18px 20px; border-radius: var(--r-md);
  font-size: 14.5px; line-height: 1.6; color: var(--text-2);
  background: repeating-linear-gradient(135deg, rgba(var(--sky-rgb), .045) 0 10px, transparent 10px 20px), rgba(var(--navy-rgb), .4);
  border: 1px dashed rgba(var(--sky-rgb), .4);
}
.legal-note .i { width: 20px; height: 20px; color: var(--sky); margin-top: 2px; }
.legal-note b { color: var(--text); }
.legal-sec { scroll-margin-top: calc(var(--header-h) + 28px); }
.legal-sec + .legal-sec { margin-top: clamp(48px, 5vw, 68px); }
.legal-sec h2 {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.25; letter-spacing: -.03em; color: var(--text);
  text-wrap: balance;
}
.legal-sec__num {
  flex: none; translate: 0 -3px; padding: 5px 8px; border-radius: 7px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--sky);
  background: rgba(var(--sky-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .25);
}
.legal-sec p, .legal-sec li { font-size: 16.5px; line-height: 1.78; color: var(--text-2); text-wrap: pretty; }
.legal-sec p + p, .legal-sec p + ul, .legal-sec ul + p { margin-top: 14px; }
.legal-sec ul { display: grid; gap: 10px; margin-top: 12px; }
.legal-sec li { position: relative; padding-left: 26px; }
.legal-sec li::before {
  content: ""; position: absolute; left: 4px; top: .86em; width: 10px; height: 1.5px; border-radius: 2px;
  background: var(--sky); box-shadow: 0 0 8px rgba(var(--sky-rgb), .6);
}
.legal-sec b, .legal-sec strong { color: var(--text); font-weight: 600; }
.legal-sec a { color: var(--sky); text-decoration: underline; text-decoration-color: rgba(var(--sky-rgb), .35); text-underline-offset: 3px; transition: text-decoration-color .3s, color .3s; }
.legal-sec a:hover { color: var(--ice); text-decoration-color: var(--ice); }
.ph {
  padding: .05em .4em; border-radius: 6px; border: 1px dashed rgba(var(--sky-rgb), .45);
  background: rgba(var(--sky-rgb), .07); color: var(--ice); font-size: .94em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.legal-req {
  display: grid; grid-template-columns: minmax(140px, auto) minmax(0, 1fr); margin-top: 8px; border-radius: var(--r-md); overflow: hidden;
  background: rgba(var(--navy-rgb), .35); box-shadow: inset 0 0 0 1px var(--line);
}
.legal-req dt, .legal-req dd { margin: 0; padding: 14px 20px; border-top: 1px solid var(--line); }
.legal-req dt:first-of-type, .legal-req dt:first-of-type + dd { border-top: 0; }
.legal-req dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding-top: 18px; }
.legal-req dd { font-size: 15.5px; color: var(--text); }
.legal-end {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: clamp(56px, 6vw, 80px); padding: 28px 30px; border-radius: var(--r-lg);
  background: linear-gradient(100deg, rgba(var(--cobalt-rgb), .2), rgba(8, 16, 36, .5) 60%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.legal-end { isolation: isolate; }
.legal-end::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 85%) var(--my, 0%), rgba(var(--sky-rgb), .12), transparent 70%);
}
.legal-end__text b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 19px; letter-spacing: -.02em; }
.legal-end__text span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.legal-end__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   404
   ========================================================================== */
.nf-body { min-height: 100svh; overflow: hidden; }
.nf-top { position: fixed; left: 0; right: 0; top: 0; z-index: var(--z-header); padding: 22px 0; }
.nf-top .container { display: flex; justify-content: space-between; align-items: center; }
.nf {
  position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; overflow: clip;
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px; text-align: center;
}
.nf__stars { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.nf__aura {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 40% at 50% 42%, rgba(var(--azure-rgb), .2), transparent 70%), radial-gradient(80% 50% at 50% 115%, rgba(var(--navy-rgb), .95), transparent 70%);
}
.nf__horizon {
  position: absolute; left: 50%; top: 38%; z-index: -1; width: max(160vw, 1500px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, #050b1c 96%, transparent 100%);
  box-shadow: 0 -2px 0 rgba(var(--sky-rgb), .5), 0 -20px 80px -10px rgba(var(--azure-rgb), .55), 0 -60px 200px -40px rgba(var(--sky-rgb), .45);
}
.nf__inner { position: relative; display: grid; justify-items: center; }
.nf__code {
  display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.2vw, 18px); margin: 26px 0 18px;
  font-family: var(--f-display); font-weight: 300; font-size: clamp(120px, 24vw, 330px); line-height: .9; letter-spacing: -.06em;
  user-select: none; perspective: 900px;
}
.nf__d {
  display: inline-block; padding-bottom: .04em;
  background: linear-gradient(180deg, #fff 0%, var(--ice) 30%, rgba(var(--sky-rgb), .85) 62%, rgba(var(--azure-rgb), .15) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 40px rgba(var(--azure-rgb), .35));
  translate: var(--px, 0) var(--py, 0); transition: translate 1.2s var(--ease-out);
}
.nf__d:last-child { translate: calc(var(--px, 0px) * -1) calc(var(--py, 0px) * -1); }
/* «0» — планета с кольцом и спутником */
.nf__zero {
  position: relative; width: .74em; height: .74em; margin: 0 .04em; transform-style: preserve-3d;
  rotate: var(--rz, 0deg); transition: rotate 1.4s var(--ease-out);
}
.nf__planet {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .9) 0%, rgba(var(--ice-rgb), .5) 8%, transparent 30%),
    radial-gradient(circle at 36% 32%, #5aa8ff 0%, #1f4fd8 38%, #0a1633 72%, #02040a 100%);
  box-shadow: inset -.05em -.06em .12em rgba(0, 0, 0, .75), inset .02em .02em .05em rgba(var(--ice-rgb), .4), 0 0 .12em rgba(var(--sky-rgb), .55), 0 0 .5em rgba(var(--azure-rgb), .35);
}
.nf__planet::before { /* облачные полосы */
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .7;
  background:
    repeating-linear-gradient(-16deg, rgba(var(--ice-rgb), .06) 0 .012em, transparent .012em .045em),
    radial-gradient(circle at 70% 75%, rgba(0, 0, 0, .55), transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 40% 35%, #000 30%, transparent 72%); mask-image: radial-gradient(circle at 40% 35%, #000 30%, transparent 72%);
}
.nf__planet::after { /* атмосфера */
  content: ""; position: absolute; inset: -4%; border-radius: 50%;
  box-shadow: inset 0 0 0 .012em rgba(var(--sky-rgb), .7), 0 0 .08em rgba(var(--sky-rgb), .6);
}
.nf__orbit {
  position: absolute; left: 50%; top: 50%; width: 1.5em; height: 1.5em; margin: -.75em 0 0 -.75em; border-radius: 50%;
  transform: rotateX(76deg) rotateY(-14deg); transform-style: preserve-3d;
}
.nf__orbit::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 .006em rgba(var(--ice-rgb), .7), 0 0 .04em rgba(var(--sky-rgb), .7), inset 0 0 .06em rgba(var(--sky-rgb), .5);
}
.nf__orbit::after {
  content: ""; position: absolute; inset: 9%; border-radius: 50%;
  box-shadow: inset 0 0 0 .003em rgba(var(--sky-rgb), .35);
}
.nf__arm { position: absolute; inset: 0; transform-style: preserve-3d; animation: nfArm 7s linear infinite; }
.nf__moon {
  position: absolute; left: 50%; top: 0; width: .07em; height: .07em; margin: -.035em 0 0 -.035em; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--sky) 60%, var(--azure));
  box-shadow: 0 0 .05em .01em rgba(var(--sky-rgb), .9), 0 0 .14em rgba(var(--azure-rgb), .7);
  transform: rotateX(-76deg);
}
@keyframes nfArm { to { transform: rotateZ(360deg); } }
.nf__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.15; }
.nf__text { margin-top: 16px; max-width: 30em; font-size: clamp(15px, 1.2vw, 17.5px); color: var(--text-2); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
/* появление */
.nf__inner > * { animation: nfIn 1.3s var(--ease-out) both; }
.nf__inner > :nth-child(2) { animation-delay: .1s; }
.nf__inner > :nth-child(3) { animation-delay: .3s; }
.nf__inner > :nth-child(4) { animation-delay: .42s; }
.nf__inner > :nth-child(5) { animation-delay: .54s; }
@keyframes nfIn { from { opacity: 0; translate: 0 26px; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
.nf__code.nf__code { animation: nfCode 1.6s var(--ease-out) .05s both; }
@keyframes nfCode { from { opacity: 0; scale: .86; filter: blur(16px); } to { opacity: 1; scale: 1; filter: none; } }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1100px) {
  .legal-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 960px) {
  .success-key__grid { grid-template-columns: minmax(0, 1fr); }
  .success-key__visual { order: -1; }
  .success-key__text { justify-items: center; text-align: center; }
  .success-key__text .h2 { max-width: none; }
  .success-facts { text-align: left; max-width: 520px; }
  .success-steps { grid-template-columns: minmax(0, 1fr); }
  .success-step { min-height: 0; }
  .success-step__btn, .success-step__hint { margin-top: 8px; }
  .success-help { flex-wrap: wrap; }
  .success-help__text { flex-basis: calc(100% - 80px); }
  .success-help__actions { width: 100%; }
  .success-help__actions .btn { width: 100%; }

  /* Оглавление — липкая плашка с выпадающим списком */
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .legal-toc {
    top: calc(var(--header-h) + 8px); margin-inline: calc(var(--gutter) * -1 + 8px);
    transition: top .6s var(--ease-out);
  }
  .header.is-hidden ~ .page .legal-toc { top: 10px; }
  .legal-toc__toggle {
    display: flex; align-items: center; gap: 12px; width: 100%; height: 52px; padding: 0 18px; border-radius: var(--r-pill);
    position: relative; overflow: hidden; text-align: left;
    background: rgba(5, 10, 23, .78); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -20px rgba(0, 0, 0, .9);
  }
  .legal-toc__toggle i { font-style: normal; flex: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--sky); }
  .legal-toc__toggle span { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .legal-toc__toggle .i { width: 18px; height: 18px; color: var(--text-2); transition: rotate .5s var(--ease-out); }
  .legal-toc.is-open .legal-toc__toggle .i { rotate: 180deg; }
  .legal-toc__toggle::after { /* прогресс чтения */
    content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--azure), var(--sky)); box-shadow: 0 0 10px rgba(var(--sky-rgb), .8);
    transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  }
  .legal-toc__panel {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(62vh, 520px); overflow-y: auto; overscroll-behavior: contain;
    padding: 16px 16px 12px; border-radius: var(--r-md);
    background: rgba(7, 13, 30, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .95);
    opacity: 0; translate: 0 -8px; visibility: hidden; transition: opacity .35s, translate .5s var(--ease-out), visibility 0s .5s;
  }
  .legal-toc.is-open .legal-toc__panel { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
  html:not(.js) .legal-toc { position: static; margin-inline: 0; }
  html:not(.js) .legal-toc__panel { position: static; opacity: 1; visibility: visible; translate: none; }
  html:not(.js) .legal-toc__toggle { display: none; }
  .legal-sec { scroll-margin-top: calc(var(--header-h) + 80px); }
}
@media (max-width: 600px) {
  .success-hero { min-height: 0; padding-top: calc(var(--header-h) + 44px); }
  .success-hero__rays { top: 22%; }
  .success-hero__actions { width: 100%; }
  .success-hero__actions .btn { width: 100%; }
  .success-receipt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .success-receipt__cell { padding: 18px 18px 20px; }
  .success-receipt__cell:nth-child(3)::before { display: none; }
  .success-receipt__cell:nth-child(n+3) { border-top: 1px dashed var(--line-2); }
  .success-tabs { width: 100%; }
  .success-tabs__tab { flex: 1; justify-content: center; padding: 0 6px; gap: 6px; font-size: 13px; }
  .success-tabs__tab .i { display: none; }
  .success-step { padding: 24px 22px 22px; }
  .success-facts li { gap: 14px; }

  .legal-switch { display: flex; width: 100%; }
  .legal-switch a { flex: 1; justify-content: center; padding: 0 8px; font-size: 12.5px; }
  .legal-switch a .i { display: none; }
  .legal-switch__long { display: none; }
  .legal-switch__short { display: inline; }
  .legal-title { font-size: clamp(26px, 8.4vw, 44px); }
  .legal-title--long { font-size: clamp(20px, 6.3vw, 40px); }
  .legal-meta { gap: 10px 16px; }
  .legal-meta > i { display: none; }
  .legal-hero__glyph { display: none; }
  .legal-brief { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .legal-brief__item { grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px 18px; }
  .legal-brief__item .i { grid-row: span 2; margin-top: 1px; }
  .legal-sec p, .legal-sec li { font-size: 15.5px; line-height: 1.72; }
  .legal-sec h2 { gap: 12px; }
  .legal-req { grid-template-columns: minmax(0, 1fr); }
  .legal-req dt { padding: 14px 18px 0; }
  .legal-req dd { padding: 4px 18px 14px; border-top: 0; }
  .legal-req dt:first-of-type { border-top: 0; }
  .legal-end { padding: 24px 22px; }
  .legal-end__actions, .legal-end__actions .btn { width: 100%; }

  .nf__code { margin-top: 18px; }
  .nf__horizon { top: auto; bottom: -118vw; width: 160vw; }
  .nf__actions { width: 100%; }
  .nf__actions .btn { flex: 1; }
}

/* ---------- Уменьшенное движение ---------- */
@media (prefers-reduced-motion: reduce) {
  .success-hero__rays, .success-mark__ticks, .success-mark__orbit, .success-key__orbit i, .nf__arm { animation: none !important; }
  .success-hero__rays { opacity: .6; scale: 1; }
  .nf__inner > *, .nf__code.nf__code { animation: none !important; }
}

/* ---------- Печать документов ---------- */
@media print {
  .header, .mobile-menu, .grain, .scroll-progress, .cursor-glow, .footer, .legal-toc, .legal-switch, .legal-meta button, .legal-hero__bg, .legal-end, .legal-note, .skip-link { display: none !important; }
  html, body, .page-sub { background: #fff !important; color: #000 !important; }
  .legal-hero { padding: 0 0 16px; }
  .legal-title, .legal-sec h2, .legal-sec b, .legal-req dd, .legal-brief__item b { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }
  .legal-title .grad { background: none !important; color: #000 !important; -webkit-text-fill-color: #000 !important; }
  .legal-hero .lead, .legal-sec p, .legal-sec li, .legal-brief__item span, .legal-meta { color: #222 !important; }
  .legal-layout { display: block; padding: 0; }
  .legal-brief__item, .legal-req { background: none !important; box-shadow: 0 0 0 1px #bbb !important; }
  .js [data-reveal], .js [data-split] .sl, .js [data-split] .w > * { opacity: 1 !important; translate: none !important; filter: none !important; rotate: none !important; }
  .js [data-split] { visibility: visible !important; }
  .ph { color: #000; background: none; border-color: #999; }
  .legal-sec { break-inside: avoid-page; }
}
