:root {
    --bg: #0a0d13;
    --bg-soft: #0e1219;
    --panel: #121724;
    --panel-2: #171d2b;
    --line: rgba(148, 163, 196, .14);
    --line-soft: rgba(148, 163, 196, .08);
    --text: #eef1f7;
    --text-soft: #c3cad9;
    --muted: #8a93a8;
    --faint: #5c6478;
    --accent: #7aa2f7;
    --ok: #9ece6a;
    --radius: 16px;
    --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Inter", "Segoe UI", -apple-system, Roboto, Arial, sans-serif;
    background: var(--bg); color: var(--text);
    font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
  a { color: inherit; text-decoration: none; }

  header {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 28px;
    background: rgba(10, 13, 19, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
  }
  .brand { display: flex; align-items: center; gap: 11px; }
  .brand canvas { display: block; }
  .brand img { display: block; }
  .brand-name { font-weight: 650; letter-spacing: -.01em; font-size: 16.5px; }
  nav.main { display: flex; gap: 28px; }
  nav.main a { font-size: 13.5px; color: var(--muted); transition: color .15s; }
  nav.main a:hover { color: var(--text-soft); }
  .h-actions { display: flex; align-items: center; gap: 18px; }
  .h-actions .login { font-size: 14px; color: var(--text-soft); }
  .h-actions .login:hover { color: #fff; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; font-size: 14.5px; font-weight: 550;
    padding: 11px 20px; cursor: pointer;
    border: 1px solid var(--line); background: transparent; color: var(--text-soft);
    transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
  }
  .btn:hover { border-color: rgba(122, 162, 247, .5); color: #fff; }
  .btn-primary {
    background: linear-gradient(180deg, #33507f, #2a4470);
    border-color: rgba(122, 162, 247, .35); color: #fff;
    box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 22px rgba(42, 68, 112, .35);
  }
  .btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 8px 26px rgba(42, 68, 112, .5); }

  .btn-primary {
    position: relative; overflow: hidden;
  }
  /* Премиальный отклик: мягкий блик под курсором и плавное нажатие */
  .btn-primary::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(240px 130px at 50% 0%, rgba(255,255,255,.20), transparent 70%);
    opacity: 0; transition: opacity .25s ease;
  }
  .btn-primary:hover::after { opacity: 1; }
  .btn-primary:active { transform: translateY(0) scale(.985); }

  /* ---------- HERO ---------- */
  .hero { position: relative; overflow: hidden; padding: 92px 0 70px; }
  .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(900px 420px at 8% -8%, rgba(122, 162, 247, .08), transparent 60%),
      radial-gradient(760px 460px at 96% 0%, rgba(122, 162, 247, .05), transparent 55%);
  }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 72px; align-items: center; position: relative; }

  .hero-kicker {
    font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--faint); margin-bottom: 20px; font-weight: 550;
  }
  .hero h1 { font-size: clamp(33px, 4.2vw, 50px); line-height: 1.12; letter-spacing: -.028em; font-weight: 700; margin-bottom: 20px; }
  .hero h1 .thin { color: var(--text-soft); font-weight: 600; }
  .hero-sub { font-size: 16.5px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
  .hero-sub b { color: var(--text-soft); font-weight: 600; }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
  .hero-facts {
    margin-top: 34px; padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    display: grid; grid-template-columns: repeat(4, auto);
    gap: 30px; justify-content: start;
  }
  .fact .n { font-size: 22px; font-weight: 650; font-family: var(--mono); color: var(--text); letter-spacing: -.01em; }
  .fact .t { font-size: 12px; color: var(--faint); margin-top: 2px; max-width: 150px; line-height: 1.4; }

  /* Витрина */
  .visual { position: relative; min-height: 600px; }
  .visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .visual .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 420px at 50% 46%, rgba(122,162,247,.08), transparent 70%); }

  .fc { position: absolute; background: rgba(13, 17, 26, .72); border: 1px solid rgba(148,163,196,.16); border-radius: 13px; padding: 12px 16px; backdrop-filter: blur(6px); box-shadow: 0 18px 44px rgba(0,0,0,.35); min-width: 150px; }
  .fc .k { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
  .fc .v { font-size: 14.5px; font-weight: 600; color: var(--text-soft); font-family: var(--mono); letter-spacing: -.01em; }
  .fc-a { top: 30px; left: 2px; }
  .fc-b { right: 0; bottom: 132px; }
  .fc-c { left: 26px; bottom: 22px; }

  .vis-tbl {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -44%);
    width: 240px;
    background: rgba(13, 17, 26, .66);
    border: 1px solid rgba(148,163,196,.15);
    border-radius: 12px; padding: 12px 14px;
    backdrop-filter: blur(6px);
    box-shadow: 0 22px 54px rgba(0,0,0,.4);
  }
  .vis-tbl .vt-h { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
  .vt-row { display: grid; grid-template-columns: 1.5fr .7fr; gap: 8px; font-size: 11px; color: var(--text-soft); padding: 4px 0; border-bottom: 1px solid var(--line-soft); }
  .vt-row:last-child { border-bottom: 0; }
  .vt-row .pr { text-align: right; font-family: var(--mono); color: var(--muted); }

  /* ---------- Общее для секций ---------- */
  .sec { padding: 92px 0; border-top: 1px solid var(--line-soft); }
  .kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); font-weight: 550; margin-bottom: 14px; }
  .sec-head { max-width: 740px; margin-bottom: 52px; }
  .sec-head h2 { font-size: clamp(25px, 3.1vw, 36px); letter-spacing: -.022em; font-weight: 680; line-height: 1.18; }
  .sec-head p { margin-top: 15px; color: var(--muted); font-size: 16px; }

  /* ---------- Возможности: интерактивные модули ---------- */
  .mods { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; }
  .mod-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
  .mod-nav button {
    text-align: left; background: none; border: 0; cursor: pointer;
    padding: 13px 4px; border-bottom: 1px solid var(--line-soft);
    display: flex; justify-content: space-between; align-items: center;
    color: var(--muted); font-size: 14.5px; font-family: inherit;
    transition: color .15s;
  }
  .mod-nav button:hover { color: var(--text-soft); }
  .mod-nav button.active { color: var(--text); }

  .mod-stage { position: relative; min-height: 420px; }
  .mod-pane {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--panel), rgba(13,17,26,.4));
    padding: 26px 26px 22px;
  }
  .mod-pane.active { opacity: 1; visibility: visible; transform: none; }

  /* Точки-индикатор модулей (показываются на мобильном) */
  .mod-dots { display: none; gap: 8px; justify-content: center; padding: 6px 0 2px; }
  .mod-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(148,163,196,.3); cursor: pointer; transition: background .2s, transform .2s; }
  .mod-dots i.active { background: var(--accent); transform: scale(1.2); }
  .mp-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
  .mp-head b { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
  .mp-head span { font-size: 12px; color: var(--faint); font-family: var(--mono); }

  .mock-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .mock-list li {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.015); border: 1px solid var(--line-soft);
    border-radius: 9px; padding: 9px 12px; font-size: 12.5px; color: var(--text-soft);
  }
  .mock-list .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mock-list .dim { color: var(--faint); font-size: 11.5px; }
  .mock-list .r { font-family: var(--mono); color: var(--muted); font-size: 12px; white-space: nowrap; }
  .pill { font-size: 9.5px; padding: 2px 8px; border-radius: 99px; border: 1px solid rgba(122,162,247,.3); color: #9db8ef; white-space: nowrap; }
  .pill.soft { border-color: var(--line); color: var(--faint); }
  .bar { height: 6px; border-radius: 99px; background: rgba(122,162,247,.18); }
  .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, rgba(122,162,247,.4), rgba(122,162,247,.9)); }
  .brow { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-soft); padding: 7px 0; }
  .brow .lab { width: 118px; color: var(--muted); flex-shrink: 0; }
  .brow .val { font-family: var(--mono); color: var(--muted); width: 70px; text-align: right; flex-shrink: 0; }
  .brow .bar { flex: 1; }
  .mp-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--faint); }

  /* ---------- Как работает ---------- */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: st; }
  .step { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.012); }
  .step .st-n { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; display: block; }
  .step b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; display: block; margin-bottom: 8px; }
  .step span { font-size: 14px; color: var(--muted); }

  /* ---------- Источники ---------- */
  .sources-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
  .src { font-size: 13.5px; color: var(--text-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; background: rgba(255,255,255,.015); }
  .src.dim { color: var(--faint); }
  .quote { margin-top: 38px; padding: 24px 30px; border-left: 1px solid rgba(122,162,247,.4); background: linear-gradient(90deg, rgba(122,162,247,.05), transparent 70%); font-size: 15.5px; color: var(--text-soft); max-width: 780px; }

  /* ---------- Оплата ---------- */
  .pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pay { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.012); }
  .pay b { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
  .pay span { font-size: 14px; color: var(--muted); }
  .pay .acc { color: var(--accent); }
  .pay-note { margin-top: 22px; font-size: 13.5px; color: var(--faint); }

  /* ---------- CTA ---------- */
  .cta-sec { padding: 100px 0 116px; }
  .cta-box { text-align: center; max-width: 780px; margin: 0 auto; padding: 68px 40px; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(560px 260px at 50% -10%, rgba(122,162,247,.1), transparent 70%), linear-gradient(180deg, rgba(18,23,36,.8), rgba(10,13,19,.2)); }
  .cta-box h2 { font-size: clamp(27px, 3.3vw, 38px); letter-spacing: -.024em; font-weight: 700; margin-bottom: 16px; }
  .cta-box p { color: var(--muted); font-size: 16px; margin-bottom: 30px; }
  .cta-box .methods { margin-top: 22px; font-size: 13px; color: var(--faint); }

  footer { border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, transparent, rgba(18,23,36,.5)); padding: 64px 0 0; font-size: 14px; color: var(--muted); }
  .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
  .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .f-brand canvas { display: block; }
  .f-brand-name { font-size: 17px; font-weight: 650; color: var(--text); letter-spacing: -.01em; }
  .f-desc { font-size: 13.5px; color: var(--faint); max-width: 300px; line-height: 1.65; }
  footer h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 18px; }
  .f-col { display: flex; flex-direction: column; gap: 10px; }
  .f-col a { color: var(--muted); transition: color .15s; }
  .f-col a:hover { color: var(--text-soft); }
  .f-col .muted-line { color: var(--faint); font-size: 13px; }
  /* Правовой статус: ровные строки «ярлык — галочка» */
  .srows { gap: 11px; }
  .srow { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--muted); max-width: 230px; }
  .srow .sok { color: var(--accent); font-size: 13px; line-height: 1.35; text-align: right; }
  .f-bottom {
    border-top: 1px solid var(--line-soft);
    padding: 22px 0 30px;
    display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--faint);
  }
  .f-bottom .legal { max-width: 560px; line-height: 1.6; }
  @media (max-width: 900px) {
    .f-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  }
  @media (max-width: 560px) {
    .f-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 1020px) {
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .visual { min-height: 480px; }
    .mods { grid-template-columns: 1fr; gap: 30px; }
    .mod-nav { flex-direction: row; flex-wrap: wrap; gap: 4px 26px; border: 0; }
    .mod-nav button { border-bottom: 1px solid transparent; padding: 6px 2px; }
    .mod-stage { min-height: 380px; }
    .steps, .pay-grid { grid-template-columns: 1fr; }
    nav.main { display: none; }
    .hero-facts { grid-template-columns: repeat(2, auto); row-gap: 18px; }
  }
  @media (max-width: 700px) {
    /* hero: главная кнопка на всю ширину, вторичная — под ней */
    .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    /* «Возможности» на телефоне: чипсы с горизонтальным скроллом + свайп,
       панель по высоте контента — ничего не обрезается */
    .mods { gap: 18px; }
    .mod-nav {
      flex-direction: row; flex-wrap: nowrap; gap: 8px;
      overflow-x: auto; padding: 2px 2px 10px;
      -webkit-overflow-scrolling: touch; scrollbar-width: none;
      border: 0;
    }
    .mod-nav::-webkit-scrollbar { display: none; }
    .mod-nav button {
      flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px;
      padding: 11px 16px; min-height: 44px; white-space: normal; max-width: 84vw; text-align: left;
      font-size: 14px; color: var(--muted); background: rgba(255,255,255,.015);
    }
    .mod-nav button.active {
      border-color: rgba(122,162,247,.55); color: var(--text);
      background: rgba(122,162,247,.12);
    }
    .mod-stage { min-height: 0; }
    .mod-pane {
      position: static; inset: auto; opacity: 1; visibility: visible; transform: none;
      display: none; padding: 20px 18px 16px;
      max-width: 100%; overflow-x: hidden;
    }
    .mod-pane.active { display: block; }
    /* Переносы внутри макетов: длинные строки больше не растягивают экран */
    .mp-head { flex-wrap: wrap; gap: 4px 10px; }
    .mp-head b, .mp-head span { white-space: normal; }
    .mock-list { max-width: 100%; }
    .mock-list li { flex-wrap: wrap; row-gap: 4px; max-width: 100%; }
    .mock-list .grow { flex: 1 1 100%; white-space: normal; overflow: visible; text-overflow: clip; }
    .mock-list .r { margin-left: auto; }
    .mock-list .dim { white-space: normal; }
    .brow { flex-wrap: wrap; row-gap: 3px; }
    .brow .lab { width: auto; min-width: 92px; }
    .brow .val { width: auto; }
    .brow .bar { flex: 1 1 60px; min-width: 50px; }
    .mp-foot { overflow-wrap: anywhere; }
    .mod-dots { display: flex; }
    /* крупнее тапы в шапке */
    .h-actions .btn { min-height: 44px; padding: 12px 16px; }
    .h-actions .login { padding: 12px 2px; }
    /* hero-карточки чуть компактнее */
    .fc { min-width: 138px; padding: 10px 13px; }
    .fc .v { font-size: 13.5px; }
  }
  @media (max-width: 600px) {
    .visual { min-height: 400px; }
    .vis-tbl { width: 200px; }
  }

  /* ── Полоса «Программа для Windows» ─────────────────────────── */
  .win-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
  .win-copy h2 { font-size: clamp(25px, 3.1vw, 36px); letter-spacing: -.022em; font-weight: 680; line-height: 1.18; }
  .win-lead { margin-top: 15px; color: var(--muted); font-size: 16px; line-height: 1.65; }
  .win-list { display: flex; flex-direction: column; gap: 16px; margin: 26px 0 28px; }
  .win-item { display: flex; gap: 13px; align-items: flex-start; }
  .win-ico { flex: 0 0 auto; width: 28px; height: 28px; margin-top: 1px; border-radius: 9px;
    border: 1px solid var(--line); background: linear-gradient(135deg, rgba(122,162,247,.22), rgba(116,199,236,.14));
    box-shadow: inset 0 0 0 1px rgba(122,162,247,.10); }
  .win-item b { display: block; color: var(--text); font-weight: 650; margin-bottom: 3px; font-size: 15px; }
  .win-item span { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
  .win-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .win-actions .hint { font-size: 13px; color: var(--faint); }
  .win-shot { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-soft);
    box-shadow: 0 40px 90px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(122,162,247,.07); }
  .win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px;
    border-bottom: 1px solid var(--line-soft); background: rgba(18,23,36,.75); }
  .win-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(148,163,196,.32); }
  .win-bar span { margin-left: 9px; font-size: 12.5px; color: var(--faint); }
  .win-shot img { display: block; width: 100%; height: auto; }
  @media (max-width: 900px) { .win-grid { grid-template-columns: 1fr; gap: 32px; } }

  /* ── Компактная полоса источников ───────────────────────────── */
  .sec.slim { padding: 40px 0; }
  .src-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .src-lead { font-size: 14px; color: var(--muted); margin-right: 6px; }

  /* ── Организациям и госсектору ─────────────────────────────── */
  .org-box { border: 1px solid var(--line); border-radius: 24px; padding: 56px 52px;
    background: radial-gradient(640px 300px at 12% 0%, rgba(122,162,247,.10), transparent 70%), linear-gradient(180deg, rgba(18,23,36,.85), rgba(10,13,19,.35)); }
  .org-head { max-width: 760px; }
  .org-head h2 { font-size: clamp(25px, 3.1vw, 36px); letter-spacing: -.022em; font-weight: 680; line-height: 1.18; }
  .org-lead { margin-top: 15px; color: var(--muted); font-size: 16px; line-height: 1.65; }
  .org-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 34px 0 30px; }
  .org-tile { border: 1px solid var(--line-soft); border-radius: 14px; padding: 18px; background: rgba(255,255,255,.015); }
  .org-tile b { display: block; font-size: 14.5px; margin-bottom: 6px; }
  .org-tile span { font-size: 13px; color: var(--muted); line-height: 1.55; }
  .org-tile .tag { display: inline-block; margin-top: 9px; font-size: 11.5px; color: var(--accent);
    border: 1px solid rgba(122,162,247,.35); border-radius: 999px; padding: 2px 9px; }
  .org-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .org-cta .hint { font-size: 13px; color: var(--faint); }

  /* ── FAQ ───────────────────────────────────────────────────── */
  .faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
  .faq-item { border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(255,255,255,.012); padding: 0 20px; }
  .faq-item summary { cursor: pointer; list-style: none; padding: 17px 0; font-size: 15.5px; font-weight: 600;
    display: flex; justify-content: space-between; gap: 16px; align-items: center; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: "+"; color: var(--faint); font-size: 18px; font-weight: 400; }
  .faq-item[open] summary::after { content: "–"; }
  .faq-item p { padding: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 760px; }
  @media (max-width: 1020px) { .org-tiles { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 640px) { .org-tiles { grid-template-columns: 1fr; } .org-box { padding: 34px 22px; } }