@font-face{font-family:"Geologica";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/geologica-latin.b14f1edee9.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}
@font-face{font-family:"Geologica";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/geologica-cyrillic.a7dc739efa.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Geologica";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/geologica-cyrillic-ext.73249ccb96.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/onest-latin.052df74533.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}
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/onest-cyrillic.68e5e01d62.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/onest-cyrillic-ext.268f03691b.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
/* Ақша Ғо! — дизайн-система.
   Мир: «чек до зарплаты». Глубокий чернильно-синий, тёплая бумага и один
   солнечный акцент цвета монеты. Цифры — главные герои: крупные, табличные.
   Display — Geologica (тяжёлые начертания), текст — Onest. Оба шрифта
   проверены на Ә Ғ Қ Ң Ө Ұ Ү Һ І (fontTools, 13.09.2026); знака ₸ в Onest
   нет — он берётся из системного шрифта. */

:root {
  --ink: #121a2f;
  --ink-2: #1c2742;
  --ink-3: #2a3656;
  --paper: #f7f3ea;
  --paper-2: #efe8d9;
  --card: #ffffff;
  --line: #e3dccb;
  --line-2: #d3c9b4;
  --text: #121a2f;
  --muted: #545d72;
  --sun: #ffc53d;
  --sun-2: #ffb300;
  --sun-soft: #fff1c9;
  --ok: #17784f;
  --ok-soft: #e3f3ea;
  --bad: #b3322b;
  --bad-soft: #fbe7e5;
  --on-ink: #f7f3ea;
  --on-ink-muted: #b6bdcc;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 0 rgb(18 26 47 / 0.04), 0 18px 40px -22px rgb(18 26 47 / 0.28);
  --shadow-lg: 0 30px 70px -30px rgb(8 12 26 / 0.55);
  --display: "Geologica", "Onest", ui-sans-serif, system-ui, sans-serif;
  --body: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 750; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }
.num, .calc output, .calc input, .money { font-variant-numeric: tabular-nums lining-nums; }
:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .hero :focus-visible, .ftr :focus-visible { outline-color: var(--sun); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  --bg: var(--ink); --fg: var(--on-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s;
}
.btn .i { transition: transform .18s ease; }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sun { --bg: var(--sun); --fg: var(--ink); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .12); }
.btn--sun:hover { --bg: var(--sun-2); }
.btn--ink:hover { --bg: var(--ink-3); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.dark .btn--ghost, .hero .btn--ghost { --fg: var(--on-ink); border-color: rgb(247 243 234 / .28); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--sun); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .94rem; }
.btn--wide { width: 100%; }
/* На узком экране длинная подпись не должна распирать сетку (переполнение 12px на 375px). */
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } .lender__card > * { min-width: 0; } }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun-2); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--ink); }
.dark .link, .hero .link { color: var(--on-ink); text-decoration-color: var(--sun); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--sun-2); }
.dark .eyebrow, .hero .eyebrow { color: var(--on-ink-muted); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; }

