/* LiveVoice · автор: https://t.me/aiadap (блог про ИИ) */
/* LiveVoice site — dark, glow, motion. */
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url(/static/plexmono-400-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url(/static/plexmono-400-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-weight: 600; font-display: swap; src: url(/static/plexmono-600-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; font-weight: 600; font-display: swap; src: url(/static/plexmono-600-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #060609;
  --bg2: #0c0c12;
  --card: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --text: #ecebf2;
  --dim: #8e8d9c;
  --violet: #8c5cff;
  --cyan: #3ad6c5;
  --pink: #ff4fa3;
  --red: #ff5a6e;
  --ok: #3ad6a0;
  --grad: linear-gradient(100deg, var(--violet), var(--cyan));
  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Plex Mono", "JetBrains Mono", Consolas, monospace;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: var(--text); text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--cyan); }
::selection { background: var(--violet); color: #fff; }
.dim { color: var(--dim); }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; position: relative; }

/* ── background: drifting light ─────────────────────────────────────── */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .32; mix-blend-mode: screen; }
.aurora i:nth-child(1) { background: var(--violet); left: -20vmax; top: -25vmax; animation: drift1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: var(--cyan); right: -25vmax; top: 10vmax; opacity: .18; animation: drift2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: var(--pink); left: 20vmax; bottom: -40vmax; opacity: .12; animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 14vmax) scale(.9); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── header ─────────────────────────────────────────────────────────── */
header.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px) saturate(1.4); background: rgba(6, 6, 9, .6);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
header.top.scrolled { border-bottom-color: var(--line); }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .02em; text-decoration: none; }
.brand .logo { display: inline-flex; gap: 2px; align-items: center; height: 22px; }
.brand .logo b { width: 3px; border-radius: 2px; background: var(--grad); animation: eq 1.2s ease-in-out infinite; }
.brand .logo b:nth-child(1) { height: 40%; animation-delay: -.2s; }
.brand .logo b:nth-child(2) { height: 90%; animation-delay: -.5s; }
.brand .logo b:nth-child(3) { height: 60%; animation-delay: -.8s; }
.brand .logo b:nth-child(4) { height: 100%; animation-delay: -.35s; }
.brand .logo b:nth-child(5) { height: 45%; animation-delay: -.65s; }
@keyframes eq { 50% { transform: scaleY(.35); } }
nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--dim); padding: 8px 12px; border-radius: 10px; font-size: 15px; transition: color .2s, background .2s; }
nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
nav a.btn { color: #fff; }

/* ── type ───────────────────────────────────────────────────────────── */
main { flex: 1; padding: 10px 0 80px; }
h1 { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 48px 0 18px; }
h1.glow, .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1.glow { background: linear-gradient(180deg, #fff 30%, #b9b6cc); -webkit-background-clip: text; background-clip: text; }
h2.sec { font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 12px; font-weight: 800; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
  padding: 6px 12px; border: 1px solid rgba(58, 214, 197, .3); border-radius: 99px; background: rgba(58, 214, 197, .06); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.glow { color: var(--text); }

/* ── buttons ────────────────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border: 1px solid var(--line2); border-radius: 14px; color: var(--text); background: rgba(255, 255, 255, .04); font: 600 16px var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .3s; }
.btn:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.fill { border: 0; background: var(--grad); color: #07070a; box-shadow: 0 10px 40px -10px rgba(140, 92, 255, .7); }
.btn.fill:hover { box-shadow: 0 14px 50px -8px rgba(58, 214, 197, .7); color: #07070a; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn.danger { border-color: rgba(255, 90, 110, .4); color: var(--red); }
.btn.danger:hover { background: rgba(255, 90, 110, .1); }
.btn .pm { width: 20px; height: 20px; display: inline-grid; place-items: center; }
.btn .pm svg { width: 20px; height: 20px; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── cards ──────────────────────────────────────────────────────────── */
.box { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 26px 26px 24px; margin: 22px 0;
  backdrop-filter: blur(10px); }
.box > h2 { margin: 0 0 14px; font: 600 12px var(--mono); letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.box > h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.01em; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.grid3 > .box { margin: 0; }
.feature .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; font-size: 22px;
  background: linear-gradient(135deg, rgba(140, 92, 255, .25), rgba(58, 214, 197, .18)); border: 1px solid var(--line2); }
.feature p { color: var(--dim); margin: 0; }
.box.hover { transition: transform .3s, border-color .3s, background .3s; }
.box.hover:hover { transform: translateY(-4px); border-color: var(--line2); background: rgba(255, 255, 255, .05); }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 40px 0 20px; text-align: center; }
.hero h1 { margin: 22px auto 18px; max-width: 980px; }
.hero .lead { margin: 0 auto; }
.hero .row { justify-content: center; margin: 34px 0 14px; }
.hero .meta { font: 13px var(--mono); color: var(--dim); }
.stage { position: relative; height: 280px; margin: 40px auto 0; max-width: 1060px; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); background: radial-gradient(80% 120% at 50% 100%, rgba(140, 92, 255, .14), transparent 70%), rgba(255, 255, 255, .02); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .tag { position: absolute; top: 18px; font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px;
  border-radius: 99px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line2); }
.stage .tag.l { left: 18px; color: var(--dim); }
.stage .tag.r { right: 18px; color: var(--cyan); }
.stage .live { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font: 12px var(--mono); color: var(--dim); }

/* ── sections ───────────────────────────────────────────────────────── */
section.block { padding: 70px 0 10px; }
.steps { counter-reset: s; }
.steps .box { padding-top: 64px; }
.steps .box::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 22px; left: 26px; font: 700 14px var(--mono);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .1em; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stat { font: 800 clamp(34px, 4vw, 54px)/1 var(--sans); letter-spacing: -.03em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats .box { margin: 0; text-align: center; padding: 24px 14px; }
.stats .box div:last-child { color: var(--dim); font-size: 14px; margin-top: 6px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::after { content: "+"; color: var(--dim); font-size: 22px; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--dim); margin: 12px 0 0; max-width: 820px; }
.cta { text-align: center; padding: 56px 26px; border-radius: 28px; margin-top: 70px;
  background: radial-gradient(70% 120% at 50% 0%, rgba(140, 92, 255, .3), transparent 70%), var(--card); border: 1px solid var(--line2); }

/* ── pricing ────────────────────────────────────────────────────────── */
.period { display: inline-flex; padding: 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); margin: 8px 0 30px; }
.period button { all: unset; cursor: pointer; padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--dim); transition: .2s; }
.period button.on { background: rgba(255, 255, 255, .1); color: var(--text); }
.period button small { color: var(--cyan); font-weight: 600; margin-left: 4px; }
.plan { display: flex; flex-direction: column; }
.plan .price { font: 800 46px/1.1 var(--sans); letter-spacing: -.03em; margin: 10px 0 2px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: #cfcedb; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.plan li.no { color: var(--dim); }
.plan li.no::before { border: 0; width: 10px; height: 2px; top: 18px; background: #4a4958; transform: none; }
.plan.best { border-color: transparent; background: linear-gradient(var(--bg2), var(--bg2)) padding-box, var(--grad) border-box; border: 1px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(140, 92, 255, .55); }
.plan .badge { position: absolute; top: -12px; right: 22px; font: 700 11px var(--mono); letter-spacing: .12em; padding: 5px 10px; border-radius: 99px;
  background: var(--grad); color: #07070a; }
.plan .alt { font-size: 13px; color: var(--dim); margin-top: 12px; text-align: center; }
.plan .alt a { color: var(--dim); }

/* ── misc ───────────────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
td, th { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--dim); font-weight: 500; font-size: 13px; }
input[type=text] { background: rgba(0, 0, 0, .4); color: var(--text); border: 1px solid var(--line2); border-radius: 11px; font: 15px var(--sans); padding: 9px 12px; }
input[type=checkbox] { accent-color: var(--violet); width: 17px; height: 17px; }
.code { font: 700 34px var(--mono); letter-spacing: .25em; }
.legal { max-width: 860px; }
.legal h3 { margin-top: 34px; font-size: 20px; }
.legal p, .legal li { color: #c9c8d6; }
.note { border-left: 2px solid var(--violet); padding: 2px 0 2px 14px; color: var(--dim); }
.avatar { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2); }
.ok { color: var(--ok); }
.center-card { max-width: 480px; margin: 70px auto; text-align: center; padding: 40px 34px 30px; }
.center-card .stack { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 18px; }
.center-card .stack .btn { width: 100%; }
.mark { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #07070a;
  background: var(--grad); box-shadow: 0 0 50px rgba(140, 92, 255, .5); }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 14px; color: var(--dim); }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ── reveal on scroll ───────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  header.top .wrap { height: auto; padding: 12px 0; flex-wrap: wrap; }
  nav a { padding: 6px 8px; font-size: 14px; }
  .stage { height: 200px; }
  .stats { grid-template-columns: 1fr; }
}

/* ── forms: e-mail sign-in ─────────────────────────────────────────── */
.field, .code-input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .35);
  color: var(--text); font: 16px var(--sans); outline: none; transition: border-color .2s, box-shadow .2s; }
.field:focus, .code-input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(140, 92, 255, .18); }
.code-input { text-align: center; font: 700 30px var(--mono); letter-spacing: .4em; padding-left: calc(16px + .4em); }
.form-err { color: var(--red); margin: 0; font-size: 14px; }
.linkbtn { all: unset; cursor: pointer; color: var(--dim); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--text); }
.center-card form.stack { margin: 22px 0 14px; }

/* ── author's channel ──────────────────────────────────────────────── */
.tg-card { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.tg-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tg-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff;
  background: linear-gradient(135deg, #2aabee, #229ed9); box-shadow: 0 0 30px rgba(42, 171, 238, .35); flex: none; }
@media (max-width: 640px) { .tg-card { flex-wrap: wrap; } }
