/* ВсемБег — превью сайта.
   Палитра и типографика: sportbot/docs/visual-identity-system.md
   Правило гайда, которое здесь важнее всех: текст на лайме — только тёмный.
   Белый на лайме даёт 2.9:1 и запрещён.
   Mobile-first, брейкпоинты 768 и 1024 — как в основном репозитории pcnc.pro. */

@font-face {
  font-family: 'Oswald';
  src: url('../assets/fonts/Oswald.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Палитра */
  --black: #000000;
  --charcoal: #151515;
  --surface: #101010;
  --lime: #5FA92D;
  --lime-bright: #74c93c;   /* ховер заливки, не для текста на тёмном */
  --signal: #5FE806;        /* только свечение, никогда не текст */
  --white: #ffffff;
  --muted: rgba(255, 255, 255, .62);
  --hair: rgba(255, 255, 255, .14);
  --on-lime: #0d0d0d;       /* единственный допустимый цвет текста поверх лайма */

  /* Типографика */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Ритм */
  --gap: 1rem;
  --section-y: 4rem;
  --radius: 0.75rem;
  --maxw: 68rem;
}

/* Ступени кегля — вся вёрстка в rem, поэтому масштабируется целиком */
html { font-size: 18px; }
html[data-font-scale="1"] { font-size: 20px; }
html[data-font-scale="2"] { font-size: 23px; }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--lime-bright); }

h1, h2, h3, .wordmark, .kicker, .btn, .chip, .badge, .step__n, .facts__num {
  font-family: var(--font-display);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
h3 { font-size: 1.15rem; line-height: 1.25; margin: 0 0 .35rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 46rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* Фокус виден всегда и везде — базовое требование доступности */
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--lime); color: var(--on-lime);
  font-family: var(--font-display); font-weight: 600;
  padding: .7rem 1.4rem; border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--on-lime); }

/* ---------- Черновик-полоска ---------- */
.draft-bar {
  display: flex; align-items: center; gap: .75rem;
  background: var(--lime); color: var(--on-lime);
  padding: .55rem 1.25rem;
  font-size: .82rem; line-height: 1.35;
}
.draft-bar p { margin: 0; flex: 1; }
.draft-bar__close {
  flex: 0 0 auto;
  background: transparent; border: 1px solid rgba(0, 0, 0, .35);
  color: var(--on-lime); border-radius: 50%;
  width: 1.6rem; height: 1.6rem; line-height: 1;
  font-size: 1.05rem; cursor: pointer;
}
.draft-bar__close:hover { background: rgba(0, 0, 0, .12); }
.draft-bar[hidden] { display: none; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 3.6rem;
  flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: .5rem;
  color: var(--white); text-decoration: none;
  margin-right: auto;
}
.brand img { width: 2.2rem; height: auto; }
.brand__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; letter-spacing: .02em;
}

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--white); text-decoration: none;
  font-size: .84rem; letter-spacing: .04em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 600;
  padding: .3rem 0; display: inline-block;
}
.site-nav a:hover { color: var(--lime); }

/* Панель доступности */
.a11y-panel { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.a11y-panel__group { display: flex; align-items: center; gap: .25rem; }
.a11y-panel__label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-right: .15rem;
}
.a11y-btn {
  font-family: var(--font-display); font-weight: 600;
  background: transparent; color: var(--white);
  border: 1px solid var(--hair); border-radius: .4rem;
  padding: .25rem .5rem; min-width: 2rem;
  font-size: .8rem; line-height: 1.2; cursor: pointer;
}
.a11y-btn:hover { border-color: var(--lime); color: var(--lime); }
.a11y-btn[aria-pressed="true"] {
  background: var(--lime); color: var(--on-lime); border-color: var(--lime);
}
.a11y-btn--contrast { white-space: nowrap; padding-inline: .6rem; }

/* .btn ниже по файлу задаёт display: inline-flex — селектор с двумя классами,
   иначе шапочная кнопка не спрячется на узких экранах. */
.btn.site-header__cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem;
  background: transparent; border: 1px solid var(--hair);
  border-radius: .4rem; cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block; width: 1.1rem; height: 2px;
  background: var(--white); position: relative;
}
.menu-toggle__bars::before { content: ''; position: absolute; top: -.4rem; }
.menu-toggle__bars::after { content: ''; position: absolute; top: .4rem; }

/* ---------- Секции ---------- */
.section { padding: var(--section-y) 0; }
.section--surface { background: var(--charcoal); }

