/* «просто.»: всё, что поверх базовых стилей style.css — бренд, спидометр, тёмная игра и режим задания. */

/* ---------- Бренд, главная, спидометр ---------- */
/* Общие стили трёх комбинаций. Основа — стили опубликованного сайта. */

:root {
  --brand: #ffe14d;
  --brand-deep: #f5c400;
  --brand-soft: #fff8d1;
  --card: #fafaf7;
  --radius: 14px;
  --accent: var(--brand);
  --accent-deep: var(--brand-deep);
  --accent-ink: #111;
  --bad: #e3000f;
  --mid: #ffc400;
  --good: #19a35b;
}

/* Логотип «проще.» */

.brand { display: inline-flex; align-items: baseline; gap: 1px; color: var(--ink); border: 0; text-decoration: none; }
.brand__word { position: relative; z-index: 0; font-weight: 800; font-size: 23px; letter-spacing: -.04em; line-height: 1; padding: 2px 6px 4px; }
.brand__word::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 18%; bottom: 0;
  background: var(--brand); border-radius: 3px 9px 4px 11px / 10px 4px 9px 3px; transform: rotate(-1.5deg);
  transition: transform .25s ease;
}
.brand:hover .brand__word::before { transform: rotate(1deg) scaleX(1.04); }
.brand__dot { font-weight: 800; font-size: 26px; line-height: 1; }
.brand__plain { font-weight: 800; font-size: 23px; letter-spacing: -.04em; line-height: 1; }

/* Кнопки */

.btn { border-radius: 10px; }
.btn--big { border-radius: 12px; }
.btn--brand, .btn--dark { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--brand:hover, .btn--dark:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--accent-ink); }
.btn--small { height: 34px; padding: 0 12px; font-size: 14px; }
.btn:active { transform: translateY(1px); }
kbd { margin-left: 10px; padding: 2px 6px; font: 500 12px/1.4 var(--font); background: rgba(0, 0, 0, .1); border-radius: 5px; }

/* Заголовок */

