/* Nurai — nurai.com.kg. Цвета — только токены из tokens.css (пакет 07.11.2026), шрифты — fonts/fonts.css.
   Алиасы ниже не вводят новых цветов, а выбирают токен по теме. */

/* ── палитра приложения v2 «петроль» (tokens-v2.css, 07.11.2026) — значения без изменений ── */
:root {
  --primary: #0c7189; --primary-dark: #095a6d; --primary-soft: #e3f1f4;
  --bg-chat: #f6f8f7; --bg-sidebar: #eff2f1; --bg-card: #ffffff; --bg-input: #eff2f1;
  --bubble-sent: #e9eeed; --bubble-recv: #f6f8f7; --border: #dde3e1; --divider: #e7ecea;
  --text-primary: #121816; --text-secondary: #3e4845; --text-tertiary: #5f6a67; --text-on-primary: #ffffff;
  --accent-green: #14532d; --success-dot: #2e9e57; --success-bg: #e8f4ec;
  --warn: #8c5200; --warning-dot: #de9a1c; --warning-bg: #fcf2df;
  --danger: #b02a2a; --danger-dot: #e04b4b; --error-bg: #fcebeb;
  --info-bg: #e3f1f4; --muted-bg: #edf1f0;
  --radius-control: 8px; --radius-card: 12px; --radius-composer: 22px;
  --shadow-card: 0 1px 2px rgba(18, 24, 22, 0.05);
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}
:root[data-theme="dark"] {
  --primary: #43abbf; --primary-dark: #6cc0d0; --primary-soft: rgba(67, 171, 191, 0.15);
  --bg-chat: #0f1414; --bg-sidebar: #0b0f0f; --bg-card: #161d1d; --bg-input: #1e2626;
  --bubble-sent: #222b2b; --bubble-recv: #0f1414; --border: #2a3434; --divider: #222b2b;
  --text-primary: #e9efee; --text-secondary: #b1bdbb; --text-tertiary: #889593; --text-on-primary: #062027;
  --accent-green: #7be8a9; --success-dot: #2fb872; --success-bg: rgba(47, 184, 114, 0.14);
  --warn: #f2b84e; --warning-dot: #e39b17; --warning-bg: rgba(227, 155, 23, 0.14);
  --danger: #ff8a85; --danger-dot: #e5484d; --error-bg: rgba(229, 72, 77, 0.14);
  --info-bg: rgba(67, 171, 191, 0.12); --muted-bg: #1e2626;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ── токены сайта (site-tokens.css) ── */
:root {
  --site-bg: var(--bg-chat);
  --site-section-alt: var(--bg-sidebar);
  --site-card: var(--bg-card);
  --site-border: var(--border);
  --site-text: var(--text-primary); --site-text-2: var(--text-secondary); --site-text-3: var(--text-tertiary);
  --site-action: var(--primary); --site-action-hover: var(--primary-dark); --site-action-soft: var(--primary-soft);
  --site-on-action: var(--text-on-primary);
  --site-focus-ring: 0 0 0 3px rgba(12, 113, 137, 0.35);
  --band-bg: #0f1414; --band-card: #161d1d; --band-border: #2a3434;
  --band-text: #e9efee; --band-text-2: #b1bdbb; --band-action: #43abbf; --band-on-action: #062027;
  --site-ok-text: var(--accent-green); --site-ok-bg: var(--success-bg);
  --site-err-text: var(--danger); --site-err-bg: var(--error-bg);
  --site-radius-control: var(--radius-control); --site-radius-card: var(--radius-card); --site-radius-pill: 999px;
  --site-font: var(--font-sans); --site-font-mono: var(--font-mono);
  --logo-bg: #0c7189; --logo-fg: #ffffff;
  color-scheme: light;
}
:root[data-theme="dark"] {
  /* тёмная тема сайта — значения тёмной темы приложения; полоса темнее фона страницы */
  --site-focus-ring: 0 0 0 3px rgba(67, 171, 191, 0.45);
  --band-bg: #0b0f0f;
  --logo-bg: #43abbf; --logo-fg: #062027;
  color-scheme: dark;
}

/* ── шкала и сетка сайта; короткие имена, которыми пользуется вёрстка ниже ── */
:root {
  --fs-display: clamp(30px, 3.4vw, 50px); --fs-h2: clamp(28px, 3.2vw, 40px); --fs-h3: 18px;
  --fs-body: 16px; --fs-small: 14px; --fs-micro: 12px;
  --lh-tight: 1.1; --lh-head: 1.2; --lh-body: 1.6;
  --page-max: 1200px; --gutter: clamp(16px, 4vw, 40px); --section-y: clamp(48px, 6vw, 88px);
  --bg-page: var(--site-bg);
  --accent-text: var(--site-action);       /* ссылки и контурные кнопки: 5,27 : 1 светлая, 6,91 : 1 тёмная */
  --btn-strong: var(--site-action-hover);
  --btn-ring: transparent;
  --band-muted: var(--band-text-2);
  --band-line: var(--band-border);
  --shadow-product: var(--shadow-card);    /* «парящих» теней нет: окна продукта — рамка + тень карточки */
}

/* ── база ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg-page); color: var(--text-primary); font: 400 var(--fs-body)/var(--lh-body) var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; hyphens: manual; }
p { margin: 0; }
a { color: var(--accent-text); }
a:hover { color: var(--primary-dark); }
:root[data-theme="dark"] a:hover { color: var(--text-primary); }
:focus-visible { outline: 1px solid var(--site-action); outline-offset: 1px; box-shadow: var(--site-focus-ring); }
button { font: inherit; color: inherit; }
svg { flex-shrink: 0; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nw { white-space: nowrap; }
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-off { display: none !important; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-control); font: 600 16px/1 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn--primary { background: var(--primary); border-color: var(--primary); color: var(--text-on-primary); }
.btn--primary:hover { background: var(--btn-strong); border-color: var(--btn-strong); box-shadow: inset 0 0 0 2px var(--btn-ring); color: var(--text-on-primary); }
.btn--primary:active { transform: translateY(1px); background: var(--btn-strong); }
.btn--ghost { background: var(--bg-card); border-color: var(--border); color: var(--text-primary); }
.btn--ghost:hover { background: var(--bg-input); border-color: var(--text-tertiary); color: var(--text-primary); }
.btn--ghost:active, .btn--ghost[aria-pressed="true"] { background: var(--bg-input); border-color: var(--primary-dark); }
.btn--line { background: var(--bg-card); border-color: var(--accent-text); color: var(--accent-text); }
.btn--line:hover { background: var(--primary-soft); color: var(--accent-text); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--bg-input); border-color: var(--border); color: var(--text-tertiary); cursor: not-allowed; box-shadow: none; transform: none; }
.btn--primary.is-busy { background: var(--btn-strong); border-color: var(--btn-strong); box-shadow: inset 0 0 0 2px var(--btn-ring); color: var(--text-on-primary); cursor: progress; }
.btn--block { display: flex; width: 100%; }

/* ── шапка ── */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--site-bg); border-bottom: 1px solid transparent; }
.hdr.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-card); }
.hdr__in { height: 64px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text-primary); text-decoration: none; }
.logo svg { width: 32px; height: 32px; }
.logo b { display: block; font-size: 17px; line-height: 1.15; }
.logo small { display: block; font-size: 12px; line-height: 1.15; color: var(--text-tertiary); }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--text-secondary); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--site-action); }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hdr__tel { font-size: 14px; font-weight: 500; color: var(--text-primary); text-decoration: none; margin-right: 4px; }
.hdr__tel:hover { color: var(--site-action); }
.desk__tabs { display: none; }
.lang { display: flex; padding: 2px; border: 1px solid var(--border); border-radius: var(--radius-control); }
.lang a { min-width: 40px; height: 30px; display: grid; place-items: center; padding: 0 8px; border-radius: 6px; color: var(--text-secondary); font-size: 13px; font-weight: 600; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--primary-soft); color: var(--text-primary); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--bg-card); color: var(--text-secondary); cursor: pointer; }
.icon-btn:hover { background: var(--bg-input); color: var(--text-primary); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.burger { display: none; width: 44px; height: 44px; }
.burger .i-x { display: none; }
.burger[aria-expanded="true"] .i-x { display: block; }
.burger[aria-expanded="true"] .i-menu { display: none; }
.mmenu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-product); padding: 8px var(--gutter) 20px; }
.mmenu a.mm-link { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--border); color: var(--text-primary); font-size: 18px; font-weight: 600; text-decoration: none; }
.mmenu__tools { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.mmenu__tools .lang a { height: 40px; min-width: 52px; font-size: 15px; }
.mmenu__tools .icon-btn { width: 46px; height: 46px; }
.mmenu .btn { margin-top: 16px; }

/* ── окно продукта ── */
.win { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.win--hero { box-shadow: var(--shadow-product); }
.win--flat { box-shadow: var(--shadow-card); }
.win__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.win__bar h3 { font-size: 14px; font-weight: 600; line-height: 1.3; }
.win__acts { display: flex; align-items: center; gap: 8px; }
.wbtn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--bg-card); color: var(--text-primary); font: 600 13px/1.2 var(--font-sans); white-space: nowrap; }
.wbtn--p { background: var(--primary); border-color: var(--primary); color: var(--text-on-primary); }
.wbtn--sm { height: auto; min-height: 28px; padding: 4px 9px; font-size: 12px; white-space: normal; text-align: left; }
.wbtn.is-pressed { background: var(--bg-input); border-color: var(--primary-dark); }
.wx { width: 28px; height: 28px; display: grid; place-items: center; color: var(--text-tertiary); }
.wx svg { width: 16px; height: 16px; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.st::before { flex: 0 0 auto; font-weight: 700; line-height: 1; }
.st { padding: 2px 8px 2px 6px; border-radius: 999px; line-height: 1.4; }
.st--ok { background: var(--success-bg); } .st--wn { background: var(--warning-bg); }
.st--wrap { border-radius: 6px; }
.tbl tr.need .st--wn { background: var(--bg-card); }
.brow--need .st--wn, .mneed .st--wn { background: var(--bg-card); }
.st--ok { color: var(--accent-green); } .st--ok::before { content: "✓"; }
.st--wn { color: var(--warn); } .st--wn::before { content: "!"; width: 8px; text-align: center; }
.st--wrap { white-space: normal; align-items: flex-start; } .st--wrap::before { margin-top: 2px; }

.doc { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--border); }
.doc:last-of-type { border-bottom: 0; }
.doc .chev { width: 14px; height: 14px; color: var(--text-tertiary); }
.doc b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.doc .meta { display: block; font-size: 12px; line-height: 1.4; color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc .sum { min-width: 92px; font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; }
.doc--open { border-bottom: 0; }
.doc-b { padding: 0 16px 12px 46px; }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 2px 12px; margin: 0 0 8px; font-size: 13px; line-height: 1.5; }
.kv dt { color: var(--text-tertiary); } .kv dd { margin: 0; }
.kv .st { margin-left: 6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.45; }
.tbl th { text-align: left; font-weight: 500; color: var(--text-tertiary); padding: 6px 7px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl td { padding: 7px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl .r { text-align: right; white-space: nowrap; }
.tbl .dash { color: var(--text-secondary); }
.tbl .what { padding-left: 12px; }
.tbl .what small { display: block; font-size: 12px; color: var(--text-secondary); }
.tbl tr.need td { background: var(--warning-bg); border-bottom: 0; }
.tbl tr.need td:first-child { padding-left: 6px; }
.tbl .wbtn--sm { margin-top: 6px; }
.doc-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--bg-input); border-top: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); }

