:root {
  --bg: #0a0a0b;
  --surface: #101012;
  --surface-2: #141417;
  --line: #1f1f22;
  --line-2: #2a2a2f;
  --text: #e8e8ea;
  --muted: #8a8a90;
  --dim: #5a5a60;
  --accent: #c2457a;
  --accent-hi: #d9608f;
  --display: "Manrope", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --shell: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--display); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* languages: both are in the markup, the inactive one is hidden */
html[data-lang="ru"] body [lang="en"], html[data-lang="en"] body [lang="ru"] { display: none !important; }

.shell { width: min(var(--shell), 100% - 48px); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }

/* ---------- header */
.top { display: flex; align-items: center; gap: 32px; height: 76px; position: sticky; top: 0; z-index: 10; background: rgba(10,10,11,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); width: 100%; padding-inline: max(24px, calc((100% - var(--shell)) / 2)); border-bottom: 1px solid transparent; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; font-size: 15px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand.small img { width: 28px; height: 28px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.lang { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 4px; padding: 4px 8px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.lang button { color: var(--muted); padding: 0 2px; }
.lang button.active { color: var(--text); font-weight: 600; }

/* ---------- hero */
.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; min-height: min(calc(100vh - 140px), 820px); padding: 48px 0 56px; }
.hero-title { font-size: clamp(48px, 6.4vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -.035em; margin: 18px 0 22px; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-lead { color: var(--muted); font-size: 18px; max-width: 560px; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.dl { display: flex; flex-direction: column; gap: 2px; min-width: 250px; padding: 14px 20px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); font-family: var(--display); transition: border-color .15s, background .15s, transform .15s; }
.dl b { font-size: 16px; font-weight: 700; letter-spacing: -.005em; }
.dl small { font-size: 13px; font-weight: 500; color: var(--muted); }
.dl:hover { border-color: var(--muted); transform: translateY(-1px); }
.dl.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.dl.primary small { color: rgba(255,255,255,.8); }
.dl.primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.versions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.versions .label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; margin-right: 4px; }
.ver { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 13px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); color: var(--text); }
.ver i { font-style: normal; font-size: 9px; color: var(--accent); }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 14px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); transition: border-color .15s; }
.pill i { font-style: normal; color: var(--muted); margin-right: 4px; }
.pill:hover { border-color: var(--accent); }

.pad { position: relative; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 14px 14px 10px; }
.pad::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 55%, rgba(194,69,122,.08), transparent 70%); pointer-events: none; }
.pad-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; position: relative; }
.chip { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 11px; margin-left: 6px; transition: color .15s, border-color .15s; }
.chip:hover { color: var(--text); }
.chip.active { color: var(--text); border-color: var(--accent); }
.pad-canvas { display: block; width: 100%; aspect-ratio: 1.42; position: relative; }
.pad-live { position: absolute; right: 16px; bottom: 12px; font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .12em; opacity: 0; transition: opacity .2s; }
.pad:has(.pad-canvas.live) .pad-live { opacity: 1; }

/* ---------- ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--dim); white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 38s linear infinite; }
.ticker-track span { padding-right: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections */
.section { padding: 112px 0 24px; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; margin-top: 12px; }
.section-lead { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 640px; }
.section-note { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--line-2); color: var(--dim); font-size: 14px; max-width: 780px; }
.num { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--accent); border: 1px solid var(--accent); border-radius: 3px; padding: 1px 5px; vertical-align: 3px; margin-left: 6px; }

.feature { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 26px; transition: border-color .15s; }
.feature:hover { border-color: var(--line-2); }
.feature h3 { font-size: 21px; letter-spacing: -.01em; margin: 10px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature.big { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 34px; margin-bottom: 12px; border-color: var(--line-2); background: linear-gradient(135deg, rgba(194,69,122,.10), transparent 55%), var(--surface); }
.feature.big h3 { font-size: 30px; margin-top: 0; }
.feature.big p { font-size: 16.5px; max-width: 900px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.mod-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; align-items: start; }
.mod-col { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.mod-col-head { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.mod-col-head b { color: var(--dim); font-weight: 500; }
.pro-col { border-color: rgba(194,69,122,.45); background: linear-gradient(180deg, rgba(194,69,122,.08), transparent 40%), var(--surface); }
.pro-col .mod-col-head { color: var(--accent); border-color: rgba(194,69,122,.25); }
.mods { list-style: none; }
.mods li { display: flex; flex-direction: column; padding: 12px 22px; border-bottom: 1px solid var(--line); }
.mods li:last-child { border-bottom: 0; }
.mods b { font-size: 15px; font-weight: 700; }
.mods span { color: var(--muted); font-size: 13.5px; }

.pro { display: grid; grid-template-columns: 360px 1fr; gap: 12px; }
.price { border: 1px solid var(--accent); border-radius: 6px; padding: 30px; background: linear-gradient(160deg, rgba(194,69,122,.16), transparent 60%), var(--surface); }
.price-num { font-size: 96px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price-num span { font-size: 44px; color: var(--accent); margin-left: 6px; }
.price p { color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 10px 0 26px; }
.price .dl { width: 100%; }
.pro-list { list-style: none; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.pro-list li { padding: 22px 26px 22px 54px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; color: var(--muted); }
.pro-list li:last-child { border-bottom: 0; }
.pro-list li::before { content: "→"; position: absolute; left: 24px; color: var(--accent); font-family: var(--mono); }
.pro-list a, .steps a, .faq a { color: var(--text); border-bottom: 1px solid var(--accent); }

.inside { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.inside > div { border-top: 1px solid var(--line-2); padding-top: 18px; }
.inside h3 { font-size: 18px; margin-bottom: 8px; }
.inside p { color: var(--muted); font-size: 14.5px; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { counter-increment: s; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 26px; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; }
.steps b { font-size: 18px; display: block; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--mono); font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq p { color: var(--muted); padding: 0 0 22px; max-width: 820px; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 72px 0 40px; margin-top: 96px; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-note { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* ---------- responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .inside { grid-template-columns: repeat(2, 1fr); }
  .mod-cols, .pro { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 28px; }
  .feature-grid, .inside, .steps { grid-template-columns: 1fr; }
  .feature.big { grid-template-columns: 1fr; padding: 26px; }
  .dl { min-width: 0; flex: 1 1 100%; }
  .section { padding-top: 80px; }
  .foot-note { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}
.pad-skins { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.pad-skins .chip { margin-left: 0; }