.hero2 { padding-top: 56px; padding-bottom: 28px; }
.hero2 h1 { font-size: 56px; line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::before {
  content: ""; position: absolute; z-index: -1; left: -4px; right: -4px; bottom: 4px; height: 52%;
  background: var(--brand); border-radius: 4px 12px 5px 14px / 12px 5px 12px 4px; transform-origin: left center;
  animation: sweep .9s .3s cubic-bezier(.6, 0, .2, 1) both;
}
@keyframes sweep { from { transform: scaleX(0) rotate(-1deg); } to { transform: scaleX(1) rotate(-1deg); } }
.hero2__kicker { font-size: 15px; color: var(--ink-3); }
.hero2__kicker + h1 { margin-top: 12px; }

/* Проверка */

.check { padding-bottom: 88px; }
.summary { margin-bottom: 14px; font-size: 20px; line-height: 1.4; min-height: 28px; }
.summary b { font-weight: 700; }
.summary .ok { color: var(--good); }

.editor { border-radius: var(--radius); border-color: #dcdcd6; }
.editor:focus-within { box-shadow: 0 0 0 4px rgba(255, 225, 77, .45); border-color: var(--ink); }
.editor__input { min-height: 340px; }

.panel { background: var(--card); border-radius: 18px; padding: 22px 22px 18px; }
.metrics { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.metric__value { font-size: 28px; display: inline-block; }
.metric__value.is-bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: translateY(-3px) scale(1.06); } }
.metric__sub { font-size: 13px; }
.bar { height: 6px; border-radius: 3px; background: #e9e9e4; }
.bar__fill { border-radius: 3px; background: #e0664a; }
.bar__fill.is-ok { background: var(--good); }
.chip { border-radius: 999px; padding: 3px 11px; }
.goal.is-ok .goal__mark { animation: pop .3s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }

/* Спидометр */

.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge__track { fill: none; stroke: #ececec; stroke-width: 36; }
.gauge__zone { fill: none; stroke-width: 36; }
.gauge__zone--bad { stroke: var(--bad); }
.gauge__zone--mid { stroke: var(--mid); }
.gauge__zone--ok { stroke: var(--good); }
.gauge__ticks line { stroke: currentColor; stroke-width: 3; }
.gauge__ticks line.minor { stroke-width: 1.5; }
.gauge__label { font: 600 21px var(--font); fill: currentColor; }
.gauge__needle { transform-origin: 300px 300px; transform: rotate(-90deg); transition: transform .9s cubic-bezier(.3, 1.4, .5, 1); }
.gauge__needle line { stroke: currentColor; stroke-width: 9; stroke-linecap: round; }
.gauge__needle circle { fill: currentColor; }

.panel__gauge { text-align: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.gauge--panel { max-width: 210px; margin: 0 auto; }
.gauge--panel .gauge__track, .gauge--panel .gauge__zone { stroke-width: 46; }
.clarity { margin-top: 8px; }
.clarity__title { display: block; font-size: 13px; color: var(--ink-3); }
.clarity-value { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.clarity-value small { font-size: 16px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.clarity-value[data-level="ok"] { color: var(--good); }
.clarity-value[data-level="bad"] { color: var(--bad); }
.clarity__label { display: block; font-size: 14px; color: var(--ink-2); }

/* Приглашение в игру */

.promo-dark { background: #0d0d0d; color: #fff; padding: 80px 0; }
.promo-dark__in { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; align-items: center; }
.promo-dark .gauge { color: #fff; }
.promo-dark .gauge__track { stroke: #2a2a2a; }
.promo-dark__name { font-size: 15px; color: #8a8a8a; }
.promo-dark h2 { margin-top: 6px; font-size: 64px; line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.promo-dark p { margin: 18px 0 30px; max-width: 600px; font-size: 20px; line-height: 1.45; color: #c9c9c9; }

/* Правила */

.rule::before { width: 40px; height: 40px; display: grid; place-items: center; font-size: 18px; color: var(--ink); background: var(--brand); border-radius: 50%; }
.rule__ex { background: var(--card); border-radius: var(--radius); padding: 16px 18px; align-self: start; }
.method__grid > div { background: var(--card); border-radius: var(--radius); padding: 20px; }

/* ---------- Игра: оформление «Простомера» ---------- */

.pg { --ink: #000; }
.pg .btn { border-radius: 0; border-width: 2px; border-color: #000; font-weight: 600; }
.pg .btn:hover { background: #000; color: #fff; }
.pg .btn--brand, .pg .btn--dark { border-color: var(--accent); }
.pg .btn--brand:hover, .pg .btn--dark:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--accent-ink); }
.pg .btn--big { height: 58px; padding: 0 30px; font-size: 18px; }

.pg .start { margin: 0 auto; text-align: center; max-width: 860px; padding-top: 40px; }
.pg .gauge--start { max-width: 560px; margin: 0 auto; }
.pg .start h1 { margin-top: 24px; font-size: 112px; line-height: .9; letter-spacing: -.06em; font-weight: 800; }
.pg .start__sub { margin: 22px auto 0; max-width: 680px; font-size: 24px; line-height: 1.4; }
.pg .start .lead { margin: 18px auto 0; font-size: 19px; color: var(--ink-2); }
.pg .steps { text-align: left; max-width: 700px; margin-left: auto; margin-right: auto; }
.pg .steps li::before { color: var(--accent-strong, var(--bad)); font-size: 28px; }
.pg .start__actions { justify-content: center; }
.pg .roles { text-align: center; }

.pg .progress__cell { border-radius: 0; border: 2px solid #ddd; }
.pg .progress__cell.is-current { border-color: #000; background: #000; color: #fff; }
.pg .progress__cell.is-done { border-color: var(--good); }
.pg .task__title { font-size: 52px; font-weight: 800; letter-spacing: -.04em; }
.pg .editor { border: 2px solid #000; border-radius: 0; }
.pg .editor:focus-within { box-shadow: 8px 8px 0 var(--accent); }
.pg .panel { border: 2px solid #000; border-radius: 0; background: #fff; }
.pg .metrics { grid-template-columns: 1fr; gap: 14px; }
.pg .metric__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #777; }
.pg .metric__value { font-size: 26px; font-weight: 800; }
.pg .bar { border-radius: 0; }
.pg .bar__fill { border-radius: 0; background: var(--bad); }
.pg .goals { border-top: 2px solid #000; }
.pg .panel__gauge { border-bottom: 2px solid #000; }

.pg .result__top { grid-template-columns: 300px minmax(0, 1fr); align-items: center; border-bottom: 2px solid #000; }
.pg .result__gauge .score { margin-top: 10px; text-align: center; font-size: 64px; line-height: 1; }
.pg .result__gauge .score small { font-size: 16px; }
.pg .compare { border-bottom: 2px solid #000; }
.pg .compare__value { font-size: 30px; font-weight: 800; }
.pg .text-view { border: 2px solid #000; border-radius: 0; }
.pg .ideal { border-radius: 0; background: var(--brand-soft); border-left: 6px solid var(--accent); }
.pg .final { margin: 0 auto; }

@media (max-width: 920px) {
  .promo-dark__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .promo-dark .gauge { max-width: 320px; }
  .promo-dark h2 { font-size: 44px; }
  .panel { border-radius: 0; background: rgba(250, 250, 247, .97); padding: 10px 40px; }
  .panel__gauge { display: flex; align-items: center; gap: 14px; text-align: left; padding-bottom: 8px; margin-bottom: 8px; }
  .gauge--panel { width: 84px; margin: 0; }
  .clarity { margin: 0; }
  .clarity-value { font-size: 26px; }
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pg .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg .panel { border-width: 0 0 2px; }
  .pg .result__top { grid-template-columns: minmax(0, 1fr); }
  .pg .result__gauge { max-width: 300px; }
}

@media (max-width: 600px) {
  .top__nav { gap: 14px; font-size: 14px; }
  .top__nav a[href*="rules"] { display: none; }
  .brand__word, .brand__plain { font-size: 20px; }
  .hero2 { padding-top: 32px; }
  .hero2 h1 { font-size: 36px; }
  .summary { font-size: 17px; }
  .panel { padding: 10px 16px; }
  .metric__value { font-size: 20px; }
  .pg .start h1 { font-size: 60px; }
  .pg .start__sub { font-size: 19px; }
  .pg .task__title { font-size: 32px; }
  .pg .btn--big { height: 52px; padding: 0 20px; font-size: 16px; }
  kbd { display: none; }
}

/* ---------- Игра: тёмная страница ---------- */
/* Вариант C: одно имя — «Простомер». Слоган «Объясняйте проще», игра — тёмный полигон. */

.brand__word { padding-right: 3px; }
.hero2--center { text-align: center; }
.hero2--center h1 { font-size: 64px; }
.hero2--center + .check .summary { text-align: center; }

/* Полигон: тёмная страница, белые листы для текста */
body.pg {
  --ink: #f4f4f4; --ink-2: #bdbdbd; --ink-3: #8a8a8a; --line: #2c2c2c; --paper: #0d0d0d;
  background: #0d0d0d; color: var(--ink);
}
.pg .brand__word { color: #111; }
.pg .top { border-bottom-color: #2c2c2c; }
.pg .top__nav a { color: #bdbdbd; }
.pg .top__nav a[aria-current="page"] { color: #fff; }
.pg .gauge { color: #fff; }
.pg .gauge__track { stroke: #262626; }
.pg .btn { background: transparent; color: #fff; border-color: #fff; }
.pg .btn:hover { background: #fff; color: #000; }
.pg .btn--brand, .pg .btn--dark { background: var(--brand); border-color: var(--brand); color: #111; }
.pg .progress__cell { background: transparent; border-color: #333; color: #8a8a8a; }
.pg .progress__cell.is-current { background: #fff; border-color: #fff; color: #000; }
.pg .progress__cell.is-done { background: #161616; color: #fff; }
.pg .editor, .pg .panel, .pg .text-view, .pg .ideal {
  --ink: #111; --ink-2: #555; --ink-3: #8a8a8a; --line: #e4e4e4; --paper: #fff;
  background: #fff; color: #111; border-color: #fff;
}
.pg .editor:focus-within { box-shadow: 8px 8px 0 var(--brand); }
.pg .panel .goals, .pg .panel__gauge { border-color: #111; }
.pg .chip { color: #111; }
.pg .steps li { border-top-color: #2c2c2c; }
.pg .result__top, .pg .compare { border-color: #fff; }
.pg .ideal { border-left-color: var(--brand); }
.pg .footer { border-top-color: #2c2c2c; }
.pg kbd { background: rgba(0, 0, 0, .12); }

@media (max-width: 920px) {
  .pg .panel { background: #fff; }
}
@media (max-width: 600px) {
  .hero2--center h1 { font-size: 36px; }
}

/* на белой панели стрелка тёмная; номера шагов — жёлтые */
.pg .panel .gauge { color: #111; }
.pg .panel .gauge__track { stroke: #ececec; }
.pg .steps li::before { color: var(--brand); }

/* ---------- Игра: режим задания ---------- */
/* Раунд 2: главная — как в варианте A, игра — тёмная, как в варианте C, плюс режим задания. */

/* Шапка и подвал во время задания */
.top__exit { display: none; }
body.is-focus .top__nav, body.is-focus .top__author { display: none; }
body.is-focus .top__exit { display: inline; margin-left: auto; font-size: 14px; color: #8a8a8a; border-bottom-color: #333; }
body.is-focus .top__exit:hover { color: #fff; }
body.is-focus .footer { display: none; }
body.is-focus .top { border-bottom-color: transparent; }

/* Колонка задания по центру */
.focus { max-width: 760px; margin: 0 auto; padding: 28px 0 88px; text-align: center; }
.pg .progress--dots { justify-content: center; gap: 8px; padding: 0 0 28px; flex-wrap: wrap; overflow: visible; margin: 0; }
.pg .progress--dots .progress__cell { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #333; font-size: 0; display: block; }
.pg .progress--dots .progress__cell * { display: none; }
.pg .progress--dots .progress__cell.is-done { background: #8a8a8a; }
.pg .progress--dots .progress__cell.is-current { background: var(--brand); transform: scale(1.3); }
.focus .task__role { font-size: 15px; color: #8a8a8a; }
.focus .task__title { margin-top: 8px; font-size: 44px; }
.focus .task__aud { margin: 14px auto 0; max-width: 640px; font-size: 19px; line-height: 1.5; color: #c9c9c9; }
.focus .task__aud b { color: #fff; }
.focus .task__hint { margin: 30px 0 12px; font-size: 14px; color: #8a8a8a; }
.focus .sheet { text-align: left; border-radius: 6px; }
.focus .editor__input { min-height: 240px; }
.focus .game-actions { justify-content: center; margin-top: 22px; gap: 14px; }
.pg .btn--quiet { background: transparent; border-color: transparent; color: #8a8a8a; font-weight: 400; }
.pg .btn--quiet:hover { background: transparent; color: #fff; text-decoration: underline; }

/* Результат */
.result__hero { text-align: center; }
.gauge--result { max-width: 460px; margin: 0 auto; }
.result__hero .score { margin-top: 12px; font-size: 92px; line-height: .95; font-weight: 800; letter-spacing: -.05em; }
.result__hero .score small { font-size: 22px; font-weight: 400; color: #8a8a8a; letter-spacing: 0; }
.result__hero .stars { margin-top: 10px; font-size: 30px; letter-spacing: 6px; animation: starpop .6s .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes starpop { from { opacity: 0; transform: scale(.4); } }
.result__hero .verdict { margin: 14px auto 0; max-width: 560px; font-size: 20px; line-height: 1.45; }
.result__actions { justify-content: center; margin-top: 28px; }
.ideal { text-align: left; margin-top: 32px; }

.breakdown { margin-top: 36px; text-align: left; }
.breakdown > summary { list-style: none; cursor: pointer; text-align: center; color: #bdbdbd; font-size: 16px; padding: 12px 0; border-top: 1px solid #2c2c2c; }
.breakdown > summary::-webkit-details-marker { display: none; }
.breakdown > summary::after { content: " ↓"; }
.breakdown[open] > summary::after { content: " ↑"; }
.breakdown > summary:hover { color: #fff; }
.breakdown .compare { margin-top: 12px; padding: 24px 0; border-top: 1px solid #2c2c2c; border-bottom: 1px solid #2c2c2c; }
.breakdown .kicker { margin-top: 24px; }
.breakdown .text-view { margin-top: 10px; }
.breakdown__cols { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
.breakdown__aside { padding-top: 40px; }
.breakdown__aside .goals { margin-top: 0; padding-top: 0; border-top: 0; }
.breakdown__aside .goals + .goals { margin-top: 22px; padding-top: 16px; border-top: 1px solid #2c2c2c; }

@media (max-width: 760px) {
  .focus { padding-top: 16px; }
  .focus .task__title { font-size: 30px; }
  .focus .task__aud { font-size: 17px; }
  .result__hero .score { font-size: 68px; }
  .breakdown__cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .breakdown__aside { padding-top: 16px; }
  .pg .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Разбор под результатом всегда открыт */
.breakdown--open { margin-top: 56px; }
.breakdown--open .compare { margin-top: 0; }
.breakdown--open .ideal { margin-top: 32px; }
.breakdown--open .ideal[hidden] { display: block !important; }

/* ---------- Ссылка на автора и подвал ---------- */

.person { color: var(--ink); border-bottom: 2px solid var(--brand); transition: background-color .15s, border-color .15s; }
.person:hover { color: var(--ink); background: var(--brand-soft); border-bottom-color: var(--brand-deep); }
.top__author { font-size: 15px; }
.pg .person:hover { color: #111; background: var(--brand); }

.footer { padding: 40px 0 48px; }
.footer__in { grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px 56px; align-items: start; }
.footer__brand .footer__muted { margin-top: 10px; max-width: 420px; font-size: 14px; line-height: 1.5; }
.footer__nav { display: flex; gap: 20px; font-size: 15px; padding-top: 4px; }
.footer__nav a { color: var(--ink-2); border-bottom-color: transparent; }
.footer__nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.footer__author { font-size: 15px; color: var(--ink-2); padding-top: 4px; }

@media (max-width: 760px) {
  .footer__in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ---------- Страница правил: общее ---------- */

.r-hero { padding: 56px 0 32px; max-width: 820px; }
.r-hero h1 { margin-top: 12px; font-size: 56px; line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.r-lead { margin-top: 18px; font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.r-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.r-title { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.r-text { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.r-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.r-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ccc; }
.r-tag.is-auto { color: var(--good); }
.r-tag.is-auto::before { background: var(--good); }

/* 1. Карточки */

.r-filter { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; }
.r-filter .pill { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--card); border: 1px solid transparent; font-size: 15px; }
.r-filter .pill.is-on { background: var(--ink); color: #fff; }
.r-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.r-card { display: flex; flex-direction: column; padding: 24px 24px 22px; background: var(--card); border-radius: 18px; }
.r-card[hidden] { display: none !important; }
.r-card .r-title { margin-top: 16px; }
.r-ex { margin-top: auto; padding-top: 18px; font-size: 15px; line-height: 1.5; }
.r-ex p { padding: 12px 14px; background: #fff; border-radius: 10px; }
.r-ex p + p { margin-top: 6px; }
.r-ex span { display: block; font-size: 12px; color: var(--ink-3); }
.r-was { color: var(--ink-3); }
.r-was s { text-decoration-color: rgba(0, 0, 0, .25); }
.r-now { font-weight: 600; }

/* 2. Было → стало */

.r-bar { display: flex; justify-content: flex-end; padding-bottom: 12px; }
.r-rows { list-style: none; margin: 0; padding: 0; }
.r-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 36px 0; border-top: 1px solid var(--line); align-items: start; }
.r-row__rule .r-title { margin-top: 14px; font-size: 28px; }
.r-row__rule .r-text { font-size: 17px; }
.r-flip { padding: 24px 26px; background: #0d0d0d; color: #f4f4f4; border-radius: 18px; }
.r-flip__label { font-size: 13px; color: #8a8a8a; }
.r-flip__was { margin-top: 6px; font-size: 19px; line-height: 1.5; color: #e8e8e8; transition: color .3s, opacity .3s; }
.r-row.is-open .r-flip__was { color: #6f6f6f; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.r-flip__btn { margin-top: 18px; }
.r-flip__now { margin-top: 18px; padding-top: 16px; border-top: 1px solid #2c2c2c; animation: rise .4s ease both; }
.r-flip__now p:last-child { margin-top: 6px; font-size: 22px; line-height: 1.45; font-weight: 700; }
.r-flip__now mark { color: #111; background: linear-gradient(transparent 8%, var(--brand) 8%, var(--brand) 92%, transparent 92%); padding: 0 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* 3. Шпаргалка */

.s-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-bottom: 20px; }
.s-hint { font-size: 14px; color: var(--ink-3); }
.s-sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; padding: 32px 36px; border: 2px solid var(--ink); border-radius: 4px; }
.s-col__title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.s-col__title span { font-size: 14px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.s-list { list-style: none; margin: 0; padding: 0; }
.s-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.s-num { font-weight: 800; font-size: 18px; color: var(--ink); line-height: 1.3; }
.s-list h3 { font-size: 17px; line-height: 1.3; font-weight: 700; }
.s-list p { margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.s-list .s-ex { margin-top: 6px; font-size: 13px; }
.s-ex s { color: var(--ink-3); text-decoration-color: rgba(0, 0, 0, .3); }
.s-ex b { font-weight: 600; color: var(--ink); background: var(--brand-soft); padding: 0 3px; }

@media (max-width: 920px) {
  .r-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .s-sheet { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .r-hero { padding-top: 32px; }
  .r-hero h1 { font-size: 36px; }
  .r-cards { grid-template-columns: minmax(0, 1fr); }
  .s-sheet { padding: 20px 18px; }
}

@media print {
  /* поля задаём сами — так браузер не добавляет дату и адрес на лист */
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; }
  body { padding: 9mm 11mm; font-size: 10px; }
  .wrap { max-width: none; padding: 0; }
  .top, .footer, .s-bar, .r-hero .hero2__kicker { display: none !important; }
  .r-hero { padding: 0 0 10px; max-width: none; }
  .r-hero h1 { font-size: 28px; margin: 0; }
  .r-lead { font-size: 12px; margin-top: 4px; }
  .hl::before { animation: none; }
  .s-sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 0 20px !important; padding: 14px 16px; border-width: 1.5px; }
  .s-col__title { font-size: 16px; padding-bottom: 5px; border-bottom-width: 1.5px; }
  .s-col__title span { font-size: 11px; }
  .s-list li { padding: 8px 0; gap: 7px; grid-template-columns: 18px minmax(0, 1fr); break-inside: avoid; }
  .s-num { font-size: 13.5px; }
  .s-list h3 { font-size: 13px; }
  .s-list p { font-size: 10.4px; line-height: 1.4; margin-top: 2px; }
  .s-list .s-ex { font-size: 9.8px; margin-top: 4px; }
  .s-ex b { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Призыв под шпаргалкой: одна фраза-ссылка ---------- */

.cta-line { margin: 64px 0 96px; padding-top: 28px; border-top: 2px solid var(--ink); }
.cta-line__main { display: inline; font-size: 44px; line-height: 1.15; letter-spacing: -.035em; font-weight: 800; color: var(--ink); border: 0; background: linear-gradient(transparent 62%, var(--brand) 62%); }
.cta-line__main:hover { color: var(--ink); background: var(--brand); border: 0; }
.cta-line__sub { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.cta-line__sub a { color: var(--ink); border-bottom: 2px solid var(--brand); }

@media (max-width: 760px) {
  .cta-line__main { font-size: 30px; }
}
@media print { .cta-line { display: none !important; } }