/* упрощённое окно ЭСФ (телефон) */
.esf-m { display: none; }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mrow b { font-size: 15px; font-weight: 600; line-height: 1.35; }
.mrow .sum { font-size: 15px; font-weight: 600; white-space: nowrap; text-align: right; }
.mrow .meta, .mrow .st { grid-column: 1 / -1; }
.mrow .meta { font-size: 12px; line-height: 1.45; color: var(--text-tertiary); }
.mrow .st { font-size: 13px; }
.mrow:nth-last-child(1) { border-bottom: 0; }
.mneed { margin: 0 14px 12px; padding: 10px 12px; border-radius: var(--radius-control); background: var(--warning-bg); }
.mneed b { display: block; font-size: 14px; font-weight: 600; }
.mneed .vals { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 12px; line-height: 1.6; color: var(--text-secondary); }
.mneed .vals span { white-space: nowrap; }
.mneed .vals i { font-style: normal; font-family: var(--font-sans); }
.mneed .st { margin-top: 6px; font-size: 13px; }
.mneed .wbtn { margin-top: 8px; min-height: 36px; height: auto; padding: 6px 12px; white-space: normal; text-align: left; }

/* выписка */
.bnote { margin: 0; padding: 9px 16px; border-bottom: 1px solid var(--border); font-size: 12px; line-height: 1.4; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bnote b { color: var(--text-primary); font-weight: 600; }
.brow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--border); align-items: start; line-height: 1.4; }
.brow .d { font-size: 12px; color: var(--text-secondary); padding-top: 2px; white-space: nowrap; }
.brow b { display: block; font-size: 13px; font-weight: 600; }
.brow small { display: block; font-size: 12px; color: var(--text-secondary); }
.brow .a { text-align: right; }
.brow .a .num { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; }
.brow .in { color: var(--text-primary); }
.brow--need { background: var(--warning-bg); border-bottom: 0; }
.brow__acts { grid-column: 2 / span 2; display: flex; flex-wrap: wrap; gap: 6px; }
.brow__acts .wbtn { height: 28px; padding: 0 9px; font-size: 12px; }
.bfoot { display: flex; justify-content: flex-end; padding: 10px 16px; background: var(--bg-input); border-top: 1px solid var(--border); }

