/* Hallmark · custom · idea: the app on a bigger screen, its route, its course covers, its honest numbers · vibe: calm, honest, practical, same as the app · paper #F6F6F3 · accent #0B7285 · money #1D7F55 · faces: Onest · posture: restrained · hero: brand band with the welcome route, the real Today screen rising from it · nav: wordmark and three links · footer: mark, disclaimer, links, languages */
/* critique: one brand band per page like one brand surface per screen in the app; money green only on money; course colour only on covers and the route */
/* Hallmark · waive 3 · lesson hints in the app carry the same inline bar · the risk list reuses the app's own hint pattern so site and app read as one system */

:root {
  /* NavigatorColors.kt, светлая тема; имена совпадают с переменными обложек способов (SvgArt.kt) */
  --bg: #F6F6F3;
  --surface: #FFFFFF;
  --tile: #EEEEEA;
  --line: #E3E3DE;
  --line-strong: #C9CAC3;
  --ink: #121A1E;
  --muted: #5C666A;
  --tertiary: #687175;
  --accent: #0B7285;
  --on-accent: #FFFFFF;
  --accent-soft: #E3F1F3;
  --money: #1D7F55;
  --amber: #9A6206;
  --danger: #B83A30;
  --brand: #0B7285;
  --on-brand: #FFFFFF;
  --on-brand-2: rgb(255 255 255 / .88);
  --brand-button: #FFFFFF;
  --on-brand-button: #0B7285;
  --mint: #8EE3B5;
  --soft: 14%;
  --money-soft: color-mix(in srgb, var(--money) var(--soft), var(--surface));
  --amber-soft: color-mix(in srgb, var(--amber) var(--soft), var(--surface));
  --danger-soft: color-mix(in srgb, var(--danger) var(--soft), var(--surface));
  /* линии способов (CourseLineColors.kt) - обложки ссылаются на них по имени */
  --violet: #7B61FF; --indigo: #4F5BD5; --coral: #E8613F; --sky: #2D8CEB; --orange: #E2731F; --plum: #9B4FB5;
  --course-amber: #D98C0F; --pink: #D24F88; --teal: #327D77; --rose: #AE6073; --slate: #5A7294; --steel: #467FA4; --olive: #758144;
  --terra: #A96149; --lavender: #78659C; --navy: #34558B; --graphite: #5E6670; --berry: #A0306E;
  --shadow: 0 24px 60px rgb(18 26 30 / .28);

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Tahoma, Arial, sans-serif;
  /* радиусы v2: 8 - чипы, 12 - кнопки и строки, 16 - карточки */
  --r-s: 8px; --r-m: 12px; --r-l: 16px;
  --gutter: 20px;
  --max: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416; --surface: #1B1F21; --tile: #24292B; --line: #30363A; --line-strong: #4A5256;
    --ink: #ECEEEC; --muted: #AAB2B5; --tertiary: #8D969A;
    --accent: #5BB8C8; --on-accent: #05191D; --accent-soft: #173238;
    --money: #55C08D; --amber: #E2A94A; --danger: #F2837A;
    --brand: #1B1F21; --on-brand: #ECEEEC; --on-brand-2: #AAB2B5; --brand-button: #5BB8C8; --on-brand-button: #05191D;
    --mint: #7BD9A8; --soft: 28%;
    --violet: #A08CFF; --indigo: #8C95F0; --coral: #F7896B; --sky: #5EA9F2; --orange: #F39A55; --plum: #C98BDE;
    --course-amber: #EDB04F; --pink: #EF7DAE; --teal: #78B9AF; --rose: #D89CAA; --slate: #9AB0D0; --steel: #84B1CE; --olive: #B0BC7B;
    --terra: #D5A28A; --lavender: #B5A5D6; --navy: #8FA8D6; --graphite: #A9B1BB; --berry: #DE7FB4;
    --shadow: 0 24px 60px rgb(0 0 0 / .5);
  }
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .play:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r-s); }
.hero a:focus-visible, .hero .play:focus-visible { outline-color: var(--on-brand); }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 700; letter-spacing: -.02em; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }

/* шапка */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; padding-block: 12px; color: var(--ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.brand-name { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-s); background: var(--accent); color: var(--on-accent); flex: none; }
.mark-svg { width: 30px; height: 30px; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: .95rem; }
.menu a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.menu a:hover, .menu a[aria-current] { color: var(--ink); }