/* ---------- Верхняя строка и шапка ---------- */
.topline { background: var(--ink); color: var(--on-ink-muted); font-size: .84rem; }
.topline .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topline a { color: var(--on-ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topline a:hover { color: var(--sun); }
.topline__r { display: flex; gap: 18px; align-items: center; }
@media (max-width: 760px) { .topline__l { display: none; } .topline .wrap { justify-content: center; } }

.hdr { position: sticky; top: 0; z-index: 40; background: rgb(247 243 234 / .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.hdr.is-stuck { border-color: var(--line); background: rgb(247 243 234 / .96); }
.hdr__in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo { height: 40px; width: auto; }
.logo__tile { fill: var(--ink); }
.logo__mark { fill: var(--sun); }
.logo__word { fill: var(--ink); }
.logo__bang { fill: var(--sun-2); }
.ftr .logo { height: 46px; }
.ftr .logo__tile { fill: var(--sun); }
.ftr .logo__mark { fill: var(--ink); }
.ftr .logo__word { fill: var(--on-ink); }
.ftr .logo__bang { fill: var(--sun); }
@media (max-width: 380px) { .hdr .logo { height: 34px; } }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a { padding: 10px 11px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid var(--line-2); font-size: .9rem; }
.lang:hover { border-color: var(--ink); }
.hdr__repay { display: none; font-weight: 650; text-decoration: none; padding: 10px 6px; }
.hdr__repay:hover { text-decoration: underline; text-underline-offset: 4px; }
.burger { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); display: grid; place-items: center; cursor: pointer; }
.hdr__act .btn--sun { display: none; }
.mnav { border-top: 1px solid var(--line); padding: 10px 0 18px; }
.mnav a:not(.btn) { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; font-size: 1.05rem; }
.mnav .btn { margin-top: 16px; }
@media (min-width: 560px) { .hdr__act .btn--sun { display: inline-flex; } }
@media (min-width: 1200px) {
  .nav { display: flex; }
  .burger, .mnav { display: none !important; }
}
@media (min-width: 1320px) { .hdr__repay { display: inline-block; } }
.hero .calc .link { color: var(--ink); text-decoration-color: var(--sun-2); }
.lender h2.eyebrow { margin-bottom: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
}
.hero::before { /* солнце-монета */
  content: ""; position: absolute; z-index: -1; width: min(78vw, 820px); aspect-ratio: 1; right: -18%; top: -38%;
  border-radius: 50%; background: radial-gradient(circle at 38% 42%, rgb(255 197 61 / .34), rgb(255 179 0 / .12) 42%, transparent 66%);
}
.hero::after { /* линии скорости «Ғо!» */
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: repeating-linear-gradient(-58deg, transparent 0 46px, rgb(247 243 234 / .035) 46px 48px);
  mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
}
/* Мобильный порядок по ТЗ: заголовок → пояснение → калькулятор → остальное. */
.hero__grid { display: grid; gap: clamp(24px, 4vw, 40px) clamp(28px, 4vw, 56px); grid-template-areas: "copy" "calc" "more"; }
.hero__copy { grid-area: copy; }
.hero__calc { grid-area: calc; }
.hero__more { grid-area: more; }
.hero__more .hero__facts { margin-top: 0; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); grid-template-rows: auto 1fr; grid-template-areas: "copy calc" "more calc"; align-items: start; }
  .hero__copy { align-self: end; }
}
.hero h1 { font-size: clamp(2.7rem, 4.6vw + 1rem, 5.6rem); font-weight: 850; letter-spacing: -0.045em; line-height: .95; margin: 18px 0 20px; }
.hero h1 .bang { color: var(--sun); display: inline-block; transform-origin: 50% 90%; }
.hero h1 small { display: block; margin-top: 16px; font-size: clamp(1.35rem, 1.3vw + 1rem, 2.1rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 650; color: var(--on-ink); max-width: 17ch; }
.hero__lead { font-size: clamp(1.02rem, .3vw + 1rem, 1.18rem); color: var(--on-ink-muted); max-width: 52ch; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgb(247 243 234 / .07); border: 1px solid rgb(247 243 234 / .14); font-size: .93rem; font-weight: 600; }
.hero__facts .i { color: var(--sun); }
.hero__lic { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-size: .92rem; color: var(--on-ink-muted); }
.hero__lic strong { color: var(--on-ink); font-weight: 650; }
.seal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .rise:nth-child(2) { animation-delay: .06s; } .rise:nth-child(3) { animation-delay: .12s; }
  .rise:nth-child(4) { animation-delay: .18s; } .rise:nth-child(5) { animation-delay: .24s; }
  .rise:nth-child(6) { animation-delay: .3s; }
  .hero__calc { animation: rise .8s .16s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 .bang { animation: bang .9s .55s cubic-bezier(.22,1,.36,1) both; }
  /* Только сдвиг, без прозрачности: H1 и калькулятор — LCP, и в фоновой
     вкладке с замороженной анимацией они не должны оставаться невидимыми. */
  @keyframes rise { from { transform: translateY(14px); } }
  @keyframes bang { 0% { transform: rotate(0) scale(1); } 35% { transform: rotate(14deg) scale(1.18); } 100% { transform: rotate(0) scale(1); } }
}

/* ---------- Калькулятор-чек ---------- */
.calc {
  position: relative; background: var(--card); color: var(--text);
  border-radius: var(--radius) var(--radius) 0 0; padding: clamp(20px, 3vw, 30px) clamp(18px, 3vw, 30px) 26px;
  box-shadow: var(--shadow-lg); margin-bottom: 14px;
}
.calc::after { /* зубчатый край чека */
  content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 14px;
  background: linear-gradient(135deg, var(--card) 7px, transparent 0) 0 0 / 14px 14px repeat-x,
              linear-gradient(-135deg, var(--card) 7px, transparent 0) 0 0 / 14px 14px repeat-x;
}
.calc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.calc__head h2 { font-size: 1.45rem; font-weight: 750; }
.calc__badge { font-size: .76rem; font-weight: 700; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: var(--sun-soft); color: #6b4a00; white-space: nowrap; }
.field { margin-top: 14px; }
.field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field label { font-weight: 650; font-size: .95rem; }
.num { display: inline-flex; align-items: baseline; gap: 6px; border-bottom: 2px dashed var(--line-2); padding-bottom: 2px; }
.num:focus-within { border-bottom-color: var(--ink); border-bottom-style: solid; }
.num input { width: 7.2ch; border: 0; background: transparent; padding: 0; text-align: right; font: 800 1.7rem/1.1 var(--display); letter-spacing: -0.03em; outline: none; }
.num input[data-term] { width: 2.4ch; }
.num span { font: 700 1.1rem var(--display); color: var(--muted); }
.num input[aria-invalid="true"] { color: var(--bad); }
.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 4px 0 0; cursor: pointer; --p: 50%; }
.rng::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--ink) var(--p), var(--paper-2) var(--p)); }
.rng::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--ink) var(--p), var(--paper-2) var(--p)); }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); box-shadow: 0 4px 10px rgb(18 26 47 / .25); }
.rng::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); }
.rng:focus-visible { outline: none; }
.rng:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgb(255 179 0 / .45); }
.rng__lim { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: -4px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.presets button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 650; font-size: .9rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.presets button:hover { border-color: var(--ink); }
.presets button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.calc__sum { margin: 20px 0 0; padding: 16px 0 0; border-top: 2px dashed var(--line); display: grid; gap: 8px; }
.calc__sum div { display: flex; justify-content: space-between; gap: 12px; font-size: .97rem; }
.calc__sum dt { color: var(--muted); }
.calc__sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.calc__total { margin-top: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ink); color: var(--on-ink); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc__total span { font-size: .92rem; color: var(--on-ink-muted); }
.calc__total strong { font: 850 clamp(1.6rem, 1.4vw + 1.1rem, 2.1rem)/1 var(--display); letter-spacing: -0.03em; color: var(--sun); font-variant-numeric: tabular-nums; }
.calc .btn { margin-top: 16px; }
.calc__note { margin-top: 12px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.calc__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: .9rem; }
.calc__links button { border: 0; background: none; padding: 6px 0; font-weight: 650; text-decoration: underline; text-decoration-color: var(--sun-2); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.calc__err { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); font-size: .9rem; font-weight: 600; }

dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(94vw, 560px); color: var(--text); background: var(--card); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgb(8 12 26 / .55); backdrop-filter: blur(3px); }
.dlg { padding: 24px; }
.dlg__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.dlg__top h2 { font-size: 1.5rem; }
.x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; flex: none; }
.dlg table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 12px 0; }
.dlg th, .dlg td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.dlg td { font-variant-numeric: tabular-nums; }
.dlg th { font-size: .8rem; color: var(--muted); font-weight: 650; }
.dlg .btn { margin-top: 8px; }