/* чат-карточка */
.chat { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.me { align-self: flex-end; max-width: 86%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--bubble-sent); color: var(--text-primary); font-size: 15px; line-height: 1.45; }
.bot { display: flex; gap: 10px; align-items: flex-start; }
.av { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 7px; background: var(--primary); color: var(--text-on-primary); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.card { flex: 1; min-width: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px; display: flex; flex-direction: column; gap: 12px; color: var(--text-primary); }
.card__t { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card__k { font: 600 12px/1.4 var(--font-mono); letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-secondary); }
.card__t b { display: block; font-size: 18px; line-height: 1.3; }
.pill::before { content: "✓"; margin-right: 4px; font-weight: 700; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--success-bg); color: var(--accent-green); font-size: 12px; font-weight: 600; white-space: nowrap; }
.amt { background: var(--bg-input); border-radius: var(--radius-control); padding: 10px 12px; }
.amt small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-secondary); }
.amt div { font-size: 26px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.amt i { font-style: normal; margin-left: 6px; font-size: 13px; color: var(--text-tertiary); }
.f4 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 16px; font-size: 14px; line-height: 1.45; }
.f4 small { display: block; font-size: 12px; color: var(--text-tertiary); }
.f4 em { font-style: normal; color: var(--text-tertiary); }
.card__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.card__acts .wbtn { height: 34px; padding: 0 14px; font-size: 14px; }
.reply { display: flex; gap: 8px; align-items: flex-start; margin-left: 38px; padding: 10px 12px; border-radius: var(--radius-control); font-size: 14px; font-weight: 500; line-height: 1.45; }
.reply svg { width: 16px; height: 16px; margin-top: 2px; }
.reply--ok { background: var(--success-bg); color: var(--accent-green); }
.reply--cancel { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); font-size: 15px; }
.reply--cancel svg { color: var(--text-secondary); }