/* кнопка: главная кнопка приложения на бирюзовой поверхности */
.play {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border-radius: var(--r-m); background: var(--brand-button); color: var(--on-brand-button);
  font: 600 1rem/1.2 var(--font); text-decoration: none;
}
.play:hover { background: color-mix(in srgb, var(--brand-button) 90%, var(--brand)); }
.play:active { transform: scale(.98); }
.play.is-soon { cursor: default; }
.play.is-soon:active { transform: none; }
a:active { opacity: .7; }
.final .play { background: var(--accent); color: var(--on-accent); }

/* первый экран: бирюзовая полоса, как шапка приветствия, и настоящий экран «Сегодня» */
.hero { background: var(--brand); color: var(--on-brand); padding-top: clamp(32px, 6vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px 64px; align-items: center; }
.hero-shot { align-self: end; }
.hero-text { padding-bottom: clamp(40px, 6vw, 72px); }
.route-art { width: min(320px, 80%); height: auto; color: var(--on-brand); margin: 0 0 20px -16px; }
.route-art .station { fill: var(--brand); stroke: var(--on-brand); stroke-width: 2.6; }
.route-art .goal { fill: var(--mint); }
.route-art .goal-check { stroke: var(--brand); }
[dir="rtl"] .route-art { transform: scaleX(-1); margin: 0 -16px 20px 0; }
.hero h1 { max-width: 13em; }
.lead { margin-top: 20px; max-width: 32em; font-size: 1.15rem; color: var(--on-brand-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.hero-shot .shot { width: 100%; border-radius: 28px 28px 0 0; box-shadow: var(--shadow); }

/* три обещания с экрана приветствия */
.promises { background: var(--surface); border-bottom: 1px solid var(--line); }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promises li { display: grid; gap: 2px; padding: 24px 24px 24px 0; }
.promises li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.promises strong { font-weight: 600; }
.promises span { color: var(--muted); font-size: .9rem; }

section.ways, section.course, section.risks, section.final { padding: clamp(56px, 8vw, 96px) 0; }
.head { display: grid; gap: 12px; max-width: 40rem; margin-bottom: 40px; }
.head p, .sub { color: var(--muted); }

/* карточки способов - как в каталоге приложения */
.way-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way {
  --rcs: color-mix(in srgb, var(--rc) var(--soft), var(--surface));
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-l); overflow: hidden;
}
.way-art { background: var(--rcs); }
.way-art svg { width: 100%; height: auto; }
/* вся карточка ведёт на страницу курса: ссылка на названии растянута на карточку */
.way { position: relative; }
.way-link { color: inherit; text-decoration: none; }
.way-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-l); }
.way:hover { border-color: var(--line-strong); }
.way:hover .way-link { color: var(--accent); }
.way-link:focus-visible { outline: none; }
.way-link:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 2px; }
/* обложки рисуются слева направо и в RTL, как в приложении (AndroidSVG направление не учитывает) */
.way-art svg { direction: ltr; }
.way-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; flex: 1; }
.way-short { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.money { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.amount { unicode-bidi: isolate; direction: ltr; color: var(--money); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.per { color: var(--muted); font-size: .9rem; }
.level { color: var(--tertiary); font-size: .8rem; }
.facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--tile); border-radius: var(--r-s); padding: 4px 8px; font-size: .8rem; color: var(--muted); }

/* курс как маршрут */
.course { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px 64px; align-items: start; }
.course-route .sub { margin-top: 12px; }
.route-list { list-style: none; margin: 32px 0 0; padding: 0; }
.route-list li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 12px 32px; }
.route-list li::before { content: ""; position: absolute; inset-inline-start: 7px; top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
.route-list li:first-child::before { top: 50%; }
.route-list li.finish::before { bottom: 50%; }
[dir="rtl"] .route-list li { padding: 12px 32px 12px 0; }
.station-mark { position: absolute; inset-inline-start: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--rc); }
.route-list li:first-child .station-mark { background: var(--rc); }
.st-title { font-weight: 600; }
.st-time { color: var(--tertiary); font-size: .85rem; white-space: nowrap; }
.flag { position: absolute; inset-inline-start: -6px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 6px; background: var(--tile); }
.flag::after { content: ""; position: absolute; inset: 6px 7px 5px 8px; border-inline-start: 2px solid var(--muted); background: linear-gradient(var(--muted), var(--muted)) 2px 0 / 8px 6px no-repeat; }
.course-shot { margin: 0; }
.shot--flat { width: 100%; max-width: 360px; border-radius: 28px; border: 1px solid var(--line); }
.course-shot figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; }

