:root {
  --ink: #0d1b2e; --ink-2: #1b2b44; --ink-3: #2a3d5c; --accent: #f5a524; --accent-2: #ffb938; --accent-ink: #2b1a00;
  --text: #101828; --muted: #5b6474; --line: #e6e8ec; --bg: #ffffff; --soft: #f5f6f8; --red: #d92d20; --green: #067647;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 14px;
  font: 700 16px var(--font); text-decoration: none; transition: .15s; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -8px rgba(245, 165, 36, .6); }
.btn.primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn.ghost { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn.outline:hover { border-color: #c8ccd4; }

/* шапка */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 27, 46, .92); backdrop-filter: saturate(1.4) blur(10px); }
header.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 850; font-size: 20px; }
.logo img { width: 34px; height: 34px; }
header.top nav { display: flex; gap: 22px; margin-left: auto; }
header.top nav a { color: #c9d3e3; text-decoration: none; font-size: 15px; font-weight: 550; }
header.top nav a:hover { color: #fff; }
header.top .btn { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.login-link { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { header.top nav { display: none; } header.top .login-link { margin-left: auto; } }

/* герой */
.hero { background: radial-gradient(900px 480px at 85% 0%, rgba(245, 165, 36, .22), transparent 60%), linear-gradient(180deg, var(--ink) 0%, #12243d 100%);
  color: #fff; padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 850; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #b8c4d8; max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero .note { color: #8fa0bb; font-size: 14.5px; }
.hero .note b { color: #dfe6f1; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 48px 0 64px; } }

/* мокап приложения */
.mock { background: #fff; color: var(--text); border-radius: 22px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotate(-1.2deg); max-width: 520px; justify-self: end; width: 100%; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-head b { font-size: 17px; }
.mock-head span { font-size: 13px; color: var(--muted); }
.mock-km { background: linear-gradient(135deg, var(--ink), var(--ink-3)); color: #fff; border-radius: 16px; padding: 16px; display: flex; justify-content: space-between; align-items: flex-end; }
.mock-km .v { font-size: 30px; font-weight: 850; letter-spacing: -.03em; }
.mock-km .l { font-size: 12px; color: #aab7cc; }
.mock-to { margin-top: 12px; border: 2px solid var(--accent); border-radius: 16px; padding: 14px 16px; }
.mock-to .n { font-size: 30px; font-weight: 850; letter-spacing: -.03em; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mock-row:last-child { border-bottom: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.r { background: var(--red); } .dot.y { background: #f79009; } .dot.g { background: #12b76a; }
.mock-row .when { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #fef3f2; color: var(--red); }

/* секции */
section { padding: 88px 0; }
section.soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card .ico { font-size: 28px; margin-bottom: 10px; display: block; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.pain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pain .item { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pain .q, .pain .a { padding: 20px 22px; }
.pain .q { background: #fff7ed; color: #7a2e0e; font-weight: 650; }
.pain .q small { display: block; font-weight: 500; color: #9a5b2f; margin-top: 6px; font-size: 14px; }
.pain .a { font-size: 15.5px; }
.pain .a b { display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .pain { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pain .item { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 34px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: #ecfdf3; color: var(--green);
  font-weight: 800; font-size: 13px; display: grid; place-items: center; }

.matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.matrix th, .matrix td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th { background: var(--ink); color: #fff; font-size: 13px; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix tr:last-child td { border-bottom: 0; }
.R { background: #fef0c7; color: #93370d; font-weight: 800; }
.RX { background: #fef3f2; color: var(--red); font-weight: 800; }
.I { background: #eff8ff; color: #175cd3; font-weight: 700; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; left: 24px; width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink); font-weight: 850; display: grid; place-items: center; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1000px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } }
.price { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--accent); box-shadow: 0 24px 48px -24px rgba(245, 165, 36, .55); position: relative; }
.price.featured::before { content: "Выгоднее всего"; position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--accent-ink);
  font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.price .amount { font-size: 38px; font-weight: 850; letter-spacing: -.03em; margin: 6px 0 2px; }
.price .amount small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price ul { padding-left: 0; list-style: none; margin: 16px 0 22px; font-size: 15px; }
.price li { padding: 5px 0 5px 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price .btn { margin-top: auto; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

.final { background: linear-gradient(135deg, var(--ink), var(--ink-3)); color: #fff; border-radius: 28px; padding: 56px; text-align: center; }
.final p { color: #b8c4d8; }
footer { padding: 40px 0; color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
footer a { color: var(--muted); }
.seo-text { columns: 2; column-gap: 40px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .seo-text { columns: 1; } section { padding: 64px 0; } .final { padding: 36px 22px; } }