/* ── первый экран ── */
.hero { padding: 32px 0 56px; }
.hero__label { padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--text-primary); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: var(--fs-display); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.hero__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 16px; align-items: start; }
.hero__sub { grid-column: span 6; font-size: 18px; line-height: 1.55; color: var(--text-secondary); }
.hero__cta { grid-column: span 6; justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero__btns { display: flex; gap: 12px; }
.hero__btns .btn--ghost .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hero__btns .vid-t { display: inline-flex; align-items: center; gap: 8px; }
.hero__dur { color: var(--text-secondary); font-weight: 500; }
.hero__login { font-size: 14px; color: var(--text-secondary); }
.hero__login a { font-weight: 600; }
.trust { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 14px; line-height: 1.5; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust .ico { width: 16px; height: 16px; color: var(--text-secondary); }
.desk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 24px; align-items: start; }
.desk__esf { grid-column: span 8; min-width: 0; }
.desk__bank { grid-column: span 4; min-width: 0; }

/* ── секции ── */
.sec { padding: var(--section-y) 0; }
.sec--card { background: var(--site-section-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec--plain { background: var(--site-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec--line { border-top: 1px solid var(--border); }
.h2 { font-size: var(--fs-h2); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.lead { margin-top: 12px; max-width: 680px; font-size: 18px; line-height: 1.55; color: var(--text-secondary); }
.rule { border-top: 1px solid var(--text-primary); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }

.pilot { background: var(--bg-card); border-top: 1px solid var(--border); }
.pilot .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; padding-top: 36px; padding-bottom: 36px; }
.pilot p { font-size: 24px; line-height: 1.4; font-weight: 500; }
.pilot .big { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.pilot small { margin-left: auto; font-size: 14px; color: var(--text-tertiary); }

.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; margin-top: 48px; }
.cols3 > div { display: flex; flex-direction: column; padding-top: 24px; }
.cols3 h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.cols3 p { margin-top: 10px; color: var(--text-secondary); }
.cols3 .tag { margin-top: auto; padding-top: 20px; font: 13px/1.5 var(--font-mono); color: var(--text-tertiary); }

.sec--steps { padding: 56px 0; }
.steps-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 40px; }
.steps-h p { font-size: 15px; color: var(--text-secondary); }
.steps { list-style: none; margin: 32px 0 0; padding: 20px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: start; background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius-card); }
.steps .n { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--text-primary); color: var(--text-primary); display: grid; place-items: center; font: 600 15px var(--font-mono); }
.steps .h { display: flex; align-items: center; gap: 12px; }
.steps h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.steps p { margin: 6px 0 0 44px; line-height: 1.5; color: var(--text-secondary); }
.steps .arr { display: grid; place-items: center; height: 32px; color: var(--text-tertiary); }
.steps .arr svg { width: 20px; height: 20px; }

.talk__txt { grid-column: span 5; }
.chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chip { min-height: 40px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-primary); font: 500 15px/1.4 var(--font-sans); text-align: left; cursor: pointer; }
.chip:hover { background: var(--bg-input); }
.chip[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); color: var(--text-primary); font-weight: 600; }
.talk__win { grid-column: 7 / span 6; }

