/* ===== Токены ===== */
:root {
  --purple: #6100db;       /* фирменный фиолетовый УУНиТ */
  --purple-dark: #3a0a8c;
  --purple-tint: #f4eefd;
  --purple-line: #e3d6f8;
  --purple-soft: #b996f5;  /* региональный бюджет на диаграмме */
  --orange: #f7871f;       /* фирменный оранжевый */
  --orange-dark: #c25e00;
  --orange-tint: #fff2e5;
  --white: #ffffff;
  --text: #1f1a26;
  --muted: #6b6475;

  /* Шрифт один — Inter. Шкала размеров */
  --fs-xs: 0.8125rem;  /* 13 */
  --fs-sm: 0.9375rem;  /* 15 */
  --fs-base: 1.0625rem; /* 17 — крупнее для удобного чтения */
  --fs-lg: 1.125rem;   /* 18 */
  --fs-h3: 1.25rem;    /* 20 */
  --fs-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  --fs-h1: clamp(2rem, 1.3rem + 3vw, 3.25rem);

  --radius: 12px;
  --gap: 24px;
  --container: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* иначе display у .btn перебивает атрибут hidden */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; color: var(--purple-dark); }
h1 { font-size: var(--fs-h1); font-weight: 700; color: var(--white); }
h2 { font-size: var(--fs-h2); font-weight: 700; margin-bottom: 24px; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 12px; max-width: 70ch; }
a { color: var(--purple); }
a:hover { color: var(--orange-dark); }
strong { font-weight: 600; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }

.eyebrow {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--orange-dark); margin-bottom: 8px;
}
.lead { font-size: var(--fs-lg); max-width: 760px; }
.muted { color: var(--muted); font-size: var(--fs-sm); }
.small { font-size: var(--fs-xs); margin-top: 16px; }

/* Плейсхолдеры для уточнения */
.todo {
  display: inline-block; padding: 0 6px; border-radius: 4px;
  background: var(--orange-tint); color: var(--orange-dark);
  font-weight: 500; font-size: .95em;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-dark); color: var(--white); }
.btn--accent:disabled { background: #f3c39b; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--purple); border-color: var(--purple-line); }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn:focus-visible, .option input:focus-visible + span, .scale input:focus-visible + span {
  outline: 3px solid var(--orange); outline-offset: 2px;
}

/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 10;
  background: var(--white); border-bottom: 1px solid var(--purple-line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 700; font-size: var(--fs-lg); color: var(--purple); text-decoration: none; white-space: nowrap; }
