@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/onest-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/onest-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/onest-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/onest-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/onest-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/onest-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #020a18;
    --panel: #07121d;
    --panel-2: #040d18;
    --line: #102230;
    --line-soft: #0e1c28;
    --text: #ffffff;
    --soft: #C9D4DE;
    --muted: #9fb0c0;
    --dim: #6b7c8c;
    --accent: #00FFAA;
    --accent-hover: #7dffd4;
    --accent-ink: #02110b;
    --warn: #ffc857;
    --bad: #ff6b6b;
    --radius: 20px;
    --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); }
body { font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p, ol, ul { margin: 0; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.top { border-bottom: 1px solid var(--line-soft); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.logo:hover { color: var(--text); }
.logo img { display: block; width: 36px; height: 36px; filter: drop-shadow(0 0 18px rgba(255,255,255,.14)); }
.top nav a { color: var(--soft); font-size: 15px; }
.top nav a:hover { color: var(--accent); }

main { flex: 1; }
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.glow { position: absolute; left: 50%; top: -10%; width: 900px; height: 900px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,255,170,.08), rgba(0,255,170,0)); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 32px; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(48px, 13vw, 84px); font-weight: 600; line-height: 1.05; letter-spacing: .01em; margin-top: 14px; }
.lead { margin-top: 18px; font-size: clamp(17px, 2.2vw, 20px); color: var(--soft); max-width: 34em; text-wrap: pretty; }

.buy { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.price small { font-size: 22px; font-weight: 500; color: var(--soft); margin-left: 4px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--soft); }
.stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.stock.off::before { background: var(--warn); box-shadow: none; }
.buy fieldset { display: flex; flex-direction: column; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; color: var(--soft); }
input[type=email] { width: 100%; font: inherit; font-size: 18px; color: var(--text); background: var(--panel-2); border: 1px solid #1d3546; border-radius: 14px; padding: 15px 16px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
input[type=email]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,255,170,.18); }
.hint { font-size: 14px; color: var(--warn); min-height: 0; }
.hint button { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 16px 24px; border: 0; border-radius: 16px; font: inherit; font-size: 19px; font-weight: 600; color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 36px rgba(0,255,170,.25); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.btn:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 0 56px rgba(0,255,170,.5); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }
.btn.ghost:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.fine { font-size: 14px; color: var(--muted); line-height: 1.5; }
.error { font-size: 15px; color: var(--bad); }
.error:empty, .hint:empty { display: none; }

.sec { padding: 56px 0; border-top: 1px solid var(--line-soft); }
.sec h2 { font-size: clamp(26px, 5vw, 38px); font-weight: 600; line-height: 1.15; }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.needs { display: grid; gap: 12px; }
.need { display: flex; gap: 14px; align-items: flex-start; background: var(--panel-2); border: 1px solid #14242f; border-radius: 16px; padding: 18px; color: var(--soft); }
.need::before { content: ''; flex: none; width: 9px; height: 9px; margin-top: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.need b { color: var(--text); font-weight: 600; display: block; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 70px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); color: var(--soft); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; color: var(--accent-ink); background: var(--accent); }
.step b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.app-icon { display: none; width: 64px; height: 64px; border-radius: 16px; margin-bottom: 18px; box-shadow: 0 0 40px rgba(0,255,170,.18); }
.sub { color: var(--muted); }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; padding: 1px 8px; border-radius: 6px; vertical-align: middle; }
.badge.new { color: var(--accent-ink); background: var(--accent); }
.badge.beta { color: var(--accent); border: 1px solid var(--accent); }
.compat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1px; background: #14242f; border: 1px solid #14242f; border-radius: var(--radius); overflow: hidden; }
.compat > div { background: var(--panel-2); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.compat .wide { grid-column: 1 / -1; }
.compat .k { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.compat .v { color: var(--soft); }
.gets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 20px; }
.gets.text { margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.gets.text .get { padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.get { display: flex; flex-direction: column; gap: 10px; }
.get img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.get h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.get p { font-size: 16px; color: var(--muted); }
.faq-item { padding: 22px 0; border-top: 1px solid #14242f; }
.faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-item h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.faq-item p { color: var(--muted); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.status-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,255,170,.12); color: var(--accent); }
.status-icon.warn { background: rgba(255,200,87,.12); color: var(--warn); }
.status-icon.bad { background: rgba(255,107,107,.12); color: var(--bad); }
.status-icon svg { width: 28px; height: 28px; }
.card h1 { font-size: clamp(26px, 6vw, 36px); font-weight: 600; line-height: 1.15; }
.card p { color: var(--soft); }
.keybox { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--accent); border-radius: 16px; background: rgba(0,255,170,.05); }
.key { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: clamp(19px, 5.4vw, 26px); letter-spacing: .04em; color: var(--accent); word-break: normal; overflow-wrap: break-word; user-select: all; text-align: center; }
.copied { font-size: 14px; color: var(--accent); text-align: center; min-height: 1.5em; }
.meta-line { font-size: 14px; color: var(--dim); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(0,255,170,.15); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.order-page { padding: 40px 0 64px; }
.order-page .steps { margin-top: 4px; }

.doc { padding: 40px 0 64px; }
.doc h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 600; line-height: 1.15; margin-bottom: 20px; }
.doc h2 { font-size: 21px; font-weight: 600; margin: 28px 0 10px; }
.doc p, .doc li { color: var(--soft); }
.doc ol, .doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.edition { color: var(--muted); margin-bottom: 24px; }

footer { border-top: 1px solid var(--line-soft); padding: 32px 0 40px; }
.foot { display: grid; gap: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; }
.foot-links a { color: var(--soft); }
.foot-links a:hover { color: var(--accent); }
.seller { font-size: 13px; color: var(--dim); line-height: 1.6; }

.rise { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .2s; } .rise.d3 { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (min-width: 720px) {
    :root { --gutter: 32px; }
    .needs { grid-template-columns: repeat(2, 1fr); }
    .steps.row { grid-template-columns: repeat(3, 1fr); }
    .buy, .card { padding: 32px; }
    .foot { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 960px) {
    .hero { padding: 72px 0 88px; }
    .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
    .app-icon { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
    .rise { animation: none; }
    .btn:hover { transform: none; }
}
.after { margin-top: 18px; }
[hidden] { display: none !important; }
.card section { display: flex; flex-direction: column; gap: 18px; }
.resend { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
fieldset.resend { min-width: 0; margin: 0; padding: 0; border: 0; }
.dl { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--panel-2); border: 1px solid #14242f; }
.dl a { font-weight: 600; font-size: 18px; }
.dl code { font-size: 12px; color: var(--muted); word-break: break-all; }
ol.steps { list-style: none; padding: 0; margin: 0; }
.stale { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
