/* MSA GLOBAL SOFT — общий стиль сайта */

:root {
  --bg: #06090f;
  --bg-2: #0a0f18;
  --bg-3: #0e1521;
  --line: rgba(238, 243, 250, 0.08);
  --line-strong: rgba(238, 243, 250, 0.18);
  --text: #eef3fa;
  --muted: #9aa5b5;
  --faint: #667185;
  --accent: #eef3fa;
  --accent-ink: #06090f;
  --blue: #22a5ff;
  --blue-deep: #0b4ed8;
  --cyan: #00e0f0;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
::selection { background: rgba(34, 165, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Языки: показываем только блоки текущего языка */
html[data-lang="ru"] .l-en,
html[data-lang="en"] .l-ru { display: none !important; }

.container { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: var(--radius); font-weight: 500;
  transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.25rem; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #d3dbe6; }
.btn-secondary {
  color: var(--text); border-color: var(--line-strong);
  background: rgba(6, 9, 15, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(238, 243, 250, .06); border-color: rgba(238, 243, 250, .4); }
.btn-sm { padding: .6rem 1rem; font-size: .875rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .9375rem; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s var(--ease); }
.link-arrow:hover { border-color: var(--text); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: 4rem;
  background: rgba(6, 9, 15, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { width: 30px; height: 20px; flex: none; }
.nav { display: none; gap: 1.75rem; font-size: .9375rem; color: var(--muted); }
.nav a { transition: color .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.lang { display: flex; gap: .2rem; font-size: .75rem; font-weight: 500; letter-spacing: .04em; }
.lang button {
  background: none; border: 0; color: var(--faint); cursor: pointer; font: inherit;
  padding: .35rem .45rem; border-radius: 6px; transition: color .2s var(--ease);
}
.lang button:hover { color: var(--muted); }
.lang button[aria-pressed="true"] { color: var(--text); }
.header .btn { display: none; }
.menu-btn {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }
.mobile-nav {
  display: none; position: fixed; inset: 4rem 0 auto 0; z-index: 49;
  background: rgba(6, 9, 15, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .btn { margin-top: 1.25rem; width: 100%; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header .btn { display: inline-flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Типографика секций ---------- */
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
.h2 { font-size: 1.6rem; }
@media (min-width: 640px) { .h2 { font-size: 2.1rem; } }
@media (min-width: 1024px) { .h2 { font-size: 2.5rem; } }
.lead { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; max-width: 46ch; }
.eyebrow { color: var(--faint); font-size: .8125rem; letter-spacing: .02em; }
.section { padding-block: 5.5rem; border-top: 1px solid var(--line); position: relative; }
@media (min-width: 1024px) { .section { padding-block: 7.5rem; } }
.section[id] { scroll-margin-top: 4rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; margin-top: -4rem; min-height: 100svh; overflow: hidden; }
.hero-bg, .contact-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg canvas, .contact-bg canvas { display: block; width: 100%; height: 100%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(6, 9, 15, .72) 28%, rgba(6, 9, 15, .1) 58%, transparent 100%),
    linear-gradient(to right, rgba(6, 9, 15, .5), transparent 55%);
}
.hero .container { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 7rem; padding-bottom: 3.5rem; }
@media (min-width: 640px) { .hero .container { padding-bottom: 5rem; } }
@media (min-width: 1024px) { .hero .container { padding-bottom: 6rem; } }
.hero h1 { font-size: 1.85rem; max-width: 18ch; line-height: 1.08; }
@media (min-width: 640px) { .hero h1 { font-size: 2.6rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.4rem; } }
.hero h1 .glow { background: linear-gradient(90deg, #8fd3ff, var(--blue) 45%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 1.5rem; font-size: 1.125rem; max-width: 44ch; }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Цифры ---------- */
.stats { border-top: 1px solid var(--line); background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2.25rem 1.25rem 2.25rem 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
@media (min-width: 900px) {
  .stat { border-bottom: 0; padding: 3rem 1.5rem; border-left: 1px solid var(--line); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}
.stat-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
@media (min-width: 1024px) { .stat-value { font-size: 2.4rem; } }
.stat-label { margin-top: .75rem; color: var(--muted); font-size: .875rem; line-height: 1.45; max-width: 22ch; }

/* ---------- Продукт ---------- */
.product-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }
.product-grid .lead { margin-top: 1.5rem; }
.platforms { margin-top: 2.5rem; }
.platforms h3 { font-size: .9375rem; font-weight: 500; margin-bottom: 1rem; }
.platform-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; max-width: 26rem; padding: 0; margin: 0; list-style: none; }
.platform-list li { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .9375rem; }
.platform-list li a { display: flex; align-items: center; gap: .65rem; transition: color .2s var(--ease); }
.platform-list li a:hover { color: var(--text); }
.platform-list svg { width: 18px; height: 18px; flex: none; color: var(--faint); }
.platform-list .soon { font-size: .6875rem; color: var(--faint); border: 1px solid var(--line-strong); border-radius: 999px; padding: .05rem .45rem; margin-left: .15rem; }
.product-grid .link-arrow { margin-top: 2.25rem; }

/* Макет приложения */
.mock { position: relative; height: 560px; max-width: 560px; width: 100%; margin-inline: auto; }
@media (max-width: 520px) { .mock { height: 500px; } }
.mock::before {
  content: ""; position: absolute; inset: 8% 6% 4% 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 165, 255, .22), rgba(11, 78, 216, .08) 60%, transparent);
  filter: blur(30px); z-index: 0;
}
.phone {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 270px; height: 545px; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #1b2230, #0b0f16);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(0, 0, 0, .5);
}
@media (max-width: 520px) { .phone { width: 240px; height: 490px; } }
.screen {
  position: relative; height: 100%; border-radius: 31px; overflow: hidden;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(10, 132, 240, .28), transparent 55%),
    radial-gradient(90% 50% at 100% 100%, rgba(0, 224, 240, .16), transparent 60%),
    #050b18;
  display: flex; flex-direction: column; align-items: center; padding: 2.6rem 1rem 1rem;
}
.screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 20px; background: #000; }
.screen-top { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: .7rem; color: #8a9bb4; }
.screen-top .brand-mark { width: 26px; height: 17px; }
.screen-top .dots { display: flex; gap: 3px; }
.screen-top .dots i { width: 4px; height: 4px; border-radius: 50%; background: #8a9bb4; }
.power {
  position: relative; margin-top: 2.6rem; width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-items: center;
}
@media (max-width: 520px) { .power { width: 128px; height: 128px; margin-top: 2rem; } }
.power-ring { position: absolute; inset: 0; border-radius: 50%; padding: 6px; background: conic-gradient(from 200deg, #004afc, #03b4fd, #05dbfd, #0293fd, #004afc); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); animation: spin 9s linear infinite; }
.power-dash { position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(0, 224, 240, .55); animation: spin 24s linear infinite reverse; }
.power-core { width: 66%; height: 66%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #1d6dff, #0a2a7a 70%); box-shadow: 0 0 40px rgba(34, 165, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .12); display: grid; place-items: center; }
.power-core svg { width: 34px; height: 34px; color: #eaf6ff; }
@keyframes spin { to { transform: rotate(360deg); } }
.status { margin-top: 1.5rem; font-size: .72rem; color: #35c759; display: flex; align-items: center; gap: .4rem; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #35c759; box-shadow: 0 0 8px #35c759; }
.timer { margin-top: .35rem; font-family: var(--font-display); font-size: 1.65rem; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.screen-card { margin-top: auto; width: 100%; border-radius: 16px; padding: .75rem .85rem; background: rgba(245, 249, 255, .05); border: 1px solid rgba(245, 249, 255, .08); }
.screen-card .k { font-size: .62rem; color: #8a9bb4; }
.screen-card .v { margin-top: .2rem; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.screen-card .ms { color: #35c759; font-size: .7rem; font-variant-numeric: tabular-nums; }
.screen-card .until { margin-top: .55rem; padding-top: .55rem; border-top: 1px solid rgba(245, 249, 255, .08); font-size: .66rem; color: #8a9bb4; }

.servers {
  position: absolute; right: 0; top: 64px; z-index: 2; width: 270px;
  border-radius: 20px; padding: .85rem;
  background: rgba(12, 21, 38, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75);
}
@media (max-width: 520px) { .servers { width: 205px; top: 120px; } }
.servers-head { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: #8a9bb4; padding: 0 .2rem .6rem; }
.servers-head span:last-child { display: flex; gap: .4rem; }
.servers-head svg { width: 14px; height: 14px; }
.srv { display: flex; align-items: center; gap: .6rem; padding: .55rem .5rem; border-radius: 12px; font-size: .78rem; }
.srv + .srv { margin-top: .15rem; }
.srv.on { background: rgba(34, 165, 255, .14); outline: 1px solid rgba(34, 165, 255, .45); }
.srv .cc { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .58rem; font-weight: 600; letter-spacing: .03em; background: rgba(245, 249, 255, .07); color: #cfe0f5; }
.srv.on .cc { background: rgba(34, 165, 255, .3); color: #fff; }
.srv .nm { flex: 1; min-width: 0; }
.srv .nm small { display: block; font-size: .62rem; color: #8a9bb4; }
.srv .p { font-size: .68rem; font-variant-numeric: tabular-nums; color: #35c759; }
.srv .p.mid { color: #f5a524; }

/* ---------- Бизнесу ---------- */
.business-head .lead { margin-top: 1.5rem; max-width: 56ch; }
.cards { margin-top: 3.5rem; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .card { padding: 2.5rem 2rem; border-bottom: 0; border-left: 1px solid var(--line); }
  .card:first-child { border-left: 0; padding-left: 0; }
}
.card-num { font-family: var(--font-mono); font-size: .75rem; color: var(--faint); }
.card h3 { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; max-width: 20ch; }
.card p { margin-top: 1rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; max-width: 34ch; }
.business-cta { margin-top: 3rem; }

/* ---------- О компании ---------- */
.company-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .company-grid { grid-template-columns: 1.25fr 1fr; gap: 5rem; } }
.company-text { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.45; letter-spacing: -.01em; text-wrap: pretty; }
@media (min-width: 1024px) { .company-text { font-size: 1.55rem; } }
.ascii {
  margin: 3rem 0 0; font-family: var(--font-mono); font-size: 9px; line-height: 1.12; color: var(--faint);
  white-space: pre; user-select: none; overflow: hidden;
}
@media (min-width: 640px) { .ascii { font-size: 12px; } }
.ascii .a1 { color: #5aa8ff; }
.ascii .a2 { color: #3fe3f0; }
.values { display: grid; gap: 0; align-content: start; }
.value { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.value:last-child { border-bottom: 1px solid var(--line); }
.value h3 { font-family: var(--font-display); font-size: 1rem; letter-spacing: -.01em; }
.value p { margin-top: .75rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; max-width: 40ch; }

/* ---------- Контакты ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg) 0%, rgba(6, 9, 15, .82) 35%, rgba(6, 9, 15, .9) 100%); }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }
.contact-grid .lead { margin-top: 1.25rem; max-width: 34ch; }
.contact-list { display: grid; gap: 2.25rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-list { grid-template-columns: repeat(2, 1fr); } }
.contact-item .k { color: var(--muted); font-size: .8125rem; margin-bottom: .6rem; }
.contact-item a, .contact-item .v { display: block; font-size: 1.0625rem; font-weight: 500; }
.contact-item a { width: fit-content; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: border-color .2s var(--ease); }
.contact-item a + a { margin-top: .5rem; }
.contact-item a:hover { border-color: var(--text); }
.contact-item .addr { color: var(--muted); font-size: .9375rem; margin-top: .3rem; line-height: 1.5; }
.page-contact { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .page-contact { padding-top: 8rem; padding-bottom: 8rem; } }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; background: var(--bg); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer .tag { margin-top: 1rem; color: var(--muted); font-size: .9375rem; }
.footer .legal { margin-top: 1.5rem; color: var(--faint); font-size: .8125rem; line-height: 1.6; }
.footer h4 { margin: 0 0 1rem; font-size: .875rem; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer ul a { color: var(--muted); font-size: .875rem; transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--text); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .8125rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Документы ---------- */
.doc { padding-block: 4rem 6rem; }
@media (min-width: 1024px) { .doc { padding-block: 5rem 8rem; } }
.doc article { max-width: 48rem; }
.back { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .875rem; transition: color .2s var(--ease); }
.back:hover { color: var(--text); }
.back svg { width: 14px; height: 14px; }
.doc h1 { margin-top: 2rem; font-family: var(--font-display); font-size: 1.8rem; letter-spacing: -.02em; line-height: 1.15; }
@media (min-width: 640px) { .doc h1 { font-size: 2.4rem; } }
.doc .updated { margin-top: 1rem; color: var(--faint); font-size: .875rem; }
.doc .intro { margin-top: 2.25rem; }
.doc h2 { margin-top: 3.25rem; padding-top: 2rem; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.35; letter-spacing: -.01em; scroll-margin-top: 5rem; }
.doc h3 { margin-top: 2rem; font-size: 1rem; font-weight: 600; }
.doc p, .doc li { color: #c3cbd7; font-size: .975rem; line-height: 1.7; }
.doc p + p { margin-top: 1rem; }
.doc h2 + p, .doc h3 + p, .doc h2 + .table-wrap, .doc h3 + .table-wrap { margin-top: 1rem; }
.doc ul, .doc ol { margin: 1rem 0; padding-left: 1.25rem; display: grid; gap: .5rem; }
.doc li::marker { color: var(--faint); }
.doc a { color: var(--text); border-bottom: 1px solid var(--line-strong); transition: border-color .2s var(--ease); }
.doc a:hover { border-color: var(--text); }
.doc strong { color: var(--text); font-weight: 600; }
.doc .lede { color: var(--muted); }
.doc .legal-box { margin-top: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-2); color: #c3cbd7; font-size: .95rem; line-height: 1.7; }
.table-wrap { margin: 1.25rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.doc table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); line-height: 1.6; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { color: var(--muted); font-weight: 500; font-size: .8125rem; background: var(--bg-3); }
.doc td { color: #c3cbd7; }
.doc td:first-child { color: var(--text); width: 36%; }
.doc td b { display: block; color: var(--text); font-weight: 600; margin-bottom: .3rem; }
.doc td.desc { width: 58%; }
.toc { margin-top: 2.25rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.toc .k { font-size: .8125rem; color: var(--muted); margin-bottom: .75rem; }
.toc ol { margin: 0; padding-left: 1.2rem; gap: .35rem; columns: 1; }
@media (min-width: 640px) { .toc ol { display: block; columns: 2; column-gap: 2rem; } .toc li { margin-bottom: .35rem; break-inside: avoid; } }
.toc a { border: 0; color: var(--muted); font-size: .9rem; }
.toc a:hover { color: var(--text); }

/* Местозаполнители: юридические данные, которые надо вписать */
.fill { color: #f5a524; }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .power-ring, .power-dash { animation: none; }
}