.feat__h { grid-column: span 4; }
.feat { grid-column: 5 / span 8; width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; border-top: 1px solid var(--text-primary); }
.feat th { width: 260px; text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--border); font-weight: 700; }
.feat th span { display: flex; align-items: center; gap: 10px; }
.feat th .ico { width: 20px; height: 20px; color: var(--text-secondary); }
.feat td { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); }

.firms { align-items: center; }
.firms__txt { grid-column: span 6; }
.firms__txt h2 { white-space: nowrap; }
.list { list-style: none; margin: 28px 0 0; padding: 0; font-size: 18px; line-height: 1.5; }
.list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.note { margin-top: 16px; font-size: 15px; color: var(--text-secondary); }
.scheme { grid-column: 7 / span 6; display: flex; align-items: center; padding-left: 24px; }
.scheme__root { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--text-primary); border-radius: var(--radius-card); font-size: 17px; font-weight: 700; }
.scheme__root svg { width: 28px; height: 28px; }
.scheme__l { flex: 0 0 32px; height: 1px; background: var(--text-primary); }
.scheme__list { flex: 1; min-width: 0; border-left: 1px solid var(--text-primary); display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.scheme__list > div { display: flex; align-items: center; }
.scheme__list > div::before { content: ""; flex: 0 0 24px; height: 1px; background: var(--text-primary); }
.scheme__db { flex: 1; min-width: 0; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-control); }
.scheme__db b { display: block; font-size: 15px; font-weight: 600; }
.scheme__db span { font-size: 13px; color: var(--text-tertiary); }

.safe { background: var(--band-bg); color: var(--band-text); border: 1px solid var(--band-line); border-radius: var(--radius-card); padding: 44px; }
.safe h2 { color: var(--band-text); }
.safe__txt { grid-column: span 6; }
.safe__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--band-line); font-size: 17px; line-height: 1.55; color: var(--band-muted); }
.safe__list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--band-line); }
.safe__list .ico { width: 20px; height: 20px; margin-top: 3px; }
.safe__win { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--bg-page); color: var(--text-primary); border: 1px solid var(--border); border-radius: var(--radius-card); }
.safe__win .card__acts { flex-wrap: nowrap; }