.logo span { font-weight: 500; color: var(--muted); font-size: var(--fs-sm); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { color: var(--purple); background: var(--purple-tint); }
.nav a[aria-current="page"] { color: var(--purple); background: var(--purple-tint); font-weight: 600; }
.nav a[href="quiz.html"]:not([aria-current]) { color: var(--orange-dark); }
.menu-toggle {
  display: none; margin-left: auto; min-height: 40px; padding: 0 16px;
  font: inherit; font-weight: 600; font-size: var(--fs-sm);
  color: var(--purple); background: var(--white); border: 2px solid var(--purple-line); border-radius: 10px; cursor: pointer;
}

/* Заголовок внутренней страницы */
.page-title { font-size: var(--fs-h2); font-weight: 700; color: var(--purple-dark); margin-bottom: 24px; }

/* Плитки разделов на главной */
.tile {
  display: block; padding: 24px; border: 1px solid var(--purple-line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: border-color .15s;
}
.tile:hover { border-color: var(--purple); color: var(--text); }
.tile h3 { margin-bottom: 8px; }
.tile p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.tile--accent { border-color: var(--orange); background: var(--orange-tint); }
.tile--accent h3 { color: var(--orange-dark); }

/* ===== Главный экран ===== */
:root { --stripes-orange: repeating-linear-gradient(135deg, var(--orange) 0 16px, transparent 16px 32px); }
.hero { position: relative; overflow: hidden; background: var(--purple); color: var(--white); padding: 88px 0 80px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: var(--stripes-orange); pointer-events: none; }
.hero::before { width: 360px; height: 360px; top: -180px; right: -60px; }
.hero::after { width: 260px; height: 260px; bottom: -150px; left: -90px; opacity: .9; }
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: #ffb878; }
.hero .lead { color: #eee5f6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 16px; }
.hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { border-color: var(--white); }
.hero__note { font-size: var(--fs-sm); color: #d8c8e8; margin: 0; }

/* ===== Секции ===== */
.section { padding: 80px 0; }
.section--tint { background: var(--purple-tint); }

.grid { display: grid; gap: var(--gap); margin-top: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.block {
  background: var(--white); border: 1px solid var(--purple-line);
  border-radius: var(--radius); padding: 28px;
}
.block p:last-child, .block ul:last-child { margin-bottom: 0; }
.block--tint { background: var(--purple-tint); border-color: transparent; }

.list { margin: 0; padding-left: 20px; }
.list li { margin-bottom: 8px; }
.list li::marker { color: var(--orange); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin: 32px 0 8px; }
.fact { border-left: 4px solid var(--orange); padding: 4px 0 4px 16px; }
.fact__num { display: block; font-size: var(--fs-h2); font-weight: 700; color: var(--purple); line-height: 1.1; }
.fact__label { font-size: var(--fs-sm); color: var(--muted); }

/* Пути поступления */
.path { background: var(--purple-tint); border-radius: var(--radius); padding: 28px; }
.path--accent { background: var(--orange-tint); }
.path__tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  background: var(--purple); color: var(--white); border-radius: 999px; padding: 2px 12px; margin-bottom: 12px;
}
.path--accent .path__tag { background: var(--orange); }

/* ===== Специальности ===== */
.notice {
  background: var(--white); border-left: 4px solid var(--orange);
  border-radius: 8px; padding: 16px 20px; font-size: var(--fs-sm);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--purple-line); border-radius: var(--radius);
  padding: 24px; transition: border-color .2s, box-shadow .2s;
}
.card.is-highlighted { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
.card__code { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 4px; }
.card__type { font-size: var(--fs-xs); font-weight: 600; color: var(--orange-dark); margin-bottom: 8px; }
.card h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.card p { font-size: var(--fs-sm); }
.card__meta { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--purple-line); font-size: var(--fs-sm); }
.card__meta div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.card__meta dt { color: var(--muted); }
.card__meta dd { margin: 0; font-weight: 600; text-align: right; }
.card__note { font-size: var(--fs-xs); color: var(--muted); margin: 8px 0 0; }

/* Диаграмма */
.chart-block { margin-top: var(--gap); }
.chart { display: grid; gap: 10px; margin-top: 16px; }
.chart__row { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 16px; align-items: center; font-size: var(--fs-sm); }
.chart__track { display: flex; align-items: center; gap: 10px; }
.chart__stack { display: flex; gap: 2px; height: 14px; border-radius: 4px; overflow: hidden; }
.chart__bar { height: 100%; background: var(--purple); min-width: 2px; }
.chart__bar--reg { background: var(--purple-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-sm); color: var(--muted); }
.legend__dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--purple); margin-right: 6px; vertical-align: -1px; }
.legend__dot--reg { background: var(--purple-soft); }
#kcp-totals { margin-top: 32px; }
.card__base { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--purple); margin: 8px 0 2px; }
.card__base:first-child { margin-top: 0; }
.chart__value { font-weight: 600; white-space: nowrap; }
.placeholder-block { margin-top: var(--gap); border-style: dashed; }

/* ===== Опрос ===== */
.quiz { background: var(--white); border: 1px solid var(--purple-line); border-radius: var(--radius); padding: 32px; }
.quiz__progress { margin-bottom: 24px; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.progress { height: 6px; background: var(--purple-tint); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--orange); transition: width .2s; }
.quiz__step h3 { font-size: var(--fs-h3); }

.options { display: grid; gap: 10px; margin-top: 16px; }
.option { display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: block; padding: 14px 16px 14px 48px; position: relative;
  border: 2px solid var(--purple-line); border-radius: 10px; transition: border-color .15s, background .15s;
}
.option span::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border: 2px solid var(--purple-line); border-radius: 50%; background: var(--white);
}
.option input[type=checkbox] + span::before { border-radius: 5px; }
.option:hover span { border-color: var(--purple); }
.option input:checked + span { border-color: var(--purple); background: var(--purple-tint); }
.option input:checked + span::before { border-color: var(--purple); background: var(--purple); box-shadow: inset 0 0 0 3px var(--white); }

