/* Лендинг расширения. Стиль — вариант панели 03 «Цифра» в бело-голубой гамме:
   белый лист, тонкие линии, одна крупная тонкая цифра на блок; голубой — только действия и слово «ВАШИ». */

@font-face {
  font-family: "Geologica";
  src: url("../fonts/geologica.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #13202b;
  --mute: #566573;
  --line: #e4eef4;
  --line2: #c6d8e3;
  --soft: #eef8fd;
  --acc: #38c0f2;
  --acc-fg: #062a42;
  --acc-t: #0a6aa8;
  --ring: #0a6aa8;
  --ok: #17784a;
  --ok-bg: #e4f5ec;
  --no: #b42318;
  --no-bg: #fdecea;
  --raise: #ffffff;
  --page: #f6fafc;
  --thumb: #dde8ef;
  --knob: #ffffff;
  --shade: rgba(6, 42, 66, .18);
  --sh: 0 10px 30px -10px rgba(10, 60, 95, .28);
  --sh-lg: 0 40px 80px -36px rgba(10, 60, 95, .38), 0 2px 6px -2px rgba(10, 60, 95, .08);
  --f: "Geologica", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gut: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gut-r: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.45, .5, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101b23; --fg: #eef6fb; --mute: #9fb2c0; --line: #1f2f3b; --line2: #34495a; --soft: #16252f;
    --acc: #4fcaf5; --acc-fg: #062a42; --acc-t: #7ad8f8; --ring: #7ad8f8;
    --ok: #63d69d; --ok-bg: #15342a; --no: #ff8a80; --no-bg: #3a2124;
    --raise: #14232d; --page: #0c161d; --thumb: #1f303c; --knob: #ffffff; --shade: rgba(0, 0, 0, .5);
    --sh: 0 10px 30px -10px rgba(0, 0, 0, .7); --sh-lg: 0 40px 80px -36px rgba(0, 0, 0, .85), 0 2px 6px -2px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101b23; --fg: #eef6fb; --mute: #9fb2c0; --line: #1f2f3b; --line2: #34495a; --soft: #16252f;
  --acc: #4fcaf5; --acc-fg: #062a42; --acc-t: #7ad8f8; --ring: #7ad8f8;
  --ok: #63d69d; --ok-bg: #15342a; --no: #ff8a80; --no-bg: #3a2124;
  --raise: #14232d; --page: #0c161d; --thumb: #1f303c; --knob: #ffffff; --shade: rgba(0, 0, 0, .5);
  --sh: 0 10px 30px -10px rgba(0, 0, 0, .7); --sh-lg: 0 40px 80px -36px rgba(0, 0, 0, .85), 0 2px 6px -2px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.55 var(--f);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--acc-t); }
