/* =========================================================
   UnitXML — правовая информация
   ========================================================= */

:root {
  --ink: #0a0d1a;
  --ink-2: #151a2d;
  --muted: #5d657a;
  --muted-2: #5f6879;
  --line: #e6e9f2;
  --line-strong: #d8ddea;
  --bg: #f6f7fb;
  --bg-2: #f1f3f9;
  --surface: #ffffff;
  --brand: #2d5bff;
  --brand-dark: #1c3fd4;
  --brand-soft: #edf1ff;
  --violet: #6338e6;
  --violet-soft: #f1ecff;
  --green: #0b7d57;
  --green-bright: #19c37d;
  --green-soft: #e9f9f1;
  --amber: #8a5a08;
  --amber-soft: #fff6e6;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 18, 40, .04);
  --shadow-md: 0 12px 32px -12px rgba(16, 24, 52, .14);
  --shadow-lg: 0 40px 80px -28px rgba(16, 24, 52, .24);
  --container: 1200px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(45, 91, 255, .18); }

:focus-visible {
  outline: 3px solid rgba(45, 91, 255, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.2;
  white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 10px 26px -8px rgba(45, 91, 255, .55);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(45, 91, 255, .55); }
.btn-secondary {
  background: var(--surface); border-color: var(--line-strong); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: #bcc5da; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 14px; }
.btn-ghost:hover { background: rgba(10, 13, 26, .05); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .4); }
.btn-white:hover { transform: translateY(-2px); background: #f4f6ff; }
.btn-dark-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.btn-dark-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-sm { padding: 10px 17px; font-size: 13px; }
.btn-lg { padding: 16px 27px; font-size: 15px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; padding: 12px 0;
  background: rgba(246, 247, 251, .72); border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: background-color .3s, border-color .3s, box-shadow .3s, padding .3s;
}
.site-header.is-scrolled {
  padding: 8px 0; background: rgba(255, 255, 255, .88);
  border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(16, 24, 52, .3);
}
.header-inner { display: flex; align-items: center; gap: 34px; min-height: 48px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 40px; height: 40px; display: block; border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 16px -6px rgba(45, 91, 255, .55);
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.045em; }
.brand-text small {
  margin-top: 3px; color: var(--muted-2); font-size: 9.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav a {
  padding: 8px 11px; border-radius: 9px; color: #3e465b; font-size: 13.5px;
  font-weight: 500; transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: rgba(10, 13, 26, .045); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.nav a { position: relative; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-main .icon { width: 13px; height: 13px; opacity: .65; }
.menu-toggle {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer;
}
.menu-toggle .icon { width: 21px; height: 21px; }
.menu-toggle .icon-close { display: none; }
.site-header.nav-open .menu-toggle .icon-menu { display: none; }
.site-header.nav-open .menu-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 138px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob-1 { width: 540px; height: 540px; top: -180px; left: -160px; background: radial-gradient(circle, rgba(45, 91, 255, .22), transparent 68%); }
.blob-2 { width: 560px; height: 560px; top: 80px; right: -210px; background: radial-gradient(circle, rgba(123, 77, 255, .2), transparent 68%); }
.blob-3 { width: 380px; height: 380px; bottom: 20px; left: 38%; background: radial-gradient(circle, rgba(25, 195, 125, .13), transparent 70%); }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 30, 60, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 30, 60, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 74% 62% at 55% 24%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 74% 62% at 55% 24%, #000 20%, transparent 78%);
  opacity: .7;
}
.hero-grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center; gap: 54px;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px;
  border: 1px solid rgba(45, 91, 255, .18); border-radius: 999px;
  background: rgba(255, 255, 255, .7); box-shadow: 0 4px 14px -8px rgba(45, 91, 255, .35);
  color: #2948a8; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
.eyebrow-pill:hover { border-color: rgba(45, 91, 255, .4); transform: translateY(-1px); }
.eyebrow-pill .icon { width: 13px; height: 13px; opacity: .65; }
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(25, 195, 125, .14);
}
.hero h1 {
  margin: 24px 0 20px; font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.03;
  letter-spacing: -.055em;
}
.text-grad {
  background: linear-gradient(100deg, #2d5bff 0%, #6a4dff 48%, #0ea5e9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 560px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.66; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; }
.hero-points li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.hero-points .icon { width: 14px; height: 14px; color: var(--green); stroke-width: 2.6; }

/* ---------- Hero art ---------- */

.hero-visual { position: relative; z-index: 2; }
.law-art {
  position: relative; aspect-ratio: 600 / 460; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 30px;
  background:
    radial-gradient(ellipse 68% 72% at 17% 10%, rgba(45, 91, 255, .42), transparent 62%),
    radial-gradient(ellipse 60% 70% at 88% 90%, rgba(123, 77, 255, .34), transparent 62%),
    radial-gradient(ellipse 45% 50% at 50% 52%, rgba(25, 195, 125, .09), transparent 72%),
    linear-gradient(155deg, #111834 0%, #080c1c 60%, #0a1024 100%);
  box-shadow:
    0 2px 4px rgba(16, 24, 52, .12),
    0 40px 80px -30px rgba(8, 12, 28, .55),
    0 70px 120px -60px rgba(45, 91, 255, .45);
  animation: artIn 1s var(--ease) both;
}
@keyframes artIn {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.law-art::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 10%, transparent 80%);
}
.law-art::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 55% 40% at 50% 0%, rgba(255, 255, 255, .08), transparent 65%);
}
.art-label, .art-badge {
  position: absolute; top: clamp(12px, 3%, 20px); z-index: 6;
  display: inline-flex; align-items: center; gap: 7px;
  padding: clamp(4px, .9vw, 6px) clamp(8px, 1.5vw, 12px);
  border: 1px solid rgba(255, 255, 255, .13); border-radius: 999px;
  background: rgba(255, 255, 255, .055); color: #c9d2e7;
  font-size: clamp(8px, 1.45vw, 10px); font-weight: 600;
  letter-spacing: .02em; white-space: nowrap; backdrop-filter: blur(10px);
}
.art-label { left: clamp(14px, 3.4%, 22px); }
.art-badge { right: clamp(14px, 3.4%, 22px); color: #6ee7b7; letter-spacing: .08em; }
.art-label .pill-dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(25, 195, 125, .14); }

.law-shield {
  position: absolute; top: 44%; left: 50%; z-index: 2;
  width: clamp(104px, 26%, 158px); aspect-ratio: 1;
  display: grid; place-items: center; transform: translate(-50%, -50%);
}
.shield-halo {
  position: absolute; inset: -38%; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 91, 255, .5), transparent 66%);
  filter: blur(18px);
}
.shield-ring {
  position: absolute; inset: 0; border: 1px dashed rgba(255, 255, 255, .27);
  border-radius: 50%; animation: spin 32s linear infinite;
}
.shield-ring::before, .shield-ring::after {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #8fb0ff; box-shadow: 0 0 12px rgba(143, 176, 255, .9);
}
.shield-ring::before { top: -4px; left: 50%; }
.shield-ring::after { bottom: -4px; left: 50%; background: #4fe0a9; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield-core {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 72%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #2d5bff, #0b1024 72%);
  box-shadow: 0 0 38px rgba(45, 91, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .32);
}
.shield-core .icon { width: clamp(28px, 7vw, 42px); height: clamp(28px, 7vw, 42px); color: #fff; stroke-width: 1.6; }

.paper {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: clamp(3px, .7vw, 5px);
  width: clamp(120px, 30%, 190px); padding: clamp(8px, 1.6vw, 14px);
  border-radius: 12px; background: #fff; color: var(--ink);
  box-shadow: 0 18px 38px -18px rgba(0, 0, 0, .65);
}
.paper-1 { left: 4%; top: 30%; transform: rotate(-6deg); }
.paper-2 { right: 4%; top: 30%; transform: rotate(6deg); }
.paper-3 {
  left: 50%; bottom: 7%; transform: translateX(-50%) rotate(-1deg);
  width: clamp(150px, 36%, 222px); z-index: 4;
}
.paper-format {
  align-self: flex-start; padding: 2px 6px; border-radius: 4px;
  background: #f0f3fa; color: var(--brand); font-size: clamp(6px, 1vw, 8px);
  font-weight: 800; letter-spacing: .04em;
}
.paper b {
  font-family: var(--font-display); font-size: clamp(8px, 1.35vw, 11px);
  font-weight: 800; line-height: 1.25; letter-spacing: -.01em;
}
.paper small { color: var(--muted-2); font-size: clamp(6px, 1vw, 8px); line-height: 1.3; }
.paper-line { width: 70%; height: 3px; border-radius: 2px; background: #eef1f7; }
.paper-line.short { width: 42%; }
.art-spark {
  position: absolute; z-index: 2; width: 4px; height: 4px; border-radius: 50%;
  background: #8fb0ff; box-shadow: 0 0 10px rgba(120, 160, 255, .9);
  animation: sparkGlow 3.4s ease-in-out infinite;
}
.spark-1 { top: 24%; left: 39%; animation-delay: -.7s; }
.spark-2 { top: 68%; right: 37%; animation-delay: -1.8s; background: #6ee7b7; box-shadow: 0 0 10px rgba(110, 231, 183, .8); }
.spark-3 { top: 33%; right: 12%; animation-delay: -2.4s; }
@keyframes sparkGlow { 0%, 100% { opacity: .3; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- Stats ---------- */

.law-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 58px; padding: 26px 0 30px;
  border-top: 1px solid rgba(216, 221, 234, .75);
}
.law-stat { padding: 0 30px; border-left: 1px solid var(--line); }
.law-stat:first-child { border-left: 0; padding-left: 0; }
.law-stat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -.05em;
}
.law-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* ---------- Sections ---------- */

.section { padding: 108px 0; }
.section-tinted {
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent 30%), var(--bg-2);
  border-block: 1px solid rgba(230, 233, 242, .8);
}
section[id] { scroll-margin-top: 96px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: var(--brand); font-size: 11.5px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--violet)); }
.section-head { max-width: 760px; }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.7vw, 3.05rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.045em;
}
.section-head p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.section-head.center { margin: 0 auto 54px; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { max-width: 660px; margin-inline: auto; }
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 60px; max-width: none; margin-bottom: 46px;
}
.section-head.split > div { max-width: 620px; }
.section-head.split > p { max-width: 430px; margin: 0 0 4px; font-size: 14.5px; }
.section-head.split a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- About ---------- */