.tariffs { margin-top: 40px; width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); font-size: 16px; line-height: 1.5; table-layout: fixed; }
.tariffs th, .tariffs td { padding: 16px 24px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-weight: 400; }
.tariffs thead th { padding: 20px 24px; font-size: 20px; font-weight: 700; }
.tariffs tbody th { width: 200px; padding-left: 20px; color: var(--text-secondary); font-size: 15px; }
.tariffs thead td { width: 200px; }
.tariffs tr:last-child > * { border-bottom: 0; }
.tariffs .hl { border-left: 2px solid var(--primary); border-right: 2px solid var(--primary); border-bottom: 0; box-shadow: inset 0 -1px 0 var(--border); } /* TASK-444: одна рамка колонки; разделитель строк — тенью, без стыка */
.tariffs thead .hl { border-top: 2px solid var(--primary); border-radius: var(--radius-card) var(--radius-card) 0 0; }
.tariffs tbody tr:last-child .hl { border-bottom: 2px solid var(--primary); border-radius: 0 0 var(--radius-card) var(--radius-card); box-shadow: none; }
.tariffs .price { font-size: 24px; font-weight: 600; white-space: nowrap; }
.tariffs .row-btn > * { padding-top: 4px; padding-bottom: 24px; }
.common { margin: 16px 0 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-card); font-size: 16px; line-height: 1.5; }
.common dt { padding: 14px 20px; color: var(--text-secondary); font-size: 15px; border-bottom: 1px solid var(--border); }
.common dd { margin: 0; padding: 14px 24px; border-bottom: 1px solid var(--border); }
.common dt:last-of-type, .common dd:last-of-type { border-bottom: 0; }
.tariffs-m { display: none; }

.faq__h { grid-column: span 4; }
.faq { grid-column: 5 / span 8; border-top: 1px solid var(--text-primary); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 18px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 20px; height: 20px; color: var(--text-tertiary); }
.faq summary:hover .ico { color: var(--site-action); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--text-secondary); }

.req { background: var(--band-bg); color: var(--band-text); }
.req h2 { color: var(--band-text); }
.req__txt { grid-column: span 5; }
.req__txt .lead { color: var(--band-muted); }
.contacts { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--band-line); font-size: 20px; }
.contacts li { padding: 14px 0; border-bottom: 1px solid var(--band-line); }
.contacts a { color: var(--band-text); text-decoration: none; }
.contacts a:hover { text-decoration: underline; color: var(--band-text); }
.btn--band { margin-top: 24px; background: var(--band-action); border-color: var(--band-action); color: var(--band-on-action); }
.btn--band:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--band-on-action); }
:root:not([data-theme="dark"]) .btn--band:hover { background: #6cc0d0; border-color: #6cc0d0; }

.form { grid-column: 7 / span 6; position: relative; background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form__2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--bg-input); color: var(--text-primary); font: 400 16px var(--font-sans); }
.field input[type="tel"] { font-family: var(--font-mono); }
.field textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-tertiary); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--text-tertiary); }
.field__err { display: none; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--danger); }
.field__err::before { content: "×"; font-size: 16px; font-weight: 700; line-height: 1; }
.field.is-invalid { color: var(--danger); }
.field.is-invalid input { border-color: var(--danger); background: var(--error-bg); }
.field.is-invalid .field__err { display: flex; }
.segf { margin: 0; padding: 0; border: 0; min-width: 0; }
.segf legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--bg-input); }
.seg button { height: 42px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--text-primary); font: 600 16px var(--font-sans); cursor: pointer; }
.seg button:hover { background: var(--border); }
.seg button[aria-pressed="true"] { background: var(--bg-card); border-color: var(--primary-dark); color: var(--accent-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text-secondary); }
.consent input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--text-tertiary); border-radius: 4px; background: var(--bg-card); display: inline-grid; place-items: center; cursor: pointer; }
.consent.is-invalid { color: var(--danger); }
.consent.is-invalid input { border-color: var(--danger); background: var(--error-bg); }
.consent input:checked { background: var(--primary); border-color: var(--primary); }
.consent input:checked::after { content: ""; width: 5px; height: 10px; border: solid var(--text-on-primary); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.form .btn--primary[type="submit"] { height: 52px; font-size: 17px; }
.spin { width: 18px; height: 18px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--radius-control); font-size: 16px; font-weight: 600; line-height: 1.4; }
.alert--ok { background: var(--success-bg); color: var(--accent-green); }
.alert--ok .ico { width: 20px; height: 20px; margin-top: 1px; }
.alert--err { background: var(--error-bg); color: var(--danger); }
.alert--err::before { content: "×"; flex: 0 0 auto; font-size: 18px; font-weight: 700; line-height: 1.2; }
.form__done, .form__neterr { display: none; flex-direction: column; gap: 14px; }
.form[data-state="success"] > :not(.form__done) { display: none; }
.form[data-state="success"] .form__done { display: flex; }
.form[data-state="neterror"] .form__neterr { display: flex; }