/* признаки обмана: полоса цвета риска, как подсказки в уроке */
.risk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 64px; }
.risk-list li { display: grid; gap: 4px; padding: 4px 0 4px 16px; border-inline-start: 3px solid var(--danger); }
[dir="rtl"] .risk-list li { padding: 4px 16px 4px 0; }
.risk-text { font-weight: 600; }
.risk-where { color: var(--tertiary); font-size: .85rem; }

/* финал */
.final { background: var(--accent-soft); padding-bottom: 0 !important; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 32px 64px; align-items: end; }
.final-grid > div:first-child { padding-bottom: clamp(56px, 8vw, 96px); display: grid; gap: 12px; }
.final-grid p { color: var(--muted); }
.final-shot .shot { width: 100%; border-radius: 28px 28px 0 0; box-shadow: var(--shadow); }

/* текстовые страницы: одна главная карточка, как рабочий экран приложения */
.doc { padding: clamp(32px, 6vw, 64px) 0 clamp(56px, 8vw, 96px); }
.doc .wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(24px, 5vw, 48px); }
.doc h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
.doc h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; margin: 32px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc p, .doc ul { margin: 0 0 16px; max-width: 40em; }
.doc > .wrap > p:first-of-type { color: var(--muted); font-size: 1.05rem; }
.doc ul { list-style: none; padding: 0; }
.doc li { position: relative; margin-bottom: 8px; padding-inline-start: 24px; }
.doc li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); }