.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; margin-top: 12px; font-size: var(--fs-sm); font-weight: 500; }
.field input {
  font: inherit; font-size: var(--fs-lg); padding: 10px 12px; min-height: 48px;
  border: 2px solid var(--purple-line); border-radius: 10px; width: 100%;
}
.field input:focus { outline: none; border-color: var(--purple); }
#avg-score { max-width: 200px; }
.sum { margin-top: 16px; font-size: var(--fs-lg); }
.sum strong { color: var(--purple); }
.error { color: #b3261e; font-size: var(--fs-sm); margin-top: 12px; }

.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.scale label { cursor: pointer; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale span {
  display: flex; align-items: center; justify-content: center; height: 56px;
  border: 2px solid var(--purple-line); border-radius: 10px; font-weight: 600; font-size: var(--fs-lg);
}
.scale label:hover span { border-color: var(--purple); }
.scale input:checked + span { background: var(--purple); border-color: var(--purple); color: var(--white); }
.scale__legend { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); margin-top: 8px; }

.quiz__nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 32px; }
.quiz__nav #quiz-back { margin-right: auto; }

/* Результат */
.result { border: 1px solid var(--purple-line); border-radius: var(--radius); padding: 20px; margin-top: 16px; }
.result--main { border: 2px solid var(--orange); background: var(--orange-tint); }
.result__label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); }
.result h4 { font-size: var(--fs-h3); margin: 4px 0 8px; color: var(--purple-dark); }
.result p { font-size: var(--fs-sm); }
.result dl { margin: 12px 0 0; font-size: var(--fs-sm); display: grid; gap: 4px; }
.result dl div { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.result dt { color: var(--muted); }
.result dd { margin: 0; font-weight: 600; }
.result .btn { margin-top: 16px; }
.invite { margin-top: 24px; padding: 20px; background: var(--purple); color: var(--white); border-radius: var(--radius); font-size: var(--fs-lg); font-weight: 600; text-align: center; }

/* Контакты */
.contacts { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: var(--fs-sm); }
.contacts dt { color: var(--muted); }
.contacts dd { margin: 0; }

/* Подвал */
.footer { background: var(--purple-dark); color: #d8c8e8; padding: 24px 0; font-size: var(--fs-sm); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--white); }

/* ===== Наглядные блоки ===== */
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--muted); }
.subsection { margin-top: 64px; }

/* Ряд крупных цифр */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.stat { background: var(--purple-tint); border-radius: var(--radius); padding: 20px; }
.stat__num { display: block; font-size: var(--fs-h2); font-weight: 700; color: var(--purple); line-height: 1.1; }
.stat__label { display: block; margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.stat--accent { background: var(--orange-tint); }
.stat--accent .stat__num { color: var(--orange-dark); }
.hero .stats { margin-bottom: 0; }
.hero .stat { background: rgba(255,255,255,.1); }
.hero .stat__num { color: var(--white); }
.hero .stat__label { color: #d8c8e8; }

/* Карточки-преимущества: короткий заголовок + одна фраза */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.feature { border: 1px solid var(--purple-line); border-radius: var(--radius); padding: 20px; background: var(--white); }
.feature h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.feature p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.feature--accent { border-color: var(--orange); background: var(--orange-tint); }

/* Шаги процесса: лента с номерами */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); counter-reset: step; }
.steps li { position: relative; padding-right: 16px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: var(--white);
  font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 2px; background: var(--purple-line); }
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--orange); }
.steps strong { display: block; color: var(--purple-dark); margin-bottom: 4px; }
.steps span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }

/* Лента истории */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.timeline__item { border-top: 4px solid var(--purple); padding-top: 12px; }
.timeline__item:last-child { border-color: var(--orange); }
.timeline__year { font-size: var(--fs-h3); font-weight: 700; color: var(--purple); }
.timeline__item p { font-size: var(--fs-sm); margin: 4px 0 0; }

/* Метки */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--purple-tint); color: var(--purple-dark); font-size: var(--fs-sm); font-weight: 500; }
.chip--accent { background: var(--orange-tint); color: var(--orange-dark); }

/* Выделенный блок */
.callout { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--orange-tint); border-left: 6px solid var(--orange); margin-top: 24px; }
.callout h3 { margin-bottom: 6px; }
.callout p { margin: 0; }
.callout--purple { background: var(--purple-tint); border-color: var(--purple); }