.kicker {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .13em;
  font-size: .78rem; color: var(--lime);
  margin: 0 0 .6rem;
}
h2 + .lead, .lead { font-size: 1.06rem; color: rgba(255, 255, 255, .82); }
.note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.subhead { margin: 2.5rem 0 1rem; font-size: 1.25rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 3.5rem 0 4rem;
  text-align: center;
}
.hero__glow {
  position: absolute; left: 50%; top: 30%;
  width: 60rem; height: 60rem; max-width: 160vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(95, 232, 6, .18) 0%,
    rgba(95, 169, 45, .07) 32%,
    rgba(0, 0, 0, 0) 62%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__brand {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  margin-bottom: 2rem;
}
.hero__brand img { width: 7rem; }
.wordmark {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  font-size: .8rem; padding-left: .3em; color: var(--white);
}
.wordmark--sm { font-size: .72rem; color: var(--muted); }

.hero__title {
  font-size: clamp(3rem, 1.6rem + 9vw, 6.5rem);
  line-height: .95; margin: 0;
  font-weight: 700; letter-spacing: .005em;
}
.hero__slogan {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(1.05rem, .8rem + 1.4vw, 1.6rem);
  line-height: 1.2; color: var(--lime);
  margin: .8rem 0 0;
}
.hero__lead {
  max-width: 34rem; margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, .8); font-size: 1.05rem;
}

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 1.6rem auto 0; max-width: 34rem;
  background: rgba(95, 169, 45, .12);
  border: 1px solid rgba(95, 169, 45, .45);
  border-radius: 2rem; padding: .5rem 1rem;
  font-family: var(--font-body); font-size: .82rem; line-height: 1.35;
  color: rgba(255, 255, 255, .9); text-align: left;
}
.badge__mark { color: var(--lime); font-size: 1rem; flex: 0 0 auto; }

