/* ============================================================
   Scholary v21 — дизайн-система
   Принципы (по мотивам Apple HIG): читаемость прежде всего,
   fluid-типографика, единая шкала отступов, крупные тап-цели,
   максимум 62–68 символов в строке, никакого горизонтального скролла.
   Палитра: фон #F7F6F3 · текст #1A1D27 · акцент #5B4BFF
   ============================================================ */

:root {
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --ink-soft: #424245;
  --muted: #6E6E73;
  --faint: #6F6F75;
  --border: #E8E8ED;
  --accent: #5B4BFF;
  --accent-dark: #4739E0;
  --accent-soft: #F0EEFF;
  --accent-border: #ECE8FF;
  --green: #187E54;
  --green-soft: #E8F6EF;
  --yellow: #8D6A0C;        /* текст: контраст 5.0 на белом, 4.65 на бежевом */
  --yellow-bar: #E5C558;    /* заливки полос и диаграмм — здесь контраст не нужен */
  --yellow-soft: #FDF6E7;
  --yellow-ink: #8A6A0E;
  --kaspi: #F14635;
  --wa: #25D366;
  --tg: #2AABEE;
  --green-bright: #16A35C;   /* крупные цифры на светлом фоне */
  --track: #E9E7F5;          /* дорожка полос на светлых карточках */

  /* Шкала отступов (4-базовая) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px; --s10: 72px;

  /* Fluid-типографика */
  --fz-h1: clamp(32px, 2.2rem + 2vw, 56px);
  --fz-h2: clamp(23px, 1.25rem + 1.4vw, 34px);
  --fz-h3: clamp(16px, 1rem + .2vw, 18px);
  --fz-body: 17px;
  --fz-lead: clamp(15px, .9rem + .3vw, 18px);
  --fz-small: 13.5px;
  --fz-micro: 12px;

  --radius-lg: 18px; --radius: 14px; --radius-sm: 11px;
  --maxw: 1120px;
  --shadow-card: 0 1px 2px rgba(26,29,39,.04);
  --shadow-pop: 0 24px 60px -24px rgba(26,29,39,.45);
}

/* ---------- База ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* iOS Safari уменьшает масштаб страницы, если что-то (повёрнутая карточка, бегущая
   строка, плавающий бейдж) хоть на пиксель шире экрана. Chromium это прячет, Safari — нет.
   clip не создаёт прокрутку и режет всё лишнее по горизонтали; hidden — для старых браузеров. */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.tickerwrap { contain: paint; max-width: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fz-body);
  line-height: 1.47;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s5); }
.narrow { max-width: 620px; margin-inline: auto; padding-inline: var(--s5); }

/* Атрибут hidden должен работать всегда: правила вроде «.nav a { display:flex }»
   специфичнее его и молча показывали скрытые элементы. */
[hidden] { display: none !important; }

/* ---------- Хедер ----------
   Одна разметка на все страницы. На широком экране видны все ссылки,
   на планшете и телефоне второстепенное уходит в меню, а вход в кабинет
   и главная кнопка остаются на виду — с телефона приходит почти весь трафик. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: 0 var(--s5); height: 60px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header > * { min-width: 0; }
.logo { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); flex-shrink: 0; white-space: nowrap; }
.nav { display: flex; gap: var(--s4); align-items: center; font-size: 14px; font-weight: 600; min-width: 0; }
.nav a { color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--ink); }
.nav-link { min-height: 44px; }
.nav-icon { min-width: 44px; min-height: 44px; justify-content: center; }
.nav-login {
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--ink) !important; font-weight: 650; font-size: 13.5px;
  background: #fff;
}
.nav-login:hover { border-color: var(--accent); color: var(--accent) !important; }
.nav a.nav-cta {
  color: #fff; background: var(--accent); font-weight: 700;
  padding: 10px 18px; border-radius: 999px; min-height: 40px;
}
.nav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }
.cta-short { display: none; }

/* переключатель языка: пилюля RU | EN — в шапке на широком экране,
   в выпадающем меню на телефоне (в шапке телефона места нет). На квизе
   шапка без меню, поэтому там пилюля видна всегда. */
