/* MOROK · c3 «Глаз» — тёмная CRT-эстетика приложения, сдержанно */
:root {
  --bg: #0b0b0d;
  --bg-2: #121215;
  --bg-3: #18181c;
  --ink: #ece7e1;
  --mute: #a29c95;
  --dim: #6d6863;
  --line: rgba(236, 231, 225, .12);
  --line-2: rgba(236, 231, 225, .24);
  --acc: #f3b54a;          /* янтарный фосфор */
  --acc-ink: #17120a;
  --acc-glow: rgba(243, 181, 74, .35);
  --px: 4px;
  --pxc: polygon(0 calc(var(--px) * 2), var(--px) calc(var(--px) * 2), var(--px) var(--px), calc(var(--px) * 2) var(--px), calc(var(--px) * 2) 0,
    calc(100% - var(--px) * 2) 0, calc(100% - var(--px) * 2) var(--px), calc(100% - var(--px)) var(--px), calc(100% - var(--px)) calc(var(--px) * 2), 100% calc(var(--px) * 2),
    100% calc(100% - var(--px) * 2), calc(100% - var(--px)) calc(100% - var(--px) * 2), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px) * 2) calc(100% - var(--px)), calc(100% - var(--px) * 2) 100%,
    calc(var(--px) * 2) 100%, calc(var(--px) * 2) calc(100% - var(--px)), var(--px) calc(100% - var(--px)), var(--px) calc(100% - var(--px) * 2), 0 calc(100% - var(--px) * 2));
  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gut: 48px;
  --max: 1344px;
  color-scheme: dark;
}
@media (max-width: 1023px) { :root { --gut: 32px; } }
@media (max-width: 599px) { :root { --gut: 16px; --px: 3px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--f-sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--acc); color: var(--acc-ink); padding: 10px 14px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 8px; }

/* ——— морок: зернистая вуаль на всю страницу ——— */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='2' height='2' fill='%23ece7e1'/%3E%3Crect x='2' y='2' width='2' height='2' fill='%23ece7e1'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity .6s steps(6);
}
html.is-morok body::after { opacity: .028; }

