  /* Inter (переменный, 100–900) раздаётся с нашего сервера: без внешних запросов к Google Fonts. */
  @font-face { font-family: Inter; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url(/fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations'), url(/fonts/inter-cyrillic-wght-normal.woff2) format('woff2');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
  @font-face { font-family: Inter; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations'), url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
  @font-face { font-family: Inter; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations'), url(/fonts/inter-latin-wght-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
  :root {
    --bg: #ececee;
    --card: #ffffff;
    --soft: #f4f4f6;
    --line: #e4e4e8;
    --text: #111113;
    --muted: #5f5f68;
    --black: #111113;
    --on-black: #ffffff;
    --on-black-muted: #a1a1aa;
    --green: #157a3d;
    --green-bg: #e3f3e9;
    --green-on-black: #6ee39d;
    --radius-xl: 32px;
    --radius-l: 24px;
    --radius-m: 18px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 16px; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: "tnum" 1;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--black); color: var(--on-black); }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
  :focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
  .total :focus-visible, .bar :focus-visible, .plan.on:focus-visible, .period.on:focus-visible { outline-color: var(--on-black); }
  .plan.on:focus-visible, .period.on:focus-visible { outline: 2px solid var(--black); box-shadow: inset 0 0 0 2px var(--on-black); }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

  /* Навигация */
  nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 28px 0; }
  .logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
  .logo-mark { width: 34px; height: 40px; color: var(--text); flex: none; }
  .links { display: flex; gap: 6px; background: var(--card); padding: 6px; border-radius: 999px; }
  .links a { font-size: 15px; font-weight: 500; padding: 10px 18px; border-radius: 999px; color: var(--muted); transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
  .links a:hover { color: var(--text); }
  .links a[aria-current="true"] { background: var(--black); color: var(--on-black); }
  .nav-right { display: flex; gap: 10px; }
  .wa-nav .wa-ico { display: none; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; border-radius: 999px; white-space: nowrap; transition: transform .15s var(--ease-out), background-color .2s var(--ease-out), border-color .2s var(--ease-out); }
  .btn:active { transform: scale(.98); }
  .btn-sm { font-size: 15px; height: 44px; padding: 0 20px; }
  .btn-lg { font-size: 17px; height: 60px; padding: 0 30px; }
  .btn-black { background: var(--black); color: var(--on-black); }
  .btn-black:hover { background: #2a2a2e; }
  .btn-white { background: var(--card); color: var(--text); }
  .btn-white:hover { background: #f0f0f2; }
  .btn-ghost { background: transparent; color: var(--on-black); border: 1.5px solid rgba(255,255,255,.22); }
  .btn-ghost:hover { border-color: rgba(255,255,255,.5); }
  .wa-ico { width: 24px; height: 24px; flex: none; }

  /* Пробный период */
  .trial { background: var(--card); border-radius: var(--radius-xl); padding: 44px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
  .chip { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; background: var(--soft); padding: 8px 14px; border-radius: 999px; }
  h1 { font-size: 52px; line-height: 1.05; font-weight: 800; letter-spacing: -1.6px; margin: 18px 0 14px; text-wrap: balance; }
  .lead { font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 440px; margin-bottom: 28px; }
  .steps { display: grid; gap: 12px; list-style: none; }
  .step { background: var(--soft); border-radius: var(--radius-l); padding: 20px 22px; display: flex; align-items: center; gap: 18px; }
  .step-n { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--card); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
  .step b { display: block; font-size: 17px; font-weight: 700; }
  .step span { font-size: 15px; color: var(--muted); }

  .divider { text-align: center; font-size: 22px; font-weight: 700; letter-spacing: -.3px; margin: 56px 0 24px; text-wrap: balance; }
  .divider span { color: var(--muted); font-weight: 600; }

  /* Конфигуратор */
  .config { display: grid; grid-template-columns: 1fr 400px; gap: 20px; align-items: start; }
  .panel { background: var(--card); border-radius: var(--radius-xl); padding: 36px; display: grid; gap: 34px; }
  .label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
  .label h3 { font-size: 18px; font-weight: 700; }
  .label small { font-size: 14px; color: var(--muted); text-align: right; }

  .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .plan { text-align: left; background: var(--soft); border-radius: var(--radius-l); padding: 22px; position: relative; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
  .plan:hover:not(.on) { background: #ebebee; }
  .plan .p-name, .plan .p-desc, .plan .p-price { display: block; }
  .plan .p-name { font-size: 20px; font-weight: 800; }
  .plan .p-desc { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 6px; min-height: 40px; }
  .plan .p-price { font-size: 26px; font-weight: 800; margin-top: 16px; letter-spacing: -.5px; }
  .plan .p-price span { font-size: 15px; font-weight: 500; color: var(--muted); }
  .plan .tag { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--card); }
  .plan.on { background: var(--black); color: var(--on-black); }
  .plan.on .p-desc, .plan.on .p-price span { color: var(--on-black-muted); }
  .plan.on .tag { background: rgba(255,255,255,.14); color: var(--on-black); }
  .plan-hint { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 12px; }
  .plan-hint b { color: var(--text); font-weight: 600; }

  .periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .period { display: flex; flex-direction: column; align-items: flex-start; background: var(--soft); border-radius: var(--radius-m); padding: 18px; text-align: left; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
  .period:hover:not(.on) { background: #ebebee; }
  .period b { display: block; font-size: 18px; font-weight: 700; }
  .period span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
  .period .save { order: 3; margin-top: 10px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-bg); padding: 4px 8px; border-radius: 8px; }
  .period.on { background: var(--black); color: var(--on-black); }
  .period.on span { color: var(--on-black-muted); }
  .period.on .save { color: var(--green-on-black); background: rgba(110,227,157,.14); }

  .devices { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--soft); border-radius: var(--radius-m); padding: 14px 14px 14px 22px; }
  .devices-info b { font-size: 18px; font-weight: 700; }
  .devices-info span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 4px; }
  .devices-info a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .stepper { display: flex; align-items: center; gap: 6px; background: var(--card); border-radius: 999px; padding: 6px; flex: none; }
  .stepper button { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); font-size: 22px; font-weight: 500; display: grid; place-items: center; transition: background-color .2s var(--ease-out); }
  .stepper button:hover:not(:disabled) { background: #e6e6ea; }
  .stepper button:disabled { opacity: .35; cursor: default; }
  .stepper output { width: 44px; text-align: center; font-size: 22px; font-weight: 800; }

  /* Итого */
  .total { background: var(--black); color: var(--on-black); border-radius: var(--radius-xl); padding: 34px; position: sticky; top: 24px; }
  .total h3 { font-size: 22px; font-weight: 800; }
  .rows { margin-top: 22px; display: grid; gap: 14px; }
  .row { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
  .row dt { color: var(--on-black-muted); }
  .row dd { font-weight: 600; text-align: right; }
  .sum { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 22px; }
  .sum .cap { font-size: 15px; color: var(--on-black-muted); }
  .sum .big { font-size: 60px; font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-top: 6px; }
  .sum .old { font-size: 18px; color: var(--on-black-muted); text-decoration: line-through; margin-left: 10px; font-weight: 500; letter-spacing: 0; }
  .actions { display: grid; gap: 10px; margin-top: 26px; }
  .actions .btn { width: 100%; }
  .pay-note { font-size: 13px; color: var(--on-black-muted); text-align: center; margin-top: 14px; line-height: 1.5; text-wrap: balance; }
  .pay-note a { color: var(--on-black); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }

  footer { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 44px 0 40px; font-size: 14px; color: var(--muted); }
  footer .f-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
  footer a { display: inline-flex; align-items: center; min-height: 44px; }
  footer a:hover { color: var(--text); }

  /* Нижняя панель с суммой на телефоне */
  .bar { display: none; }

  /* Телефон */
  @media (max-width: 960px) {
    .links { display: none; }
    .trial, .config, .plans { grid-template-columns: 1fr; }
    .plan .p-desc { min-height: 0; }
    .total { position: static; }
    .bar {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
      background: var(--black); color: var(--on-black); border-radius: 22px; padding: 10px 10px 10px 20px;
      box-shadow: 0 12px 32px rgba(17,17,19,.28);
      transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none;
      transition: transform .45s var(--ease-out), opacity .3s var(--ease-out); z-index: 10;
    }
    .bar.show { transform: none; opacity: 1; pointer-events: auto; }
    .bar b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
    .bar span { display: block; font-size: 13px; color: var(--on-black-muted); }
    .bar .btn { height: 48px; padding: 0 22px; font-size: 16px; }
  }
  @media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    nav { padding: 18px 0; }
    .nav-right { gap: 8px; }
    .wa-nav { width: 44px; padding: 0; }
    .wa-nav .wa-text { display: none; }
    .wa-nav .wa-ico { display: block; width: 22px; height: 22px; }
    .devices { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
    .stepper { justify-content: space-between; }
    .trial { padding: 26px 22px; gap: 26px; border-radius: 28px; }
    h1 { font-size: 34px; letter-spacing: -1px; }
    .lead { font-size: 16px; }
    .trial .btn-lg { width: 100%; }
    .divider { font-size: 19px; margin: 40px 0 18px; }
    .panel { padding: 22px; gap: 28px; border-radius: 28px; }
    .periods { grid-template-columns: 1fr; gap: 8px; }
    .period { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 14px 18px; }
    .period b, .period span { grid-column: 1; }
    .period .save { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
    .label small { display: none; }
    .total { padding: 26px; border-radius: 28px; }
    .sum .big { font-size: 48px; }
    footer { flex-direction: column; gap: 4px; text-align: center; padding-bottom: 104px; }
    footer .f-links { justify-content: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .bar { transform: none; transition: opacity .2s linear; }
    .btn:active { transform: none; }
  }

  /* ===== Кабинет ===== */
  [hidden] { display: none !important; }
  .view-app { min-height: 60vh; }
  .page { display: grid; gap: 20px; max-width: 880px; margin: 0 auto; }
  .page-narrow { max-width: 460px; }
  .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 4px 0; }
  .page-head h1 { font-size: 40px; letter-spacing: -1.2px; margin: 0; }
  .page-head p { color: var(--muted); font-size: 16px; margin-top: 6px; }
  .card { background: var(--card); border-radius: var(--radius-xl); padding: 32px; display: grid; gap: 20px; }
  .card-dark { background: var(--black); color: var(--on-black); }
  .card h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
  .card h3 { font-size: 18px; font-weight: 700; }
  .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .muted { color: var(--muted); }
  .card-dark .muted { color: var(--on-black-muted); }
  .small { font-size: 14px; line-height: 1.5; }
  .row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .row-actions .btn { flex: 1 1 auto; }
  .btn-lg.full, .btn-sm.full { width: 100%; }
  .btn:disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
  .btn-soft { background: var(--soft); color: var(--text); }
  .btn-soft:hover { background: #e8e8ec; }
  .card-dark .btn-ghost { color: var(--on-black); }
  .link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(17,17,19,.3); }
  .link:hover { text-decoration-color: currentColor; }
  .card-dark .link { text-decoration-color: rgba(255,255,255,.4); }

  /* Статус подписки */
  .status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); }
  .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
  .status.ok { color: var(--green-on-black); }
  .status.warn { color: #ffcf6e; }
  .status.off { color: #ff8f8f; }
  .sub-title { font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .fact { background: rgba(255,255,255,.07); border-radius: var(--radius-m); padding: 16px 18px; }
  .fact span { display: block; font-size: 13px; color: var(--on-black-muted); }
  .fact b { display: block; font-size: 20px; font-weight: 700; margin-top: 4px; }
  .meter { height: 6px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 10px; }
  .meter i { display: block; height: 100%; background: var(--on-black); border-radius: inherit; }

  /* Подключение */
  .seg { display: inline-flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: 999px; }
  .seg button { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 8px 16px 8px 8px; border-radius: 999px; color: var(--muted); }
  .seg button img { width: 28px; height: 28px; border-radius: 8px; }
  .seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(17,17,19,.08); }
  .steps-list { list-style: none; display: grid; gap: 10px; counter-reset: s; }
  .steps-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; background: var(--soft); border-radius: var(--radius-l); padding: 16px 16px 16px 18px; counter-increment: s; }
  .steps-list li::before { content: counter(s); width: 44px; height: 44px; border-radius: 14px; background: var(--card); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
  .steps-list b { display: block; font-size: 16px; font-weight: 700; }
  .steps-list span { font-size: 14px; color: var(--muted); }

  /* Списки */
  .list { display: grid; gap: 8px; list-style: none; }
  .item { display: flex; align-items: center; gap: 14px; background: var(--soft); border-radius: var(--radius-m); padding: 14px 14px 14px 18px; }
  .item-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--card); display: grid; place-items: center; flex: none; overflow: hidden; }
  .item-ico img { width: 100%; height: 100%; object-fit: cover; }
  .item-ico svg { width: 20px; height: 20px; }
  .item-body { flex: 1; min-width: 0; }
  .item-body b { display: block; font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .item-body span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
  .item a.item-body:hover b { text-decoration: underline; }
  .icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex: none; }
  .icon-btn:hover { background: var(--card); color: var(--text); }
  .icon-btn svg { width: 20px; height: 20px; }
  .empty { background: var(--soft); border-radius: var(--radius-l); padding: 22px; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.5; }
  .pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
  .pill.ok { background: var(--green-bg); color: var(--green); }

  /* Формы */
  .form { display: grid; gap: 14px; }
  .field { display: grid; gap: 6px; }
  .field label { font-size: 14px; font-weight: 600; }
  .input { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--soft); border: 2px solid transparent; border-radius: 16px; padding: 14px 16px; transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
  .input:hover { background: #efeff2; }
  .input:focus { outline: none; border-color: var(--black); background: var(--card); }
  textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
  .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
  .check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--black); flex: none; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); padding: 4px; border-radius: 999px; }
  .tabs a { text-align: center; font-weight: 600; font-size: 15px; padding: 10px; border-radius: 999px; color: var(--muted); }
  .tabs a[aria-current="page"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(17,17,19,.08); }
  .or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
  .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .tg-btn { background: #2aabee; color: #fff; }
  .tg-btn:hover { background: #229ed9; }
  .tg-btn svg { width: 22px; height: 22px; }
  .alert { border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 1.5; background: var(--soft); }
  .alert.err { background: #fdecec; color: #8f1d1d; }
  .alert.ok { background: var(--green-bg); color: var(--green); }
  .card-dark .alert { background: rgba(255,255,255,.08); color: var(--on-black); }
  .quick { display: flex; gap: 8px; flex-wrap: wrap; }
  .quick button { font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; background: var(--soft); }
  .quick button:hover { background: #e8e8ec; }

  /* Оформление */
  .summary { display: grid; gap: 12px; }
  .summary .row span { color: var(--muted); }
  .card-dark .summary .row span { color: var(--on-black-muted); }
  .summary .total-row { border-top: 1px solid var(--line); padding-top: 14px; font-size: 20px; font-weight: 800; }
  .card-dark .summary .total-row { border-color: rgba(255,255,255,.12); }

  /* Поддержка */
  .thread { display: grid; gap: 10px; }
  .msg { max-width: 80%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; background: var(--soft); justify-self: start; }
  .msg.me { background: var(--black); color: var(--on-black); justify-self: end; }
  .msg time { display: block; font-size: 12px; opacity: .6; margin-top: 4px; }

  /* Юридические тексты */
  .prose { font-size: 16px; line-height: 1.65; max-width: 72ch; }
  .prose h1 { font-size: 30px; letter-spacing: -.8px; line-height: 1.15; margin: 0 0 16px; }
  .prose h2 { font-size: 21px; margin: 28px 0 10px; }
  .prose h3 { font-size: 17px; margin: 22px 0 8px; }
  .prose p, .prose ul, .prose ol { margin: 0 0 12px; }
  .prose ul, .prose ol { padding-left: 22px; }
  .prose a { text-decoration: underline; text-underline-offset: 3px; }

  /* Загрузка и уведомления */
  .loading { display: grid; place-items: center; min-height: 40vh; }
  .spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--black); animation: spin .8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; background: var(--black); color: var(--on-black); padding: 14px 20px; border-radius: 16px; font-size: 15px; font-weight: 500; max-width: calc(100% - 32px); box-shadow: 0 12px 32px rgba(17,17,19,.28); transition: transform .35s var(--ease-out), opacity .25s var(--ease-out); z-index: 20; pointer-events: none; }
  .toast.show { transform: translate(-50%, 0); opacity: 1; }
  .nav-balance { font-size: 15px; font-weight: 600; padding: 0 16px; height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--card); }

  @media (max-width: 760px) {
    .facts { grid-template-columns: 1fr 1fr; }
    .card { padding: 22px; border-radius: 28px; }
    .page-head h1 { font-size: 32px; }
    .steps-list li { grid-template-columns: 44px 1fr; }
    .steps-list li .btn { grid-column: 1 / -1; width: 100%; }
    .nav-balance { display: none; }
    .msg { max-width: 92%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .spinner { animation-duration: 2s; }
    .toast { transition: opacity .2s linear; transform: translate(-50%, 0); }
  }
  .app-tabs { display: none; }
  @media (max-width: 960px) { .app-tabs { display: grid; grid-template-columns: repeat(3, 1fr); } }
  .page { grid-template-columns: minmax(0, 1fr); }
  .card, .card > *, .item-body { min-width: 0; }
  .steps-list li { grid-template-columns: 44px minmax(0, 1fr) auto; }
  @media (max-width: 760px) {
    .steps-list li { grid-template-columns: 44px minmax(0, 1fr); }
    .card-head .seg { width: 100%; }
    .card-head .seg button { flex: 1; justify-content: center; }
  }
  /* Анимации (site/motion.js) */
  .motion-intro .trial { visibility: hidden; }
  .sum .big, #bSum { font-variant-numeric: tabular-nums; }
  /* Маска строк заголовка не режет выносные элементы букв. */
  .intro-line-mask { padding-bottom: .14em; margin-bottom: -.14em; }