/* Маршрут: класс → колледж → диплом → работа или вуз */
.route { display: grid; grid-template-columns: 1fr auto 1.4fr auto 1fr auto 1.2fr; gap: 8px; margin-top: 12px; }
.route__node { border-radius: var(--radius); padding: 16px; background: var(--white); border: 2px solid var(--purple-line); }
.route__node strong { display: block; color: var(--purple-dark); }
.route__node span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; margin-top: 4px; }
.route__node--start { background: var(--purple); border-color: var(--purple); }
.route__node--start strong, .route__node--start span { color: var(--white); }
.route__node--end { border-color: var(--orange); }
.route__arrow { align-self: center; color: var(--orange); font-weight: 700; font-size: var(--fs-h3); }
.route-label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 28px 0 0; }

/* Фильтр специальностей */
.filter { display: inline-flex; gap: 4px; padding: 4px; background: var(--white); border: 1px solid var(--purple-line); border-radius: 12px; margin-top: 32px; }
.filter button { font: inherit; font-size: var(--fs-sm); font-weight: 600; padding: 8px 16px; border: 0; border-radius: 8px; background: transparent; color: var(--purple); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--purple); color: var(--white); }

/* Показатели в карточке специальности */
.card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.badge { font-size: var(--fs-xs); font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--purple-tint); color: var(--purple); }
.badge--accent { background: var(--orange-tint); color: var(--orange-dark); }
.base { margin-top: 14px; }
.card .base:first-of-type { margin-top: auto; padding-top: 12px; }
.base__label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--purple); margin-bottom: 6px; }
.base__stats { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; }
.mini { background: var(--purple-tint); border-radius: 8px; padding: 8px 10px; }
.mini b { display: block; font-size: var(--fs-lg); color: var(--purple-dark); line-height: 1.2; }
.mini small { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.3; }
.mini--budget { background: var(--purple); }
.mini--budget b, .mini--budget small { color: var(--white); }
.mini--none b { color: var(--muted); font-weight: 500; }
.card__foot { margin: 12px 0 0; font-size: var(--fs-xs); color: var(--muted); }

/* Документы для поступления — карточки с иконками */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc { background: var(--white); border: 1px solid var(--purple-line); border-radius: var(--radius); padding: 24px 20px; }
.doc svg { width: 44px; height: 44px; color: var(--purple); margin-bottom: 14px; }
.doc h3 { font-size: var(--fs-lg); margin: 0 0 4px; }
.doc p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Подробный блок о профессии */
.detail { margin-top: 48px; border-radius: var(--radius); background: var(--purple-tint); padding: 32px; }
.detail h2 { margin-bottom: 8px; }
.detail .grid { margin-top: 24px; }
.detail .block h3 { font-size: var(--fs-lg); }

/* ===== Адаптив ===== */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 12px 16px;
    background: var(--white); border-bottom: 1px solid var(--purple-line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: var(--fs-base); }
  .stats, .features, .timeline { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { top: 40px; bottom: -20px; left: 19px; right: auto; width: 2px; height: auto; }
  .route { grid-template-columns: 1fr; }
  .route__arrow { transform: rotate(90deg); justify-self: center; line-height: 1; }
  .callout { grid-template-columns: 1fr; }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .cards, .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0; }
  .grid--2, .grid--3, .cards, .facts, .fields, .timeline, .features { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .docs { grid-template-columns: 1fr; }
  .detail { padding: 20px; }
  .hero::before { width: 220px; height: 220px; top: -120px; right: -80px; }
  .hero::after { display: none; }
  .stat { padding: 14px; }
  .filter { display: flex; }
  .filter button { flex: 1; padding: 8px 4px; }
  .block, .path, .quiz { padding: 20px; }
  .logo span { display: none; }
  .chart__row { grid-template-columns: 1fr; gap: 4px; }
  .contacts { grid-template-columns: 1fr; gap: 0; }
  .contacts dd { margin-bottom: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .quiz__nav { flex-wrap: wrap; }
  .quiz__nav .btn { flex: 1; }
}

/* Метки внутри цветных блоков — на белой подложке, иначе сливаются с фоном */
.path .chip, .block--tint .chip { background: var(--white); }
.detail .stat { background: var(--white); }
.detail .stat--accent { background: var(--orange-tint); }
