/* ЮРЗВУК — сайт. Редакционная типографика (Source Serif 4 + Onest), настоящие экраны программы,
   фактурные тёмные сцены. Общие стили для index.html и buy.html. */
:root {
  --paper: #f6f4ee;
  --paper-2: #eeeae0;
  --card: #fffdf8;
  --ink: #15130f;
  --ink-2: #3b3830;
  --mute: #736c5d;
  --line: rgba(21, 19, 15, .12);
  --line-2: rgba(21, 19, 15, .07);
  --brass: #a8813c;
  --brass-2: #c9a263;
  --night: #100f0c;
  --night-2: #1b1914;
  --on-night: #efe9dc;
  --on-night-mute: #a79f8d;
  --green: #2e7a55;
  --red: #b0412d;
  --serif: "Source Serif 4", "Georgia", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1240px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/></svg>");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; color: var(--ink); }
.serif { font-family: var(--serif); }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.muted { color: var(--mute); }
::selection { background: #e8d6ae; }

/* ── шапка ── */
.header { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(246, 244, 238, .86); backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line-2); }
.header .container { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { font: 600 21px/1 var(--serif); letter-spacing: .08em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--brass); }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .nav, .header-cta .btn-link { display: none; } }

/* ── кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 500 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 18px -8px rgba(21,19,15,.6); }
.btn-primary:hover { background: #2b2821; }
.btn-light { background: var(--on-night); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(21,19,15,.35); }
.btn-gold { background: var(--ink); color: #fff; }
.btn-gold:hover { background: #2b2821; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-link { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.btn-link:hover { color: var(--ink); }
.arrow::after { content: "→"; margin-left: 6px; transition: transform .15s; display: inline-block; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ── первый экран ── */
.hero { padding: 56px 0 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: end; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; background: rgba(255,255,255,.5); }
.announce b { background: var(--ink); color: #fff; font-weight: 500; font-size: 12px; padding: 4px 9px; border-radius: 999px; }
.hero h1 { margin-top: 26px; font: 500 clamp(44px, 6.4vw, 88px)/1.0 var(--serif); letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero-side p { font-size: 18.5px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.hero-meta { margin-top: 16px; font-size: 14px; color: var(--mute); }
.hero-meta a { color: var(--mute); }
.hero-meta a:hover { color: var(--ink); }
/* партнёрство с ФПА РФ — главная плашка первого экрана */
.fpa-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding: 8px 22px 8px 8px;
  border: 1px solid rgba(168, 129, 60, .5); border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 162, 99, .34), rgba(201, 162, 99, .1));
  box-shadow: 0 6px 22px -12px rgba(168, 129, 60, .55); }
