:root { --bg: #f6f7fb; --surface: #fff; --text: #141821; --hint: #5e6678; --line: #e4e7ef; --accent: #3e88f7; --accent2: #8e6cff; --green: #1fb35a; --r: 18px; --shadow: 0 1px 2px rgba(20,24,33,.05), 0 8px 28px rgba(20,24,33,.07); color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #0d1016; --surface: #161b24; --text: #eef1f7; --hint: #9aa3b5; --line: #262d3a; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); } }
* { box-sizing: border-box; }
html[lang=ru] [data-lang=en], html[lang=en] [data-lang=ru] { display: none !important; }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.row { display: flex; align-items: center; gap: 16px; }
.muted { color: var(--hint); } .small { font-size: 13px; } .center { text-align: center; }
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top .row { height: 64px; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: -.01em; } .logo:hover { text-decoration: none; }
.top nav { display: flex; gap: 26px; } .top nav a { color: var(--hint); font-weight: 500; font-size: 15px; } .top nav a:hover { color: var(--text); text-decoration: none; }
.actions { display: flex; align-items: center; gap: 12px; } .lang { font-weight: 700; font-size: 13px; color: var(--hint); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 650; font-size: 16px; background: var(--accent); color: #fff; border: 0; cursor: pointer; transition: transform .12s, filter .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.07); } .btn:active { transform: scale(.98); }
.btn.small { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 11px; }
.btn.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.tg { background: #2aabee; } .btn svg { width: 22px; height: 22px; }
.btn.wide { width: 100%; }
/* hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 600; font-size: 13.5px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.035em; margin: 18px 0 18px; font-weight: 850; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--hint); margin: 0 0 28px; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--hint); }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 260px; border-radius: 34px; padding: 9px; background: #0b0d12; box-shadow: 0 30px 70px rgba(30,40,80,.35); }
.phone img { border-radius: 26px; width: 100%; }
.phone.a { right: 150px; top: 30px; transform: rotate(-6deg); } .phone.b { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
/* sections */
section { padding: 64px 0; }
.sec-t { text-align: center; max-width: 720px; margin: 0 auto 40px; } .sec-t h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 12px; } .sec-t p { color: var(--hint); margin: 0; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; } .card p { margin: 0; color: var(--hint); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot { background: var(--surface); border-radius: 22px; padding: 8px; box-shadow: var(--shadow); cursor: zoom-in; } .shot img { border-radius: 16px; } .shot figcaption { padding: 10px 6px 4px; font-size: 14px; color: var(--hint); text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding-top: 64px; } .step::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; left: 24px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.integr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.integr .card h3 { display: flex; align-items: center; gap: 10px; } .integr .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800; }
.integr ul { margin: 10px 0 0; padding-left: 18px; color: var(--hint); font-size: 14.5px; } .integr code { font-size: 12.5px; background: color-mix(in srgb, var(--hint) 14%, transparent); padding: 1px 5px; border-radius: 5px; }
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; }
.price { position: relative; } .price.pro { box-shadow: 0 0 0 2px var(--accent2), var(--shadow); }
.price .tag { position: absolute; top: -12px; right: 20px; background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price h3 { font-size: 22px; } .price .amount { font-size: 40px; font-weight: 850; letter-spacing: -.03em; margin: 8px 0 4px; } .price .amount small { font-size: 15px; color: var(--hint); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; } .price li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 9px; } .price li.off { color: var(--hint); } .price li.off::before { content: "—"; color: var(--hint); }
details { background: var(--surface); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 10px; } summary { cursor: pointer; font-weight: 650; } details p { color: var(--hint); margin: 10px 0 0; }
.faq { max-width: 800px; margin: 0 auto; }
.final { text-align: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border-radius: 28px; padding: 56px 24px; } .final h2 { margin: 0 0 10px; font-size: 34px; letter-spacing: -.02em; } .final p { opacity: .9; margin: 0 0 26px; } .final .btn { background: #fff; color: #1d2a55; }
/* legal */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 0 64px; } .doc h1 { font-size: 38px; letter-spacing: -.025em; margin: 0 0 6px; } .doc h2 { margin: 34px 0 10px; font-size: 22px; } .doc h3 { margin: 22px 0 6px; font-size: 17px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--hint)); } .doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 10px 0; } .doc td, .doc th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc .box { background: var(--surface); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); margin: 16px 0; }
/* login */
.login { min-height: calc(100vh - 64px - 220px); display: grid; place-items: center; padding: 56px 0; }
.login .card { width: min(440px, 100% - 32px); padding: 34px; text-align: center; }
.login h1 { margin: 6px 0 8px; font-size: 28px; letter-spacing: -.02em; } .login p { color: var(--hint); margin: 0 0 22px; }
.login .big-ic { width: 64px; height: 64px; margin: 0 auto 8px; }
.login .wait { display: none; margin-top: 18px; color: var(--hint); font-size: 14.5px; } .login.waiting .wait { display: block; }
.spin { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); animation: sp 1s linear infinite; vertical-align: -2px; margin-right: 8px; } @keyframes sp { to { transform: rotate(1turn); } }
.err { background: color-mix(in srgb, #ff4f4a 12%, transparent); color: #d93a35; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; margin-bottom: 16px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--hint); font-size: 13px; margin: 20px 0 14px; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#widget { display: flex; justify-content: center; min-height: 40px; }
/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 30px; } .foot .cols { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 24px; margin-bottom: 20px; } .foot .cols a { display: block; color: var(--hint); margin: 4px 0; } .foot .cols p { margin: 6px 0 0; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.82); display: grid; place-items: center; z-index: 50; cursor: zoom-out; padding: 20px; } .lightbox img { max-height: 92vh; width: auto; border-radius: 18px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; } .phones { height: 440px; } .phone { width: 210px; } .phone.a { right: auto; left: calc(50% - 200px); } .phone.b { right: calc(50% - 200px); }
  .grid, .integr, .steps { grid-template-columns: 1fr 1fr; } .shots { grid-template-columns: 1fr 1fr; } .top nav { display: none; } .foot .cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .grid, .integr, .steps, .pricing { grid-template-columns: 1fr; } .phones { height: 380px; } .phone { width: 168px; padding: 7px; border-radius: 28px; } .phone img { border-radius: 22px; } .phone.a { left: calc(50% - 165px); } .phone.b { right: calc(50% - 165px); } .hero { padding-top: 40px; } section { padding: 44px 0; } }
.price li[data-v="—"] { color: var(--hint); } .price li[data-v="—"]::before { content: "—"; color: var(--hint); }