.foot { border-top: 1px solid var(--border); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--text-secondary); }
.foot a { color: var(--text-secondary); }
.foot a:hover { color: var(--text-primary); }
.foot .push { margin-left: auto; }

/* ── ноутбук 1024–1279 ── */
@media (max-width: 1180px) {
  .hdr__tel { display: none; }
  .nav { gap: 20px; }
  .hdr__in { gap: 24px; }
  .logo small { display: none; }
}

/* ── планшет и телефон ── */
@media (max-width: 960px) {
  .nav, .hdr__tools .lang, .hdr__tools .theme-btn, .hdr__tools .login { display: none; }
  .burger { display: grid; }
  .hdr__in { height: 56px; gap: 8px; }
  .hdr__tools { gap: 8px; }
  .hdr__tools .btn--sm { padding: 0 12px; font-size: 14px; }
  .logo svg { width: 28px; height: 28px; }
  .logo small { display: none; }

  .hero { padding: 20px 0 32px; }
  .hero__label { margin-bottom: 12px; padding-bottom: 8px; }
  .hero h1 { font-size: 30px; line-height: 1.15; letter-spacing: -0.015em; }
  .hero__body { display: flex; flex-direction: column; }
  .hero__row { display: flex; flex-direction: column; align-items: stretch; margin-top: 12px; }
  .hero__sub { font-size: 16px; }
  .hero__cta { justify-self: stretch; align-items: stretch; margin-top: 16px; gap: 10px; }
  .hero__btns { flex-direction: column; gap: 8px; }
  .hero__btns .btn { width: 100%; white-space: normal; text-align: left; height: auto; min-height: 48px; padding: 8px 16px; font-size: 17px; line-height: 1.35; }
  .hero__btns .vid-t { align-items: flex-start; }
  .hero__btns .vid-t .ico { margin-top: 3px; }
  .hero__login { text-align: center; font-size: 16px; }
  .trust { order: 5; flex-direction: column; gap: 6px; margin-top: 16px; }
  .trust li { align-items: flex-start; }
  .trust .ico { margin-top: 2px; }
  .desk { order: 4; display: block; margin-top: 20px; }
  .desk__bank { display: none; }
  .desk__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 12px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-control); }
  .desk__tabs button { min-height: 44px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--text-secondary); font: 600 15px var(--font-sans); cursor: pointer; }
  .desk__tabs button[aria-selected="true"] { background: var(--bg-card); border-color: var(--border); color: var(--text-primary); box-shadow: var(--shadow-card); }
  .desk.is-bank .desk__esf { display: none; }
  .desk.is-bank .desk__bank { display: block; }
  .esf-full { display: none; }
  .esf-m { display: block; }

  .pilot .wrap { padding-top: 24px; padding-bottom: 24px; display: block; }
  .pilot p { font-size: 19px; line-height: 1.45; }
  .pilot .big { font-size: 30px; }
  .pilot small { display: block; margin: 8px 0 0; }
  .lead { font-size: 17px; margin-top: 10px; }
  .cols3 { grid-template-columns: 1fr; margin-top: 28px; }
  .cols3 > div { padding: 20px 0; border-bottom: 1px solid var(--border); }
  .cols3 > div:last-child { border-bottom: 0; }
  .cols3 h3 { font-size: 19px; }
  .cols3 .tag { padding-top: 10px; }
  .sec--steps { padding: 40px 0; }
  .steps { display: flex; flex-direction: column; gap: 18px; padding: 0; background: none; border: 0; margin-top: 24px; }
  .steps .arr { display: none; }
  .steps p { margin-top: 4px; }
  .g12 { display: block; }
  .chips { flex-direction: row; flex-wrap: wrap; margin-top: 20px; }
  .chip { min-height: 44px; font-size: 16px; line-height: 1.35; }
  .talk__win { margin-top: 24px; }
  .chat { padding: 14px; gap: 12px; }
  .me { max-width: 92%; }
  .bot .av { display: none; }
  .card { padding: 14px; }
  .card__t { flex-wrap: wrap; }
  .amt div { font-size: 24px; }
  .reply { margin-left: 0; }
  .feat { display: block; margin-top: 24px; }
  .feat tbody, .feat tr { display: block; }
  .feat tr { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .feat th, .feat td { display: block; width: auto; padding: 0; border: 0; }
  .feat td { margin: 4px 0 0 30px; }
  .firms__txt h2 { white-space: normal; }
  .list { font-size: 17px; margin-top: 20px; }
  .list li { padding: 12px 0; }
  .note { font-size: 16px; }
  .scheme { display: block; margin-top: 24px; padding-left: 0; }
  .scheme__root { display: inline-flex; padding: 10px 14px; font-size: 16px; }
  .scheme__root svg { width: 24px; height: 24px; }
  .scheme__l { display: none; }
  .scheme__list { margin-left: 26px; gap: 10px; padding-top: 12px; }
  .scheme__list > div::before { flex-basis: 18px; }
  .scheme__db { padding: 10px 14px; }
  .scheme__db span { font-size: 12px; }
  .safe { padding: 24px 18px; }
  .safe__list { font-size: 16px; margin-top: 20px; }
  .safe__list li { padding: 12px 0; gap: 10px; }
  .safe__list .ico { width: 18px; height: 18px; }
  .safe__win { margin-top: 20px; padding: 12px; gap: 10px; }
  .safe__win .card__acts { flex-wrap: wrap; }
  .tariffs, .common--d { display: none; }
  .tariffs-m { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
  .plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 18px; }
  .plan--hl { border: 2px solid var(--primary); padding: 17px; }
  .plan h3 { font-size: 20px; font-weight: 700; }
  .plan dl { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 8px 12px; margin: 12px 0 16px; line-height: 1.45; }
  .plan dt { color: var(--text-secondary); }
  .plan dd { margin: 0; }
  .plan .price { font-size: 20px; font-weight: 600; white-space: nowrap; }
  .common { display: block; padding: 16px 18px; margin: 0; }
  .common dt, .common dd { padding: 0; border: 0; }
  .common dt { font-size: 16px; }
  .common dd { margin: 2px 0 12px; }
  .common dd:last-of-type { margin-bottom: 0; }
  .faq { margin-top: 20px; }
  .faq summary { min-height: 56px; padding: 12px 0; font-size: 17px; }
  .faq details p { padding: 0 0 16px; }
  .contacts { font-size: 18px; margin-top: 24px; }
  .contacts li { padding: 12px 0; }
  .req .btn--band { display: flex; width: 100%; height: 52px; margin-top: 20px; }
  .req__txt { display: contents; }
  .req .g12 { display: flex; flex-direction: column; }
  .req .h2 { order: 1; } .req .lead { order: 2; } .form { order: 3; margin-top: 24px; padding: 20px 16px; gap: 16px; } .contacts { order: 4; } .req .btn--band { order: 5; }
  .form__2 { grid-template-columns: 1fr; }
  .field { font-size: 16px; }
  .field input { height: 52px; }
  .segf legend { font-size: 16px; }
  .seg button { height: 44px; }
  .consent { font-size: 16px; }
  .consent input { flex-basis: 22px; width: 22px; height: 22px; }
  .foot .wrap { gap: 6px 16px; padding-top: 20px; padding-bottom: 28px; }
  .foot .push { margin-left: 0; }
}
@media (min-width: 961px) { .mmenu { display: none !important; } }

/* TASK-444: страница политики /politika/ — текст в 7 колонках из 12 */
.pol { grid-column: 1 / span 7; }
.pol h1 { margin-bottom: 24px; }
.pol h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.pol p, .pol ul { margin: 12px 0 0; }
.pol ul { padding-left: 22px; }
.pol li + li { margin-top: 6px; }
.pol__tbl { margin-top: 16px; overflow-x: auto; }
.pol table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.pol th, .pol td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.pol th { font-weight: 700; border-bottom: 1px solid var(--text-primary); }
@media (max-width: 1023px) { .pol { grid-column: 1 / -1; } .pol table { min-width: 560px; } }
/* цены в сомах — моноширинным целиком и без переноса */
.tariffs td:has(.price), .plan dd:has(.price) { font-family: var(--font-mono); white-space: nowrap; }
/* шапки и подписи окон продукта — фон вложенных блоков приложения */
.steps { background: var(--bg-card); }