/* ---------- Секции главной ---------- */
.sec { padding: clamp(56px, 8vw, 110px) 0; }
.sec--tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 46px); }
@media (min-width: 900px) { .sec__head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; } }
.sec__head h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.5rem); letter-spacing: -0.035em; }
.sec__head p { color: var(--muted); font-size: 1.07rem; max-width: 56ch; }
.dark { background: var(--ink); color: var(--on-ink); }
.dark .sec__head p { color: var(--on-ink-muted); }
.paper2 { background: var(--paper-2); }

/* кто выдаёт */
.lender { position: relative; margin-top: -1px; }
.lender__card { display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 900px) { .lender__card { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; } }
.lender__seal { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--sun); display: grid; place-items: center; }
.lender__seal .i { width: 30px; height: 30px; }
.lender dl { display: grid; gap: 10px 26px; margin: 0; }
@media (min-width: 640px) { .lender dl { grid-template-columns: repeat(3, auto); } }
.lender dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.lender dd { margin: 2px 0 0; font-weight: 700; }

/* шаги */
.steps { display: grid; gap: 14px; counter-reset: s; padding: 0; margin: 0; list-style: none; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { position: relative; padding: 22px 20px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font: 850 2.4rem/1 var(--display); letter-spacing: -0.04em; color: var(--sun-2); margin-bottom: 18px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.steps p { color: var(--muted); font-size: .95rem; }
.steps li.wait { background: var(--sun-soft); border-color: #f3dc9b; }
.steps li.wait::before { color: var(--ink); }

/* кому подходит */
.fit { display: grid; gap: 16px; }
@media (min-width: 900px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit__col { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.fit__col h3 { font-size: 1.35rem; margin-bottom: 16px; display: flex; gap: 12px; align-items: center; }
.fit__col h3 span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.fit__col--yes h3 span { background: var(--ok-soft); color: var(--ok); }
.fit__col--no h3 span { background: var(--bad-soft); color: var(--bad); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.ticks .i { margin-top: 3px; color: var(--ok); }
.fit__col--no .ticks .i { color: var(--bad); }

/* пример стоимости */
.example { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .example { grid-template-columns: .95fr 1.05fr; gap: 56px; } }
.receipt { position: relative; background: var(--card); border-radius: var(--radius) var(--radius) 0 0; padding: 28px 26px 30px; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 14px; background: linear-gradient(135deg, var(--card) 7px, transparent 0) 0 0 / 14px 14px repeat-x, linear-gradient(-135deg, var(--card) 7px, transparent 0) 0 0 / 14px 14px repeat-x; }
.receipt__title { display: flex; justify-content: space-between; gap: 12px; font: 700 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 2px dashed var(--line); }
.receipt dl { margin: 0; }
.receipt dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 700; text-align: right; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.receipt__total strong { font: 850 2.2rem/1 var(--display); letter-spacing: -0.035em; }
.example__text h2 { font-size: clamp(2rem, 2.4vw + 1rem, 3.2rem); letter-spacing: -0.035em; margin: 14px 0 18px; }
.example__text p + p { margin-top: 14px; }
.example__text p { color: var(--muted); }
.limits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; }
.limits div { padding: 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.limits strong { display: block; font: 850 1.65rem/1 var(--display); letter-spacing: -0.03em; }
.limits span { font-size: .86rem; color: var(--muted); }

/* деньги туда-обратно */
.flow { display: grid; gap: 16px; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
.flow__card { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgb(247 243 234 / .08); }
.flow__card h3 { font-size: 1.5rem; margin: 18px 0 10px; }
.flow__card p { color: var(--on-ink-muted); }
.flow__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--sun); color: var(--ink); display: grid; place-items: center; }
.flow__card .ticks { margin: 18px 0 22px; }
.flow__card .ticks .i { color: var(--sun); }

/* сервисные ссылки */
.tiles { display: grid; gap: 12px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tile { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px; min-height: 84px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .18s, transform .18s, box-shadow .18s; }
.tile:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile__i { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; }
.tile strong { display: block; font-weight: 700; line-height: 1.25; }
.tile small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .88rem; margin-top: 3px; line-height: 1.35; }
.dark .tile small { color: var(--muted); }
.table { overflow-x: auto; }
.tile > .i:last-child { color: var(--muted); }

/* трудности */
.trouble { display: grid; gap: 24px; padding: clamp(26px, 4vw, 48px); border-radius: calc(var(--radius) + 8px); background: var(--sun); color: var(--ink); }
@media (min-width: 960px) { .trouble { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; } }
.trouble h2 { font-size: clamp(1.9rem, 2vw + 1rem, 2.9rem); letter-spacing: -0.035em; margin: 12px 0 14px; }
.trouble .eyebrow { color: #5b4300; }
.trouble .eyebrow::before { background: var(--ink); }
.trouble .tile { background: rgb(255 255 255 / .75); border-color: transparent; }
.trouble .tile:hover { background: #fff; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 1.03rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s; flex: none; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details > p { padding: 0 20px 20px; color: var(--muted); max-width: 72ch; }
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.faq-grid > div > h2 { font-size: clamp(2rem, 2.4vw + 1rem, 3.2rem); letter-spacing: -0.035em; margin: 14px 0 12px; }
.faq-grid > div > p + p { margin-top: 14px; }

/* финальный CTA */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; left: -140px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgb(255 197 61 / .28), transparent 65%); }
.final__in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .final__in { grid-template-columns: 1.3fr auto; } }
.final h2 { font-size: clamp(2.2rem, 3.4vw + 1rem, 4.2rem); letter-spacing: -0.045em; line-height: .98; }
.final h2 em { font-style: normal; color: var(--sun); }
.final__side { display: grid; gap: 10px; justify-items: start; }
.final__side small { color: var(--on-ink-muted); font-size: .86rem; max-width: 34ch; }

/* ---------- Внутренние страницы ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 22px 0 0; margin: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.phead { padding: clamp(22px, 4vw, 44px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.phead h1 { font-size: clamp(2.2rem, 3vw + 1rem, 4rem); letter-spacing: -0.04em; max-width: 20ch; margin-top: 14px; }
.phead__lead { margin-top: 18px; font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); color: var(--muted); max-width: 62ch; }
.phead__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .86rem; color: var(--muted); }
.phead__meta span { display: inline-flex; gap: 6px; align-items: center; }
.pgrid { display: grid; gap: 36px; padding: clamp(28px, 4vw, 52px) 0 clamp(40px, 6vw, 80px); }
@media (min-width: 1040px) { .pgrid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
/* Широкие таблицы (min-width 620px) прокручиваются внутри .table, а не распирают колонку сетки. */
.pgrid > * { min-width: 0; }
.prose { max-width: 74ch; }
.prose section { scroll-margin-top: 96px; }
.prose section + section { margin-top: clamp(30px, 4vw, 46px); }
.prose h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2.05rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--sun-2); transform: rotate(45deg); }
.note { margin-top: 18px; display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--sun-soft); border: 1px solid #f1dfa8; font-size: .97rem; }
.note .i { color: #8a6100; margin-top: 2px; }
.side { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1040px) { .side { position: sticky; top: 96px; } }
.toc { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.toc p { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 0; text-decoration: none; font-size: .94rem; font-weight: 550; line-height: 1.35; }
.toc a:hover { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1039px) { .toc { display: none; } }
.card-ink { padding: 22px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); }
.card-ink h2 { font-size: 1.3rem; margin: 10px 0 8px; }
.card-ink p { color: var(--on-ink-muted); font-size: .94rem; margin-bottom: 16px; }
.card-ink small { display: block; margin-top: 10px; color: var(--on-ink-muted); font-size: .8rem; }
.card-help { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card-help h2 { font-size: 1.15rem; margin-bottom: 8px; }
.card-help p { color: var(--muted); font-size: .93rem; }
.card-help a.tel { display: block; margin: 12px 0 6px; font: 800 1.3rem var(--display); letter-spacing: -0.02em; text-decoration: none; }
.sources { margin-top: clamp(30px, 4vw, 46px); padding-top: 20px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 1rem; font-family: var(--body); letter-spacing: 0; margin-bottom: 10px; }
.sources ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .94rem; }
.sources a { color: var(--ink-3); }
.pfaq { margin-top: clamp(34px, 5vw, 56px); }
.pfaq > h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2.05rem); margin-bottom: 16px; }
.related { padding: clamp(34px, 5vw, 60px) 0; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.5rem; margin-bottom: 18px; }

.strip { margin: 0 0 clamp(40px, 6vw, 70px); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); display: grid; gap: 18px; align-items: center; }
@media (min-width: 860px) { .strip { grid-template-columns: 1fr auto; } }
.strip h2 { font-size: clamp(1.4rem, 1vw + 1rem, 2rem); margin: 8px 0 6px; }
.strip p { color: var(--on-ink-muted); }
.strip__act { display: grid; gap: 8px; justify-items: start; }
.strip__act small { color: var(--on-ink-muted); font-size: .82rem; }