::selection { background: color-mix(in srgb, var(--acc) 40%, transparent); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.mono { font-family: var(--mono); font-size: .9em; color: var(--fg); background: var(--soft); padding: .08em .35em; border-radius: 3px; white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 4px; background: var(--fg); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- кнопки ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 20px; border: 0; border-radius: 4px;
  background: var(--acc); color: var(--acc-fg);
  font: 600 16px/1.2 var(--f); letter-spacing: -.005em; text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 1px 0 rgba(6, 42, 66, .06), 0 10px 24px -14px rgba(14, 120, 170, .7);
  transition: transform .15s var(--ease), filter .2s, box-shadow .2s, background-color .2s;
}
.btn:hover { filter: brightness(1.06) saturate(1.04); }
.btn:active { transform: translateY(1px); }
.btn > .i { width: 22px; height: 22px; stroke-width: 2; transition: transform .3s var(--spring); }
.btn[data-dl]:hover > .i { transform: translateY(2px); }
.btn-lg { --h: 56px; padding: 0 24px; font-size: 17px; }
.btn-sm { --h: 44px; padding: 0 16px; font-size: 15px; }
.btn-sm > .i { width: 20px; height: 20px; }
.btn-2 { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-2:hover { background: var(--soft); filter: none; }
.btn-off, .btn-off:hover { background: transparent; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line2); filter: none; cursor: not-allowed; }
.btn-off:active { transform: none; }
.btn[aria-disabled="true"] { background: var(--soft); color: var(--mute); box-shadow: none; cursor: default; pointer-events: none; }
.btn[aria-disabled="true"] .ver { display: none; }
[data-dl].is-soon::after { content: "скоро"; padding: 4px 8px; border-radius: 3px; background: var(--bg); color: var(--acc-t); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1; text-decoration: none; }
.lnk.is-soon { gap: 8px; }
.lnk.is-soon::after { background: var(--soft); }
.soon { padding: 4px 8px; border-radius: 3px; background: var(--soft); color: var(--acc-t); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.ver { padding: 5px 8px; border-radius: 3px; background: rgba(6, 42, 66, .13); color: var(--acc-fg); font-size: 13px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.lnk { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-top: auto; color: var(--acc-t); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lnk[aria-disabled="true"] { color: var(--mute); text-decoration: none; }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fg); font-size: 17px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-word { letter-spacing: -.015em; }
.brand-word > span { color: var(--acc-t); }
.bm-bg { fill: var(--acc); }
.bm-fg { fill: none; stroke: var(--acc-fg); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 4px; color: var(--mute); font-size: 15px; text-decoration: none; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--fg); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--fg); background: var(--soft); }
.hdr-tools { display: flex; gap: 4px; }
.nav + .hdr-tools { margin-left: -12px; }
.hdr-ico { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--mute); cursor: pointer; transition: background-color .2s, color .2s; }
.hdr-ico:hover { background: var(--soft); color: var(--fg); }
.hdr-ico .i { width: 21px; height: 21px; }
/* Знак Telegram: самолётик — геометрия Simple Icons (CC0 1.0, https://simpleicons.org), сдвинут на 0,3 из 24 влево для оптического центра. */
.tg { width: 26px; height: 26px; display: block; }
.tg-bg { fill: #1f9bdc; }
.tg-fg { fill: #ffffff; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .hdr-tools, .nav + .hdr-tools { margin-left: auto; }
}
@media (max-width: 560px) { .top .btn-sm { display: none; } }
@media (max-width: 420px) { .top-in { gap: 8px; } }

/* ---------- первый экран ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(64px, 8vw, 120px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(44px, 6vw, 72px); }
@media (min-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
}
.hero-copy { min-width: 0; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 24px; color: var(--mute); font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line2); }
.love { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); }
.heart { width: 20px; height: 20px; flex: none; }
.h1 { margin: 0; font-size: clamp(40px, 8.4vw, 66px); font-weight: 500; line-height: 1.02; letter-spacing: -.038em; text-wrap: balance; }
@media (min-width: 1040px) { .h1 { font-size: clamp(52px, 4.7vw, 70px); } }
.fmt { display: inline-grid; vertical-align: baseline; }
.fmt > span { grid-area: 1 / 1; }
.fmt-size, .fmt-txt { font-weight: 300; letter-spacing: -.03em; }
.fmt-size { visibility: hidden; padding-right: .12em; }
.fmt-out { display: inline-flex; align-items: baseline; white-space: nowrap; color: var(--acc-t); }
.caret { display: inline-block; align-self: center; width: .06em; height: .84em; margin-left: .05em; background: var(--acc); border-radius: 1px; transform: translateY(.04em); animation: blink 1.06s steps(1, end) infinite; }
.is-typing .caret { animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.lead { max-width: 33em; margin: 26px 0 0; color: var(--mute); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.meta { max-width: 42em; margin: 18px 0 0; color: var(--mute); font-size: 14px; line-height: 1.5; }
.meta b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.meta a, .accept a { color: var(--acc-t); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.accept { max-width: 42em; margin: 14px 0 0; color: var(--mute); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 560px) { .cta .btn { width: 100%; } }
@media (max-width: 440px) {
  .eyebrow .dot { display: none; }
  .eyebrow { flex-direction: column; align-items: flex-start; gap: 2px; }
  .btn-lg { gap: 6px; padding: 0 12px; font-size: 15.5px; }
  [data-dl].is-soon::after, .soon { padding: 4px 6px; letter-spacing: .04em; }
}

.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .2s; }
.hero-copy > :nth-child(5) { animation-delay: .26s; }
.hero-fig { margin: 0; min-width: 0; animation: lift 1.1s .18s var(--ease) both; }
/* первый экран виден сразу: двигается, но не появляется из прозрачности */
@keyframes rise { from { transform: translateY(12px); } }
@keyframes lift { from { transform: translateY(26px) scale(.985); } }

/* макет страницы учебника с панелью — размеры от ширины контейнера */
.mock { container-type: inline-size; }
.mock-win { position: relative; aspect-ratio: 10 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--page); box-shadow: var(--sh-lg); font-size: 2.15cqw; line-height: 1.35; }
.mock-bar { display: flex; align-items: center; gap: .5em; height: 3.2em; padding: 0 1.2em; border-bottom: 1px solid var(--line); background: var(--bg); }
.mock-bar i { width: .8em; height: .8em; border-radius: 50%; background: var(--line2); }
.mock-url { flex: 1; height: 1.6em; margin-left: 1em; border-radius: 1em; background: var(--soft); }
.mock-page { padding: 1.8em 2em; }
.mp-crumb { color: var(--mute); font-size: .95em; }
.mp-title { margin-top: .3em; font-size: 2.05em; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.mp-sub { margin-top: .25em; color: var(--mute); }
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; margin-top: 1.5em; }
.mp-card { display: grid; gap: .2em; min-width: 0; padding: .9em; border: 1px solid var(--line); border-radius: .6em; background: var(--bg); font-size: .95em; }
.mp-thumb { height: 5.4em; margin-bottom: .55em; border-radius: .35em; background: var(--thumb); }
.mp-card b { font-weight: 600; }
.mp-card span:last-child { overflow: hidden; color: var(--mute); text-overflow: ellipsis; white-space: nowrap; }
.mock-panel { position: absolute; right: 4%; bottom: 5%; width: 55%; display: grid; gap: 1.05em; padding: 1.3em 1.5em 0; border: 1px solid var(--line); border-radius: 6px; background: var(--raise); box-shadow: var(--sh); font-size: 1.05em; }
.pn-h { display: flex; align-items: center; justify-content: space-between; color: var(--mute); font-weight: 500; }
.pn-h .i { width: 1.2em; height: 1.2em; }
.pn-hero { display: flex; align-items: flex-end; gap: .9em; }
.pn-n { font-size: 6.6em; font-weight: 300; line-height: .8; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.pn-t { padding-bottom: .15em; line-height: 1.35; }
.pn-t u { color: var(--acc-t); text-underline-offset: .2em; }
.pn-course { color: var(--mute); }
.pn-seg, .f2-seg { display: grid; grid-template-columns: 1fr 1fr; padding: .22em; border-radius: 4px; background: var(--soft); color: var(--mute); font-weight: 500; text-align: center; }
.pn-seg span, .f2-seg span { padding: .7em .3em; border-radius: 3px; white-space: nowrap; }
.pn-seg .on, .f2-seg .on { background: var(--raise); color: var(--fg); box-shadow: 0 1px 2px var(--shade); }
.pn-sw { display: flex; align-items: center; justify-content: space-between; }
.pn-sw i { position: relative; width: 2.7em; height: 1.55em; border-radius: 1em; background: var(--acc); }
.pn-sw i::after { content: ""; position: absolute; top: .2em; right: .2em; width: 1.15em; height: 1.15em; border-radius: 50%; background: var(--knob); }
.pn-btn { padding: .95em; border-radius: 4px; background: var(--acc); color: var(--acc-fg); font-weight: 600; text-align: center; }
.pn-foot { margin: 0 -1.5em; padding: .9em 1.5em 1em; border-top: 1px solid var(--line); color: var(--mute); font-size: .82em; line-height: 1.4; }
@container (max-width: 470px) {
  .mock-win { aspect-ratio: 4 / 5; font-size: 2.65cqw; }
  .mock-page { padding: 1.5em 1.5em; }
  .mock-panel { right: 4%; bottom: 4%; width: 78%; }
}

/* ---------- секции ---------- */
.sec { padding-block: clamp(72px, 9vw, 128px); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.kicker { margin: 0; color: var(--acc-t); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.h2 { margin: 0; font-size: clamp(33px, 4.4vw, 56px); font-weight: 500; line-height: 1.06; letter-spacing: -.032em; text-wrap: balance; }
.sec-lead { max-width: 36em; margin: 0; color: var(--mute); font-size: clamp(17px, 1.4vw, 19px); }
.how, .platforms, .install, .faq { border-top: 1px solid var(--line); }

/* ---------- как это происходит ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; gap: 24px; align-content: start; min-width: 0; }
@media (min-width: 620px) and (max-width: 939px) {
  .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .steps { gap: 48px; }
}
@media (min-width: 940px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}
.step-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.step-n { min-width: .55em; color: var(--fg); font-size: clamp(76px, 7.4vw, 108px); font-weight: 300; line-height: .78; letter-spacing: -.05em; font-variant-numeric: tabular-nums; transition: color .5s; }
.step.is-live .step-n { color: var(--acc-t); }
.h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.012em; }
.h3 .i { width: 22px; height: 22px; color: var(--acc-t); }
.step-txt { min-width: 0; }
.step-txt p { margin: 0; color: var(--mute); }

.fig { container-type: inline-size; }
.fig-in { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--page); font-size: 3.3cqw; line-height: 1.35; }

/* 1: страница учебника и кнопка расширения */
.fig-1 .fig-in { padding: 1.3em 1.6em; }
.f1-top { display: flex; align-items: center; justify-content: space-between; margin: -1.3em -1.6em 1.1em; padding: .85em 1.6em; border-bottom: 1px solid var(--line); background: var(--bg); }
.f1-logo { width: 5.5em; height: .9em; border-radius: .3em; background: var(--line2); }
.f1-av { width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--thumb); }
.f1-crumb { width: 9em; height: .65em; border-radius: .3em; background: var(--line2); opacity: .7; }
.f1-title { margin: .45em 0 .85em; overflow: hidden; font-size: 1.45em; font-weight: 600; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.f1-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9em; }
.f1-card { display: grid; gap: .45em; padding: .6em; border: 1px solid var(--line); border-radius: .5em; background: var(--bg); }
.f1-card i { height: 3.1em; border-radius: .3em; background: var(--thumb); }
.f1-card b { width: 45%; height: .6em; border-radius: .3em; background: var(--line2); }
.f1-card s { width: 80%; height: .55em; border-radius: .3em; background: var(--line); }
.f1-op { position: absolute; right: 1.35em; bottom: 1.35em; display: grid; place-items: center; width: 4.1em; height: 4.1em; border-radius: 6px; background: var(--acc); color: var(--acc-fg); box-shadow: var(--sh); font-size: .85em; font-weight: 600; letter-spacing: .06em; }
.f1-op::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--acc); border-radius: 10px; opacity: 0; }