.hero__actions {
  display: flex; flex-direction: column; gap: .7rem;
  margin: 1.8rem auto 0; max-width: 24rem;
}
.hero__qr { margin-top: 2.5rem; }
.hero__qr-caption {
  margin: .9rem auto 0; max-width: 24rem;
  font-weight: 600; font-size: .95rem;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-align: center; text-decoration: none;
  border-radius: 2rem; padding: .7rem 1.4rem;
  font-size: .88rem; letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { padding: .85rem 1.6rem; font-size: .95rem; }
.btn--primary { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.btn--primary:hover { background: var(--lime-bright); border-color: var(--lime-bright); color: var(--on-lime); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--hair); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- QR ---------- */
.qr-card {
  display: inline-block; background: #fff;
  padding: .8rem; border-radius: var(--radius);
}
.qr-card img {
  display: block; width: 8.5rem; height: 8.5rem;
  image-rendering: pixelated;
}

/* ---------- Карточки возможностей ---------- */
.cards {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1rem;
}
.card {
  background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 1.3rem;
}
.card__ico { font-size: 1.6rem; line-height: 1; display: block; margin-bottom: .6rem; }
.card__title { color: var(--white); }
.card p { color: rgba(255, 255, 255, .78); font-size: .95rem; margin: 0; }

/* ---------- Цитата ---------- */
.quote {
  margin: 2.2rem 0 0; padding: 1.3rem 1.5rem;
  background: var(--black); border-left: 4px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote blockquote { margin: 0; }
.quote p { font-style: italic; font-size: 1.02rem; color: rgba(255, 255, 255, .9); }
.quote figcaption {
  margin-top: .8rem; font-size: .82rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em;
}

/* ---------- Мокап чата ---------- */
.demo-layout { display: grid; gap: 1.5rem; margin-top: 2rem; }

.demo-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.demo-notes li { border-left: 2px solid var(--lime); padding-left: 1rem; }
.demo-notes h3 { font-size: 1rem; color: var(--white); }
.demo-notes p { color: rgba(255, 255, 255, .78); font-size: .92rem; margin: 0; }

.chat {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--hair); border-radius: var(--radius);
  overflow: hidden; max-width: 34rem;
}
.chat__bar {
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem 1rem;
  background: var(--charcoal); border-bottom: 1px solid var(--hair);
}
.chat__bar img { width: 1.6rem; }
.chat__name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.chat__status { font-size: .75rem; color: var(--lime); margin-left: auto; }

.chat__log {
  list-style: none; margin: 0; padding: 1rem;
  display: flex; flex-direction: column; gap: .7rem;
}
.msg { max-width: 88%; }
.msg__who {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; clip-path: inset(50%); overflow: hidden;
}
.msg p {
  margin: 0 0 .5rem; font-size: .92rem; line-height: 1.5;
}
.msg p:last-of-type { margin-bottom: 0; }

.msg--bot {
  align-self: flex-start;
  background: #1d1f1c; border: 1px solid var(--hair);
  border-radius: .9rem .9rem .9rem .2rem;
  padding: .75rem .9rem;
}
.msg--user {
  align-self: flex-end;
  background: var(--lime); color: var(--on-lime);
  border-radius: .9rem .9rem .2rem .9rem;
  padding: .55rem .9rem;
  font-weight: 500;
}
.msg--note {
  align-self: center; max-width: 100%;
  color: var(--muted); font-size: .8rem; font-style: italic;
  padding: .2rem 0;
}
.msg--note p { font-size: .8rem; }

.msg__buttons {
  list-style: none; display: flex; flex-wrap: wrap; gap: .4rem;
  margin: .7rem 0 0; padding: 0;
}
.chip {
  display: inline-block;
  border: 1px solid var(--lime); color: var(--lime);
  border-radius: 1.2rem; padding: .3rem .75rem;
  font-size: .8rem; letter-spacing: .02em;
}

/* ---------- Шаги ---------- */
.steps {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1.2rem;
}
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step__n {
  flex: 0 0 auto;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--lime); color: var(--on-lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 700;
}
.step__title { color: var(--white); }
.step p { color: rgba(255, 255, 255, .78); font-size: .95rem; margin: 0; }

/* ---------- Принципы методики ---------- */
.principles {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1.1rem;
}
.principles li {
  border-top: 1px solid var(--hair); padding-top: 1rem;
}
.principles h3 { color: var(--lime); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.principles p { color: rgba(255, 255, 255, .78); font-size: .95rem; margin: 0; }

/* ---------- Таблица ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* На широком экране таблица помещается целиком — подсказка там только мешает. */
.scroll-hint {
  font-size: .8rem; color: var(--muted); margin: 0 0 .5rem;
  text-transform: uppercase; letter-spacing: .06em;
}
table {
  width: 100%; border-collapse: collapse;
  min-width: 32rem; font-size: .92rem;
}
th, td {
  text-align: left; padding: .7rem .8rem;
  border-bottom: 1px solid var(--hair);
}
thead th {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  font-size: .78rem; color: var(--lime);
}
tbody th {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--white); width: 4rem;
}
tbody td { color: rgba(255, 255, 255, .8); }

/* ---------- Факты ---------- */
.facts {
  list-style: none; margin: 2rem 0; padding: 0;
  display: grid; gap: 1.2rem;
}
.facts li {
  background: var(--black); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 1.2rem;
}
.facts__num {
  display: block; color: var(--lime);
  font-size: 2rem; line-height: 1.1; font-weight: 700;
}
.facts__cap {
  display: block; margin-top: .5rem;
  color: rgba(255, 255, 255, .78); font-size: .9rem; line-height: 1.45;
}

/* ---------- Делает / не делает ---------- */
.two-col { display: grid; gap: 1.2rem; margin-top: 2rem; }
.panel {
  border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 1.3rem; background: var(--surface);
}
.panel--yes { border-left: 4px solid var(--lime); }
.panel--no { border-left: 4px solid rgba(255, 255, 255, .35); }
.panel h3 {
  text-transform: uppercase; letter-spacing: .06em; font-size: .95rem;
  margin-bottom: .9rem;
}
.panel--yes h3 { color: var(--lime); }
.panel--no h3 { color: var(--white); }
.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ticks li, .crosses li {
  position: relative; padding-left: 1.6rem;
  font-size: .93rem; color: rgba(255, 255, 255, .82); line-height: 1.45;
}
.ticks li::before {
  content: '✔'; position: absolute; left: 0; color: var(--lime); font-size: .95rem;
}
.crosses li::before {
  content: '✕'; position: absolute; left: 0; color: rgba(255, 255, 255, .6); font-size: .95rem;
}

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; display: grid; gap: .6rem; }
.faq details {
  background: var(--black); border: 1px solid var(--hair);
  border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: .9rem 2.6rem .9rem 1.1rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--lime); font-size: 1.4rem; line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--lime); }
.faq details > p {
  padding: 0 1.1rem 1.1rem; margin: 0;
  color: rgba(255, 255, 255, .8); font-size: .95rem;
}

/* ---------- Команда ---------- */
.team {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1.4rem;
}
.member { display: flex; gap: 1rem; align-items: center; }
.member img { width: 4.4rem; height: 4.4rem; flex: 0 0 auto; border-radius: 50%; }
.member__name { color: var(--white); font-size: 1.05rem; margin: 0; }
.member__role {
  color: var(--lime); font-size: .75rem; margin: .25rem 0 .15rem;
  text-transform: uppercase; letter-spacing: .05em;
  font-family: var(--font-display); font-weight: 600;
}
.member__desc { color: rgba(255, 255, 255, .7); font-size: .85rem; margin: 0; line-height: 1.35; }

/* ---------- CTA и контакты ---------- */
.section--cta { padding-bottom: 3rem; }
.cta-band {
  background: var(--charcoal); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 1.8rem;
  display: grid; gap: 1.6rem; align-items: center;
}
.cta-band h2 { margin-bottom: .6rem; }
.cta-band .btn { margin-top: 1.2rem; }
.qr-block { text-align: center; }
.qr-block__link {
  margin: .8rem 0 0; color: var(--lime);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
}