.about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start;
}
.about-copy-wide { max-width: 820px; margin-top: 28px; }
.about-subtitle {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.function-list { display: grid; gap: 6px; margin-top: 10px; }
.function-list li {
  position: relative; padding-left: 18px; color: var(--muted);
  font-size: 14px; line-height: 1.5;
}
.function-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.about-copy p { color: var(--muted); font-size: 15px; line-height: 1.72; }
.about-copy p + p { margin-top: 16px; }
.text-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 24px;
  color: var(--brand); font-size: 13px; font-weight: 600;
}
.text-link .icon { width: 14px; height: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.feature-list { display: grid; gap: 12px; }
.feature-row {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; background: var(--brand-soft); color: var(--brand);
}
.feature-icon .icon { width: 21px; height: 21px; }
.feature-icon.icon-violet { background: var(--violet-soft); color: var(--violet); }
.feature-icon.icon-green { background: var(--green-soft); color: var(--green); }
.feature-row h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.feature-row p { margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* ---------- Documents ---------- */

.docs-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.doc-card {
  display: flex; flex-direction: column; padding: 28px;
  border: 1px solid var(--line); border-radius: 22px; background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.doc-card:hover { transform: translateY(-4px); border-color: #d3d9e8; box-shadow: var(--shadow-md); }
.doc-card-featured {
  grid-column: span 2; border-color: transparent; color: #fff;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(45, 91, 255, .42), transparent 60%),
    radial-gradient(ellipse 80% 90% at 0% 100%, rgba(123, 77, 255, .3), transparent 60%),
    #0b1024;
  box-shadow: var(--shadow-lg);
}
.doc-card-featured:hover { border-color: rgba(255, 255, 255, .16); }
.doc-card-head { display: flex; align-items: center; gap: 8px; }
.doc-format {
  padding: 3px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand);
  font-size: 9px; font-weight: 800; letter-spacing: .05em;
}
.doc-card-featured .doc-format { background: rgba(255, 255, 255, .1); color: #bcd0ff; }
.doc-tag {
  padding: 3px 8px; border-radius: 999px; background: #f3f5fa; color: var(--muted-2);
  font-size: 9px; font-weight: 600;
}
.doc-card-featured .doc-tag { background: rgba(255, 255, 255, .08); color: #c1cbe1; }
.doc-icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-left: auto;
  border-radius: 13px; background: #f4f6fc; color: var(--muted); flex: 0 0 auto;
}
.doc-icon .icon { width: 20px; height: 20px; }
.doc-card-featured .doc-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.doc-card h3 {
  margin-top: 24px; font-family: var(--font-display);
  font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.025em;
}
.doc-card p { margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.58; }
.doc-card-featured p { max-width: 480px; color: #aab3cb; }
.doc-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--muted-2); font-size: 10.5px;
}
.doc-card-featured .doc-meta { border-top-color: rgba(255, 255, 255, .12); color: #9aa4be; }
.doc-open { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 600; font-size: 11px; }
.doc-open .icon { width: 13px; height: 13px; }
.doc-card-featured .doc-open { color: #9db8ff; }
.doc-card h3, .doc-card p, .doc-card .doc-meta { margin-left: 0; }
.docs-note {
  margin-top: 20px; color: var(--muted-2); font-size: 11.5px; line-height: 1.55;
}
.docs-note code {
  padding: 2px 5px; border-radius: 5px; background: #eef1f7;
  color: #48536a; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10.5px;
}

/* ---------- Pricing ---------- */

.pricing-card {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: stretch;
  padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.pricing-copy { display: flex; flex-direction: column; align-items: flex-start; }
.pricing-copy h2 { margin-top: 0; }
.pricing-copy h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.3vw, 2.7rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.045em;
}
.pricing-copy p { margin-top: 16px; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.pricing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pricing-aside {
  display: flex; flex-direction: column; padding: 28px; border-radius: 20px; color: #fff;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(45, 91, 255, .42), transparent 60%),
    #0b1024;
}
.pricing-aside-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; background: rgba(255, 255, 255, .1); color: #fff;
}
.pricing-aside-icon .icon { width: 22px; height: 22px; }
.pricing-aside h3 { margin-top: 22px; font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.pricing-aside p { margin-top: 6px; color: #aab3cb; font-size: 12.5px; line-height: 1.55; }
.check-list { display: grid; gap: 10px; margin-top: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; color: #c4cddf; font-size: 12px; line-height: 1.45; }
.check-list .icon {
  width: 16px; height: 16px; margin-top: 1px; padding: 3px; border-radius: 50%;
  box-sizing: content-box; background: rgba(25, 195, 125, .16); color: #4fe0a9; stroke-width: 2.8;
}

/* ---------- Support ---------- */

.support-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.support-grid-single { grid-template-columns: minmax(0, 380px); }
.support-option {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.support-option:hover { transform: translateY(-4px); border-color: #d2d9e7; box-shadow: var(--shadow-md); }
.support-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; background: var(--brand-soft); color: var(--brand);
}
.support-icon .icon { width: 21px; height: 21px; }
.support-icon.icon-green { background: var(--green-soft); color: var(--green); }
.support-icon.icon-violet { background: var(--violet-soft); color: var(--violet); }
.support-icon.icon-amber { background: var(--amber-soft); color: var(--amber); }
.support-option b { margin-top: 18px; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.support-option small { margin-top: 4px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.support-brand {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #7c3aed); color: #fff;
  font-size: 8px; font-weight: 800; letter-spacing: .02em;
}

/* ---------- CTA ---------- */

.cta-section { padding: 0 0 96px; }
.cta-card {
  position: relative; display: grid; grid-template-columns: 1.2fr .8fr;
  align-items: center; gap: 40px; padding: 58px 62px; border-radius: 34px;
  background:
    radial-gradient(ellipse 80% 120% at 82% 10%, rgba(45, 91, 255, .35), transparent 60%),
    radial-gradient(ellipse 70% 100% at 100% 100%, rgba(123, 77, 255, .28), transparent 55%),
    #080c1c;
  color: #fff; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(8, 12, 28, .6);
}
.cta-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cta-glow-1 { width: 340px; height: 340px; top: -160px; left: 20%; background: rgba(45, 91, 255, .28); }
.cta-glow-2 { width: 260px; height: 260px; bottom: -130px; right: 8%; background: rgba(25, 195, 125, .18); }
.cta-copy { position: relative; z-index: 1; }
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: #c8d2ec; font-size: 11px; font-weight: 600;
}
.cta-card h2 {
  margin-top: 20px; font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.05em;
}
.cta-card p { max-width: 520px; margin-top: 14px; color: #aeb8d0; font-size: 14.5px; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cta-art { position: relative; height: 260px; z-index: 1; display: grid; place-items: center; }
.cta-shield { position: relative; width: 170px; height: 170px; display: grid; place-items: center; }
.cta-shield-ring {
  position: absolute; inset: 0; border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: 50%; animation: spin 28s linear infinite;
}
.cta-shield-ring::before, .cta-shield-ring::after {
  content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: #7b9bff; box-shadow: 0 0 14px rgba(123, 155, 255, .9);
}
.cta-shield-ring::before { top: -4px; left: 50%; }
.cta-shield-ring::after { bottom: -4px; left: 50%; background: #4fe0a9; }
.cta-shield-core {
  width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: radial-gradient(circle at 35% 25%, rgba(45, 91, 255, .9), rgba(123, 77, 255, .35) 55%, rgba(8, 12, 28, .8));
  box-shadow: 0 0 60px rgba(45, 91, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.cta-shield-core .icon { width: 48px; height: 48px; color: #fff; stroke-width: 1.5; }

/* ---------- Footer ---------- */

.site-footer { padding: 64px 0 26px; background: #070a15; color: #929cb5; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 44px;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #7c86a0; }
.footer-brand p { max-width: 330px; margin-top: 18px; font-size: 12.5px; line-height: 1.65; }
.footer-site-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: #b7c0d6; font-size: 12.5px; font-weight: 600;
}
.footer-site-link .icon { width: 14px; height: 14px; }
.footer-site-link:hover { color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { margin-bottom: 4px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { color: #929cb5; font-size: 12.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer-bottom p { font-size: 10.5px; line-height: 1.55; }
.footer-bottom p:nth-child(2) { max-width: 520px; text-align: right; }
.footer-requisites { display: block; width: 100%; max-width: none; color: #737d95; font-size: 10.5px; line-height: 1.55; text-align: left; }

/* ---------- CAPTCHA gate ---------- */

html.gate-locked body { overflow: hidden; }
html.gate-locked .site-header,
html.gate-locked main,
html.gate-locked .site-footer,
html.gate-locked .cookie-banner,
html.gate-locked .mobile-menu,
html.gate-locked .skip-link { visibility: hidden; }

.captcha-gate {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 10, 21, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html.gate-locked .captcha-gate { display: grid; }
.captcha-panel {
  width: min(100%, 430px);
  max-height: 92vh;
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
  animation: captchaIn .32s var(--ease) both;
}
@keyframes captchaIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.captcha-brand { display: flex; margin-bottom: 20px; }
.captcha-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.captcha-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--violet));
}
.captcha-panel h2 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.captcha-panel > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
#captcha-form { margin-top: 20px; }
.captcha-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  color: #3e465b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.captcha-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.captcha-task {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
}
.captcha-task b {
  display: inline-block;
  margin-left: 3px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}
.captcha-input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  letter-spacing: .06em;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.captcha-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(45, 91, 255, .12);
}
.captcha-error {
  margin-top: 8px;
  color: #cc3a1b;
  font-size: 11.5px;
  line-height: 1.45;
}
.btn-block { width: 100%; }
#captcha-form .btn { margin-top: 16px; }
.captcha-note {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Cookie banner ---------- */

body.cookie-visible .site-footer { padding-bottom: 130px; }

.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 250;
  display: flex; align-items: center; gap: 14px;
  width: min(620px, calc(100vw - 48px)); padding: 14px 16px;
  border: 1px solid rgba(216, 221, 234, .9); border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 60px -24px rgba(16, 24, 52, .38);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-icon {
  width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 12px; background: var(--brand-soft); color: var(--brand);
}
.cookie-icon .icon { width: 19px; height: 19px; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text b { display: block; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: -.01em; }
.cookie-text p { margin-top: 3px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.cookie-link { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.cookie-accept { flex: 0 0 auto; }

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal-delay="50"] { transition-delay: .05s; }
.js [data-reveal-delay="60"] { transition-delay: .06s; }
.js [data-reveal-delay="80"] { transition-delay: .08s; }
.js [data-reveal-delay="100"] { transition-delay: .1s; }
.js [data-reveal-delay="120"] { transition-delay: .12s; }
.js [data-reveal-delay="150"] { transition-delay: .15s; }
.js [data-reveal].is-visible { opacity: 1; transform: none; will-change: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .nav { margin-left: 4px; }
  .nav a { padding-inline: 9px; font-size: 13px; }
  .hero-grid { gap: 34px; }
  .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-card-featured { grid-column: span 2; }
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .nav {
    position: fixed; top: 76px; left: 16px; right: 16px; z-index: 110;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px;
    background: #fff; box-shadow: var(--shadow-lg);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 15px; border-radius: 10px; }
  .nav a.is-active { background: var(--brand-soft); }
  .nav a.is-active::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-main { display: none; }

  .hero { padding-top: 122px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-lead { max-width: 620px; }
  .hero-visual { width: min(100%, 660px); margin: 0 auto; }
  .law-stats { margin-top: 46px; }

  .section { padding: 88px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 38px; }
  .section-head.split > p { max-width: 620px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .pricing-card { grid-template-columns: 1fr; padding: 30px; }
  .cta-card { padding: 46px; grid-template-columns: 1fr; }
  .cta-copy { max-width: 620px; }
  .cta-art { display: none; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 480px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 108px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-points { gap: 8px 14px; }
  .law-stats { grid-template-columns: 1fr; gap: 0; padding: 12px 0 18px; }
  .law-stat { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .law-stat:first-child { border-top: 0; padding-top: 0; }
  .section { padding: 72px 0; }
  .section-head.center { margin-bottom: 40px; }
  .section-head p { font-size: 14.5px; }
  .docs-grid { grid-template-columns: 1fr; }
  .doc-card { padding: 24px; }
  .doc-card-featured { grid-column: span 1; }
  .support-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 24px; }
  .pricing-aside { padding: 24px; }
  .cta-section { padding-bottom: 64px; }
  .cta-card { padding: 34px 26px; border-radius: 26px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom p:nth-child(2) { max-width: none; text-align: left; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; flex-wrap: nowrap; gap: 10px; padding: 11px 12px; border-radius: 16px; }
  .cookie-icon { display: none; }
  .cookie-text { flex: 1; }
  .cookie-accept { flex: 0 0 auto; }
}

@media (max-width: 480px) {
  .header-inner { gap: 12px; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 19px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .header-actions .btn-sm { padding: 9px 13px; font-size: 12px; }
  .menu-toggle { width: 38px; height: 38px; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 2.15rem; }
  .hero-lead { font-size: 14.5px; }
  .hero-cta .btn { width: 100%; }
  .hero-points { flex-direction: column; gap: 6px; }
  .paper { width: 128px; padding: 9px; }
  .paper-1 { left: 2%; }
  .paper-2 { right: 2%; }
  .paper-3 { width: 160px; }
  .doc-card h3 { font-size: 17px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: 1; }
}

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