.fpa-main { display: inline-flex; align-items: center; gap: 14px; font-size: 17px; color: var(--ink); text-decoration: none; }
.fpa-main b { font-weight: 650; }
.fpa-main:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.fpa-pct { background: var(--brass); color: #fff; font: 650 16px/1 var(--sans); padding: 10px 14px; border-radius: 999px; letter-spacing: .01em; }
.fpa-src { font-size: 14px; color: var(--brass); text-decoration: none; padding-left: 16px; border-left: 1px solid rgba(168, 129, 60, .35); white-space: nowrap; }
.fpa-src:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .fpa-badge { border-radius: 18px; padding: 8px 14px 10px 8px; }
  .fpa-main { font-size: 15px; align-items: flex-start; }
  .fpa-pct { flex: none; width: 64px; padding: 9px 0; text-align: center; font-size: 15px; }
  .fpa-src { flex-basis: 100%; border-left: 0; padding-left: 78px; }
  .hero-meta .hero-user { display: none; }  /* на телефоне установщик для Windows не нужен */
}
@media (min-width: 961px) and (max-width: 1180px) { .hero-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
@media (max-width: 960px) { .hero-top { grid-template-columns: 1fr; gap: 24px; } }

/* сцена со снимком программы */
.stage { position: relative; margin-top: 56px; border-radius: 22px; overflow: hidden; background-color: var(--night);
  background-image: var(--grain),
    radial-gradient(900px 520px at 12% 0%, rgba(201, 162, 99, .38), transparent 62%),
    radial-gradient(760px 520px at 95% 110%, rgba(120, 96, 58, .45), transparent 60%),
    linear-gradient(180deg, #1c1914, #0f0e0b);
  padding: 72px 72px 0; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px); }
/* живой редактор на первом экране: разметка — готовое состояние, анимация — site.js (героический блок) */
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(214, 176, 110, .20), transparent 62%); }
.stage.lit::after { opacity: 1; }
.win-tilt { transform: perspective(1800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-origin: 50% 100%; }
.window { border-radius: 14px 14px 0 0; overflow: hidden; background: #f4f1ea; color: #1d1b16;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px -20px rgba(0,0,0,.7), 0 18px 40px -18px rgba(0,0,0,.6);
  container-type: inline-size; }
.app-in { font: 400 clamp(8px, 1.16cqw, 14px)/1.5 var(--sans); height: 53em; display: flex; flex-direction: column; }
.app-in svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app-bar { position: relative; display: flex; align-items: center; gap: 2em; padding: 0 1.6em; height: 4.4em; flex: none;
  border-bottom: 1px solid rgba(29,27,22,.08); background: #f7f5ef; }
.app-bar .back { display: inline-flex; align-items: center; gap: .45em; color: #4a463c; font-size: 1.05em; }
.app-bar .abdoc b { display: block; font-weight: 600; font-size: 1.1em; letter-spacing: -.005em; }
.app-bar .status { position: relative; display: block; height: 1.5em; color: #8a8374; font-size: .9em; }
.app-bar .status > span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; transition: opacity .4s, transform .4s; }
.app-bar .status i { font-style: normal; font-variant-numeric: tabular-nums; }
.app-bar .st-work { opacity: 0; color: #a8813c; }
.app-bar .st-done svg { color: #2e7a55; width: 1.05em; height: 1.05em; }
.app-bar .tools { margin-left: auto; display: flex; align-items: center; gap: 1.2em; color: #9a9384; }
.app-bar .dl { display: inline-flex; align-items: center; gap: .45em; padding: .55em 1.1em; border-radius: .55em; color: #fff; font-weight: 600;
  background: linear-gradient(180deg, #b58a3f, #9a7433); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset; }
.app-bar .progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #c9a263, #a8813c); opacity: 0; }
.app-body { flex: 1; display: flex; min-height: 0; }
.tx-view { flex: 1; overflow: hidden; position: relative; }
.tx-view::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.8em; z-index: 1; background: linear-gradient(#f4f1ea, rgba(244,241,234,0)); }
.tx-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(transparent, #f4f1ea); }
.tx { padding: 2em 3em 3em 14%; max-width: 62em; transition: transform .9s cubic-bezier(.3,.8,.2,1); }
.utt { position: relative; padding: .55em .9em .65em; margin: 0 0 .5em -.9em; border-radius: .6em; transition: background-color .5s; }
.utt.now { background: rgba(201, 162, 99, .13); }
.utt.marked::before { content: ""; position: absolute; left: -.9em; top: .7em; bottom: .7em; width: 3px; border-radius: 3px; background: #a8813c; }
.utt .meta { display: flex; align-items: baseline; gap: .8em; font-size: .92em; margin-bottom: .2em; }
.utt .spk { position: relative; display: inline-block; font-weight: 500; }
.utt .tc { color: #9a9384; font-size: .92em; font-variant-numeric: tabular-nums; }
.utt p { font-size: 1.14em; line-height: 1.62; color: #22201b; }
[data-s="1"] .spk, .ppl[data-s="1"] .dot { color: #b98325; background-color: #c9922f; }
[data-s="2"] .spk, .ppl[data-s="2"] .dot { color: #4d7cbf; background-color: #5b8bd0; }
[data-s="3"] .spk, .ppl[data-s="3"] .dot { color: #c0557f; background-color: #d0668f; }
.utt .spk { background: none !important; }
.utt u { text-decoration: none; position: relative; }
.utt u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.28em; height: .42em; transform-origin: 0 50%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='5'><path d='M0 3.5 Q2 0.5 4 3.5 T8 3.5' fill='none' stroke='%23d0902e' stroke-width='1.2'/></svg>") repeat-x left center / .66em .42em; }
.side { width: 24em; flex: none; border-left: 1px solid rgba(29,27,22,.08); background: #efebe3; padding: 1.5em 1.7em; overflow: hidden; }
.side .unsure { border: 1px solid #e3d3b3; background: #f6ecda; border-radius: .8em; padding: 1em 1.1em; }
.side .unsure b { font-weight: 600; font-size: 1.05em; }
.side .unsure b i { font-style: normal; }
.side .unsure p { color: #6c6558; font-size: .9em; margin-top: .3em; line-height: 1.4; }
.side .unsure .unav { display: flex; gap: .5em; margin-top: .8em; font-size: .92em; }
.side .unsure .unav span { background: #fffdf8; border: 1px solid rgba(29,27,22,.08); border-radius: .5em; padding: .35em .8em; }
.side .unsure .unav span + span { flex: 1; text-align: center; font-weight: 500; }
.side h5 { margin: 1.4em 0 .2em; font-size: 1.05em; font-weight: 600; display: flex; align-items: center; gap: .4em; color: #2a2721; }
.side .hint { color: #8a8374; font-size: .88em; line-height: 1.4; margin-bottom: .6em; }
.ppl { display: grid; grid-template-columns: 1em 1fr auto; align-items: center; column-gap: .7em; margin-top: .75em; }
.ppl .dot { width: .62em; height: .62em; border-radius: 50%; }
.ppl .inp { background: #fffdf8; border: 1px solid rgba(29,27,22,.1); border-radius: .5em; padding: .45em .8em; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.ppl .inp.typing { border-color: #c9a263; box-shadow: 0 0 0 3px rgba(201,162,99,.2); }
.ppl .inp.typing .nm::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: #1d1b16; animation: caret 1s steps(1) infinite; }
.ppl .more { color: #9a9384; letter-spacing: .05em; }
.ppl small { grid-column: 2; color: #8a8374; font-size: .85em; margin-top: .15em; }
.ppl small b { font-weight: 400; font-variant-numeric: tabular-nums; }
.mk { margin-top: .75em; font-size: .95em; line-height: 1.45; color: #3b3830; }
.mk span { color: #a8813c; margin-right: .3em; font-variant-numeric: tabular-nums; }
.player { flex: none; height: 4.4em; display: flex; align-items: center; gap: 1.1em; padding: 0 1.6em; border-top: 1px solid rgba(29,27,22,.08); background: #f7f5ef; color: #6f695c; }
.player .play { position: relative; width: 2.7em; height: 2.7em; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #b58a3f, #94702f); box-shadow: 0 .3em .8em -.2em rgba(148,112,47,.6); }
.player .play svg { position: absolute; width: 1.2em; height: 1.2em; fill: currentColor; stroke-width: 1.6; transition: opacity .25s, transform .25s; }
.player .i-pause { opacity: 0; transform: scale(.6); fill: none !important; stroke-width: 2.2 !important; }
.player.playing .i-play { opacity: 0; transform: scale(.6); }
.player.playing .i-pause { opacity: 1; transform: none; }
.player .time { font-size: .95em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player .time b { font-weight: 500; color: #2a2721; }
.wave { position: relative; flex: 1; height: 2.4em; display: flex; align-items: center; gap: 2px; min-width: 0;
  background: linear-gradient(#d9d3c6, #d9d3c6) center / 100% 1px no-repeat; }
.wave .wb { flex: 1; min-width: 1px; border-radius: 2px; background: #cfc8b8; transform-origin: 50% 50%; transition: background-color .35s; }
.wave .wb.scan { background: #c9a263; }
.wave .wb.played { background: #a8813c; }
.wave .phd { position: absolute; top: -.2em; bottom: -.2em; left: var(--head, 0%); width: 2px; border-radius: 2px; background: #1d1b16; opacity: 0; transition: opacity .4s; }
.player.playing .wave .phd { opacity: 1; }
.player .speed { border: 1px solid rgba(29,27,22,.12); border-radius: .45em; padding: .3em .7em; background: #fffdf8; font-size: .92em; }
.player .follow { display: inline-flex; align-items: center; gap: .45em; font-size: .92em; }
.player .follow i { width: 1em; height: 1em; border-radius: .25em; background: #a8813c url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='m3.5 8.5 3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 80% no-repeat; }

.float-card { position: absolute; left: 28px; bottom: 40px; width: min(430px, 42%); background: var(--card); border-radius: 14px;
  padding: 18px 20px; box-shadow: 0 30px 70px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(21,19,15,.06); font-size: 14.5px; z-index: 2; }
.float-card .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--red); background: #f9e6e1;
  border: 1px solid #efc6bb; border-radius: 6px; padding: 2px 8px; }
.float-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.float-card small { display: block; color: var(--mute); font-size: 12px; margin-bottom: 3px; }
.float-card s { position: relative; color: var(--red); text-decoration: none; white-space: nowrap; }
.float-card s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.6px; background: var(--red); transform-origin: 0 50%; }
.float-card mark { color: var(--green); padding: 0 3px; border-radius: 3px; white-space: nowrap;
  background: linear-gradient(#e8f3ec, #e8f3ec) left / 100% 100% no-repeat; }

.vpill { position: absolute; right: 44px; top: 26px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 18px;
  border-radius: 999px; background: #1c1b18; color: #f2eee6; font-size: 17px; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 18px 40px -10px rgba(0,0,0,.6); }
.vpill .dot { width: 11px; height: 11px; border-radius: 50%; background: #2fa86a; flex: none; transition: background-color .3s; }
.vpill .lv, .vpill .spin { display: none; }
.vpill .lv { align-items: center; gap: 2px; height: 16px; }
.vpill .lv i { width: 3px; height: 100%; border-radius: 2px; background: #e25555; animation: lv .8s ease-in-out infinite; }
.vpill .lv i:nth-child(2) { animation-delay: -.2s; } .vpill .lv i:nth-child(3) { animation-delay: -.45s; } .vpill .lv i:nth-child(4) { animation-delay: -.65s; }
.vpill .spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: #f2eee6; animation: spin .8s linear infinite; flex: none; }
.vpill.rec .dot { background: #e25555; animation: pulse 1.2s ease-in-out infinite; }
.vpill.rec .lv { display: inline-flex; }
.vpill.busy .dot { display: none; }
.vpill.busy .spin { display: inline-block; }
@keyframes lv { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(226,85,85,.18); } }

@media (max-width: 860px) {
  .stage { padding: 62px 12px 0; border-radius: 16px; }
  .app-in { font-size: 11px; height: 36em; }
  .side, .player .speed, .player .follow, .app-bar .tools svg, .app-bar .back { display: none; }
  .tx { padding: 1.4em 1.4em 3em 2.2em; }
  .float-card { position: relative; left: auto; bottom: auto; width: auto; margin: -52px 10px 14px; font-size: 13.5px; padding: 14px 16px; }
  .float-card .row { gap: 10px; }
  .vpill { right: 16px; top: 14px; height: 34px; font-size: 13px; padding: 0 14px 0 12px; gap: 7px; }
}

/* анимация включается скриптом (класс js на html); без JS и при «уменьшить движение» — готовая картинка */
@media (prefers-reduced-motion: no-preference) {
  .js .stage .window { opacity: 0; transform: translateY(70px) scale(.95); transform-origin: 50% 100%;
    transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1.3s cubic-bezier(.2,.8,.2,1); }
  .js .stage.play .window { opacity: 1; transform: none; }
  .js .stage .utt { opacity: 0; transform: translateY(.7em); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1), background-color .5s; }
  .js .stage .utt.in { opacity: 1; transform: none; }
  .js .stage .utt .w { opacity: 0; filter: blur(4px); transition: opacity .45s ease, filter .45s ease; transition-delay: var(--d, 0ms); }
  .js .stage .utt.in .w { opacity: 1; filter: none; }
  .js .stage .utt u::after { transform: scaleX(0); transition: transform .7s cubic-bezier(.3,.7,.2,1); }
  .js .stage .utt u.drawn::after { transform: none; }
  .js .stage .utt.marked::before { transform: scaleY(0); transition: transform .5s cubic-bezier(.2,.8,.2,1) .3s; }
  .js .stage .utt.marked.in::before { transform: none; }
  .js .stage .mk { opacity: 0; transform: translateX(1em); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
  .js .stage .mk.in { opacity: 1; transform: none; }
  .js .stage .spk.spkflip { animation: flip .5s cubic-bezier(.2,.8,.2,1); }
  .js .stage .wave .wb { transform: scaleY(0); transition: transform .6s cubic-bezier(.2,.9,.3,1.3), background-color .35s; transition-delay: var(--d, 0ms), 0ms; }
  .js .stage.play .wave .wb { transform: none; }
  .js .stage .app-bar .st-done { opacity: 0; transform: translateY(.4em); }
  .js .stage.work .app-bar .st-work { opacity: 1; }
  .js .stage.work .app-bar .progress { opacity: 1; transition: opacity .3s; }
  .js .stage.saved .app-bar .st-work { opacity: 0; transform: translateY(-.4em); }
  .js .stage.saved .app-bar .st-done { opacity: 1; transform: none; }
  .js .stage.saved .app-bar .progress { opacity: 0; transition: opacity .6s .3s; }
  .js .stage .float-card { opacity: 0; transform: translateY(40px) scale(.94) rotate(-1.5deg);
    transition: opacity .6s, transform .9s cubic-bezier(.2,1.3,.3,1); }
  .js .stage .float-card.in { opacity: 1; transform: none; }
  .js .stage .float-card s::after { transform: scaleX(0); transition: transform .5s cubic-bezier(.6,0,.3,1) .7s; }
  .js .stage .float-card.in s::after { transform: none; }
  .js .stage .float-card mark { background-size: 0% 100%; transition: background-size .6s cubic-bezier(.6,0,.3,1) 1.2s; }
  .js .stage .float-card.in mark { background-size: 100% 100%; }
  .js .stage .vpill { opacity: 0; transform: translateY(-10px) scale(.9); transition: opacity .4s, transform .5s cubic-bezier(.2,1.3,.3,1); }
  .js .stage .vpill.in { opacity: 1; transform: none; }
  .js .hero h1 .wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
  .js .hero h1 .wd > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
  .js .hero h1.in .wd > span { transform: none; }
}
@keyframes flip { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ── факты ── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 72px; }
.facts div { padding: 26px 24px 0 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 500 clamp(34px, 3.6vw, 48px)/1 var(--serif); letter-spacing: -.02em; }
.facts span { display: block; margin-top: 10px; color: var(--mute); font-size: 15px; max-width: 230px; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ── разделы ── */
.section { padding: 112px 0; }
.section-head { max-width: 820px; }
.section-head h2 { margin-top: 18px; font: 500 clamp(36px, 4.4vw, 60px)/1.04 var(--serif); letter-spacing: -.022em; }
.section-head p { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 680px; }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; padding: 72px 0;
  border-top: 1px solid var(--line); }
.story:first-of-type { border-top: 0; }
.story.flip > :first-child { order: 2; }
.story.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.story .num { font: 500 15px/1 var(--serif); color: var(--brass); }
.story h3 { margin-top: 16px; font: 500 clamp(30px, 3vw, 42px)/1.08 var(--serif); letter-spacing: -.018em; }
.story p { margin-top: 18px; color: var(--ink-2); font-size: 17.5px; }
.story ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.story li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); display: grid;
  grid-template-columns: 22px 1fr; }
.story li::before { content: "—"; color: var(--brass); }
.shot { position: relative; border-radius: 16px; overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 11;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(21,19,15,.35); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.tl img { object-position: 0 0; }
.shot.tr img { object-position: 100% 0; }
.shot.center img { object-position: 50% 30%; }
.shot.dark { background-color: var(--night); background-image: var(--grain), radial-gradient(600px 380px at 20% 0%, rgba(201,162,99,.35), transparent 60%);
  padding: 26px 26px 0; }
.shot.dark img { border-radius: 10px 10px 0 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); height: auto; object-fit: initial; }
/* блок с дополнительной строкой возможностей под текстом и снимком */
.story-wide { row-gap: 44px; }
.story .story-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px;
  margin: 0; border-top: 0; }
.story .story-more li { display: block; padding: 16px 0 0; border-bottom: 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.story .story-more li::before { content: none; }
.story .story-more b { display: block; margin-bottom: 4px; color: var(--ink); font: 500 18px/1.3 var(--serif); }
.shot.dark.fit { aspect-ratio: auto; }
.shot.dark.fit img { display: block; }
@media (max-width: 640px) {  /* на телефоне — крупнее: только текст стенограммы, без боковой панели */
  .shot.dark.fit { aspect-ratio: 5 / 4; padding: 12px 0 0 12px; }
  .shot.dark.fit img { width: 160%; max-width: none; margin-left: -12%; }
}
/* «Работа с записью»: три шага и ссылки на памятки */
.checks-title { margin-top: 44px; font: 500 26px/1.2 var(--serif); }
.checks { list-style: none; counter-reset: chk; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.checks li { counter-increment: chk; border-top: 1px solid var(--line); padding-top: 18px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.checks li::before { content: "0" counter(chk); display: block; margin-bottom: 10px; font: 500 15px/1 var(--serif); color: var(--brass); }
.checks b { display: block; margin-bottom: 6px; color: var(--ink); font: 500 20px/1.3 var(--serif); }
.checks-note { margin-top: 24px; font-size: 15px; color: var(--mute); }
.guide-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 960px) {
  .story .story-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
  .checks { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .story .story-more { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 960px) {
  .story, .story.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 64px 0; }
  .story.flip > :first-child { order: 0; }
  .shot.dark { padding: 12px 12px 0; }
}

/* голосовой ввод: живой пример */
.voice-demo { position: relative; border-radius: 16px; aspect-ratio: 16 / 11; overflow: hidden; background-color: var(--night);
  background-image: var(--grain), radial-gradient(640px 400px at 80% 0%, rgba(201,162,99,.32), transparent 60%);
  display: flex; align-items: center; justify-content: center; padding: 40px; }
.doc { position: relative; width: 100%; max-width: 560px; background: #fff; border-radius: 6px; padding: 42px 46px 56px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); font: 400 15.5px/1.7 "Times New Roman", Times, serif; color: #1c1c1c; min-height: 300px; }
.doc .head { text-align: right; font-size: 13.5px; color: #333; margin-bottom: 18px; }
.doc .title { text-align: center; font-weight: 700; margin-bottom: 12px; letter-spacing: .02em; }
.doc .typed::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; background: #1c1c1c; vertical-align: -3px;
  margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.doc p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; max-width: none; }
.doc .pill { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); height: 44px; width: auto; transition: opacity .3s; }
.keycap { position: absolute; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px;
  color: var(--on-night-mute); font-size: 13.5px; }
.keycap kbd { font: 500 13px/1 var(--sans); color: var(--on-night); background: linear-gradient(#2d2a23, #1d1b16); border: 1px solid #3c382f;
  border-bottom-width: 3px; border-radius: 7px; padding: 8px 12px; transition: transform .12s, border-bottom-width .12s; }
.keycap kbd.down { transform: translateY(2px); border-bottom-width: 1px; color: var(--brass-2); }
@media (max-width: 640px) {
  .voice-demo { aspect-ratio: auto; flex-direction: column; gap: 18px; padding: 22px 16px 20px; }
  .doc { padding: 24px 20px 60px; font-size: 14px; min-height: 250px; }
  .doc .head { font-size: 12px; }
  .doc .pill { height: 36px; }
  .keycap { position: static; align-self: flex-start; }
}

/* тёмный раздел */
.dark { background-color: var(--night); color: var(--on-night);
  background-image: var(--grain), radial-gradient(1000px 520px at 85% 0%, rgba(201,162,99,.22), transparent 60%); }
.dark h2, .dark h3 { color: var(--on-night); }
.dark .section-head p { color: var(--on-night-mute); }
.flow { margin-top: 64px; display: grid; gap: 14px; }
.pc { border: 1px solid rgba(239,233,220,.16); border-radius: 18px; padding: 28px 28px 30px; background: rgba(255,255,255,.02); }
.pc-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-mute); }
.steps-line { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.steps-line li { position: relative; border: 1px solid rgba(239,233,220,.2); border-radius: 12px; padding: 14px 16px; font-size: 15.5px;
  background: rgba(255,255,255,.03); color: var(--on-night); }
.steps-line li span { display: block; font-size: 12px; letter-spacing: .08em; color: var(--brass-2); margin-bottom: 6px; }
.steps-line li + li::before { content: ""; position: absolute; left: -13px; top: 50%; width: 12px; height: 1px; background: var(--brass-2); opacity: .7; }
.cloud { border: 1px dashed rgba(239,233,220,.25); border-radius: 18px; padding: 18px 28px; display: flex; align-items: center; gap: 18px;
  color: var(--on-night-mute); font-size: 15.5px; }
.cloud svg { flex: none; color: var(--brass-2); }
.cloud p { margin: 0; }
.cloud b { color: var(--on-night); font-weight: 500; text-decoration: line-through; text-decoration-color: var(--brass-2); }
.law { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid rgba(239,233,220,.14); }
.law div { padding: 26px 26px 0 0; }
.law div + div { padding-left: 26px; border-left: 1px solid rgba(239,233,220,.14); }
.law h3 { font: 500 22px/1.2 var(--serif); }
.law p { margin-top: 10px; color: var(--on-night-mute); font-size: 15.5px; }
@media (max-width: 860px) {
  .steps-line { grid-template-columns: 1fr 1fr; }
  .steps-line li + li::before { display: none; }
  .law { grid-template-columns: 1fr; }
  .law div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(239,233,220,.14); }
}

/* для кого */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 56px; border-top: 1px solid var(--line); }
.who div { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.who b { font: 500 20px/1.25 var(--serif); }
.who span { color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr; } .who div { grid-template-columns: 1fr; gap: 6px; } }

/* сравнение */
.table-wrap { margin-top: 48px; overflow-x: auto; border-top: 1px solid var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 760px; }
th, td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 500 13px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
td:first-child { color: var(--mute); width: 22%; }
.us { font-weight: 600; color: var(--ink); }
th.us { color: var(--brass); }
.yes { color: var(--green); }
.no { color: var(--red); }
.table-note { margin-top: 14px; font-size: 13.5px; color: var(--mute); }

/* цены */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--card); overflow: hidden; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.best { background: var(--night); color: var(--on-night);
  background-image: var(--grain), radial-gradient(420px 260px at 50% 0%, rgba(201,162,99,.35), transparent 70%); }
.plan.best h3, .plan.best .price { color: var(--on-night); }
.plan.best .per, .plan.best li { color: var(--on-night-mute); }
.plan .badge { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--brass-2);
  border-radius: 999px; padding: 4px 10px; }
.plan h3 { font: 500 15px/1 var(--sans); letter-spacing: .04em; color: var(--mute); text-transform: uppercase; }
.price { margin-top: 18px; font: 500 46px/1 var(--serif); letter-spacing: -.02em; }
.per { margin-top: 10px; font-size: 14.5px; color: var(--mute); min-height: 44px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { font-size: 15px; color: var(--ink-2); padding: 7px 0; border-top: 1px solid var(--line-2); }
.plan.best li { border-color: rgba(239,233,220,.1); }
.plan .btn { width: 100%; }
.plan.best .btn { background: var(--on-night); color: var(--ink); }
.plans-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.plans-foot div { font-size: 15px; color: var(--ink-2); }
.plans-foot b { display: block; font: 500 18px/1.3 var(--serif); color: var(--ink); margin-bottom: 6px; }
@media (max-width: 1020px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans-foot { grid-template-columns: 1fr; }
}
@media (max-width: 580px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } }

/* вопросы */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 500 19px/1.35 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px/1 var(--sans); color: var(--brass); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 16.5px; }
.ask { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); font-size: 15px; color: var(--ink-2); }
.ask b { display: block; font: 500 19px/1.3 var(--serif); color: var(--ink); margin-bottom: 6px; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* финал и подвал */
.final { position: relative; overflow: hidden; text-align: left; padding: 140px 0 120px; }
.final .container { position: relative; }
.final-shot { position: absolute; right: -6%; bottom: -8%; width: 50%; max-width: 820px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(239,233,220,.12), 0 40px 90px -20px rgba(0,0,0,.7); transform: rotate(-3deg);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 38%); mask-image: linear-gradient(100deg, transparent 0%, #000 38%); opacity: .92; }
.final-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 1100px) { .final-shot { display: none; } }
.final h2 { font: 500 clamp(44px, 6vw, 84px)/1.0 var(--serif); letter-spacing: -.025em; max-width: 900px; }
.final p { margin-top: 22px; font-size: 19px; color: var(--on-night-mute); max-width: 620px; }
.final .hero-actions { margin-top: 34px; }
.final .hero-meta { color: var(--on-night-mute); }
.footer { padding: 72px 0 0; overflow: hidden; font-size: 14.5px; color: var(--mute); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.footer a { display: block; color: var(--ink-2); text-decoration: none; margin: 7px 0; }
.footer a:hover { color: var(--ink); }
.wordmark { margin-top: 64px; font: 500 clamp(80px, 21vw, 300px)/.78 var(--serif); letter-spacing: .02em; color: rgba(21,19,15,.06);
  white-space: nowrap; user-select: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── формы, окно заявки, страница покупки ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.field small { display: block; margin-top: 6px; color: var(--mute); font-size: 13px; }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px rgba(168,129,60,.16); }
textarea { min-height: 100px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 8px 0 18px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--ink); }
.check a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 12px; font-size: 15px; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--green); }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(16,15,12,.6); backdrop-filter: blur(4px); display: flex;
  align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; }
.modal-box { width: 100%; max-width: 520px; background: var(--paper); border-radius: 22px; padding: 32px; position: relative;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); }
.modal-box h3 { font: 500 30px/1.1 var(--serif); letter-spacing: -.015em; }
.modal-box > p { margin: 10px 0 22px; color: var(--ink-2); }
.modal-close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 28px; color: var(--mute); cursor: pointer; line-height: 1; }

.buy { padding: 56px 0 96px; }
.buy .container { max-width: 1040px; }
.buy h1 { font: 500 clamp(38px, 4.6vw, 60px)/1.04 var(--serif); letter-spacing: -.022em; }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; margin-top: 36px; align-items: start; }
.buy-grid h3 { font: 500 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; } }
.plan-pick { display: grid; gap: 10px; margin-top: 14px; }
.plan-pick label { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.plan-pick label:hover { border-color: rgba(21,19,15,.3); }
.plan-pick label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan-pick input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); }
.plan-pick b { display: block; font: 500 18px/1.2 var(--serif); }
.plan-pick span { color: var(--mute); font-size: 14px; }
.plan-pick em { font-style: normal; margin-left: auto; font: 500 20px/1.2 var(--serif); white-space: nowrap; }
.key-box { font: 13px/1.5 ui-monospace, Consolas, monospace; word-break: break-all; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px; margin: 12px 0; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--brass); border-radius: 50%;
  display: inline-block; animation: spin .8s linear infinite; vertical-align: -3px; margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* покупка: код активации после оплаты */
.activation { margin-top: 22px; }
.activation h3 { font: 500 26px/1.2 var(--serif); margin: 8px 0 14px; }
.code-row { display: flex; gap: 10px; align-items: stretch; }
.code-row .key-box { flex: 1; margin: 0; font-size: 15px; display: flex; align-items: center; }
.act-steps { margin: 20px 0 0; padding-left: 22px; color: var(--ink-2); display: grid; gap: 8px; }
.act-note { margin-top: 16px; font-size: 14px; }
.act-more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.act-more summary { cursor: pointer; color: var(--ink-2); font-size: 15px; }
.act-more > * + * { margin-top: 12px; }
@media (max-width: 560px) { .code-row { flex-direction: column; } }

#buyStatus h2 { font: 500 32px/1.15 var(--serif); letter-spacing: -.01em; }

/* подсказка после «Скачать»: предупреждение Windows SmartScreen и браузера */
.dl-help { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: min(420px, calc(100vw - 32px));
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 18px;
  box-shadow: 0 30px 70px -20px rgba(21,19,15,.45); font-size: 14.5px; line-height: 1.5;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.dl-help.on { opacity: 1; transform: none; pointer-events: auto; }
.dl-help b { display: block; font: 500 20px/1.2 var(--serif); margin-bottom: 10px; padding-right: 28px; }
.dl-help ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.dl-help em { font-style: normal; font-weight: 600; color: var(--ink); }
.dl-help .dl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.dl-help .js-anyway { font-size: 13px; color: var(--ink-3, var(--ink-2)); }
.dl-help p { margin-top: 10px; font-size: 13px; color: var(--mute); }
.dl-help .nowrap { white-space: nowrap; }
.dl-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: transparent; color: var(--mute); font-size: 22px; line-height: 1; cursor: pointer; }
.dl-close:hover { background: var(--paper-2); color: var(--ink); }
@media (max-width: 560px) { .dl-help { right: 16px; bottom: 16px; } }

/* голосовой ввод: окно с вкладками программ (Word, почта, MAX, браузер) */
.vwin { width: 100%; max-width: 580px; position: relative; }
.apps-row { display: flex; gap: 4px; padding: 0 10px; }
.apps-row span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 9px; border-radius: 10px 10px 0 0;
  font: 500 12.5px/1 var(--sans); color: var(--on-night-mute); background: rgba(255,255,255,.06);
  border: 1px solid rgba(239,233,220,.12); border-bottom: 0; transition: background .3s, color .3s, border-color .3s; }
.apps-row span.on { background: #f4f2ec; color: #2a261f; border-color: #f4f2ec; }
.apps-row .ic { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; font-style: normal; }
.apps-row .ic svg { width: 16px; height: 16px; }
.apps-row .ic-word { border-radius: 4px; background: #2b579a; color: #fff; font: 700 10px/1 var(--sans); }
.apps-row span:nth-child(2) .ic { color: #b8862f; }
.apps-row span:nth-child(4) .ic { color: #3f7fd0; }
.vwin .doc { max-width: none; border-radius: 8px; }
.doc .bar { margin: -42px -46px 22px; padding: 9px 16px; border-bottom: 1px solid #e7e3da; border-radius: 8px 8px 0 0;
  background: #f4f2ec; font: 500 12px/1.3 var(--sans); color: #6b6456; }
.doc.sans { font: 400 15px/1.65 var(--sans); }
.doc.sans .head { text-align: left; font-size: 13.5px; color: #4a4539; padding-bottom: 12px; border-bottom: 1px solid #eee9df; }
@media (max-width: 640px) {
  .apps-row { padding: 0 4px; gap: 3px; }
  .apps-row span { padding: 7px 9px 8px; gap: 5px; font-size: 11.5px; }
  .doc .bar { margin: -24px -20px 16px; }
}
.voice-demo { padding-bottom: 66px; }
@media (max-width: 640px) {
  .voice-demo { padding-bottom: 20px; }
  .apps-row span:not(.on) { font-size: 0; gap: 0; padding: 7px 10px 8px; }
}

/* цены запуска */
.launch { margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  font-size: 15px; color: var(--ink-2); }
.launch b { color: var(--brass); font-weight: 600; }
.price .later { display: block; margin-top: 6px; font: 400 13px/1.2 var(--sans); color: var(--mute); }
.plan.best .price .later { color: rgba(239,233,220,.55); }
.launch-note { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); font-size: 14.5px; color: var(--ink-2); }
.launch-note b { color: var(--brass); }

/* скидка адвокатам */
.adv { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; }
.adv .field { margin: 12px 0 0; }
.adv b { color: var(--ink); font-weight: 600; }
.plan-pick em s { display: block; font: 400 14px/1.2 var(--sans); color: var(--mute); text-align: right; }

/* проверка установщика */
.faq-steps { margin: 10px 0 0 20px; display: grid; gap: 6px; }
code.hash { font-size: 12.5px; word-break: break-all; background: var(--paper-2); padding: 1px 5px; border-radius: 5px; }
.dl-help code.hash { display: block; margin-top: 4px; font-size: 11.5px; color: inherit; background: rgba(0,0,0,.06); }


/* Full-size feature screenshots remain accessible on touch screens. */
.shot > a { display: block; width: 100%; height: 100%; }
.shot > a:focus-visible { outline: 3px solid var(--brass); outline-offset: -3px; }
.story[id] { scroll-margin-top: 80px; }
@media (max-width: 360px) {
  .hero h1 { font-size: 36px; }
  .facts, .flow, .steps-line { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { padding-left: 0; border-left: 0; }
  .pc { min-width: 0; padding: 20px; }
  .cloud { flex-direction: column; align-items: flex-start; padding: 18px; }
  .btn { max-width: 100%; white-space: normal; text-align: center; }
}

/* приложение для телефона (#phone) */
.phone-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.phone-shots { position: relative; height: 640px; }
.phone { position: absolute; margin: 0; width: 44%; padding: 8px; border-radius: 34px; background: #0b0a08;
  border: 1px solid rgba(239,233,220,.14); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(201,162,99,.10) inset; }
.phone img { display: block; width: 100%; height: auto; border-radius: 27px; }
.phone-front { left: 26%; top: 0; z-index: 3; width: 48%; }
.phone-back { left: 0; top: 64px; z-index: 2; transform: rotate(-6deg); filter: brightness(.82); }
.phone-side { right: 0; top: 64px; z-index: 1; transform: rotate(6deg); filter: brightness(.82); }
.phone-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.phone-features li { padding: 16px 0 18px; border-top: 1px solid rgba(239,233,220,.12); color: var(--on-night-mute); font-size: 15.5px; line-height: 1.5; }
.phone-features b { display: block; margin-bottom: 3px; color: var(--on-night); font: 500 19px/1.3 var(--serif); }
.phone-get { margin-top: 72px; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: center;
  padding: 32px; border: 1px solid rgba(239,233,220,.16); border-radius: 22px; background: rgba(255,255,255,.025); }
.phone-qr { background: #fff; padding: 10px; border-radius: 14px; line-height: 0; }
.phone-qr svg { width: 156px; height: 156px; }
.phone-get h3 { font: 500 30px/1.1 var(--serif); color: var(--on-night); }
.phone-get p { margin-top: 10px; color: var(--on-night-mute); font-size: 16px; }
.phone-get-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.phone-link { color: var(--brass-2); font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(201,162,99,.4); }
.phone-link:hover { color: var(--on-night); }
.phone-get .phone-note { font-size: 14px; }
.phone-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.phone-trust li { padding-left: 16px; border-left: 2px solid var(--brass); color: var(--on-night-mute); font-size: 14.5px; line-height: 1.45; }
.phone-trust b { display: block; color: var(--on-night); font-weight: 600; font-size: 15px; }
@media (max-width: 980px) {
  .phone-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .phone-shots { height: 560px; max-width: 560px; width: 100%; margin: 0 auto; }
  .phone-get { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .phone-qr { justify-self: start; }
}
@media (max-width: 560px) {
  .phone-features { grid-template-columns: minmax(0, 1fr); }
  .phone-shots { height: 430px; }
  .phone { width: 52%; padding: 6px; border-radius: 26px; }
  .phone img { border-radius: 21px; }
  .phone-front { left: 22%; width: 56%; }
  .phone-qr { display: none; }
  .phone-get { padding: 22px; }
}

/* Телефон: кнопки скачивания — во всю ширину, одна под другой. Отступы — полями, а не только flex-gap:
   встроенные браузеры старых телефонов gap у flex не знают, и кнопки слипались. */
@media (max-width: 640px) {
  .hero-actions, .phone-get-actions { display: block; }
  .hero-actions > .btn, .phone-get-actions > .btn { display: flex; width: 100%; margin: 0 0 12px; }
  .hero-actions > .btn-link, .phone-get-actions > .phone-link { display: inline-block; margin-top: 6px; }
  .dl-help .dl-actions > * { margin: 0 8px 8px 0; }
}
