:root {
  --bg: #0b0d12;
  --bg-2: #12151d;
  --card: #161a24;
  --line: #242a37;
  --text: #eef1f6;
  --muted: #8b93a7;
  --accent: #ff7a2e;
  --accent-ink: #1f0b00;
  --danger: #ff7a7a;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.15rem; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.error { color: var(--danger); }
.section { padding: 56px 16px; scroll-margin-top: 60px; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(11,13,18,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo__mark { width: 28px; height: 28px; border-radius: 7px; display: block; }
.top__nav { display: flex; gap: 20px; }
.top__nav a { color: var(--muted); font-size: .95rem; }
.top__nav a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; transition: transform .1s, background .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #7cf0c4; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--big { min-height: 56px; width: 100%; font-size: 1.1rem; margin: 8px 0; }

.hero { padding-top: 72px; padding-bottom: 32px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .9rem; margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 44px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; }
.facts span { color: var(--muted); font-size: .9rem; }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps p { color: var(--muted); margin: 0; }
.steps__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255,122,46,.12); color: var(--accent); font-weight: 700; margin-bottom: 14px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; min-height: 120px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan--hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px -30px rgba(255,122,46,.5); }
.plan__badge { position: absolute; top: -11px; right: 18px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.plan__price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.plan__list { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.plan__list li { padding: 6px 0 6px 24px; position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.renew { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.renew__form { display: flex; gap: 10px; }
.renew__state { grid-column: 1 / -1; margin: 0; color: var(--accent); }
input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.foot__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot__grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot__brand { color: var(--text); font-weight: 700; margin-bottom: 4px; }
.foot__legal { font-size: .85rem; }
.foot__links { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.foot__links a { color: var(--muted); }
.foot__links a:hover { color: var(--text); }

.ref-note { background: rgba(255,122,46,.08); border: 1px solid rgba(255,122,46,.3); border-radius: 12px; padding: 10px 14px; margin: -24px 0 32px; color: var(--accent); }
.device { margin: -16px 0 36px; border-color: rgba(255,122,46,.35); }
.device h2 { font-size: 1.3rem; }
.device__bind { border: 0; padding: 14px 0 0; }
.device__bind summary { font-weight: 500; color: var(--muted); font-size: .92rem; }
.device__bind summary::after { content: ""; }
.promo { border: 0; padding: 0 0 8px; }
.promo summary { font-weight: 500; color: var(--muted); font-size: .92rem; }
.promo summary::after { content: ""; }
.promo__row { display: flex; gap: 8px; margin-top: 10px; }
.promo__row input { text-transform: uppercase; }
.ok { color: var(--accent); }
.old { color: var(--muted); font-size: .85em; }

.ref { margin-top: 24px; text-align: left; background: rgba(255,122,46,.06); border: 1px solid rgba(255,122,46,.25); border-radius: 14px; padding: 16px; }
.ref h2 { font-size: 1.05rem; margin: 0 0 4px; }

.doc { padding-top: 40px; padding-bottom: 56px; max-width: 820px; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.doc h2 { font-size: 1.15rem; margin-top: 32px; }
.doc p, .doc li { color: #c9cfdb; }
.doc .muted { color: var(--muted); }
.req { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.req p { margin: 4px 0; }

.pay { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100dvh - 32px); overflow: auto; width: min(440px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 20px; background: var(--card); color: var(--text); padding: 28px; }
.pay::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.pay__close-form { position: absolute; top: 10px; right: 10px; margin: 0; }
.pay__close { background: none; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; width: 40px; height: 40px; }
.pay__methods { display: grid; gap: 10px; margin: 20px 0 12px; }
.method {
  display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 18px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; cursor: pointer;
}
.method:hover:not(:disabled) { border-color: var(--accent); }
.method:disabled { opacity: .5; cursor: progress; }
.method.is-loading { opacity: 1; border-color: var(--accent); }
.method span { color: var(--muted); }

.order { padding-top: 56px; padding-bottom: 56px; }
.order__card { max-width: 520px; margin: 0 auto; text-align: center; }
.order__card h1 { font-size: 1.7rem; }
.sub { text-align: left; margin-top: 24px; }
.sub label { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.sub__row { display: flex; gap: 8px; }
.qr { text-align: center; border: 0; }
.qr img { background: #fff; border-radius: 12px; padding: 8px; margin-top: 12px; }
.spinner { width: 44px; height: 44px; margin: 8px auto 20px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .facts, .steps, .plans { grid-template-columns: 1fr; }
  .renew { grid-template-columns: 1fr; }
  .renew__form { flex-direction: column; }
  .top__nav { gap: 14px; }
  .top__nav a:last-child { display: none; }
  .section { padding: 40px 16px; }
  .hero { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .spinner { animation-duration: 3s; } }
.device-note { background: rgba(255,122,46,.08); border: 1px solid rgba(255,122,46,.3); border-radius: 12px; padding: 14px; color: var(--text); font-weight: 600; }
.import__main { display: grid; gap: 8px; }
.import__main .btn--big { margin: 0; }
.import__main .btn--big + .btn--big { background: transparent; color: var(--text); border-color: var(--line); }
.import__more { border: 0; padding: 10px 0 0; }
.import__more summary { color: var(--muted); font-weight: 500; font-size: .92rem; }
.import__more summary::after { content: ""; }
.import__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.import__grid .is-other { opacity: .6; }
.trial { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: -16px 0 36px; border-color: rgba(255,122,46,.35); }
.trial b { font-size: 1.15rem; }
.trial p { margin: 4px 0 0; }
.trial__btns { display: flex; flex-wrap: wrap; gap: 10px; }
