/* ОПОРА — oporaapp.ru, третья версия: «нырок в кольцо».
   Главная всегда ночная, как экран практики; документы следуют теме устройства.
   Язык приложения (ADR-047): заголовки Manrope 600, текст Onest; капсула — то, что нажимают;
   12/20/28 — то, что держит содержимое. Антиквы на сайте нет (владелец, 27.11): метки и логотип
   набраны тем же рубленым шрифтом. Свет на странице дают кольцо, Опо и ночное небо приложения. */

@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("fonts/Onest-Regular.c7bc1e19ad.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("fonts/Onest-Medium.f14bc8f85e.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("fonts/Onest-SemiBold.4718af93e3.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 200; font-display: swap; src: url("fonts/Manrope-ExtraLight.dae3d5deec.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 300; font-display: swap; src: url("fonts/Manrope-Light.d42bb1ec66.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("fonts/Manrope-SemiBold.3f316fa12e.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("fonts/Manrope-Bold.7a7366240b.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/CormorantGaramond-SemiBold.80ac6dca98.woff2") format("woff2"); }

/* Колонка 1200; первый экран — сцена во весь экран, дальше главы истории. */
:root {
  --bg: #060910;
  --bg-2: #0B1020;
  --surface: #121726;
  --ink: #EEF0F7;
  --ink-2: #B9C0D2;
  --ink-3: #8A91A8;
  --gold: #E2B94F;
  --line: rgba(238, 240, 247, 0.10);
  --fill: rgba(238, 240, 247, 0.08);
  --fill-2: rgba(238, 240, 247, 0.14);
  --a1: #7C4DFF;
  --a2: #C86BFF;
  --kicker: #B3A1FF;       /* метки глав — светлый тон фиолетовой кнопки */
  --lead: #CDD2DF;         /* вводный текст ярче обычного второго */
  --f-text: "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Manrope", "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-label: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --page: 1200px;
  --read: 66ch;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #050810; color: var(--ink); font: 400 18px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main, .foot { position: relative; z-index: 1; }
/* Ночное небо приложения (AnimatedSky): неподвижный фон и звёзды на одном холсте позади всего. */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(130% 95% at 50% 18%, #101B33 0%, #070C18 55%, #050810 100%); }
.sky canvas { width: 100%; height: 100%; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
.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; }
.wrap { width: 100%; max-width: calc(var(--page) + 64px); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.label { margin: 0; font: 600 16px/1.3 var(--f-text); letter-spacing: 0.01em; color: var(--kicker); }
.h-hero { margin: 0; font: 600 clamp(42px, 6.4vw, 92px)/1.0 var(--f-head); letter-spacing: -0.035em; text-wrap: balance; }
.h-sec { margin: 0; font: 600 clamp(34px, 4.6vw, 62px)/1.04 var(--f-head); letter-spacing: -0.03em; text-wrap: balance; }
.h-sub { margin: 0; font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--f-head); letter-spacing: -0.015em; }
.lead { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--lead); max-width: 34em; }
.hl { color: var(--ink); font-weight: 600; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* ---------- шапка ---------- */
.top { position: fixed; z-index: 30; left: 0; right: 0; top: 0; padding-top: env(safe-area-inset-top, 0px); transition: background .35s ease; }
.top.solid { background: rgba(6, 9, 16, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.wordmark { font: 700 18px/1 var(--f-head); letter-spacing: 0.2em; margin-right: -0.2em; }
.nav { display: none; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; font: 500 15px/1 var(--f-text); padding: 12px 14px; border-radius: 999px; }
.nav a { position: relative; transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--ink); background: var(--fill); }
.nav a.on { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--kicker); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.nav a.on::after { transform: scaleX(1); }
.brand { transition: opacity .2s ease; }
.brand:hover { opacity: .85; }
@media (min-width: 1000px) { .nav { display: flex; } }

.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; font: 600 17px/1 var(--f-text); text-decoration: none; cursor: pointer; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, background-color .2s ease; -webkit-tap-highlight-color: transparent; }
/* Свет под курсором: координаты ставит main.js (--mx, --my). */
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .25s ease; background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 70%); }
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: .08s; }
.btn-primary { color: #FFFFFF; background: linear-gradient(100deg, var(--a1), var(--a2)); box-shadow: 0 8px 24px -14px rgba(124, 77, 255, 0.9); }
.btn-primary:hover { box-shadow: 0 16px 34px -14px rgba(160, 100, 255, 0.95); }
.btn-quiet { color: var(--ink); background: var(--fill-2); }
.btn-quiet:hover { background: rgba(238, 240, 247, 0.2); }
.btn-s { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- первый экран: Опо здоровается → нырок в ядро → кольцо практики ---------- */
.intro { position: relative; height: 100vh; height: 100svh; }
.js .intro { height: 420vh; }
.reduce .intro { height: 100vh; height: 100svh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* Слои сцены: фон практики (проявляется в нырке) → Опо → кольцо → текст. Кольцо поверх Опо:
   оно ложится ровно на кольцо у него в груди и светит, а не закрашивает (screen). */
.dive-bg { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; background: radial-gradient(62% 62% at 50% 44%, rgba(10, 21, 33, 0.94) 0%, rgba(3, 5, 10, 0.9) 100%); }
.stage canvas.ring { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.opo { position: absolute; z-index: 1; left: 66%; top: 52%; width: min(44vw, 74vh, 660px); aspect-ratio: 640 / 649; translate: -50% -50%; pointer-events: none; will-change: transform, opacity; }
.opo canvas, .opo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.opo-fallback { transition: opacity .5s ease; }
#opo-gl { opacity: 0; transition: opacity .5s ease; }
.gl-ready #opo-gl { opacity: 1; }
.gl-ready .opo-fallback { opacity: 0; }
.no-gl #opo-gl { display: none; }
.bubble { position: absolute; left: 63%; top: 7%; padding: 10px 16px; border-radius: 18px 18px 18px 4px; background: #EEF0F7; color: #0B0F1C; font: 600 18px/1 var(--f-text); white-space: nowrap; opacity: 0; transform: translateY(6px) scale(0.96); transform-origin: 0 100%; transition: opacity .35s ease, transform .35s ease; }
.bubble.on { opacity: 1; transform: none; }
/* Нажать на Опо — он помашет ещё раз. Кнопка лежит на его теле; в нырке её нет. */
.opo-hit { position: absolute; left: 22%; right: 22%; top: 14%; bottom: 6%; border: 0; padding: 0; border-radius: 45%; background: transparent; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.opo.diving .opo-hit, .no-gl .opo-hit, .reduce .opo-hit { display: none; }
.t0 { pointer-events: none; }
.t0-copy { pointer-events: auto; }
.t0.off .t0-copy { pointer-events: none; }
.t0 { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; }
.t0-copy { max-width: 640px; display: grid; gap: 22px; }
.t0 .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.scroll-cue { position: absolute; left: 0; right: 0; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 12px; color: var(--ink-2); font: 500 14px/1 var(--f-text); letter-spacing: 0.03em; pointer-events: none; }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--ink-2), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
.js .scroll-cue { display: grid; }
.scroll-cue { display: none; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.t2 { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: none; }
.js .t2 { display: block; }
.ring-phase { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 6px; opacity: 0; }
.ring-phase b { font: 300 clamp(24px, 2.6vw, 32px)/1 var(--f-head); letter-spacing: 0; }
.ring-phase span { font: 200 clamp(42px, 4.6vw, 60px)/1 var(--f-head); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.t2-caption { position: absolute; left: 0; right: 0; top: 80%; margin: 0 auto; max-width: 640px; padding: 0 20px; text-align: center; display: grid; gap: 10px; opacity: 0; }
.t2-caption .h-sec { font-size: clamp(28px, 3.4vw, 46px); }
.t2-caption .lead { margin: 0 auto; font-size: 17px; }
@media (max-width: 899px) {
  .t0 { align-items: flex-start; padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
  .t0-copy { gap: 14px; }
  .opo { left: 50%; top: auto; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; width: min(80vw, 40vh); }
  .bubble { left: 58%; top: 2%; font-size: 15px; padding: 8px 13px; }
  .scroll-cue { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .scroll-cue span { display: none; }
  .scroll-cue i { height: 30px; }
}

/* ---------- главы ---------- */
.chapter { position: relative; padding-block: clamp(72px, 9vw, 140px); }
.chapter-head { display: grid; gap: 16px; max-width: 46em; margin-bottom: clamp(36px, 5vw, 64px); }
.rise { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rise.pre { transform: translateY(32px); }

/* Почему дыхание: три мысли под кольцом первого экрана. */
.thoughts3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .thoughts3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.thought { display: grid; gap: 12px; align-content: start; padding: 16px 16px 28px; border-radius: 28px; background: rgba(18, 23, 38, 0.62); box-shadow: inset 0 0 0 1px var(--line); }
.thought h3, .thought > p { padding: 0 10px; }
.thought > p { margin: 0; color: var(--ink-2); }
.viz { margin: 0 0 8px; min-height: 212px; padding: 14px 14px 12px; border-radius: 20px; background: rgba(5, 8, 16, 0.6); box-shadow: inset 0 0 0 1px rgba(238, 240, 247, 0.06); display: grid; gap: 10px; align-content: space-between; }
.viz svg { width: 100%; height: auto; display: block; overflow: visible; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.viz-legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.lg-free { background: #7D8499; }
.lg-count { background: linear-gradient(90deg, #00E5FF, #D07CFF); }
.vz-base { stroke: rgba(238, 240, 247, 0.1); stroke-width: 1; }
.vz-split { stroke: rgba(238, 240, 247, 0.25); stroke-width: 1; stroke-dasharray: 3 4; }
.vz-note { fill: var(--ink-3); font: 500 11px var(--f-text); }
.vz-free { fill: none; stroke: #7D8499; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vz-count { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#viz-control .vz-dot { fill: #C2C7D4; transition: fill .4s; }
#viz-control.is-count .vz-dot { fill: #9CF6FF; }
.vz-halo { fill: rgba(156, 246, 255, 0); transition: fill .4s; }
#viz-control.is-count .vz-halo { fill: rgba(156, 246, 255, 0.2); }
.vz-row { font: 600 14px var(--f-text); }
.vz-sub { fill: var(--ink-3); font: 500 12px var(--f-text); }
.vz-wave { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.vz-head { stroke: rgba(238, 240, 247, 0.28); stroke-width: 1; }
.viz-layers { align-content: center; justify-items: center; gap: 18px; }
.lchips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.lchip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px; border-radius: 999px; background: rgba(238, 240, 247, 0.06); color: var(--ink-3); font: 600 14px/1 var(--f-text); transition: background .45s, color .45s, box-shadow .45s; }
.lchip.on { background: rgba(124, 77, 255, 0.24); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(179, 161, 255, 0.5); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 13px; height: 14px; }
.eq b { width: 3px; height: 30%; border-radius: 2px; background: currentColor; }
.lchip.on .eq b { animation: eq 1.1s ease-in-out infinite; }
.lchip.on .eq b:nth-child(2) { animation-delay: -.4s; }
.lchip.on .eq b:nth-child(3) { animation-delay: -.75s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.pulse { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; }
.lchip.on .pulse { animation: breathe 10s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.65); } 40% { transform: scale(1.2); } }
@media (max-width: 420px) { .lchip { padding: 0 10px; gap: 6px; font-size: 13.5px; } }
.lcap { margin: 0; text-align: center; font-size: 14px; line-height: 1.45; color: var(--ink-2); min-height: 2.9em; max-width: 22em; }

/* Шесть состояний: кольцо меняет цвет под каждое, фон главы — вслед за ним. */
.states { padding-block: 0; }
.states > .wrap { position: relative; padding-block: clamp(72px, 9vw, 140px); }
/* Фон главы — как фон сцены практики: радиальный, от цветного центра у кольца к тёмному краю.
   Слой липкий во весь экран, края мягко уходят в ночное небо. Цвет задаёт прокрутка (main.js). */
.states-bg { position: sticky; top: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh; pointer-events: none;
  background: radial-gradient(72% 62% at 27% 50%, var(--state-center, #082E3A) 0%, var(--state-edge, #010A0E) 100%);
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
@media (max-width: 959px) { .states-bg { background: radial-gradient(110% 70% at 40% 40%, var(--state-center, #082E3A) 0%, var(--state-edge, #010A0E) 100%); } }
.states .grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .states .grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.state-ring { display: none; }
@media (min-width: 960px) {
  .state-ring { display: block; position: sticky; top: calc(50vh - 260px); aspect-ratio: 1; width: 100%; max-width: 520px; }
  .state-ring canvas { width: 100%; height: 100%; }
}
.state-list { display: grid; }
.state-item { display: grid; gap: 12px; padding-block: 28px; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .state-item { min-height: 62vh; align-content: center; padding-block: 0; border-top: 0; } }
.state-item .name { margin: 0; font: 600 clamp(40px, 5vw, 68px)/1 var(--f-head); letter-spacing: -0.035em; transition: color .5s; }
.state-item .promise { margin: 0; font: 600 clamp(20px, 2vw, 24px)/1.25 var(--f-head); letter-spacing: -0.01em; color: var(--st, var(--ink-2)); }
/* Цвет состояния — светлый тон его кольца (ring_scene_palettes.dart): текст и кольцо говорят одно. */
.state-item[data-state="calm"] { --st: #66E6E8; }
.state-item[data-state="stress"] { --st: #B7C0FF; }
.state-item[data-state="sleep"] { --st: #9FBEFF; }
.state-item[data-state="focus"] { --st: #F8D27E; }
.state-item[data-state="energy"] { --st: #FF9B57; }
.state-item[data-state="balance"] { --st: #A3D7F2; }
.state-item ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.state-item li { padding: 9px 14px; border-radius: 999px; background: rgba(238, 240, 247, 0.09); font-size: 15px; line-height: 1.2; color: #D5DAE6; }
.state-item .count { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.state-item img.ring-still { width: 132px; margin: -8px 0 4px -10px; }
@media (min-width: 960px) { .state-item img.ring-still { display: none; } }

/* Приложение: настоящие экраны. */
.screens { display: grid; gap: 28px; }
@media (min-width: 900px) { .screens { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
@media (max-width: 899px) { .screens { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; } .screens figure { scroll-snap-align: start; } }
.screens figure { margin: 0; display: grid; gap: 18px; align-content: start; min-width: 0; }
.phone { position: relative; width: 100%; max-width: 330px; aspect-ratio: 750 / 1624; padding: 10px; border-radius: 50px; background: #0C0E15; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 30px 80px -40px rgba(0, 0, 0, 0.9); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 41px; }
.screens figcaption { display: grid; gap: 8px; max-width: 26em; }
.screens figcaption p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Ира. */
.ira .card { display: grid; gap: 28px; align-items: center; background: var(--surface); border-radius: 28px; padding: clamp(26px, 4vw, 56px); }
@media (min-width: 900px) { .ira .card { grid-template-columns: 160px 1fr; gap: 56px; } }
.ira .portrait { width: 160px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.ira .portrait img { width: 100%; height: 100%; object-fit: cover; }
.ira .text { display: grid; gap: 14px; max-width: 40em; }
.ira .text p { margin: 0; color: var(--ink-2); }
.ira .text .label { color: var(--kicker); }
.listen { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 8px; border-radius: 999px; border: 0; background: var(--fill-2); color: var(--ink); font: 600 16px/1 var(--f-text); cursor: pointer; }
.listen .ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); }
.listen .ico svg { width: 16px; height: 16px; }
.listen small { font: 500 13px/1 var(--f-text); color: var(--ink-3); white-space: nowrap; }
.listen #listen-label { text-align: left; line-height: 1.25; }

/* Опо растёт. */
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.stage-opo { display: grid; justify-items: center; text-align: center; gap: 4px; min-width: 0; }
.stage-opo b { font: 600 clamp(14px, 1.4vw, 18px)/1.2 var(--f-head); position: relative; }
.stage-opo > span:last-child { font: 500 clamp(14px, 1.2vw, 16px)/1.3 var(--f-text); color: var(--ink-2); }
@media (max-width: 700px) { .stages { grid-template-columns: repeat(5, 52vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 8px; } .stage-opo { scroll-snap-align: center; } .stage-pic { width: 100%; margin: 0; } }
.after-note { margin: 40px 0 0; max-width: 40em; color: var(--ink-2); }

/* Подписка. */


/* Финал. */
.final { text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 22px; }
.final .mini-ring { width: min(70vw, 360px); aspect-ratio: 1; }
.final .mini-ring canvas { width: 100%; height: 100%; }
.safety { max-width: 50em; margin: 24px auto 0; font-size: 15px; line-height: 1.55; color: var(--ink-3); }

/* ---------- подвал ---------- */
.foot { padding-block: 56px 48px; background: #04060C; border-top: 1px solid var(--line); }
.foot .wrap { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h2 { margin: 0 0 12px; font: 600 15px/1.3 var(--f-head); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .op { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.foot .line { margin: 14px 0 0; color: var(--ink-2); max-width: 24em; }

/* ---------- документы: та же ночь, что на главной; у каждого свой цвет кольца ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.doc { --acc: #66E6E8; --acc-rgb: 102, 230, 232; position: relative; padding-bottom: 96px; color: var(--ink); }
.doc[data-accent="calm"] { --acc: #66E6E8; --acc-rgb: 102, 230, 232; }
.doc[data-accent="balance"] { --acc: #A3D7F2; --acc-rgb: 163, 215, 242; }
.doc[data-accent="focus"] { --acc: #F8D27E; --acc-rgb: 248, 210, 126; }
.doc[data-accent="stress"] { --acc: #B7C0FF; --acc-rgb: 183, 192, 255; }
.doc[data-accent="energy"] { --acc: #FF9B57; --acc-rgb: 255, 155, 87; }
.doc[data-accent="sleep"] { --acc: #9FBEFF; --acc-rgb: 159, 190, 255; }
.doc a { color: var(--acc); text-decoration-color: rgba(var(--acc-rgb), 0.45); }
.doc a:hover { text-decoration-color: currentColor; }
.doc svg, .logo-view svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: rgba(238, 240, 247, 0.08); color: var(--ink) !important; text-decoration: none; font: 500 15px/1 var(--f-text); }
.back:hover { background: rgba(238, 240, 247, 0.14); }
.back svg { width: 18px !important; height: 18px !important; }
.doc-head { display: grid; gap: 12px; max-width: 52em; justify-items: start; }
.doc-head p { margin: 0; }
.doc-head .h2 { margin: 0; font: 600 clamp(34px, 4.4vw, 56px)/1.05 var(--f-head); letter-spacing: -0.03em; text-wrap: balance; }
.doc-head .muted { color: var(--ink-2); }

/* Шапка документа: текст слева, кольцо цвета документа справа, свет от кольца в фоне. */
.doc-hero { position: relative; padding: 108px 0 36px; }
.doc-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 70% at 80% 46%, rgba(var(--acc-rgb), 0.13), transparent 72%); }
.doc-hero .wrap { position: relative; display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .doc-hero .wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.doc-hero-text { display: grid; gap: 16px; justify-items: start; max-width: 46em; }
.doc-hero .label { color: var(--acc); }
.doc-title { margin: 0; font: 600 clamp(30px, 8.2vw, 66px)/1.04 var(--f-head); letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 760px) { .doc-title { font-size: clamp(40px, 5vw, 66px); } }
.doc-lead { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--lead); max-width: 40em; }
.doc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dchip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(238, 240, 247, 0.08); font: 500 14px/1 var(--f-text); color: var(--ink-2); }
.dchip.is-draft { background: rgba(226, 185, 79, 0.14); color: #F1D58C; }
.doc-art { display: none; }
@media (min-width: 960px) { .doc-art { display: block; justify-self: end; width: 300px; } .doc-art img { width: 100%; } }

/* Пометка для юриста и незаполненное — тёплым, чтобы сразу видно. */
.draft-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 24px; padding: 14px 18px; border-radius: 20px; background: rgba(226, 185, 79, 0.07); box-shadow: inset 0 0 0 1px rgba(226, 185, 79, 0.26); color: #E6DABA; font-size: 15px; line-height: 1.55; max-width: 980px; }
.draft-note svg { color: #E2B94F; margin-top: 1px; }
.doc .draft-note a { color: #F1D58C; }
mark.fill { background: rgba(226, 185, 79, 0.14); color: #F1D58C; border-radius: 6px; padding: 1px 6px; box-shadow: inset 0 0 0 1px rgba(226, 185, 79, 0.3); }

/* «Коротко»: главное до чтения текста. */
.facts { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.facts li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 20px; background: rgba(18, 23, 38, 0.8); box-shadow: inset 0 0 0 1px var(--line); }
.facts svg { width: 28px !important; height: 28px !important; color: var(--acc); margin-bottom: 4px; }
.facts b { font: 600 18px/1.25 var(--f-head); letter-spacing: -0.01em; }
.facts span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
/* На телефоне «Коротко» — плотный список: значок слева, текст справа. */
@media (max-width: 599px) { .facts { gap: 8px; } .facts li { grid-template-columns: 28px 1fr; column-gap: 14px; row-gap: 4px; padding: 16px 18px; } .facts svg { grid-row: span 2; margin: 0; } }

/* Текст и содержание: на широком экране содержание стоит сбоку и подсвечивает раздел. */
.doc-layout { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1100px) { .doc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; } }
.doc-toc { display: none; }
@media (min-width: 1100px) { .doc-toc { display: block; position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; } }
.toc-title { margin: 0 0 12px; font: 600 14px/1 var(--f-text); color: var(--ink-3); }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; border-left: 1px solid var(--line); }
.doc-toc li { counter-increment: toc; }
.doc .doc-toc a { display: grid; grid-template-columns: 30px 1fr; padding: 7px 10px 7px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; font-size: 15px; line-height: 1.35; transition: color .2s, border-color .2s; }
.doc-toc a::before { content: counter(toc, decimal-leading-zero); font: 500 13px/1.6 var(--f-text); opacity: .7; }
.doc .doc-toc a:hover { color: var(--ink); }
.doc .doc-toc a.on { color: var(--ink); border-left-color: var(--acc); }
.doc-toc a.on::before { color: var(--acc); opacity: 1; }
.toc-m { margin: 0; border-radius: 20px; background: rgba(18, 23, 38, 0.8); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 1100px) { .toc-m { display: none; } }
.toc-m summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 56px; padding: 0 20px; font: 600 16px/1 var(--f-head); }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: "+"; margin-left: auto; color: var(--acc); font: 300 26px/1 var(--f-head); }
.toc-m[open] summary::after { content: "−"; }
.toc-m ol { margin: 0; padding: 0 20px 18px 44px; display: grid; gap: 8px; }
.doc .toc-m a { color: var(--ink-2); text-decoration: none; }

.doc-body { min-width: 0; padding: clamp(22px, 4vw, 56px); border-radius: 28px; background: rgba(14, 19, 32, 0.92); box-shadow: inset 0 0 0 1px var(--line); font-size: 17px; line-height: 1.7; color: #D6DBE7; }
.doc-body section { scroll-margin-top: 92px; }
.doc-body section + section { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.doc-body h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; font: 600 clamp(22px, 2vw, 26px)/1.25 var(--f-head); letter-spacing: -0.015em; color: var(--ink); }
.doc-body h2 .n { font: 600 14px/1 var(--f-text); color: var(--acc); min-width: 24px; }
.doc-body p, .doc-body li { max-width: 68ch; }
.doc-body p { margin: 0 0 14px; }
.doc-body b { color: var(--ink); }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.doc-body ul > li { position: relative; padding-left: 24px; }
.doc-body ul > li::before { content: ""; position: absolute; left: 5px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.doc-body ul.checks > li::before { left: 3px; top: .48em; width: 11px; height: 6px; border-radius: 0; background: none; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.doc-body ul.crosses > li::before { content: "×"; left: 2px; top: .02em; width: auto; height: auto; border-radius: 0; background: none; color: #FF8FA3; font: 500 20px/1 var(--f-head); }
.doc-body ol.steps { counter-reset: st; gap: 10px; }
.doc-body ol.steps > li { counter-increment: st; position: relative; padding: 14px 16px 14px 58px; border-radius: 16px; background: rgba(238, 240, 247, 0.045); }
.doc-body ol.steps > li::before { content: counter(st); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--acc-rgb), 0.16); color: var(--acc); font: 600 14px/1 var(--f-head); }
.doc-body .table { overflow-x: auto; margin: 6px 0 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.doc-body table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 15px; line-height: 1.55; }
.doc-body thead th { background: rgba(238, 240, 247, 0.05); text-align: left; font: 600 13px/1.3 var(--f-text); color: var(--ink-2); padding: 12px 14px; }
.doc-body td { padding: 12px 14px; vertical-align: top; border-top: 1px solid var(--line); color: var(--ink-2); }
.doc-body td:first-child { color: #E3E7F0; }
.callout { display: flex; gap: 12px; align-items: flex-start; max-width: 68ch; padding: 14px 16px; border-radius: 16px; background: rgba(var(--acc-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), 0.26); color: var(--ink); }
.callout svg { color: var(--acc); margin-top: 2px; }
.callout.is-warn { background: rgba(255, 143, 163, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 143, 163, 0.3); }
.callout.is-warn svg { color: #FF8FA3; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 18px !important; }
.path span { padding: 8px 14px; border-radius: 999px; background: rgba(238, 240, 247, 0.07); font: 500 15px/1.2 var(--f-text); color: var(--ink); }
.path span.is-last { background: rgba(var(--acc-rgb), 0.16); color: var(--acc); }
.path svg { width: 16px !important; height: 16px !important; color: var(--ink-3); }
.versions { margin: 24px 0 0 !important; font-size: 14px; color: var(--ink-3); }

/* Схемы: как устроена подписка, шаги удаления, сроки. */
.flow, .timeline, .way, .doc-card { border-radius: 28px; background: rgba(18, 23, 38, 0.8); box-shadow: inset 0 0 0 1px var(--line); }
.flow { margin: 0 0 32px; padding: clamp(22px, 3vw, 32px); }
.flow .label, .timeline .label, .way .label { color: var(--acc); }
.flow .label, .timeline .label { margin: 0 0 22px; }
.flow ol, .timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.flow li, .timeline li { position: relative; display: grid; gap: 6px; align-content: start; padding-left: 54px; }
.flow li i { position: absolute; left: 0; top: -4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--f-head); font-style: normal; color: var(--acc); background: rgba(var(--acc-rgb), 0.14); box-shadow: inset 0 0 0 1.5px rgba(var(--acc-rgb), 0.6); }
.flow li.is-opt i { background: transparent; box-shadow: none; border: 1.5px dashed rgba(var(--acc-rgb), 0.7); }
.flow li:not(:last-child)::after, .timeline li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: -18px; width: 2px; border-radius: 2px; background: linear-gradient(rgba(var(--acc-rgb), 0.5), rgba(var(--acc-rgb), 0.12)); }
.flow b, .timeline b { font: 600 17px/1.25 var(--f-head); }
.flow span, .timeline span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.timeline { margin: 0 0 24px; padding: clamp(22px, 3vw, 36px); }
.timeline li { padding-left: 40px; }
.timeline li i { position: absolute; left: 6px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 6px rgba(var(--acc-rgb), 0.16); }
.timeline li:not(:last-child)::after { left: 12px; top: 26px; }
.timeline b { font-size: 19px; }
@media (min-width: 900px) {
  .flow ol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .timeline ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .flow li, .timeline li { padding: 54px 10px 0 0; }
  .flow li i { top: 0; }
  .timeline li i { left: 2px; top: 6px; }
  .flow li:not(:last-child)::after, .timeline li:not(:last-child)::after { left: 46px; right: 6px; top: 18px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, rgba(var(--acc-rgb), 0.5), rgba(var(--acc-rgb), 0.12)); }
  .timeline li:not(:last-child)::after { left: 30px; top: 12px; }
}
.ways { display: grid; gap: 14px; margin: 0 0 24px; }
@media (min-width: 900px) { .ways { grid-template-columns: 1.15fr 1fr; } }
.way { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 32px); }
.way h2 { margin: 0; font: 600 26px/1.2 var(--f-head); letter-spacing: -0.015em; }
.way p { margin: 0; color: var(--ink-2); }
.way .btn { justify-self: start; margin-top: 4px; }
.doc .way .btn { color: var(--ink); }
.way .btn svg { width: 18px !important; height: 18px !important; }
.taps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.taps li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(238, 240, 247, 0.05); color: var(--ink-2); }
.taps li i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--acc-rgb), 0.14); color: var(--acc); flex: none; font-style: normal; }
.taps li b { color: var(--ink); font-weight: 600; }
.doc-cards { display: grid; gap: 14px; }
@media (min-width: 900px) { .doc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.doc-card { padding: 24px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.doc-card h2 { margin: 0 0 10px; font: 600 20px/1.25 var(--f-head); color: var(--ink); }
.doc-card p { margin: 0; }
.doc-card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }

/* Поддержка. */
.contact { display: grid; gap: 14px; margin: 0 0 36px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.35fr 1fr; } }
.contact-main { display: grid; gap: 18px; justify-items: start; align-content: center; padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, rgba(var(--acc-rgb), 0.16), rgba(18, 23, 38, 0.88) 62%); box-shadow: inset 0 0 0 1px var(--line); }
.contact-ico { width: 38px !important; height: 38px !important; color: var(--acc); }
.doc .contact .addr { font: 600 clamp(26px, 3.2vw, 42px)/1.1 var(--f-head); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; word-break: break-word; }
.doc .contact .btn-primary { color: #fff; }
.quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.doc .quick a { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 0 20px; border-radius: 20px; background: rgba(18, 23, 38, 0.8); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.quick a svg { color: var(--acc); }
.quick a::after { content: "→"; margin-left: auto; color: var(--ink-3); }
.doc .quick a:hover { background: rgba(30, 36, 56, 0.92); }
.faq-groups { display: grid; gap: 28px; }
@media (min-width: 1000px) { .faq-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; } }
.faq { display: grid; gap: 10px; }
.faq-title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font: 600 18px/1.2 var(--f-head); }
.faq-title svg { color: var(--acc); }
.faq details { background: rgba(18, 23, 38, 0.8); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 20px; scroll-margin-top: 96px; }
.faq summary { cursor: pointer; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 14px 0; font: 600 16px/1.35 var(--f-head); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--acc); font: 300 26px/1 var(--f-head); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.faq details p { margin: 0 0 10px; }

/* Реквизиты. */
.reqs { margin: 0; padding: 6px clamp(20px, 3vw, 36px); border-radius: 28px; background: rgba(14, 19, 32, 0.92); box-shadow: inset 0 0 0 1px var(--line); max-width: 980px; }
.reqs div { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.reqs div:first-child { border-top: 0; }
@media (min-width: 760px) { .reqs div { grid-template-columns: 320px 1fr; gap: 24px; } }
.reqs dt { color: var(--ink-3); font-size: 15px; }
.reqs dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Конец документа: куда дальше. */
.doc-end { display: grid; gap: 28px; margin-top: 48px; }
.doc-end:empty { display: none; }
.doc .help-card { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-radius: 28px; background: radial-gradient(120% 170% at 0% 50%, rgba(124, 77, 255, 0.22), rgba(18, 23, 38, 0.88) 66%); box-shadow: inset 0 0 0 1px rgba(179, 161, 255, 0.3); color: var(--ink); text-decoration: none; }
.help-card > svg:first-child { width: 32px !important; height: 32px !important; color: var(--kicker); }
.help-card b { display: block; font: 600 20px/1.25 var(--f-head); }
.help-card small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.help-card .arr { margin-left: auto; color: var(--kicker); }
.more .label { color: var(--ink-3); }
.more ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.doc .more a { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px 20px; border-radius: 20px; background: rgba(18, 23, 38, 0.8); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; }
.doc .more a:hover { background: rgba(30, 36, 56, 0.92); }
.more a svg { color: var(--c); margin-top: 2px; }
.more b { display: block; font: 600 16px/1.3 var(--f-head); }
.more small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  .rise { transition: none; }
  .lchip.on .eq b, .lchip.on .pulse { animation: none; }
  .js .rise.pre { transform: none; }
  .t0 .scroll-cue i { animation: none; }
}

/* Варианты логотипа (#logo) — страница для владельца. */
.logo-view { padding-block: 110px 80px; min-height: 100vh; }
.logo-view .wrap { display: grid; gap: 26px; }
.wm-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .wm-grid { grid-template-columns: 1fr 1fr; } }
.wm-card { margin: 0; display: grid; gap: 22px; padding: 22px; border-radius: 28px; background: radial-gradient(120% 120% at 50% 0%, #101B33 0%, #070C18 60%, #050810 100%); box-shadow: inset 0 0 0 1px var(--line); }
.wm-card.rec { box-shadow: inset 0 0 0 1.5px var(--kicker); }
.wm-card.was { opacity: 0.8; }
.wm-bar { display: flex; align-items: center; gap: 11px; min-height: 64px; padding: 0 18px; border-radius: 20px; background: rgba(6, 9, 16, 0.86); }
.wm-bar img { width: 32px; height: 32px; border-radius: 9px; }
.wm-big { padding: 18px 0 8px; text-align: center; }
.wm-card figcaption { color: var(--ink-2); font-size: 16px; }
.wm-card figcaption b { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; margin-right: 10px; border-radius: 999px; background: var(--fill-2); color: var(--ink); font: 600 15px/1 var(--f-head); }
.wm-card figcaption em { font-style: normal; color: var(--kicker); font-weight: 600; }
.wm-a { font: 700 18px/1 var(--f-head); letter-spacing: 0.2em; }
.wm-big.wm-a { font-size: clamp(44px, 6vw, 68px); }
.wm-b { font: 300 18px/1 var(--f-head); letter-spacing: 0.34em; }
.wm-big.wm-b { font-size: clamp(44px, 6vw, 68px); }
.wm-c { font: 600 21px/1 var(--f-head); letter-spacing: -0.02em; }
.wm-big.wm-c { font-size: clamp(50px, 7vw, 80px); }
.wm-d { font: 500 22px/1 var(--f-text); letter-spacing: -0.03em; }
.wm-big.wm-d { font-size: clamp(52px, 7vw, 82px); }
.wm-old { font: 600 22px/1 var(--f-label); letter-spacing: 0.14em; }
.wm-big.wm-old { font-size: clamp(48px, 6.4vw, 74px); }

/* ---------- отклик на указатель и касание ---------- */
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(179, 161, 255, 0.10), transparent 65%); }
.spot:hover::before { opacity: 1; }
.lift { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, background-color .3s ease; }
@media (hover: hover) { .lift:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(179, 161, 255, 0.28), 0 18px 40px -26px rgba(0, 0, 0, 0.9); } }
.lift:active { transform: translateY(0) scale(0.99); }
/* Текстовые ссылки: подчёркивание проявляется. */
.cmp-note a, .after-note a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: rgba(179, 161, 255, 0.55); transition: text-decoration-color .2s ease, color .2s ease; }
.cmp-note a:hover, .after-note a:hover { color: #fff; text-decoration-color: var(--kicker); }
/* Группы карточек поднимаются одна за другой. */
.thoughts3 .rise:nth-child(2), .screens .rise:nth-child(2) { transition-delay: .08s; }
.thoughts3 .rise:nth-child(3), .screens .rise:nth-child(3) { transition-delay: .16s; }
.screens .rise:nth-child(4) { transition-delay: .24s; }

/* ---------- «Опо растёт»: живые стадии, дорожка дней ---------- */
.stage-pic { position: relative; display: block; width: 132%; max-width: none; margin: -12% -16% -6%; aspect-ratio: 720 / 730; }
.stage-pic img { width: 100%; transition: opacity .6s ease; }
.stage-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.gallery-live .stage-gl { opacity: 1; }
.gallery-live .stage-pic img { opacity: 0; }
.stage-opo { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stage-bubble { position: absolute; left: 56%; top: 9%; padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #EEF0F7; color: #0B0F1C; font: 600 14px/1 var(--f-text); white-space: nowrap; opacity: 0; transform: translateY(6px) scale(.94); transform-origin: 0 100%; transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.stage-bubble.on { opacity: 1; transform: none; }
/* Дорожка: точка на каждой стадии и сколько дней до неё от предыдущей. */
.trk { position: relative; display: block; width: 100%; height: 22px; margin: 4px 0 6px; font-style: normal; }
.trk::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--kicker); box-shadow: 0 0 0 5px rgba(179, 161, 255, 0.16); }
.trk::after { content: ""; position: absolute; right: 50%; top: 50%; width: calc(100% + 8px); height: 2px; margin: -1px 7px 0 0; border-radius: 2px; background: linear-gradient(90deg, rgba(179, 161, 255, 0.12), rgba(179, 161, 255, 0.55)); transform-origin: 0 50%; transform: scaleX(var(--grow, 1)); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.stage-opo:first-child .trk::after { display: none; }
.js .stages.pre .trk::after { --grow: 0; }
.trk .gap { position: absolute; right: calc(50% + 12px); top: -18px; width: calc(100% - 16px); text-align: center; font: 600 12px/1 var(--f-text); color: var(--kicker); white-space: nowrap; }
.stage-hint { margin: 18px 0 0; font-size: 15px; color: var(--ink-3); }
.stage-hint .on-touch { display: none; }
@media (hover: none) { .stage-hint .on-hover { display: none; } .stage-hint .on-touch { display: inline; } }

/* ---------- подписка: сравнение ---------- */
.compare { display: grid; border-radius: 28px; overflow: hidden; background: rgba(18, 23, 38, 0.82); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.cmp-row > span { padding: 18px clamp(14px, 2.4vw, 28px); font-size: 16px; line-height: 1.4; color: var(--ink-2); display: flex; align-items: center; gap: 10px; min-width: 0; }
.cmp-row > span:first-child { color: var(--ink); font-weight: 500; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row > span:last-child { background: rgba(124, 77, 255, 0.07); color: var(--ink); }
.cmp-head > span { padding-top: 24px; padding-bottom: 20px; }
.cmp-plan { display: grid !important; gap: 4px; }
.cmp-plan b { font: 600 clamp(18px, 1.8vw, 22px)/1.2 var(--f-head); color: var(--ink); }
.cmp-plan small { font-size: 14px; color: var(--ink-3); }
.cmp-plan.is-prime b { background: linear-gradient(100deg, #B9A3FF, #E1A6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cmp-row i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; }
.cmp-row i.yes { background: rgba(102, 230, 232, 0.16); }
.cmp-row i.yes::before { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 2px solid #66E6E8; border-bottom: 2px solid #66E6E8; transform: rotate(-45deg); }
.cmp-row i.part { background: rgba(248, 210, 126, 0.16); }
.cmp-row i.part::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(90deg, #F8D27E 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px #F8D27E; }
.cmp-row i.no { background: rgba(238, 240, 247, 0.06); }
.cmp-row i.no::before { content: ""; width: 9px; height: 2px; border-radius: 2px; background: var(--ink-3); }
@media (max-width: 640px) {
  .cmp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; font-size: 15px; color: var(--ink-3); font-weight: 500; }
  .cmp-row > span { padding-top: 8px; font-size: 15px; }
  .cmp-head > .cmp-corner { display: none; }
  .cmp-row > span:last-child { background: none; }
}
.cmp-note { margin: 22px 0 0; max-width: 46em; color: var(--ink-2); }

/* ---------- состояния: ритм настоящей практики ---------- */
.rhythm { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 2px 0 2px; }
.rhythm svg { width: 168px; height: 28px; flex: none; overflow: visible; }
.rhythm path { fill: none; stroke: var(--st); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 600); stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.3, .7, .2, 1); }
.js .state-item:not(.drawn) .rhythm path { stroke-dashoffset: var(--len, 600); }
.rhythm span { font-size: 14px; color: var(--ink-3); }
.rhythm b { color: var(--ink-2); font-weight: 500; }

/* ---------- приложение: шаги по порядку ---------- */
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(179, 161, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(179, 161, 255, 0.4); color: var(--kicker); font: 600 14px/1 var(--f-head); }
.phone { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .screens figure:hover .phone { transform: translateY(-6px) rotate(-0.6deg); } }

/* ---------- Ира: кнопка прослушивания ---------- */
.listen { position: relative; overflow: hidden; transition: background-color .2s ease, transform .2s ease; }
.listen:hover { background: rgba(238, 240, 247, 0.2); }
.listen:active { transform: scale(0.98); }
.listen .ico { transition: transform .2s ease; }
.listen:hover .ico { transform: scale(1.06); }
.listen-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.listen-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.listen[aria-pressed="true"] { background: rgba(124, 77, 255, 0.22); }

@media (prefers-reduced-motion: reduce) {
  .btn, .lift, .phone, .trk::after, .rhythm path { transition: none !important; }
  .js .state-item:not(.drawn) .rhythm path { stroke-dashoffset: 0; }
  .js .stages.pre .trk::after { --grow: 1; }
}

/* Страница 404. */
.lost-page { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; }
.lost .lead { margin: 0 auto; }