.contacts { margin-top: 2.5rem; }
.contacts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.contacts__list li { display: flex; gap: .7rem; align-items: baseline; font-size: 1rem; }
.contacts__ico { flex: 0 0 1.4rem; }
.contacts a { color: var(--white); }
.contacts a:hover { color: var(--lime); }

/* ---------- Подвал ---------- */
.site-footer {
  border-top: 1px solid var(--hair);
  padding: 2rem 0; margin-top: 1rem;
}
.site-footer__inner { display: grid; gap: 1rem; }
.signoff { display: flex; align-items: center; gap: .8rem; }
.signoff img { width: 3rem; opacity: .9; }
.site-footer__note { color: var(--muted); font-size: .82rem; margin: 0; }

/* ============ Брейкпоинты ============ */
@media (min-width: 48rem) {
  :root { --section-y: 5.5rem; }
  .hero { padding: 5rem 0 4rem; }
  .hero__actions { flex-direction: row; justify-content: center; max-width: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; }
  .cta-band { grid-template-columns: 1fr auto; padding: 2.2rem 2.4rem; }
  .site-footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer__note { text-align: right; }
  .menu-toggle { display: none; }
  .site-nav { display: block; }
  .scroll-hint { display: none; }
}

@media (min-width: 64rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .btn.site-header__cta { display: inline-flex; }
  /* На самом крупном кегле навигация с панелью занимают всю строку — кнопка
     переносится и разваливает шапку. Та же кнопка есть в первом экране. */
  html[data-font-scale="2"] .btn.site-header__cta { display: none; }
  .demo-layout { grid-template-columns: minmax(0, 34rem) 1fr; gap: 2.5rem; align-items: start; }
  .demo-notes { padding-top: .5rem; }
}

/* На узких экранах навигация раскрывается кнопкой */
@media (max-width: 47.99rem) {
  .site-nav {
    display: none; flex-basis: 100%; order: 10;
    border-top: 1px solid var(--hair); padding: .6rem 0 .8rem;
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: .1rem; }
  .site-nav a { padding: .5rem 0; font-size: .95rem; }
  /* Панель доступности видна всегда, а не прячется в меню: на сайте о бегунах
     с нарушениями зрения переключатель контраста не должен требовать раскрытия. */
  .a11y-panel {
    flex-basis: 100%; order: 20; justify-content: flex-start;
    border-top: 1px solid var(--hair); padding: .55rem 0 .1rem;
  }
  .site-header__inner { padding-block: .5rem; min-height: 0; }
}

/* ============ Режим высокого контраста ============
   Убираем полупрозрачный Mist White — гайд прямо запрещает опираться на него
   для важного текста. Плюс подчёркиваем ссылки: смысл не должен держаться
   на одном цвете. */
html[data-contrast="high"] {
  --muted: #ffffff;
  --hair: rgba(255, 255, 255, .5);
  --charcoal: #000000;
  --surface: #000000;
}
html[data-contrast="high"] body { background: #000; }
html[data-contrast="high"] .lead,
html[data-contrast="high"] .card p,
html[data-contrast="high"] .step p,
html[data-contrast="high"] .principles p,
html[data-contrast="high"] .facts__cap,
html[data-contrast="high"] .ticks li,
html[data-contrast="high"] .crosses li,
html[data-contrast="high"] .faq details > p,
html[data-contrast="high"] .quote p,
html[data-contrast="high"] .hero__lead,
html[data-contrast="high"] .member__desc,
html[data-contrast="high"] .badge,
html[data-contrast="high"] tbody td,
html[data-contrast="high"] .msg p,
html[data-contrast="high"] .demo-notes p,
html[data-contrast="high"] .scroll-hint,
html[data-contrast="high"] .note {
  color: #ffffff;
}
html[data-contrast="high"] .msg--user p,
html[data-contrast="high"] .msg--user { color: var(--on-lime); }
/* Ссылки подчёркиваем — смысл не должен держаться на одном цвете. Кнопки
   исключаем: они и так читаются как кнопки, подчёркивание их только сорит. */
html[data-contrast="high"] main a:not(.btn),
html[data-contrast="high"] .contacts a { text-decoration: underline; }
html[data-contrast="high"] .card,
html[data-contrast="high"] .panel,
html[data-contrast="high"] .facts li,
html[data-contrast="high"] .faq details,
html[data-contrast="high"] .chat,
html[data-contrast="high"] .cta-band,
html[data-contrast="high"] .msg--bot { border-width: 2px; }
html[data-contrast="high"] .hero__glow { display: none; }
html[data-contrast="high"] .badge {
  background: transparent; border-width: 2px; border-color: var(--lime);
}
html[data-contrast="high"] .crosses li::before { color: #ffffff; }
html[data-contrast="high"] .site-header { background: #000; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