.nav-lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff; flex-shrink: 0;
}
.nav-lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 0; min-width: 34px; padding: 6px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 750; letter-spacing: .05em; line-height: 1; color: var(--muted);
}
.nav-lang a:hover { color: var(--ink); }
.nav-lang a.is-on, .nav-lang a.is-on:hover { background: var(--ink); color: #fff; }
.site-menu-lang { display: flex; gap: 8px; padding: 12px 0 4px; }
.site-menu-lang a {
  flex: 1; justify-content: center; min-height: 44px; font-size: 14px;
  border: 1px solid var(--border) !important; border-radius: 12px; color: var(--muted);
}
.site-menu-lang a.is-on { background: var(--ink); color: #fff; border-color: var(--ink) !important; }

/* кнопка меню */
.nav-burger {
  display: none;
  width: 42px; height: 42px; flex-shrink: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  background: transparent; border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; padding: 0;
}
.nav-burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .18s ease, opacity .18s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* выпадающее меню */
.site-menu {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 49;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 22px 44px -24px rgba(20,20,30,.35);
  padding: 4px var(--s5) 14px;
  max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.site-menu a {
  display: flex; align-items: center; min-height: 54px;
  font-size: 16px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.site-menu a:last-child { border-bottom: none; }
.site-menu-sep { height: 10px; }
@media (min-width: 901px) { .site-menu { display: none !important; } }

@media (max-width: 900px) {
  /* Специфичность важна: правило .nav a выше, чем .nav-link,
     поэтому скрываем через .nav .nav-link — иначе ссылки не прятались
     и шапка уезжала за край экрана. */
  .nav .nav-link, .nav .nav-icon, .nav .nav-lang { display: none; }
  .nav-burger { display: inline-flex; }
  .nav { gap: var(--s3); }
}
@media (max-width: 430px) {
  .site-header { padding-inline: 14px; gap: 8px; }
  .nav { gap: 7px; }
  .site-menu { padding-inline: 14px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav a.nav-cta { padding: 9px 13px; font-size: 13px; }
  .nav-login { padding: 0 11px; font-size: 12.5px; min-height: 42px; }
  .nav-burger { width: 42px; height: 42px; }
}
@media (max-width: 380px) {
  /* Самые узкие телефоны: сжимаем всё, но ничего не выбрасываем —
     вход в кабинет и главная кнопка должны оставаться на экране. */
  .site-header { padding-inline: 10px; gap: 6px; }
  .nav { gap: 5px; }
  .site-menu { padding-inline: 10px; }
  .logo { font-size: 17px; }
  .nav a.nav-cta { padding: 8px 10px; font-size: 12px; }
  .nav-login { padding: 0 8px; font-size: 12px; min-height: 40px; }
  .nav-burger { width: 38px; height: 40px; }
}

/* ---------- Секции ---------- */
.section { padding-block: clamp(44px, 4rem + 2vw, 84px) 0; }
.section h2 { font-size: var(--fz-h2); margin-bottom: var(--s2); }
.section .lead { font-size: var(--fz-lead); color: var(--muted); max-width: 62ch; margin-bottom: clamp(20px, 3vw, 32px); }
.section-tight { padding-block: clamp(28px, 3vw, 44px) 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: var(--s2);
  min-height: 52px; padding: 0 26px;
  border: none; border-radius: 999px;
  font-family: inherit; font-size: 16.5px; font-weight: 600; line-height: 1.2;
  text-align: center; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, transform .06s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 24px -12px rgba(91,75,255,.6); }
.btn-outline { background: var(--surface); color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn-dark { background: #000; color: #fff; }
.btn-kaspi { background: var(--kaspi); color: #fff; }
.btn { padding-inline: 28px; }
.btn-kaspi:hover { background: #D93A2A; color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); min-height: 44px; }
.btn-ghost:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 640px) { .btn { white-space: normal; } }

/* ---------- Светлая «glow»-карточка (вместо тёмных блоков) ----------
   Белый градиент с фирменным свечением: те же цвета, что и кнопки, —
   без «пессимистичных» тёмных плашек. Свечение мягко дрейфует. */
.card-glow { position: relative; overflow: hidden; background: linear-gradient(135deg, #FFFFFF 0%, #F4F2FF 58%, #EDF9F3 100%); border: 1px solid #E3DFFF; box-shadow: 0 26px 60px -30px rgba(91,75,255,.38), 0 2px 0 #fff inset; }
.card-glow::before, .card-glow::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.card-glow::before { width: 260px; height: 260px; top: -130px; right: -90px; background: radial-gradient(circle, rgba(91,75,255,.22), rgba(91,75,255,0) 68%); animation: glowDrift 9s ease-in-out infinite alternate; }
.card-glow::after { width: 220px; height: 220px; bottom: -120px; left: -70px; background: radial-gradient(circle, rgba(22,163,92,.18), rgba(22,163,92,0) 68%); animation: glowDrift 11s ease-in-out infinite alternate-reverse; }
.card-glow > * { position: relative; z-index: 1; }
@keyframes glowDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(-28px, 22px) scale(1.15); } }
@keyframes barIn { from { transform: scaleX(0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .card-glow::before, .card-glow::after { animation: none; } .axv .trk i { transition: none; transform: none; } .mini-report .mr-bar i { animation: none; } }

/* ---------- Карточки и формы ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow-card); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; }
.field .hint { font-size: 11.5px; color: var(--faint); font-weight: 600; }
.input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid #DBD9D3; border-radius: 10px;
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  transition: border-color .15s;
}
.input:hover { border-color: #C9C6BE; }
.input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.input[type="tel"] { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.input.input-error { border-color: #D93025; background: #FFF7F6; }
.input.input-error:focus { outline-color: #D93025; }
.field-hint { font-size: 12.5px; line-height: 1.45; color: var(--muted); font-weight: 600; transition: color .15s; }
.field-hint.is-error { color: #C5221F; animation: hintPop .25s ease; }
@keyframes hintPop { from { transform: translateY(-3px); opacity: .4; } to { transform: none; opacity: 1; } }

/* ---------- Квиз ---------- */
.quiz-shell { max-width: 620px; margin-inline: auto; padding: 0 var(--s5) var(--s8); min-height: calc(100dvh - 60px); display: flex; flex-direction: column; }
.quiz-shell .btn { width: 100%; }
.quiz-shell .btn-ghost { width: auto; flex-shrink: 0; }
.quiz-top { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4) 0; }
.quiz-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; }
.quiz-meta .step-count { color: var(--muted); }
.progress { height: 5px; background: #EDEBE6; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .25s ease; }
.progress-fill.done { background: var(--green); }

.quiz-q { font-size: clamp(22px, 5.5vw, 27px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: var(--s3) 0 var(--s1); text-wrap: balance; }
.quiz-why { font-size: 13px; color: var(--faint); font-weight: 600; margin-bottom: var(--s4); }
.opts { display: flex; flex-direction: column; gap: 9px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  min-height: 56px; padding: 14px 16px;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 13px;
  font-size: 15.5px; font-weight: 700; line-height: 1.35; text-align: left; width: 100%;
  cursor: pointer; font-family: inherit; color: var(--ink);
  transition: border-color .12s, background .12s;
}
.opt:hover { border-color: #C9C6BE; }
.opt.selected { border-color: var(--accent); background: var(--accent-soft); }
.opt > span:first-child { min-width: 0; }
.opt .sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.opt-check { width: 22px; height: 22px; border: 2px solid #DBD9D3; border-radius: 7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.opt.selected .opt-check { border-color: var(--accent); background: var(--accent); }
.quiz-nav { display: flex; gap: var(--s3); margin-top: auto; padding-top: var(--s5); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  padding: 11px 15px; min-height: 44px; border: 1.5px solid var(--border); border-radius: 999px;
  background: var(--surface); font-size: 14px; font-weight: 700; line-height: 1.25;
  cursor: pointer; font-family: inherit; color: var(--ink);
  transition: border-color .12s, background .12s;
}
.chip:hover { border-color: #C9C6BE; }
.chip.selected { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

/* ---------- Пейволл / шкалы ---------- */
.verdict-icon { display: flex; justify-content: center; align-items: center; width: 42px; height: 42px; background: var(--green-soft); border-radius: 999px; flex-shrink: 0; }
.stat-pair { display: flex; gap: var(--s3); }
.stat { flex: 1; min-width: 0; background: var(--bg); border-radius: 12px; padding: var(--s3) var(--s4); }
.stat .num { font-size: 22px; font-weight: 800; }
.stat .lbl { font-size: 12px; font-weight: 600; color: var(--muted); }
.locked { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.locked-content { padding: var(--s4); filter: blur(5px); pointer-events: none; user-select: none; }
.locked-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s2); background: rgba(255,255,255,.55); text-align: center; padding: 0 var(--s7); }
.lock-badge { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: var(--accent); border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(91,75,255,.7); }
.bar-row { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.bar-label { font-size: 12.5px; font-weight: 700; color: var(--muted); width: 92px; flex-shrink: 0; }
.bar { flex: 1; min-width: 40px; height: 6px; background: #EDEBE6; border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--green); }
.bar.warn > i { background: var(--yellow-bar); }
.bar-val { font-size: 12.5px; font-weight: 800; width: 38px; text-align: right; flex-shrink: 0; }
.bar-val.ok { color: var(--green); } .bar-val.warn { color: var(--yellow); }

.notice { display: flex; align-items: flex-start; gap: var(--s2); background: var(--yellow-soft); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; font-weight: 700; color: var(--yellow-ink); line-height: 1.45; }
.fineprint { font-size: 12px; font-weight: 600; color: var(--faint); text-align: center; line-height: 1.55; }

/* ---------- Хиро ---------- */
/* Десктоп: меньше воздуха сверху, чтобы вторая кнопка хиро и стек отчётов
   не уезжали под сгиб на 1440×900; на телефоне отступ прежний. */
.hero { background: var(--surface); padding-block: clamp(44px, 5rem + 2vw, 96px) clamp(44px, 4rem + 2vw, 80px); border-bottom: 1px solid var(--border); }
@media (min-width: 961px) {
  .hero { padding-block: 22px clamp(36px, 2.4rem + 1vw, 52px); }
  .hero-grid { align-items: start; }
  .hero h1 { margin: 12px 0 12px; }
  .hero-visual { padding: 80px 0 136px; }
  .hero-cta { margin-top: var(--s4); }
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--fz-h1); margin: var(--s4) 0 var(--s4); max-width: 16ch; }
.hero .sub { font-size: var(--fz-lead); color: var(--muted); max-width: 46ch; }
.hero-cta { max-width: 420px; margin-top: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.badge-pill { display: inline-flex; align-items: center; gap: var(--s2); background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; color: var(--accent); }

.logo, a.logo { display: inline-flex; align-items: center; min-height: 44px; }

/* Стек отчётов в хиро: три карточки + плавающие бейджи */
.hero-visual { position: relative; max-width: 440px; margin-inline: auto; padding: 172px 0 142px; }
.mini-report { border-radius: var(--radius-lg); padding: var(--s6); color: var(--ink); max-width: 420px; margin-inline: auto; position: relative; z-index: 3; transform: rotate(1.2deg); }
.mr-back { position: absolute; inset-inline: 0; margin-inline: auto; border-radius: var(--radius-lg); padding: 16px 18px; max-width: 400px; box-shadow: 0 18px 44px -20px rgba(26,29,39,.4); }
.mr-back-1 { top: 60px; transform: rotate(-3deg) translateX(-30px); background: #FFFFFF; border: 1px solid var(--border); z-index: 1; }
.mr-back-2 { bottom: 56px; transform: rotate(3deg) translateX(34px); background: var(--accent); color: #fff; z-index: 2; }
.mr-back .b-title { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.mr-back .b-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; font-weight: 700; }
.mr-back-1 .b-title { color: var(--faint); }
.mr-back-2 .b-title { color: #ECE8FF; }
.float-badge { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 7px; background: #FFFFFF; border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; font-size: 12.5px; font-weight: 700; box-shadow: 0 12px 30px -12px rgba(26,29,39,.28); white-space: nowrap; }
.fb-1 { top: 0; right: -6px; }
.fb-2 { bottom: 0; left: -10px; }
@media (max-width: 640px) {
  .hero { overflow: hidden; }   /* повёрнутые карточки и бейджи не расширяют страницу на телефоне */
  .hero-visual { padding: 150px 0 126px; }
  .fb-1 { right: 0; } .fb-2 { left: 0; }
  .float-badge { font-size: 12px; padding: 8px 12px; }
  .mr-back { max-width: 330px; padding: 14px 16px; }
  .mr-back-1 { top: 42px; transform: rotate(-4deg) translateX(-14px); }
  .mr-back-2 { bottom: 48px; transform: rotate(3deg) translateX(16px); }
}

/* Живой стек: на десктопе карточки чуть поворачиваются за курсором.
   Базовые повороты задаёт JS через переменные, чтобы не спорить с transform выше. */
@media (min-width: 961px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-visual.tilt .mini-report, .hero-visual.tilt .mr-back, .hero-visual.tilt .float-badge { transition: transform .18s ease-out; will-change: transform; }
  .hero-visual.tilt .mini-report { transform: rotate(1.2deg) translate3d(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 8px), 0); }
  .hero-visual.tilt .mr-back-1 { transform: rotate(-3deg) translateX(-30px) translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0); }
  .hero-visual.tilt .mr-back-2 { transform: rotate(3deg) translateX(34px) translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 12px), 0); }
  .hero-visual.tilt .float-badge { transform: translate3d(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -6px), 0); }
}

/* Мини-превью отчёта (секция «Так выглядит отчёт») */
.report-peek { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s4); }
.peek { border-radius: var(--radius-lg); padding: var(--s5); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.peek-glow { color: var(--ink); }
.peek-glow .p-label { opacity: 1; color: var(--accent-dark); }
.peek-light { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.peek-accent { background: var(--accent); color: #fff; }
.peek .p-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.peek .p-big { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.peek .p-text { font-size: 13px; font-weight: 600; line-height: 1.5; }
@media (max-width: 760px) { .report-peek { grid-template-columns: 1fr; } }

/* Мягкие градиентные пятна в хиро */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; background: radial-gradient(closest-side, rgba(91,75,255,.10), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; left: -180px; bottom: -220px; background: radial-gradient(closest-side, rgba(30,158,106,.08), transparent); pointer-events: none; }
.hero .container { position: relative; }

.step-ic { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: var(--accent-soft); border-radius: 12px; color: var(--accent); }
.mini-report .mr-head { display: flex; justify-content: space-between; gap: var(--s3); font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: var(--s3); letter-spacing: .04em; }
.mini-report .mr-big { font-size: clamp(36px, 4vw, 46px); font-weight: 800; color: var(--green-bright); letter-spacing: -0.02em; line-height: 1; }
.mini-report .mr-cap { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 4px 0 var(--s4); }
.mini-report .mr-row { display: flex; align-items: center; gap: var(--s2); margin-top: 10px; min-width: 0; }
.mini-report .mr-name { font-size: 12px; font-weight: 700; flex: 0 1 46%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-report .mr-bar { flex: 1 1 auto; min-width: 30px; height: 6px; background: var(--track); border-radius: 999px; overflow: hidden; }
.mini-report .mr-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--green-bright)); border-radius: 999px; transform-origin: left; animation: barIn 1.1s cubic-bezier(.2,.8,.2,1) both; }
.mini-report .mr-row:nth-child(4) .mr-bar i { animation-delay: .15s } .mini-report .mr-row:nth-child(5) .mr-bar i { animation-delay: .3s }
.mini-report .mr-val { font-size: 12px; font-weight: 800; color: var(--green); width: 34px; text-align: right; flex-shrink: 0; }
.mini-report .mr-badge { display: inline-flex; background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; font-weight: 800; border-radius: 999px; padding: 5px 11px; margin-top: var(--s4); }

/* ---------- Мессенджеры ---------- */
.messengers { display: flex; gap: var(--s2); flex-wrap: wrap; }
.btn-msg { display: inline-flex; align-items: center; gap: var(--s2); min-height: 46px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.2; border: 1.5px solid var(--border); background: var(--surface); color: var(--ink); transition: border-color .12s; }
.btn-msg:hover { border-color: #C9C6BE; color: var(--ink); }
.btn-msg svg { flex-shrink: 0; }
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; justify-content: center; align-items: center; width: 58px; height: 58px; background: var(--wa); border-radius: 999px; box-shadow: 0 10px 28px -8px rgba(37,211,102,.55); transition: transform .12s; }
.float-wa:hover { transform: scale(1.06); }
.float-wa { transition: transform .2s, opacity .2s; }
.float-wa.is-off { opacity: 0; pointer-events: none; transform: scale(.6); animation: none; }

/* ---------- Лендинг-блоки ---------- */
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #1A1D27; aspect-ratio: 16/9; display: flex; justify-content: center; align-items: center; }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s4); }
.steps3 .card { display: flex; flex-direction: column; }
.step-num { display: flex; justify-content: center; align-items: center; width: 36px; height: 36px; background: var(--accent-soft); border-radius: 10px; font-size: 15px; font-weight: 800; color: var(--accent); }
.steps3 h3 { font-size: var(--fz-h3); margin: var(--s3) 0 var(--s1); }
.steps3 p { font-size: var(--fz-small); color: var(--muted); }

.tariffs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s4); align-items: stretch; }
.tariff { position: relative; display: flex; flex-direction: column; gap: var(--s3); }
.tariff-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.tariff-head strong { font-size: 16.5px; }
.tariff .price { font-size: clamp(22px, 2vw, 26px); font-weight: 800; white-space: nowrap; }
.tariff.featured { border: 1.5px solid var(--accent); background: #FBFAFF; padding-top: clamp(28px, 2vw + 12px, 34px); }
.tariff-note { margin: 2px 0 10px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.tariff-flag { position: absolute; top: -13px; right: 16px; left: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--green); color: #fff; font-size: 12.5px; font-weight: 750; border-radius: 999px; padding: 5px 12px; text-align: center; }
.tariff ul { margin: 0 0 var(--s2); padding-left: 18px; font-size: var(--fz-small); color: var(--muted); line-height: 1.6; flex-grow: 1; }
.tariff .btn { width: 100%; margin-top: auto; }

.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s4); }
.stat-big { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s5) var(--s4); }
.stat-big .num { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--accent); white-space: nowrap; }
.stat-big .cap { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.45; margin-top: var(--s1); }

.countries { display: flex; flex-wrap: wrap; gap: var(--s2); }
.country { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; }

.dest-row { display: flex; align-items: center; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.dest-row:last-child { border-bottom: none; }
.dest-name { display: flex; align-items: center; gap: var(--s2); width: 148px; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.dest-bar { flex: 1; min-width: 30px; height: 8px; background: #EDEBE6; border-radius: 999px; overflow: hidden; }
.dest-bar i { display: block; height: 100%; background: #C9C6BE; border-radius: 999px; }
.dest-row.hot .dest-bar i { background: var(--accent); }
.dest-num { width: 78px; text-align: right; font-size: 13px; font-weight: 800; color: var(--muted); flex-shrink: 0; }
.dest-row.hot .dest-num { color: var(--accent); }
.dest-tag { font-size: 11px; font-weight: 800; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 4px 9px; white-space: nowrap; flex-shrink: 0; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s4); }
.fact { display: flex; flex-direction: column; gap: var(--s2); }
.fact .fact-num { display: flex; justify-content: center; align-items: center; width: 30px; height: 30px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.fact p { font-size: 14.5px; font-weight: 700; line-height: 1.45; }

.cta-band { background: var(--accent); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; justify-content: space-between; }
.cta-band .t { color: #fff; font-size: clamp(18px, 1.8vw, 24px); font-weight: 800; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.cta-band .s { color: #ECE8FF; font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.cta-band .btn { background: #fff; color: var(--accent); flex-shrink: 0; }
.cta-band .btn:hover { background: #F0EEFF; }

.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s4); }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: #241E5E; display: flex; align-items: flex-end; }
.photo-card > svg.pc-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-card .pc-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.photo-card .pc-cap { position: relative; width: 100%; padding: var(--s4); background: linear-gradient(transparent, rgba(10,12,20,.82)); color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.photo-card .pc-cap span { display: block; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.75); margin-top: 2px; }

.faq-item { border-bottom: 1px solid var(--border); padding: var(--s4) 0; }
.faq-item summary { font-size: 15.5px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--faint); font-weight: 700; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { font-size: 14px; color: var(--muted); margin-top: var(--s3); max-width: 68ch; }

/* ---------- Лид-форма ---------- */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.lead-form .lead-actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--s3); }
.lead-note { font-size: 12px; color: var(--faint); font-weight: 600; margin-top: var(--s3); }

/* ---------- Футер ---------- */
.site-footer { background: #1A1D27; color: #9AA0AC; padding: clamp(40px, 4vw, 64px) var(--s5) var(--s8); margin-top: clamp(56px, 6vw, 96px); }
.site-footer a { color: #C9CCD4; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; }
.footer-grid { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.footer-col { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; min-width: 0; }
.footer-title { font-size: 12px; font-weight: 800; color: #9AA0AC; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-requisites { font-size: 12.5px; line-height: 1.7; color: #9AA0AC; }
.footer-bottom { max-width: var(--maxw); margin: var(--s7) auto 0; padding-top: var(--s5); border-top: 1px solid #2A2E3A; font-size: 12px; line-height: 1.6; color: #8F95A3; }
.socials { display: flex; gap: var(--s3); }
.socials a { display: flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 1px solid #3A3E4A; border-radius: 10px; }
.socials a:hover { border-color: #5C616E; }
.site-footer .btn-msg { background: transparent; border-color: #3A3E4A; color: #C9CCD4; }
.site-footer .btn-msg:hover { border-color: #5C616E; color: #fff; }

/* ---------- Юридические страницы ---------- */
.legal { max-width: 720px; margin-inline: auto; padding: clamp(32px, 4vw, 56px) var(--s5); }
.legal h1 { font-size: clamp(24px, 3vw, 32px); }
.legal h2 { font-size: 18px; margin-top: var(--s7); margin-bottom: var(--s2); }
.legal p, .legal li { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: var(--s2); }
.legal .updated { font-size: 13px; color: var(--faint); font-weight: 600; margin-top: var(--s2); }

/* ============================================================
   АДАПТИВ
   ============================================================ */

/* Планшет */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .mini-report { transform: none; }
  .steps3 { grid-template-columns: 1fr; }
  .tariffs { grid-template-columns: 1fr; max-width: 560px; }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .photo-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Телефон */
@media (max-width: 640px) {
  /* правила шапки живут в её собственном блоке выше — здесь их дублировать нельзя,
     иначе они перебивают более узкие брейкпоинты 430 и 380 px */
  .hero h1 { max-width: none; }
  .hero-cta { max-width: none; }
  .hero-cta .btn { width: 100%; }
  .stats4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s3); }
  .stat-big { padding: var(--s4) var(--s3); }
  .stat-big .num { font-size: 22px; white-space: nowrap; }
  .stat-big .cap { font-size: 12.5px; }
  .facts { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: stretch; text-align: left; }
  .cta-band .btn { width: 100%; white-space: normal; }
  .dest-name { width: 118px; font-size: 13px; }
  .dest-num { width: 64px; font-size: 12px; }
  .dest-tag { display: none; } /* на телефоне ряд не переполняется; теги видны с планшета */
  .dest-row.hot .dest-name::after { content: "₸"; color: var(--green); font-size: 11px; font-weight: 800; }
  .lead-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

/* ===== v25: живость ===== */
/* две вероятности в хиро-карточке */
.mr-duo{display:flex;gap:18px;margin:6px 0 10px}
.mr-duo>div{flex:1}
.mr-duo .mr-big{font-size:clamp(30px,4.4vw,40px)}
.mr-duo .mr-cap{margin-top:2px}
/* две цифры в peek-вердикте */
.p-duo{display:flex;gap:20px;margin:8px 0 10px}
.p-duo span{display:flex;flex-direction:column}
.p-duo b{font-size:30px;font-weight:800;letter-spacing:-0.02em;color:var(--ink);line-height:1.1}
.p-duo i{font-style:normal;font-size:12px;color:var(--muted);margin-top:2px}
/* бегущая строка стран */
.tickerwrap{overflow:hidden;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#fff;padding:12px 0}
.ticker{display:flex;gap:34px;width:max-content;animation:ticker 46s linear infinite;white-space:nowrap}
.ticker span{font-size:13.5px;font-weight:650;color:var(--ink-soft)}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.tickerwrap:hover .ticker{animation-play-state:paused}
/* появление при скролле */
.rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.rv.in{opacity:1;transform:none}
/* подъём карточек */
.steps3 .card,.tariff,.fact,.photo-card,.stat-big{transition:transform .25s ease,box-shadow .25s ease}
.steps3 .card:hover,.tariff:hover,.fact:hover{transform:translateY(-4px);box-shadow:0 14px 32px -18px rgba(29,29,31,.25)}
.photo-card:hover{transform:translateY(-5px) scale(1.01)}
/* дыхание хиро-стека */
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.mini-report{animation:floaty 6s ease-in-out infinite}
.float-badge{animation:floaty 5s ease-in-out infinite}
.fb-2{animation-delay:1.4s}
/* пульс WhatsApp-кнопки */
@keyframes wapulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.45)}70%{box-shadow:0 0 0 14px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
.float-wa{animation:wapulse 2.6s infinite}
/* уважение reduced-motion */
@media (prefers-reduced-motion: reduce){
  .ticker,.mini-report,.float-badge,.float-wa{animation:none!important}
  .rv{opacity:1;transform:none;transition:none}
}
@media(max-width:640px){.mr-duo{gap:12px}.mr-duo .mr-big{font-size:28px}.p-duo b{font-size:26px}}

/* ===== v26: блок скидок (перенос со старого сайта) + кликабельные фото-карточки ===== */
.dsc{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px}
.dsc-c{display:flex;flex-direction:column;gap:8px;background:var(--surface);border:1px solid var(--border);
  border-radius:20px;padding:18px;color:var(--ink);text-decoration:none;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.dsc-c:hover{transform:translateY(-4px);box-shadow:0 16px 34px -20px rgba(29,29,31,.3);border-color:var(--accent-border);color:var(--ink)}
.dsc-top{display:flex;align-items:center;justify-content:space-between}
.dsc-fl{font-size:22px}
.dsc-cut{font-size:12px;font-weight:750;color:var(--accent-dark);background:var(--accent-soft);border-radius:999px;padding:4px 11px}
.dsc-n{font-size:16.5px;font-weight:800;letter-spacing:-0.01em}
.dsc-u{font-size:12.5px;font-weight:650;color:var(--accent)}
.dsc-d{font-size:13.5px;color:var(--muted);line-height:1.55;flex:1}
.dsc-m{display:flex;gap:6px;flex-wrap:wrap}
.dsc-t{font-size:11.5px;font-weight:650;color:var(--ink-soft);background:var(--bg);border-radius:999px;padding:3px 10px}
.dsc-l{font-size:13px;font-weight:750;color:var(--accent);margin-top:2px}
.dsc-c:hover .dsc-l{color:var(--accent-dark)}
a.photo-card{display:block;text-decoration:none;color:inherit;cursor:pointer}
a.photo-card:hover .pc-cap{color:#fff}

/* ===== v28: блок «Как мы считаем вероятность» ===== */
.axesv{display:flex;flex-direction:column;gap:9px;margin:8px 0 10px}
.axv{display:flex;align-items:center;gap:10px}
.axv span{font-size:12px;font-weight:700;color:var(--muted);width:100px;flex-shrink:0}
.axv .trk{flex:1;height:8px;border-radius:99px;background:var(--track);overflow:hidden}
.axv .trk i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--accent),var(--green-bright));transform-origin:left;transform:scaleX(0);transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.peek.in .axv .trk i{transform:none}
.axv:nth-child(2) .trk i{transition-delay:.08s}.axv:nth-child(3) .trk i{transition-delay:.16s}.axv:nth-child(4) .trk i{transition-delay:.24s}.axv:nth-child(5) .trk i{transition-delay:.32s}.axv:nth-child(6) .trk i{transition-delay:.4s}
.axv b{font-size:13px;font-weight:800;color:var(--ink);width:30px;text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}
.mrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--border)}
.mrow:last-child{border-bottom:0}
.m-n{font-size:13.5px;font-weight:800;min-width:0}
.m-n em{font-style:normal;color:var(--muted);font-weight:600}
.chip-ok,.chip-warn{font-size:11px;font-weight:800;border-radius:999px;padding:4px 10px;white-space:nowrap;flex-shrink:0}
.chip-ok{background:var(--green-soft);color:var(--green)}
.chip-warn{background:var(--yellow-soft);color:var(--yellow-ink)}
.duo-acc b{color:#fff}.duo-acc i{color:#ECE8FF}

/* текст только для скринридеров: заголовок страницы есть в разметке,
   но не мешает визуальной композиции */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* строчная ссылка-подсказка под кнопкой хиро тоже кликается пальцем */
a.fineprint{min-height:44px;display:inline-flex;align-items:center}


/* Сноска с источниками под блоком цифр: маленькая, но читаемая. */
.muted-note{
  margin-top:12px;
  max-width:78ch;
  font-size:12.5px;
  line-height:1.5;
  color:var(--faint);
  font-weight:600;
  max-width:70ch;
}


/* ---- Ценовой якорь: сравнение с рынком ---- */
.anchor-box{
  margin-top:14px;
  background:var(--card,#fff);
  border:1px solid var(--border,#E8E8ED);
  border-radius:20px;
  padding:20px 22px;
}
.anchor-title{
  font-size:15px;
  font-weight:700;
  letter-spacing:-0.01em;
  margin-bottom:12px;
}
.anchor-rows{display:flex; flex-direction:column;}
.anchor-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid var(--border,#EEE);
  font-size:14.5px;
  color:#3D414D;
}
.anchor-row:last-child{border-bottom:none;}
.anchor-row b{
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
  font-weight:700;
  color:#1D1D1F;
}
.anchor-row.me{color:#1D1D1F; font-weight:650;}
.anchor-row.me b{color:var(--accent,#5B4BFF);}
.anchor-note{
  margin:14px 0 0;
  max-width:78ch;
  font-size:12.5px;
  line-height:1.55;
  color:var(--faint);
  font-weight:600;
}
@media (max-width:560px){
  .anchor-box{padding:16px 16px;}
  .anchor-row{flex-direction:column; gap:2px; align-items:flex-start;}
  .anchor-row b{font-size:15px;}
}


/* ---- Ближайшие дедлайны ---- */
.dl-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:12px;
  margin-top:18px;
  align-items:stretch;      /* карточки в ряду одной высоты */
}
.dl-card{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:16px 18px;
  background:var(--card,#fff);
  border:1px solid var(--border,#E8E8ED);
  border-radius:18px;
  text-decoration:none;
  color:inherit;
  transition:border-color .15s ease, transform .15s ease;
  min-height:44px;
}
.dl-card:hover,
.dl-card:focus-visible{border-color:var(--accent,#5B4BFF); transform:translateY(-1px);}
.dl-when{
  font-size:19px;
  font-weight:750;
  letter-spacing:-0.02em;
  font-variant-numeric:tabular-nums;
}
.dl-name{font-size:14.5px; font-weight:650; line-height:1.35;}
.dl-note{font-size:13px; color:var(--muted,#6E6E73); line-height:1.4;}
.dl-left{
  margin-top:auto;          /* подписи «через N дней» выравниваются по низу карточки */
  padding-top:8px;
  align-self:flex-start;
  font-size:12px;
  font-weight:700;
  padding:3px 10px;
  border-radius:999px;
  background:#ECECF2;
  color:#55555D;            /* прежний оттенок давал 4,43 при норме 4,5 */
  font-variant-numeric:tabular-nums;
}
.dl-card.soon .dl-left{background:#FDECEC; color:#9E2B2B;}
.dl-card.soon .dl-when{color:#9E2B2B;}
@media (max-width:560px){
  .dl-grid{grid-template-columns:1fr;}
  .dl-card{padding:14px 16px;}
}


/* ---- Блок для родителей ---- */
.par-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:12px;
  margin-top:18px;
}
.par-card{display:flex; flex-direction:column; gap:8px;}
.par-h{
  font-size:15px;
  font-weight:750;
  letter-spacing:-0.01em;
}
.par-card p{
  margin:0;
  font-size:14.5px;
  line-height:1.6;
  color:#3D414D;
}
@media (max-width:560px){
  .par-grid{grid-template-columns:1fr;}
}


/* предел длины строки: длиннее ~90 знаков глаз теряет начало следующей строки */
.card > p, .par-card p, .section > .container > p, .tariff-note { max-width: 78ch; }

/* Узкие телефоны (≤374px): кнопки чуть компактнее, чтобы текст оставался в одну строку. */
@media (max-width: 374px) {
  .btn { font-size: 15px; padding-inline: 16px; }
  .chip { font-size: 12.5px; }
}

/* Ожидание оплаты Kaspi: маленький спиннер в строке статуса */
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 999px; animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* Экран результата: карточка «отчёт готов» стоит сразу под вероятностями и
   сменяет полосу «собираем…». Мягкое появление — чтобы момент готовности
   заметили, даже если человек уже читает топ-3. */
.rp-ready { animation: rpIn .45s cubic-bezier(.2,.7,.3,1) both; }
@keyframes rpIn { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rp-ready { animation: none; } }

/* Покупка консультации / пакета через Kaspi: окно поверх страницы (тарифы, главная, пример отчёта).
   На телефоне — лист снизу, на десктопе — карточка по центру. Кнопки — в одну строку. */
.tariff-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.tariff .tariff-actions .btn { margin-top: 0; }
body.kpay-open { overflow: hidden; }
.kpay-bg { position: fixed; inset: 0; z-index: 1000; background: rgba(29,29,31,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; padding: 0; animation: kpayFade .18s ease; }
.kpay { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); box-sizing: border-box; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.35); animation: kpayUp .22s ease; }
.kpay-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: none; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.kpay-x:hover { color: var(--ink); }
.kpay-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-right: 40px; }
.kpay-kicker { font-size: 11.5px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.kpay-title { font-size: 19px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; margin-top: 3px; }
.kpay-price { font-size: 20px; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.kpay-sub { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.kpay-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.kpay-form .input { width: 100%; box-sizing: border-box; }
.kpay-form .btn { width: 100%; margin-top: 4px; }
.kpay-fine { font-size: 12px; line-height: 1.5; color: var(--faint); font-weight: 600; margin-top: 12px; }
.kpay-fine a { color: var(--accent); }
.kpay-center { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-top: 18px; }
.kpay-center .btn { width: 100%; }
.kpay-ico { display: flex; justify-content: center; align-items: center; width: 64px; height: 64px; border-radius: 999px; }
.kpay-ico-kaspi { background: #FFE9E6; }
.kpay-ico-ok { background: var(--green-soft); }
.kpay-ico-warn { background: var(--yellow-soft); }
.kpay-h { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.kpay-p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.kpay-p b { color: var(--ink); }
.kpay-phone { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--bg); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; text-align: left; }
.kpay-phone > div { min-width: 0; }
.kpay-num { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpay-phone .btn { width: auto; min-height: 40px; padding: 0 12px; flex-shrink: 0; font-size: 14px; }
.kpay-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.kpay-ico-card { background: var(--accent-soft); color: var(--accent); }
/* выбор способа оплаты: две плитки, активная — с акцентной рамкой */
.kpay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpay-method { display: flex; align-items: center; gap: 10px; text-align: left; padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font: inherit; color: var(--ink); min-height: 60px; transition: border-color .15s, box-shadow .15s; }
.kpay-method > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.kpay-method b { font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.kpay-method small { font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.kpay-method.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.kpay-mi { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.kpay-mi-kaspi { background: #FFE9E6; color: #E5442F; }
.kpay-mi-card { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 380px) { .kpay-methods { grid-template-columns: 1fr; } }
@keyframes kpayFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kpayUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (min-width: 641px) {
  .kpay-bg { align-items: center; padding: 24px; }
  .kpay { border-radius: 22px; padding: 26px 26px 24px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); }
}
@media (prefers-reduced-motion: reduce) { .kpay-bg, .kpay { animation: none; } }


/* ============================================================
   web-89 · главная: ссылка «Профориентация» в шапке, кабинет Pro как
   рабочее пространство, год абитуриента для родителей
   ============================================================ */
.nav-free { gap: 6px; }
.cta-row { max-width: none; flex-direction: row; flex-wrap: wrap; }
.cta-row .btn { width: auto; }
@media (max-width: 640px) { .cta-row { flex-direction: column; } .cta-row .btn { width: 100%; } }
@media (max-width: 420px) { .btn-long { font-size: 14px; padding-inline: 12px; } }
.nav-free-tag { font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 3px 8px; line-height: 1; }
/* 901–1120px: шесть текстовых ссылок + иконки не помещаются в одну строку —
   иконки мессенджеров уходят (они есть в подвале и в плавающей кнопке), шаг между ссылками меньше */
@media (min-width: 901px) and (max-width: 1120px) { .nav .nav-icon { display: none; } .nav { gap: 12px; } }

#pro { background: linear-gradient(180deg, #FBFAFF 0%, #F5F5F7 100%); }
#pro .pro-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }
#pro .pro-badge span { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: var(--accent); }

/* --- Кабинет Pro: макет рабочего пространства --- */
.ws { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 30px 70px -40px rgba(91,75,255,.35), var(--shadow-card); }
.ws-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F7F7FA; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); font-weight: 600; min-width: 0; }
.ws-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E3E3E8; flex-shrink: 0; }
.ws-bar i:nth-child(1) { background: #FF6059; } .ws-bar i:nth-child(2) { background: #FFBD2E; } .ws-bar i:nth-child(3) { background: #29C941; }
.ws-bar span { margin-left: 8px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }
.ws-bar em { margin-left: auto; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 380px; }
.ws-nav { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: #FBFBFD; border-right: 1px solid var(--border); }
.ws-item { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; text-align: left; transition: background .2s, color .2s; white-space: nowrap; }
.ws-item svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-item:hover { background: #F0EEFF; color: var(--accent-dark); }
.ws-item.is-on { background: var(--accent); color: #fff; }
.ws-side { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--green); padding: 10px 12px; }
.ws-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 rgba(22,163,92,.5); animation: wsPulse 1.8s ease-out infinite; }
@keyframes wsPulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,92,.5); } 100% { box-shadow: 0 0 0 9px rgba(22,163,92,0); } }
.ws-main { position: relative; padding: 18px 20px 20px; display: grid; }
.ws-pane { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .38s ease, transform .38s ease; pointer-events: none; }
.ws-pane.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ws-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ws-h b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.ws-h span { font-size: 12px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ws-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ws-kpi > div { background: #F7F7FA; border-radius: 12px; padding: 10px 12px; min-width: 0; }
.ws-kpi b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--accent-dark); line-height: 1.1; }
.ws-kpi span { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 3px; line-height: 1.3; }
.ws-tasks { display: grid; gap: 8px; margin-top: 12px; }
.ws-tasks > div { display: grid; grid-template-columns: 20px 1fr; gap: 4px 10px; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px; background: #fff; }
.ws-tasks i { width: 18px; height: 18px; border-radius: 6px; border: 2px solid #C9C9D1; grid-row: 1 / 3; position: relative; }
.ws-tasks i.ok { border-color: var(--green-bright); background: var(--green-bright); }
.ws-tasks i.ok::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ws-tasks i.d { border-color: #E5483F; }
.ws-tasks span { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.ws-tasks em { font-style: normal; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.ws-duo { display: flex; gap: 20px; margin-bottom: 12px; }
.ws-duo > div { display: flex; flex-direction: column; }
.ws-duo b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.ws-duo span { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.ws-rows { display: grid; gap: 9px; }
.ws-rows > div { display: grid; grid-template-columns: minmax(0, 150px) 1fr 42px; gap: 10px; align-items: center; font-size: 13px; }
.ws-rows span { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-rows b { text-align: right; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.ws-tr { height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; }
.ws-tr i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--green-bright)); transform-origin: left; animation: barIn 1.1s cubic-bezier(.2,.8,.2,1) both; }
.ws-riasec .ws-tr i { background: var(--accent); }
.ws-riasec b { color: var(--accent-dark); }
.ws-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; background: var(--green-soft); border-radius: 10px; padding: 8px 12px; line-height: 1.45; }
.ws-list { display: grid; gap: 6px; }
.ws-list > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; }
.ws-list b { font-size: 13.5px; font-weight: 800; }
.ws-list span { font-size: 11.5px; color: var(--muted); font-weight: 600; grid-column: 1; }
.ws-list em { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.ws-list em.in { color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 4px 9px; }
.ws-docs { display: grid; gap: 6px; }
.ws-docs > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; background: #F7F7FA; }
.ws-docs > div::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9C9D1; flex-shrink: 0; }
.ws-docs > div.ok::before { background: var(--green-bright); } .ws-docs > div.w::before { background: var(--yellow-bar); }
.ws-docs span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-docs em { font-style: normal; font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.ws-ai { margin-top: 12px; border: 1px solid var(--accent-border); background: linear-gradient(135deg, #FBFAFF, #F1EEFF); border-radius: 12px; padding: 10px 12px; }
.ws-ai b { display: block; font-size: 12.5px; color: var(--accent-dark); margin-bottom: 4px; }
.ws-ai span { font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); font-weight: 600; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ws-chips span { font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 5px 10px; }
.ws-cal { display: grid; gap: 6px; }
.ws-cal > div { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: 13px; }
.ws-cal b { font-weight: 800; font-variant-numeric: tabular-nums; } .ws-cal span { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-cal em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #55555D; background: #ECECF2; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.ws-cal > div.soon b { color: #9E2B2B; } .ws-cal > div.soon em { background: #FDECEC; color: #9E2B2B; }
.ws-tg { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; background: #EAF6FD; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); font-weight: 600; }
.ws-tg i { width: 26px; height: 26px; border-radius: 50%; background: var(--tg); flex-shrink: 0; position: relative; }
.ws-tg i::after { content: ""; position: absolute; left: 8px; top: 7px; width: 10px; height: 10px; background: #fff; clip-path: polygon(0 45%, 100% 0, 70% 100%, 40% 70%); }
.ws-tg b { color: var(--ink); }
@media (max-width: 760px) {
  .ws-body { grid-template-columns: 1fr; min-height: 0; }
  .ws-nav { flex-direction: row; overflow-x: auto; gap: 6px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--border); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ws-nav::-webkit-scrollbar { display: none; }
  .ws-item { min-height: 38px; padding: 0 12px; font-size: 13px; flex-shrink: 0; }
  .ws-side { display: none; }
  .ws-main { padding: 14px; min-height: 300px; }
  .ws-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-rows > div { grid-template-columns: minmax(0, 110px) 1fr 38px; }
  .ws-bar em { display: none; }
  .ws-duo b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .ws-pane { transition: none; } .ws-dot { animation: none; } }

/* --- Родителям: год абитуриента --- */
.ptl { border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 28px); background: linear-gradient(135deg, #F6F5FF, #F2FBF6); }
.ptl-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.ptl-m { background: #fff; border: 1px solid var(--accent-border); border-radius: 14px; padding: 10px 9px; min-width: 0; overflow: hidden; }
.ptl-m b { display: block; font-size: 13.5px; }
.ptl-m span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 4px; line-height: 1.35; overflow-wrap: normal; }
.ptl-m.hot { border-color: #F9C9C4; background: #FFF6F5; } .ptl-m.hot b { color: #B42318; }
.ptl-bar { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #DAD6FF, #5B4BFF 55%, #2E9E68); margin: 16px 4px 6px; overflow: visible; }
.ptl-bar i { position: absolute; top: -4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); transform: translateX(-50%); }
.ptl-bar i.hot { border-color: #C0392B; }
.ptl-hint { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ptl-hint > div { background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.ptl-hint .k { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-dark); }
.ptl-hint b { font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--ink-soft); }
/* появление месяцев по очереди, когда блок попадает на экран */
.ptl.rv .ptl-m { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.ptl.rv.in .ptl-m { opacity: 1; transform: none; }
.ptl.rv.in .ptl-m:nth-child(2) { transition-delay: .08s } .ptl.rv.in .ptl-m:nth-child(3) { transition-delay: .16s } .ptl.rv.in .ptl-m:nth-child(4) { transition-delay: .24s } .ptl.rv.in .ptl-m:nth-child(5) { transition-delay: .32s } .ptl.rv.in .ptl-m:nth-child(6) { transition-delay: .4s } .ptl.rv.in .ptl-m:nth-child(7) { transition-delay: .48s } .ptl.rv.in .ptl-m:nth-child(8) { transition-delay: .56s } .ptl.rv.in .ptl-m:nth-child(9) { transition-delay: .64s }
.ptl.rv .ptl-bar i { transform: translateX(-50%) scale(0); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.ptl.rv.in .ptl-bar i { transform: translateX(-50%) scale(1); }
.ptl.rv.in .ptl-bar i:nth-child(n+2) { transition-delay: .1s } .ptl.rv.in .ptl-bar i:nth-child(n+4) { transition-delay: .3s } .ptl.rv.in .ptl-bar i:nth-child(n+6) { transition-delay: .5s } .ptl.rv.in .ptl-bar i:nth-child(n+8) { transition-delay: .7s }
@media (max-width: 960px) {
  .ptl-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ptl-bar { display: none; }
}
@media (max-width: 640px) {
  /* телефон: вертикальная лента с линией и точками, а не девять карточек столбиком */
  .ptl-row { grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 26px; }
  .ptl-row::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #DAD6FF, #5B4BFF 55%, #2E9E68); }
  .ptl-m { position: relative; border: 0; border-bottom: 1px solid var(--accent-border); border-radius: 0; background: transparent; padding: 10px 0 10px; }
  .ptl-m:last-child { border-bottom: 0; }
  .ptl-m::before { content: ""; position: absolute; left: -24px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
  .ptl-m.hot { background: transparent; } .ptl-m.hot::before { border-color: #C0392B; }
  .ptl-m b { font-size: 14.5px; } .ptl-m span { font-size: 12.5px; }
  .ptl-hint { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ptl.rv .ptl-m, .ptl.rv .ptl-bar i { transition: none; opacity: 1; transform: translateX(-50%) scale(1); } .ptl.rv .ptl-m { transform: none; } }
