:root {
  --brand: #0a5bd3;
  --brand-dark: #0848a8;
  --ink: #0f1b2d;
  --muted: #5b6878;
  --line: #e2e7ed;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --ok: #1f8a4c;
  --low: #d98a00;
  --crit: #d23b3b;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.01em; margin-bottom: 20px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.lead--sm { font-size: 17px; margin-bottom: 28px; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 20px; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 32px; height: 32px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--ink); font-size: 15px; }
.site-nav .lang { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 16px; }
.btn:hover { text-decoration: none; border-color: #c9d2dd; }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* Hero */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, #eef4fd 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

.phone { justify-self: center; width: 300px; padding: 12px; background: #0f1b2d; border-radius: 40px; box-shadow: 0 30px 60px -20px rgba(15, 27, 45, 0.35); }
.phone__screen { background: #f4f7fb; border-radius: 30px; padding: 22px 16px 18px; display: grid; gap: 10px; }
.phone__top b { display: block; font-size: 17px; }
.phone__top small { color: var(--muted); font-size: 12px; }
.phone__alert { background: #fff4e0; color: #8a5a00; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 600; }
.tank { background: #fff; border-radius: 12px; padding: 10px 12px; }
.tank__row { display: flex; justify-content: space-between; font-size: 14px; }
.tank__bar { height: 8px; border-radius: 4px; background: #e8edf3; margin: 6px 0 4px; overflow: hidden; }
.tank__bar i { display: block; height: 100%; border-radius: 4px; background: var(--ok); }
.tank small { color: var(--muted); font-size: 12px; }
.tank--low .tank__bar i { background: var(--low); }
.tank--crit .tank__bar i { background: var(--crit); }
.tank--crit b { color: var(--crit); }

/* Sections */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e7effc; color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.feature p { color: var(--muted); margin: 0; }
.ico { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #e7effc; color: var(--brand); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 820px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.plan--top { border: 2px solid var(--brand); box-shadow: 0 16px 40px -24px rgba(10, 91, 211, 0.5); }
.plan__price { margin: 6px 0 18px; }
.plan__price b { font-size: 30px; }
.plan__price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 2px; }
#plans-note { margin-top: 16px; }

.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--muted); }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding-bottom: 16px; margin: 0; }

.contact__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.contacts { display: grid; gap: 14px; margin: 0; }
.contacts dt { color: var(--muted); font-size: 14px; }
.contacts dd { margin: 0; font-size: 18px; font-weight: 600; }
.apps { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.stores { display: grid; gap: 10px; }
.store { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 18px; border-radius: 12px; background: #0f1b2d; color: #fff; font-weight: 600; }
.store:hover { text-decoration: none; opacity: 0.92; }
.store--soon { background: #fff; color: var(--muted); border: 1px dashed #c9d2dd; }
.store small { font-weight: 500; font-size: 13px; }

.prose h2 { font-size: 22px; margin-top: 32px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.draft { background: #fff4e0; color: #8a5a00; border-radius: 10px; padding: 10px 14px; font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
.footer__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero__grid, .contact__grid { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .lang { margin-top: 12px; align-self: flex-start; border-bottom: 1px solid var(--line); }
  .hero { padding: 40px 0 56px; }
  .section { padding: 56px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .phone { width: 100%; max-width: 300px; }
  .lead { font-size: 17px; }
}