/* страница курса: разделы экрана способа в приложении */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: .9rem; color: var(--tertiary); }
.crumbs a { color: var(--muted); }
.c-hero { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); padding: clamp(32px, 5vw, 56px) 0; }
.c-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 64px; align-items: center; }
.c-hero .lead { color: var(--muted); margin-top: 16px; }
.c-hero .play { background: var(--accent); color: var(--on-accent); }
.c-cover { --rcs: color-mix(in srgb, var(--rc) var(--soft), var(--surface)); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
.c-facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.c-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-facts li { display: grid; gap: 4px; padding: 20px 24px 20px 0; }
.c-facts li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.c-facts span { color: var(--tertiary); font-size: .85rem; }
.c-facts strong { font-weight: 600; }
.c-block { padding: clamp(48px, 7vw, 80px) 0; }
.c-block + .c-block { border-top: 1px solid var(--line); }
.c-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
.c-two h2, .c-block > .wrap > h2 { margin-bottom: 20px; }
.ladder { list-style: none; margin: 0 0 16px; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.ladder li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 20px; }
.ladder li + li { border-top: 1px solid var(--line); }
.lvl { font-weight: 600; }
.ladder .amount { font-size: 1.25rem; text-align: end; }
.lvl-note { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
.cost-label { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.c-block .sub + .sub { margin-top: 12px; }
.c-program { background: var(--surface); }
.c-cta-card { background: var(--brand); color: var(--on-brand); border-radius: var(--r-l); padding: 28px; display: grid; gap: 12px; position: sticky; top: 24px; }
.c-cta-card p { color: var(--on-brand-2); }
.c-cta-card .cta { margin-top: 8px; }
.fraud-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 64px; }
.fraud-list li { display: grid; gap: 8px; padding-inline-start: 16px; border-inline-start: 3px solid var(--danger); }
.fraud-list p { color: var(--muted); font-size: .95rem; }
.fraud-list .todo { color: var(--ink); }
.faq { max-width: 48rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--r-s); }
.faq details p { padding: 0 0 16px; color: var(--muted); max-width: 42em; }
.next-list .way-body { padding-bottom: 16px; }

.read-first { color: var(--on-brand); font-weight: 600; }
.route-list a { color: var(--accent); text-decoration: none; }
.route-list a:hover { text-decoration: underline; }
.route-list li.is-current .st-title { color: var(--rc); }

/* урок: страницы урока одна под другой, каждая - как экран урока в приложении */
.l-wrap { max-width: 46rem; }
.l-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(28px, 5vw, 48px) 0; }
.l-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.l-cover { --rcs: color-mix(in srgb, var(--rc) var(--soft), var(--surface)); margin-top: 24px; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
.l-pos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.l-pos span { background: var(--tile); border-radius: var(--r-s); padding: 4px 8px; font-size: .85rem; color: var(--muted); }
.l-body { padding: 24px 0 clamp(56px, 8vw, 96px); }
.l-page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 4vw, 32px); margin-top: 16px; display: grid; gap: 16px; }
.l-page h2 { font-size: 1.4rem; letter-spacing: -.015em; }
.l-page > p { max-width: 40em; }
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.l-kind { display: flex; align-items: center; gap: 8px; color: var(--tertiary); font-size: .85rem; }
.l-kind .ic { width: 16px; height: 16px; }
.hint { border-inline-start: 3px solid var(--accent); padding: 4px 0 4px 12px; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; }
.hint > .ic { color: var(--accent); margin-top: 1px; }
.hint > div { display: grid; gap: 4px; }
[dir="rtl"] .hint { padding: 4px 12px 4px 0; }
.hint strong { font-weight: 600; font-size: .95rem; }
.hint p { color: var(--muted); font-size: .95rem; }
.l-list, .l-steps { margin: 0; padding-inline-start: 24px; display: grid; gap: 8px; }
.l-cards { list-style: none; margin: 0; padding: 0; display: grid; }
.l-cards li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.l-cards li > div { display: grid; gap: 4px; }
.l-ic { color: var(--muted); }
.l-ic .ic { width: 24px; height: 24px; }
.l-cards li + li { border-top: 1px solid var(--line); }
.l-cards p { color: var(--muted); font-size: .95rem; }
.l-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); }
.l-table table { border-collapse: collapse; width: 100%; font-size: .95rem; font-variant-numeric: tabular-nums; }
.l-table th, .l-table td { text-align: start; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); }
.l-table thead th { border-top: 0; background: var(--tile); font-weight: 600; font-size: .85rem; color: var(--muted); }
.l-table tbody th { font-weight: 600; }
.l-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.l-check label, .l-quiz label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.l-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.l-plats { list-style: none; margin: 0; padding: 0; }
.l-plats li { display: grid; gap: 2px; padding: 12px 0; }
.l-plats li + li { border-top: 1px solid var(--line); }
.l-plats span { color: var(--muted); font-size: .9rem; }
.l-plats em { color: var(--money); font-style: normal; font-weight: 600; font-size: .9rem; }
.l-ex { display: grid; gap: 4px; padding: 4px 0 4px 16px; border-inline-start: 3px solid var(--money); }
.l-ex.is-bad { border-color: var(--danger); }
[dir="rtl"] .l-ex { padding: 4px 16px 4px 0; }
.l-ex p { color: var(--muted); }
.l-visual { --rc: var(--accent); --rcs: color-mix(in srgb, var(--rc) var(--soft), var(--surface)); background: var(--rcs); border-radius: var(--r-m); overflow: hidden; }
.l-visual svg { width: 100%; max-width: 520px; height: auto; margin: 0 auto; direction: ltr; }
.l-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.l-chips li { border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: 8px 12px; font-size: .9rem; }
.l-field { border: 1px solid var(--line-strong); border-radius: var(--r-m); padding: 12px 16px; color: var(--tertiary); }
.l-prompt { background: var(--tile); border-radius: var(--r-m); padding: 16px; display: grid; gap: 12px; }
.l-prompt-head { display: grid; gap: 2px; }
.l-prompt-head span { color: var(--tertiary); font-size: .85rem; }
.l-prompt pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 .9rem/1.55 var(--font); }
.var { background: none; color: var(--amber); font-weight: 600; }
.copy {
  justify-self: start; min-height: 44px; padding: 0 20px; border-radius: var(--r-m); border: 1px solid var(--accent);
  background: var(--surface); color: var(--accent); font: 600 .95rem var(--font); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.copy:hover { background: var(--accent-soft); }
.copy:active { transform: scale(.98); }
.copy:disabled { background: var(--tile); color: var(--tertiary); border-color: var(--line); cursor: not-allowed; }
.copy:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* тест без скрипта: выбранный вариант показывает разбор, верный - зелёный, неверный - красный */
.l-q { font-weight: 600; font-size: 1.05rem; }
.l-quiz { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.l-quiz li { border: 1px solid var(--line); border-radius: var(--r-m); }
.l-quiz label { padding: 16px; }
.l-quiz input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.q-mark { display: none; }
.l-quiz li.is-right .q-mark .ic { color: var(--money); }
.l-quiz li.is-wrong .q-mark .ic { color: var(--danger); }
.l-quiz li:has(input:checked) .q-mark, .l-quiz:has(input:checked) li.is-right .q-mark { display: block; }
.l-quiz li:has(input:checked) input, .l-quiz:has(input:checked) li.is-right input { display: none; }
.l-explain { display: none; padding: 0 16px 16px 48px; color: var(--muted); font-size: .95rem; }
[dir="rtl"] .l-explain { padding: 0 48px 16px 16px; }
.l-quiz li:has(input:checked) .l-explain { display: block; }
.l-quiz li.is-right:has(input:checked) { border: 2px solid var(--money); }
.l-quiz li.is-wrong:has(input:checked) { border: 2px solid var(--danger); }
.l-quiz:has(input:checked) li.is-right { border: 2px solid var(--money); }
.l-quiz:has(input:checked) li.is-right .l-explain { display: block; }
.l-quiz li.is-right .l-explain strong { color: var(--money); }
.l-quiz li.is-wrong .l-explain strong { color: var(--danger); }
.l-rule { display: none; }
.l-page:has(.l-quiz input:checked) .l-rule { display: grid; }
.l-sum { background: var(--accent-soft); border-color: transparent; }
.l-next { display: grid; gap: 4px; margin-top: 16px; padding: 20px 24px; border-radius: var(--r-l); background: var(--accent); color: var(--on-accent); text-decoration: none; }
.l-next span { opacity: .85; font-size: .9rem; }
.l-next strong { font-size: 1.2rem; }
.l-next:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.l-continue { margin-top: 16px; position: static; }
.l-continue .route-list li::before { background: color-mix(in srgb, var(--on-brand) 35%, transparent); }
.l-continue .st-title, .l-continue .st-time { color: var(--on-brand); }
.l-continue .route-list a { color: var(--on-brand); text-decoration: underline; }
.l-continue .station-mark { background: var(--brand); border-color: var(--on-brand); }
.l-continue .is-current .st-title { color: var(--on-brand); font-weight: 700; }
.l-continue .is-current .station-mark { background: var(--mint); border-color: var(--mint); }
.l-continue .play { background: var(--brand-button); color: var(--on-brand-button); }

/* подвал */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: .9rem; color: var(--muted); }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; max-width: 46rem; margin-bottom: 24px; }
.foot-links, .langs { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; }
.foot a { color: var(--muted); }
.langs a { text-decoration: none; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .way-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: minmax(0, 1fr); }
  .course-shot { max-width: 420px; }
  .c-hero-grid, .c-two { grid-template-columns: minmax(0, 1fr); }
  .c-cover { max-width: 480px; }
  .c-cta-card { position: static; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero-grid, .final-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding-bottom: 8px; }
  .hero-shot, .final-shot { width: min(300px, 82%); margin: 0 auto; }
  .promises ul, .way-list, .risk-list, .fraud-list, .c-facts ul { grid-template-columns: minmax(0, 1fr); }
  .c-facts li, .c-facts li + li { padding: 12px 0; border-inline-start: 0; }
  .c-facts li + li { border-top: 1px solid var(--line); }
  .promises li, .promises li + li { padding: 16px 0; border-inline-start: 0; }
  .promises li + li { border-top: 1px solid var(--line); }
  .final-grid > div:first-child { padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .play:active { transform: none; }
}

/* подсказка языка (site.js) и дата обновления */
.lang-hint { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 8px 16px; background: var(--accent-soft); color: var(--ink); font-size: .9rem; }
.lang-hint a { color: var(--accent); font-weight: 600; }
.lang-hint button { border: 0; background: none; color: var(--muted); font: 400 1.25rem/1 var(--font); cursor: pointer; padding: 4px 8px; border-radius: var(--r-s); }
.lang-hint button:hover { color: var(--ink); }
.lang-hint button:active { transform: scale(.95); }
.lang-hint button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.updated { margin-top: 12px; color: var(--tertiary); font-size: .85rem; }