/* 2: панель, нажатие и прогресс */
.fig-2 .fig-in { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "h" "st" "btn"; gap: .8em; padding: 1.3em 1.6em 1.5em; background: var(--raise); }
.f2-h { grid-area: h; color: var(--mute); font-weight: 500; }
.f2-ready, .f2-run { grid-area: st; display: grid; gap: 1.1em; align-self: center; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.f2-run { opacity: 0; transform: translateY(8px); }
.fig-2.is-run .f2-ready { opacity: 0; transform: translateY(-8px); }
.fig-2.is-run .f2-run { opacity: 1; transform: none; }
.f2-hero { display: flex; align-items: flex-end; gap: .6em; }
.f2-n, .f2-pct { font-size: 5.4em; font-weight: 300; line-height: .8; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.f2-t { padding-bottom: .1em; }
.f2-pct small { margin-left: .08em; color: var(--mute); font-size: .38em; font-weight: 500; letter-spacing: 0; }
.f2-bar { height: 3px; overflow: hidden; border-radius: 3px; background: var(--soft); }
.f2-bar i { --p: 0; display: block; height: 100%; border-radius: inherit; background: var(--acc); transform: scaleX(var(--p)); transform-origin: left center; }
.f2-now { display: flex; justify-content: space-between; gap: 1em; color: var(--mute); font-variant-numeric: tabular-nums; }
.f2-done { display: inline-flex; align-items: center; gap: .3em; color: var(--ok); font-weight: 600; opacity: 0; transition: opacity .3s; }
.f2-done .i { width: 1.2em; height: 1.2em; stroke-width: 2.2; }
.fig-2.is-done .f2-done { opacity: 1; }
.f2-btn { grid-area: btn; padding: .9em; border-radius: 4px; background: var(--acc); color: var(--acc-fg); font-weight: 600; text-align: center; transition: transform .14s var(--ease), filter .14s, background-color .3s, color .3s, box-shadow .3s; }
.fig-2.is-press .f2-btn { transform: scale(.965); filter: brightness(.9); }
.fig-2.is-run .f2-btn { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.fig-2.is-run.is-done .f2-btn { background: var(--acc); color: var(--acc-fg); box-shadow: none; }
.f2-cur { position: absolute; right: 34%; bottom: 1.6em; width: 2.1em; height: 2.1em; color: var(--fg); fill: var(--raise); stroke-width: 1.5; opacity: 0; pointer-events: none; }

/* 3: файл и его содержимое */
.fig-3 .fig-in { display: grid; align-content: start; gap: 1em; padding: 1.3em 1.5em; background: var(--raise); }
.f3-tabs { display: flex; gap: .4em; }
.f3-tabs span { display: inline-flex; align-items: center; gap: .45em; padding: .45em .8em; border: 1px solid var(--line); border-radius: 4px; color: var(--mute); font-weight: 500; white-space: nowrap; }
.f3-tabs .on { border-color: var(--acc); background: var(--acc); color: var(--acc-fg); }
.f3-tabs em { color: var(--acc-t); font-size: .74em; font-style: normal; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.f3-file { display: flex; align-items: center; gap: .6em; padding-bottom: .8em; overflow: hidden; border-bottom: 1px solid var(--line); font-weight: 600; white-space: nowrap; }
.f3-file span { overflow: hidden; text-overflow: ellipsis; }
.f3-file .i { width: 1.6em; height: 1.6em; color: var(--acc-t); }
.f3-tree { display: grid; gap: .78em; margin: .2em 0 0; padding: 0; font-family: var(--mono); font-size: .98em; list-style: none; }
.f3-tree li { position: relative; display: flex; justify-content: space-between; gap: 1em; padding-left: 1.3em; }
.f3-tree li::before { content: ""; position: absolute; left: .35em; top: -.5em; width: .65em; height: 1.2em; border-bottom: 1px solid var(--line2); border-left: 1px solid var(--line2); }
.f3-tree em { color: var(--mute); font-family: var(--f); font-style: normal; white-space: nowrap; }

/* ---------- платформы ---------- */
.pf-what { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pf-what li { display: flex; gap: 12px; align-items: flex-start; }
.pf-what .i { width: 22px; height: 22px; margin-top: 1px; color: var(--acc-t); stroke-width: 2; }
.pf-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 clamp(36px, 4vw, 48px); padding: 0; list-style: none; }
.pill { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 18px 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.pill-logo { flex: none; width: 40px; height: 40px; object-fit: contain; }
.pill-t { display: grid; line-height: 1.2; }
.pill-t b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pill-t small { color: var(--mute); font-size: 13px; }
.pill.is-on { border-color: var(--acc); background: var(--raise); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent), var(--sh); }
.pill-tag { margin-left: 4px; padding: 5px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; line-height: 1; }
.pill.is-soon { border-style: dashed; border-color: var(--line2); background: transparent; }
.pill.is-soon .pill-t b { color: var(--mute); font-weight: 500; }
.pill.is-soon .pill-logo { filter: grayscale(1); opacity: .5; }
.pill-plus { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--mute); }
.pill-plus .i { width: 20px; height: 20px; }
.pf-intro { margin: 0 0 14px; color: var(--mute); font-size: 17px; }
.pf-what { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
@media (min-width: 760px) { .pf-what { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (max-width: 480px) { .pill { width: 100%; } }

/* ---------- только ваши ---------- */
.own { padding: 0; }
.own-band { padding-block: clamp(72px, 9vw, 128px); border-block: 1px solid var(--line); background: var(--soft); }
.own-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
@media (min-width: 980px) { .own-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; } }
.own-copy { min-width: 0; }
.own-copy .kicker { margin-bottom: 16px; }
.own-h { font-size: clamp(44px, 6.6vw, 88px); line-height: 1; }
.own-h mark { padding: 0 .1em; border-radius: 5px; background: var(--acc); color: var(--acc-fg); font-weight: 600; letter-spacing: .01em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.own-lead { max-width: 28em; margin: 26px 0 0; color: var(--fg); font-size: clamp(19px, 1.75vw, 23px); line-height: 1.45; }
.own-note { display: flex; gap: 12px; max-width: 32em; margin: 22px 0 0; color: var(--mute); }
.own-note .i { width: 24px; height: 24px; margin-top: 1px; color: var(--acc-t); }
.own-list { display: grid; margin: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--raise); box-shadow: var(--sh); list-style: none; }
.own-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic t chip"; gap: 14px; align-items: center; padding: 18px 12px; }
.own-ic { grid-area: ic; }
.own-t { grid-area: t; }
.own-list .chip { grid-area: chip; }
@media (max-width: 480px) {
  .own-list li { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic t" "ic chip"; row-gap: 8px; align-items: start; }
  .own-list .chip { justify-self: start; }
}
.own-list li + li { border-top: 1px solid var(--line); }
.own-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.own-ic .i { width: 20px; height: 20px; stroke-width: 2.2; }
.ok .own-ic { background: var(--ok-bg); color: var(--ok); }
.no .own-ic { background: var(--no-bg); color: var(--no); }
.own-t { min-width: 0; }
.own-t b { display: block; font-weight: 600; line-height: 1.3; }
.own-t small { display: block; color: var(--mute); font-size: 14px; }
.chip { padding: 6px 10px; border-radius: 3px; font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-no { background: var(--no-bg); color: var(--no); }

/* ---------- установка ---------- */
.inst { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .inst { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.in { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
@media (min-width: 1040px) {
  .inst { gap: 20px; }
  .in { display: grid; grid-template-columns: 50px minmax(0, 1fr); grid-auto-rows: min-content; column-gap: 22px; row-gap: 10px; padding: 30px 30px 30px 28px; }
  .in > * { grid-column: 2; }
  .in > .in-ic { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .in > .addr, .in > .dev, .in > .lnk { margin-top: 6px; }
}
.in-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px; border-radius: 6px; background: var(--soft); color: var(--acc-t); }
.in-ic .i { width: 26px; height: 26px; }
.in-n { color: var(--mute); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.h4 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.in p { margin: 0; color: var(--mute); font-size: 16px; }
.addr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin-top: auto; padding: 5px 5px 5px 12px; border: 1px solid var(--line2); border-radius: 6px; background: var(--bg); }
.addr code { flex: 1 0 auto; font-family: var(--mono); font-size: 14px; white-space: nowrap; -webkit-user-select: all; user-select: all; }
.copy { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 4px; background: var(--soft); color: var(--acc-t); font: 600 14px/1 var(--f); cursor: pointer; transition: background-color .2s; }
.copy:hover { background: color-mix(in srgb, var(--acc) 22%, var(--bg)); }
.copy .i { width: 18px; height: 18px; }
.copy .i-done, .copy.is-done .i-copy { display: none; }
.copy.is-done .i-done { display: block; }
.in { container-type: inline-size; }
/* узкая карточка: кнопка копирования без подписи, чтобы адрес и кнопка встали в одну строку */
@container (max-width: 330px) {
  .copy { justify-content: center; width: 40px; padding: 0; }
  .copy [data-copy-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.dev { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 11px 12px; border: 1px dashed var(--line2); border-radius: 6px; font-size: 14px; }
.dev-sw { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; background: var(--acc); transition: background-color .3s; }
.dev-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--knob); box-shadow: 0 1px 2px var(--shade); transform: translateX(18px); transition: transform .4s var(--spring); }
.inst-note { max-width: 50em; margin: 28px 0 0; color: var(--mute); font-size: 15px; }

/* ---------- вопросы ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
  .faq .sec-head { position: sticky; top: 108px; }
}
.qa { border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 22px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; list-style: none; cursor: pointer; }
.q summary::-webkit-details-marker { display: none; }
.q summary span { transition: color .2s; }
.q summary:hover span { color: var(--acc-t); }
.q summary .i { width: 22px; height: 22px; color: var(--acc-t); transition: transform .35s var(--ease); }
.q[open] summary .i { transform: rotate(45deg); }
.a { display: grid; gap: 12px; max-width: 40em; padding: 0 0 26px; color: var(--mute); }
.a p { margin: 0; }
.zip { display: grid; gap: 10px; margin: 0; }
.zip div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 14px; }
.zip dt { padding-top: 2px; color: var(--fg); font-family: var(--mono); font-size: 14px; }
.zip dd { margin: 0; }
@media (max-width: 480px) { .zip div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .q { interpolate-size: allow-keywords; }
    .q::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
    .q[open]::details-content { height: auto; }
  }
}

/* ---------- финал и подвал ---------- */
.end { padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.end-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 1040px) { .end-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; } }
.end-in { display: grid; gap: 30px; justify-items: start; min-width: 0; }
.end .h2 { max-width: 11em; font-size: clamp(38px, 5.6vw, 76px); }
.end .cta { margin: 0; }
.end .accept { margin-top: -16px; }
.latest { display: grid; gap: 14px; min-width: 0; padding: 26px 26px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--raise); box-shadow: var(--sh); }
.latest .kicker { margin: 0; }
.latest-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; font-weight: 400; }
.latest-n { font-size: 64px; font-weight: 300; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.latest-d { color: var(--mute); font-size: 15px; }
.latest ul, .ver-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.latest li, .ver-card li { position: relative; padding-left: 18px; color: var(--mute); font-size: 15.5px; line-height: 1.5; }
.latest li::before, .ver-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.latest .lnk { margin-top: 2px; }
.end-side { display: grid; gap: 16px; min-width: 0; }
.tg-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--fg); text-decoration: none; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.tg-card:hover { border-color: var(--line2); box-shadow: var(--sh); transform: translateY(-2px); }
.tg-ico .tg { width: 44px; height: 44px; }
.tg-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.tg-txt b { font-weight: 600; line-height: 1.3; }
.tg-txt small { color: var(--mute); font-size: 14px; line-height: 1.4; }
.tg-go { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--acc-t); font-weight: 600; font-size: 15px; }
.tg-go .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.tg-card:hover .tg-go .i { transform: translateX(3px); }
.page-head .tg-card { max-width: 560px; margin-top: 22px; }
@media (max-width: 480px) { .tg-card { flex-wrap: wrap; } .tg-txt { flex: 1 1 calc(100% - 64px); } .tg-go { margin-left: 58px; } }
.lnk .i { width: 18px; height: 18px; margin-left: 6px; transition: transform .25s var(--ease); }
.lnk:hover .i { transform: translateX(3px); }
.foot { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; color: var(--mute); font-size: 14px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; }
.foot-brand .brand-mark { width: 22px; height: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--mute); }
.foot-links a:hover { color: var(--fg); }
.a a { color: var(--acc-t); }

/* ---------- страница «Что нового» ---------- */
.page-head { padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.page-head .h1 { font-size: clamp(40px, 6vw, 72px); }
.page-head .lead { margin-top: 18px; }
.tl { display: grid; gap: 0; margin: 0; padding: 0 0 clamp(64px, 8vw, 112px); list-style: none; }
.ver-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 32px 0 36px; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .ver-card { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; } }
.ver-side { display: grid; align-content: start; gap: 8px; }
.ver-n { margin: 0; font-size: clamp(52px, 6vw, 76px); font-weight: 300; line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.ver-n.ver-old { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.ver-d { color: var(--mute); font-size: 15px; }
.ver-card ul { max-width: 44em; }
.ver-body { min-width: 0; }
.ver-intro { max-width: 40em; margin: 0 0 18px; color: var(--fg); font-size: 19px; line-height: 1.5; }
.latest-intro { margin: 0; color: var(--fg); font-size: 15.5px; line-height: 1.5; }
.ver-card li { color: var(--fg); font-size: 17px; }
.ver-card.is-current { margin: 0 calc(var(--gut) * -1); padding-inline: var(--gut); border-top-color: transparent; border-radius: 8px; background: var(--soft); }
.ver-card.is-current .ver-n { color: var(--acc-t); }
.ver-card.is-current + .ver-card { border-top-color: transparent; }
.ver-cur { justify-self: start; padding: 5px 9px; border-radius: 3px; background: var(--acc); color: var(--acc-fg); font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
@media (min-width: 1240px) { .ver-card.is-current { margin-inline: -32px; padding-inline: 32px; } }

/* ---------- 404 ---------- */
.nf { display: grid; gap: 18px; justify-items: start; padding-block: clamp(56px, 10vw, 140px); }
.nf-n { margin: 0; color: var(--acc-t); font-size: clamp(110px, 18vw, 220px); font-weight: 300; line-height: .82; letter-spacing: -.06em; }
.nf .h1 { font-size: clamp(34px, 4.6vw, 56px); }
.nf .lead { margin-top: 0; }
.nf .cta { margin-top: 12px; }

/* ---------- появление при прокрутке ----------
   Скрывает только JS и только то, что ниже первого экрана; без JS страница видна целиком. */
.rv { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv-pre { opacity: 0; transform: translateY(20px); }

.fig-1.armed .f1-card, .fig-1.armed .f1-op { opacity: 0; }
.fig-1.anim .f1-card { animation: pop .55s var(--ease) both; }
.fig-1.anim .a2 { animation-delay: .1s; }
.fig-1.anim .a3 { animation-delay: .2s; }
.fig-1.anim .a4 { animation-delay: .3s; }
.fig-1.anim .f1-op { animation: op-in .6s .65s var(--spring) both; }
.fig-1.is-on .f1-op::after { animation: ring 1.5s 1.25s ease-out 2; }
.fig-2.is-on .f2-cur { animation: cursor 1.7s .2s var(--ease) both; }
/* шаг 3 до своей очереди бледный, но не пустой */
.fig-3.armed .f3-tree li, .fig-3.armed .f3-file .i { opacity: .25; }
.fig-3.anim .f3-file .i { animation: drop .7s .1s var(--spring) both; }
.fig-3.anim .f3-tree li { animation: fill .5s var(--ease) both; }
.fig-3.anim .t1 { animation-delay: .25s; }
.fig-3.anim .t2 { animation-delay: .35s; }
.fig-3.anim .t3 { animation-delay: .45s; }
.fig-3.anim .t4 { animation-delay: .55s; }
.fig-3.anim .t5 { animation-delay: .65s; }
.own-fig.armed li { opacity: 0; }
.own-fig.anim li { animation: slide .55s var(--ease) both; }
.own-fig.anim .o2 { animation-delay: .12s; }
.own-fig.anim .o3 { animation-delay: .24s; }
.own-fig.anim .chip { animation: stamp .5s var(--spring) both; }
.own-fig.anim .o1 .chip { animation-delay: .45s; }
.own-fig.anim .o2 .chip { animation-delay: .6s; }
.own-fig.anim .o3 .chip { animation-delay: .75s; }
.inst.armed .dev-sw { background: var(--line2); }
.inst.armed .dev-sw::after { transform: none; }
.inst.anim .dev-sw { transition-delay: 1s; }
.inst.anim .dev-sw::after { transition-delay: 1s; }

@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes slide { from { opacity: 0; transform: translateX(14px); } }
@keyframes fill { from { opacity: .25; transform: translateX(8px); } }
@keyframes op-in { from { opacity: 0; transform: scale(.4); } }
@keyframes ring { from { opacity: .75; transform: scale(.92); } to { opacity: 0; transform: scale(1.45); } }
@keyframes drop { from { transform: translateY(-.8em); opacity: 0; } }
@keyframes stamp { from { opacity: 0; transform: scale(1.7) rotate(-8deg); } }
@keyframes cursor {
  0% { opacity: 0; transform: translate(4em, 3em); }
  25% { opacity: 1; }
  55% { transform: translate(0, 0); }
  62% { transform: translate(0, 0) scale(.86); }
  72% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(.6em, .6em); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .caret { animation: none !important; }
  .f2-cur { display: none; }
}