/* реквизиты, контакты, документы */
.req { display: grid; margin: 0; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.req div { display: grid; gap: 4px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.req div:last-child { border-bottom: 0; }
@media (min-width: 720px) { .req div { grid-template-columns: 240px 1fr; gap: 20px; } }
.req dt { color: var(--muted); font-size: .92rem; }
.req dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contacts { display: grid; gap: 12px; margin-bottom: 28px; }
@media (min-width: 720px) { .contacts { grid-template-columns: repeat(2, 1fr); } }
.contact { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.contact:hover { border-color: var(--ink); }
.contact span { color: var(--muted); font-size: .88rem; display: flex; gap: 8px; align-items: center; }
.contact strong { font: 750 1.2rem/1.25 var(--display); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.contact small { color: var(--muted); font-size: .86rem; }
.docs { display: grid; gap: 10px; margin-bottom: 30px; }
.docs details { border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.docs summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; font-weight: 700; min-height: 56px; }
.docs summary::-webkit-details-marker { display: none; }
.docs details > div { padding: 0 18px 18px 56px; color: var(--muted); }
.docs details > div p + p { margin-top: 8px; }

/* помощь и поиск */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.cats button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-weight: 650; cursor: pointer; }
.cats button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.srch { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--card); border: 2px solid var(--line-2); }
.srch:focus-within { border-color: var(--ink); }
.srch input { border: 0; outline: none; background: transparent; min-height: 44px; font-size: 1.02rem; min-width: 0; }
.results { display: grid; gap: 8px; margin-top: 16px; }
.results a { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.results a:hover { border-color: var(--ink); }
.results small { display: block; color: var(--muted); margin-top: 2px; font-size: .9rem; }
.muted { color: var(--muted); }

/* оформление */
.apply { display: grid; gap: 22px; margin-bottom: 36px; }
@media (min-width: 960px) { .apply { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.apply__card { padding: clamp(20px, 3vw, 30px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.apply__card h2 { font-size: 1.5rem; margin: 10px 0 14px; }
.apply__sum dl { margin: 0; display: grid; }
.apply__sum div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.apply__sum dt { color: var(--muted); }
.apply__sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.progress { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .88rem; font-weight: 650; flex-wrap: wrap; }
.progress li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--paper-2); }
.progress li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font-size: .8rem; }
.progress li[aria-current] { background: var(--ink); color: var(--on-ink); }
.progress li[aria-current] span { background: var(--sun); color: var(--ink); }
.status { display: grid; gap: 8px; margin-bottom: 30px; }
.status div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.status span { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.dot--off { background: var(--line-2); }

/* 404 */
.nf { padding: clamp(60px, 10vw, 140px) 0; }
.nf h1 { font-size: clamp(3rem, 7vw + 1rem, 7rem); letter-spacing: -0.05em; line-height: .92; margin: 16px 0 22px; }
.nf h1 span { color: var(--sun-2); }
.nf p { color: var(--muted); max-width: 52ch; font-size: 1.1rem; }

/* ---------- Подвал ---------- */
.ftr { background: var(--ink); color: var(--on-ink); padding: clamp(48px, 7vw, 84px) 0 calc(28px + env(safe-area-inset-bottom)); }
.ftr a { color: var(--on-ink); text-decoration: none; }
.ftr a:hover { color: var(--sun); }
.ftr__top { display: grid; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgb(247 243 234 / .12); }
@media (min-width: 900px) { .ftr__top { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.ftr__slogan { margin-top: 16px; font: 700 clamp(1.3rem, 1vw + 1rem, 1.8rem)/1.15 var(--display); letter-spacing: -0.02em; max-width: 24ch; }
.ftr__contacts { display: grid; gap: 14px; }
@media (min-width: 560px) { .ftr__contacts { grid-template-columns: repeat(2, 1fr); } }
.ftr__contacts div span { display: block; font-size: .82rem; color: var(--on-ink-muted); }
.ftr__contacts div a { font: 750 1.15rem/1.3 var(--display); letter-spacing: -0.01em; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding: 36px 0; }
@media (min-width: 900px) { .ftr__cols { grid-template-columns: repeat(4, 1fr); } }
.ftr__cols h2 { font: 700 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 12px; }
.ftr__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ftr__cols a { display: inline-block; padding: 5px 0; font-size: .95rem; }
.ftr__warn { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 18px 20px; border-radius: var(--radius-sm); background: rgb(247 243 234 / .06); font-size: .92rem; color: var(--on-ink-muted); }
.ftr__warn .i { color: var(--sun); margin-top: 2px; }
.ftr__legal { padding: 22px 0; font-size: .82rem; color: var(--on-ink-muted); display: grid; gap: 8px; line-height: 1.55; }
@media (min-width: 1080px) { .ftr { padding-bottom: 96px; } }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-top: 20px; border-top: 1px solid rgb(247 243 234 / .12); font-size: .86rem; color: var(--on-ink-muted); }
.ftr__bottom div { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* мобильная панель */
.dock { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 4px; padding: 6px; border-radius: 20px; background: rgb(18 26 47 / .96); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); transition: transform .25s ease, opacity .25s; }
.dock a, .dock button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 14px; color: var(--on-ink); text-decoration: none; font-weight: 700; font-size: .9rem; background: transparent; border: 0; cursor: pointer; }
.dock a:first-child { background: var(--sun); color: var(--ink); }
.editing .dock { transform: translateY(140%); opacity: 0; }
@media (min-width: 1080px) { .dock { display: none; } }
@media (max-width: 1079px) { body { padding-bottom: 84px; } }

/* поддержка */
.sup-open { position: fixed; z-index: 44; right: 22px; bottom: 22px; display: none; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border-radius: 999px; border: 1px solid rgb(247 243 234 / .22); background: var(--ink-3); color: var(--on-ink); font-weight: 700; box-shadow: var(--shadow-lg); cursor: pointer; }
.sup-open .i { color: var(--sun); }
@media (min-width: 1080px) { .sup-open { display: inline-flex; } }
.sup-list { display: grid; gap: 8px; margin: 16px 0; }
.sup-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; }
.sup-list a:hover { border-color: var(--ink); }
.sup-list small { display: block; color: var(--muted); font-size: .85rem; }
.sup-note { font-size: .84rem; color: var(--muted); margin-top: 12px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 110px; transform: translateX(-50%); background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); }

/* ---------- Продукты: переключатель, карточки, тарифы ---------- */
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: var(--paper-2); margin-bottom: 10px; }
.seg button { min-height: 44px; padding: 6px 8px; border: 0; border-radius: 12px; background: transparent; font-weight: 700; font-size: .9rem; line-height: 1.15; cursor: pointer; color: var(--ink-2); }
.seg button:hover { background: rgb(255 255 255 / .6); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); box-shadow: 0 6px 16px -10px rgb(18 26 47 / .6); }
.calc__aud { font-size: .88rem; color: var(--muted); min-height: 2.6em; line-height: 1.45; }

.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 28px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.plan--pdl { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan__tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.plan--pdl .plan__tag { background: var(--sun); color: var(--ink); }
.plan__name { font-size: 1.55rem; letter-spacing: -0.025em; }
.plan__aud { color: var(--muted); font-size: .95rem; }
.plan__rate { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 0; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.plan__rate strong { font: 850 1.5rem/1.1 var(--display); letter-spacing: -0.03em; }
.plan__rate span { font-size: .88rem; color: var(--muted); font-weight: 600; }
.plan__facts { margin: 0; display: grid; gap: 8px; }
.plan__facts div { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; }
.plan__facts dt { color: var(--muted); }
.plan__facts dd { margin: 0; font-weight: 650; text-align: right; }
.plan__ex { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: .9rem; }

.tariff { margin-bottom: clamp(30px, 4vw, 44px); padding: clamp(18px, 3vw, 26px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.tariff__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.tariff__head h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.8rem); }
.tariff table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .93rem; }
.tariff th, .tariff td { text-align: left; vertical-align: top; padding: 11px 10px; border-bottom: 1px solid var(--line); }
.tariff thead th { font: 750 1rem/1.2 var(--display); letter-spacing: -0.01em; }
.tariff tbody th { color: var(--muted); font-weight: 600; width: 22%; }
.tariff td { font-variant-numeric: tabular-nums; }
.tariff td small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.tariff__note { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.chart { margin: 4px 0 16px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart__bar { fill: var(--sun-2); }
.chart__bar:hover { fill: var(--ink); }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__cap { stroke: var(--bad); stroke-width: 2; stroke-dasharray: 6 5; }
.chart__txt { fill: var(--muted); font: 600 11px var(--body); }
.chart__cap-txt { fill: var(--bad); font: 700 12px var(--body); }
.tariff__notes { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }

/* ---------- Правки по аудиту 14.09.2026 ---------- */
/* Окно графика лежит внутри тёмного .hero и наследовало его цвета (контраст 1,1:1). */
dialog { max-height: 90vh; overflow: auto; }
.dlg .eyebrow { color: var(--muted); }
.dlg .btn--ghost { --fg: var(--ink); border-color: var(--line-2); }
.dlg .btn--ghost:hover { border-color: var(--ink); }
.dlg .link { color: var(--ink); }
.dlg .table { overflow-x: auto; margin: 12px 0; }
.dlg table { min-width: 440px; margin: 0; }
/* Якорь из нижней панели: калькулятор не прячется под липкой шапкой. */
#calculator { scroll-margin-top: 90px; }
/* Цели нажатия ≥44 px и стабильная высота калькулятора при смене продукта. */
.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.presets button { min-height: 44px; padding: 0 6px; white-space: nowrap; }
.calc__links button, .calc__links .link { min-height: 44px; }
.ftr__cols a { padding: 10px 0; }
.ftr__contacts a { display: inline-block; padding: 6px 0; }
/* Открытое меню на коротких экранах прокручивается и не уходит под панель. */
.mnav:not([hidden]) { max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; padding-bottom: 96px; }
/* «Есть вопрос?» не перекрывает калькулятор первого экрана — появляется после прокрутки. */
.sup-open { visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.scrolled .sup-open { visibility: visible; opacity: 1; }
/* Размытие фона почти не видно, но нагружает дешёвые телефоны при прокрутке. */
.dock { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
@media (max-width: 1079px) { .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(247 243 234 / .98); } }

@media print {
  .hdr, .topline, .dock, .sup-open, .ftr__cols, .strip, .related, .side { display: none !important; }
  body { background: #fff; padding: 0; }
  .hero { background: #fff; color: #000; }
}