/* ——— кнопки с пиксельными углами ——— */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 0; background: none; color: var(--ink);
  font: 600 16px/1.1 var(--f-sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .2s, transform .15s steps(2);
}
.btn::before, .btn::after { content: ""; position: absolute; z-index: -1; clip-path: var(--pxc); transition: background .2s; }
.btn::before { inset: 0; background: var(--line-2); }
.btn::after { inset: 1px; background: var(--bg); }
.btn:hover::before { background: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--acc { color: var(--acc-ink); }
.btn--acc::before { background: var(--acc); }
.btn--acc::after { display: none; }
.btn--acc:hover::before { background: #ffc766; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { flex: none; }

/* ——— шапка ——— */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.hdr.is-scrolled { background: rgba(11, 11, 13, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .eye { width: 38px; height: auto; color: var(--ink); }
.brand b { font: 600 15px/1 var(--f-mono); letter-spacing: .32em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--mute); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.hdr-r { display: flex; align-items: center; gap: 14px; }
.lang { font: 500 13px/1 var(--f-mono); letter-spacing: .12em; color: var(--mute); text-decoration: none; padding: 8px 6px; }
.lang:hover { color: var(--ink); }
@media (max-width: 1023px) { .nav { display: none; } .hdr-r { margin-left: auto; } }
@media (max-width: 599px) { .hdr .wrap { height: 60px; gap: 12px; } .brand b { font-size: 13px; letter-spacing: .26em; } .brand .eye { width: 32px; } }

/* ——— герой ——— */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -40px; z-index: -3; background:
  radial-gradient(60% 55% at 50% 44%, #1c1b1f 0%, rgba(11, 11, 13, 0) 70%),
  radial-gradient(120% 80% at 50% 120%, #0f0f12 0%, var(--bg) 60%); }
.hero-grid { position: absolute; inset: -40px; z-index: -2; opacity: .5;
  background-image: radial-gradient(rgba(236, 231, 225, .14) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 75%); }
.hero-fx { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.crt { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, .22) 2px 3px);
  -webkit-mask-image: radial-gradient(90% 80% at 50% 45%, rgba(0, 0, 0, .55), #000); mask-image: radial-gradient(90% 80% at 50% 45%, rgba(0, 0, 0, .55), #000); }
.crt::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%); }

.stage { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(20px, 2.6vw, 44px); padding-top: 92px; }
.stage-eye { position: relative; grid-column: 2; width: min(40vw, 600px, calc((100svh - 330px) * 1.17)); min-width: 300px; cursor: crosshair; }
.stage-eye .eye { width: 100%; height: auto; color: var(--ink); filter: drop-shadow(0 0 22px rgba(236, 231, 225, .16)); overflow: visible; }
.stage-eye .eye .e-pupil { color: var(--acc); }
.eye { color: var(--ink); }
.eye g, .eye rect { transform-box: view-box; }
.eye .e-cata { opacity: 0; transition: opacity .35s steps(5); }
html.is-morok .eye .e-cata, .eye[data-state="blind"] .e-cata { opacity: .55; }
html.is-morok .eye[data-state="open"] .e-cata { opacity: 0; }
html.is-morok .stage-eye .eye { filter: drop-shadow(0 0 22px rgba(236, 231, 225, .07)); }
.stage-tag { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); color: var(--dim); white-space: nowrap; transition: color .3s; }

.h1 { margin: 0; font: 600 clamp(56px, 6.8vw, 112px)/.9 var(--f-sans); letter-spacing: -.045em; display: contents; }
.h1 .w { position: relative; display: block; white-space: nowrap; }
.h1 .w1 { grid-column: 1; grid-row: 1; justify-self: end; }
.h1 .w2 { grid-column: 3; grid-row: 1; justify-self: start; }
/* корректорская вставка «не»: знак вставки и слово над строкой */
.ins { position: absolute; left: -.16em; bottom: 100%; margin-bottom: .02em; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; }
.ins-word { font-size: .5em; line-height: 1; color: var(--acc); letter-spacing: -.02em; margin-left: -.02em; clip-path: inset(0 100% 0 0); transition: clip-path .5s steps(4); }
.ins-caret { width: .3em; height: .2em; margin-top: .06em; color: var(--acc); opacity: 0; transition: opacity .15s steps(2); }
html.is-morok .ins-word { clip-path: inset(0 0 0 0); transition-delay: .18s; }
html.is-morok .ins-caret { opacity: 1; }

.hero-foot { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; padding-top: 40px; padding-bottom: 40px; }
.lede { margin: 0; max-width: 34ch; text-wrap: pretty; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--mute); min-height: 2.9em; }
.lede b { color: var(--ink); font-weight: 500; }
.lede [data-off], .lede [data-on] { display: block; }
.hero-foot .power, .hero-foot .lede { text-shadow: 0 0 3px var(--bg), 0 0 10px var(--bg), 0 0 18px var(--bg); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* состояние-тексты */
html:not(.is-morok) [data-on], html.is-morok [data-off] { display: none !important; }

/* метка «это вы» у прицела */
.you { position: absolute; left: 0; top: 0; z-index: 3; color: var(--acc); font-size: 11px; letter-spacing: .16em; pointer-events: none; opacity: 0; white-space: nowrap; will-change: transform; }

/* ——— пиксельная кнопка питания ——— */
.power { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; font: 600 16px/1.1 var(--f-sans); text-align: left; }
.power-key { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; isolation: isolate; }
.power-key::before, .power-key::after { content: ""; position: absolute; z-index: -1; clip-path: var(--pxc); }
.power-key::before { inset: 0; background: var(--line-2); transition: background .25s; }
.power-key::after { inset: 1px; background: var(--bg-2); transition: background .25s; }
.power-key svg { width: 26px; height: 26px; color: var(--mute); transition: color .25s; shape-rendering: crispEdges; }
.power:hover .power-key::before { background: var(--ink); }
.power[aria-pressed="true"] .power-key::before { background: var(--acc); box-shadow: none; }
.power[aria-pressed="true"] .power-key::after { background: #2a2010; }
.power[aria-pressed="true"] .power-key svg { color: var(--acc); filter: drop-shadow(0 0 6px var(--acc-glow)); }
.power small { display: block; margin-top: 5px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.power[aria-pressed="true"] small { color: var(--acc); }
.power:focus-visible { outline-offset: 6px; }

@media (max-width: 1099px) {
  .stage { grid-template-columns: 1fr; justify-items: center; align-content: center; padding-top: 96px; row-gap: 72px; }
  .stage-eye { grid-column: 1; grid-row: 1; width: min(68vw, 460px, calc((100svh - 400px) * 1.17)); min-width: 220px; }
  .stage-tag { display: none; }
  .h1 { display: flex; justify-content: center; gap: .26em; grid-row: 2; font-size: clamp(52px, 11vw, 104px); }
  .h1 .w1, .h1 .w2 { grid-column: auto; grid-row: auto; }
  .hero-foot { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 34px; }
  .lede { max-width: 40ch; text-wrap: balance; }
  .cta { justify-content: center; }
}
@media (max-width: 599px) {
  .stage { padding-top: 88px; row-gap: 48px; }
  .stage-eye { width: min(76vw, 300px); }
  .h1 { font-size: clamp(46px, 14.6vw, 64px); }
  .hero-foot { padding-top: 26px; padding-bottom: 28px; gap: 22px; }
  .lede { font-size: 17px; }
  .cta { flex-direction: column; align-items: stretch; width: 100%; }
  .cta .btn { width: 100%; }
  .cta .power { justify-content: center; margin-bottom: 4px; }
}

/* ——— секции ——— */
.sec { position: relative; padding: clamp(88px, 11vw, 160px) 0 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.kick { color: var(--acc); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.kick::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.h2 { margin: 0; font: 600 clamp(38px, 4.6vw, 72px)/.98 var(--f-sans); letter-spacing: -.04em; text-wrap: balance; }
.sec-head p { margin: 0; color: var(--mute); font-size: clamp(17px, 1.4vw, 20px); max-width: 46ch; }
@media (max-width: 899px) { .sec-head { grid-template-columns: 1fr; } }

/* проявление заголовков: построчная развёртка, как луч ЭЛТ */
.reveal { clip-path: inset(0 0 100% 0); transition: clip-path .9s steps(9); }
.reveal.is-in { clip-path: inset(-.2em -.2em -.3em -.2em); }
.reveal-up { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal-up.is-in { opacity: 1; transform: none; }

/* карточка с пиксельными углами */
.card { position: relative; isolation: isolate; padding: 28px; }
.card::before, .card::after { content: ""; position: absolute; z-index: -1; clip-path: var(--pxc); }
.card::before { inset: 0; background: var(--line); }
.card::after { inset: 1px; background: var(--bg-2); }

/* — кто смотрит — */
.watch { display: grid; gap: 1px; }
.wrow { display: grid; grid-template-columns: 96px minmax(0, 3fr) minmax(0, 6fr); gap: 24px 40px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.wrow:last-child { border-bottom: 1px solid var(--line); }
.wrow .eye { width: 72px; height: auto; color: var(--ink); opacity: .9; }
.wrow h3 { margin: 0; font: 600 clamp(24px, 2.3vw, 34px)/1.05 var(--f-sans); letter-spacing: -.03em; }
.wrow .sees { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: baseline; font-size: clamp(17px, 1.45vw, 21px); }
.wrow .sees .mono { color: var(--dim); }
.wrow .sees [data-on] { color: var(--acc); }
.watch-ctl { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--mute); }
@media (max-width: 767px) {
  .wrow { grid-template-columns: 56px 1fr; gap: 12px 18px; }
  .wrow .eye { width: 54px; }
  .wrow .sees { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 4px; }
}

/* — что даёт — */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { min-height: 252px; display: flex; flex-direction: column; }
.feat .pi { width: 44px; height: 44px; color: var(--ink); margin-bottom: auto; shape-rendering: crispEdges; }
.feat:hover .pi { color: var(--acc); }
.feat h3 { margin: 36px 0 10px; font: 600 23px/1.15 var(--f-sans); letter-spacing: -.02em; }
.feat p { margin: 0; color: var(--mute); font-size: 16px; }
@media (max-width: 1023px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .feats { grid-template-columns: 1fr; gap: 12px; } .feat { min-height: 0; } .feat h3 { margin-top: 26px; } }

/* — шаги — */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { position: relative; padding: 32px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step .num { display: block; font: 600 clamp(64px, 6vw, 96px)/1 var(--f-mono); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-bottom: 26px; }
.step:hover .num { -webkit-text-stroke-color: var(--acc); }
.step h3 { margin: 0 0 10px; font: 600 26px/1.1 var(--f-sans); letter-spacing: -.025em; }
.step p { margin: 0; color: var(--mute); }
.step p + p { margin-top: 10px; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step .num { font-size: 56px; margin-bottom: 16px; }
}

/* — платформы — */
.plats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.plat { display: flex; flex-direction: column; gap: 6px; min-height: 180px; }
.plat .pi { width: 36px; height: 36px; margin-bottom: auto; shape-rendering: crispEdges; color: var(--ink); }
.plat b { font: 600 20px/1.2 var(--f-sans); letter-spacing: -.02em; margin-top: 26px; }
.plat span { color: var(--mute); font-size: 15px; }
.plat--own::before { background: rgba(243, 181, 74, .55); }
.plat--own .pi { color: var(--acc); }
@media (max-width: 1023px) { .plats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .plats { gap: 12px; } .plat { min-height: 150px; padding: 20px; } }

/* — тариф — */
.price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.pcard { display: flex; flex-direction: column; min-height: 340px; padding: 32px; }
.pcard .mono { color: var(--mute); }
.pcard .sum { margin: auto 0 0; padding-top: 40px; font: 600 clamp(72px, 8vw, 128px)/.86 var(--f-sans); letter-spacing: -.05em; white-space: nowrap; }
.pcard .sum small { font-size: .3em; letter-spacing: -.01em; font-weight: 500; color: var(--mute); margin-left: .2em; }
.pcard ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; color: var(--mute); }
.pcard li { display: flex; gap: 10px; align-items: baseline; }
.pcard li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--dim); transform: translateY(-2px); }
.pcard .btn { margin-top: 28px; align-self: flex-start; }
.pcard--main::before { background: rgba(243, 181, 74, .5); }
.pcard--main::after { background: linear-gradient(160deg, #1b1914, var(--bg-2) 55%); }
.pcard--main li::before { background: var(--acc); }
.pay-note { margin: 22px 0 0; color: var(--mute); font-size: 15px; max-width: 88ch; }
.pay-note a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.pay-note a:hover { text-decoration-color: var(--acc); }
@media (max-width: 899px) { .price { grid-template-columns: 1fr; } .pcard { min-height: 0; } }
@media (max-width: 599px) { .pcard { padding: 24px 20px; } .pcard .btn { width: 100%; } }

/* — вопросы — */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 600 clamp(19px, 1.6vw, 23px)/1.25 var(--f-sans); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; background: var(--mute); }
.faq summary i::before { left: 0; right: 0; top: 7px; height: 4px; }
.faq summary i::after { top: 0; bottom: 0; left: 7px; width: 4px; transition: transform .2s steps(3); }
.faq details[open] summary i::after { transform: scaleY(0); }
.faq details[open] summary i::before { background: var(--acc); }
.faq .ans { padding: 0 0 26px; color: var(--mute); max-width: 72ch; font-size: 17px; }
.faq .ans p { margin: 0; }
.faq .ans a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* — финал — */
.outro { position: relative; padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 10vw, 140px); text-align: center; overflow: hidden; }
.outro .eye { width: min(220px, 50vw); margin: 0 auto 36px; color: var(--ink); opacity: .9; }
.outro .h2 { font-size: clamp(48px, 7vw, 120px); }
.outro p { color: var(--mute); margin: 18px auto 34px; max-width: 40ch; font-size: clamp(17px, 1.4vw, 20px); }
.outro .cta { justify-content: center; }

/* — подвал — */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--mute); font-size: 15px; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
.ftr h4 { margin: 0 0 14px; color: var(--dim); font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: var(--ink); text-decoration: none; }
.ftr a:hover { color: var(--acc); }
.ftr address { font-style: normal; line-height: 1.6; }
.ftr .brand { margin-bottom: 18px; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
@media (max-width: 899px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .ftr-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ——— документы ——— */
.doc-page .hdr { background: rgba(11, 11, 13, .92); box-shadow: 0 1px 0 var(--line); }
.doc { padding: 120px 0 80px; }
.doc .wrap { max-width: calc(800px + var(--gut) * 2); }
.doc-back { display: inline-flex; gap: 8px; color: var(--mute); text-decoration: none; margin-bottom: 28px; }
.doc-back:hover { color: var(--ink); }
.doc-body { font-size: 17px; line-height: 1.65; color: #d9d4ce; }
.doc-body h1 { font: 600 clamp(36px, 4.4vw, 56px)/1.02 var(--f-sans); letter-spacing: -.035em; color: var(--ink); margin: 0 0 28px; text-wrap: balance; }
.doc-body h2 { font: 600 24px/1.2 var(--f-sans); letter-spacing: -.02em; color: var(--ink); margin: 48px 0 14px; }
.doc-body h3 { font: 600 19px/1.3 var(--f-sans); color: var(--ink); margin: 32px 0 10px; }
.doc-body p, .doc-body ul, .doc-body ol { margin: 0 0 14px; }
.doc-body li { margin: 4px 0; }
.doc-body a { color: var(--acc); text-underline-offset: 3px; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 15px; display: block; overflow-x: auto; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-body nav, .doc-body .toc { position: relative; margin: 0 0 36px; padding: 20px 24px; background: var(--bg-2); border-left: 4px solid var(--acc); }
.doc-body nav ol, .doc-body nav ul, .doc-body .toc ol, .doc-body .toc ul { margin: 0; padding-left: 20px; }
.doc-body nav a, .doc-body .toc a { color: var(--ink); text-decoration-color: var(--line-2); }
.doc-body code { font-family: var(--f-mono); font-size: .92em; }
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
html[lang="ru"] .t-en, html[lang="en"] .t-ru { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-up { clip-path: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .ins-word, .ins-caret, body::after, .btn, .eye .e-cata { transition: none !important; }
}
.doc-body .doc-toc ol { list-style: none; padding-left: 0; }

/* ——— бургер и мобильное меню ——— */
.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 0; }
.burger i, .burger i::before, .burger i::after { position: absolute; left: 11px; width: 22px; height: 3px; background: currentColor; content: ""; transition: transform .2s steps(3), opacity .1s; }
.burger i { top: 20px; }
.burger i::before { left: 0; top: -7px; }
.burger i::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: translateY(-7px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 49; background: rgba(11, 11, 13, .97); padding: 92px var(--gut) 32px; display: flex; flex-direction: column; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav nav { display: grid; border-top: 1px solid var(--line); }
.mnav nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 26px/1.15 var(--f-sans); letter-spacing: -.025em; }
.mnav nav a span { color: var(--dim); font: 500 12px/1 var(--f-mono); letter-spacing: .14em; }
.mnav nav a:hover { color: var(--acc); }
.mnav-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mnav-foot .btn { width: 100%; }
.mnav-foot .lang { justify-self: center; }
html.menu-open { overflow: hidden; }
@media (max-width: 1023px) { .burger { display: block; } .hdr-r .lang { display: none; } }

/* ——— герой на планшете и телефоне: без пустоты ——— */
@media (max-width: 1099px) {
  .hero { justify-content: center; }
  .stage { flex: none; padding-top: 104px; }
  .hero-foot { padding-bottom: 56px; }
}
@media (max-width: 599px) { .stage { padding-top: 84px; } .hero-foot { padding-bottom: 28px; } }

/* ——— кто смотрит: было / стало ——— */
.wrow { grid-template-columns: 96px minmax(0, 3fr) minmax(0, 8fr); }
.wrow .sees { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; align-items: start; font-size: clamp(17px, 1.35vw, 20px); }
.wrow .sees p { margin: 0; display: grid; gap: 8px; transition: color .3s; }
.wrow .sees .mono { color: var(--dim); font-size: 11px; }
.wrow .was { color: var(--ink); }
.wrow .now { color: var(--dim); }
.wrow .was span:last-child { text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 2px; transition: text-decoration-color .3s steps(3); }
html.is-morok .wrow .was { color: var(--dim); }
html.is-morok .wrow .was span:last-child { text-decoration-color: var(--acc); }
html.is-morok .wrow .now { color: var(--acc); }
html.is-morok .wrow .now .mono { color: var(--acc); opacity: .7; }
@media (max-width: 1023px) { .wrow .sees { grid-column: 1 / -1; } .wrow { grid-template-columns: 72px 1fr; } }
@media (max-width: 599px) { .wrow .sees { grid-template-columns: 1fr; gap: 14px; } .wrow { grid-template-columns: 56px 1fr; } }

/* ——— шаги: живые мини-демо ——— */
.step-demo { margin-top: 26px; min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); color: var(--ink); font: 500 12px/1 var(--f-mono); letter-spacing: .06em; }
.code-cells { display: flex; gap: 6px; }
.code-cells b { width: 38px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); font: 500 22px/1 var(--f-mono); color: var(--ink); }
.code-cells b.cur { border-color: var(--acc); }
.code-cells b.cur::after { content: ""; width: 12px; height: 3px; background: var(--acc); align-self: end; margin-bottom: 9px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 599px) { .code-cells b { width: 34px; height: 44px; } }

/* ——— платформы с действиями ——— */
.plats { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.plat { min-height: 0; gap: 0; padding: 32px; }
.plat-icons { display: flex; gap: 18px; margin-bottom: 30px; }
.plat-icons .pi { margin: 0; }
.plat b { margin: 0 0 8px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; }
.plat p { margin: 0 0 6px; color: var(--mute); font-size: 16px; max-width: 46ch; }
.plat .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.plat .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
@media (max-width: 899px) { .plats { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .plat { padding: 24px 20px; } .plat .acts .btn { width: 100%; } }

/* ——— 404 ——— */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 96px var(--gut) 48px; position: relative; overflow: hidden; }
.nf .eye { width: min(340px, 64vw); margin: 0 auto 40px; color: var(--ink); }
.nf .mono { color: var(--acc); margin-bottom: 16px; display: block; }
.nf h1 { margin: 0; font: 600 clamp(44px, 7vw, 96px)/.95 var(--f-sans); letter-spacing: -.045em; }
.nf p { color: var(--mute); max-width: 40ch; margin: 18px auto 32px; font-size: clamp(17px, 1.4vw, 20px); }
.nf .cta { justify-content: center; }
.plat .chip { color: var(--ink); font-size: 12px; }
