:root {
  --ink: #111111;
  --text: #444444;
  --line: #e5e5e5;
  --soft: #f5f5f4;
  --accent: #c2410c;
  --accent-dark: #9a3412;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 12px 16px; z-index: 10; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap--narrow { max-width: 860px; }
.band { padding-top: 80px; padding-bottom: 80px; }
.band--soft { background: var(--soft); }
.band--dark { background: var(--ink); color: #fff; }
.band--accent { background: var(--accent); color: #fff; }
.band > .wrap > h2, .wrap.band > h2 { margin-bottom: 32px; }

h1 { font-weight: 800; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
h2.h2s { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 16px; }
h3 { font-weight: 800; font-size: 21px; line-height: 1.3; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.eyebrow--muted { color: var(--text); }
.lead { font-size: 20px; color: var(--text); max-width: 620px; }
.muted { color: #c9c9c9; }
.note { color: var(--text); margin-top: 16px; }

.header { border-bottom: 2px solid var(--ink); }
.header__in { display: flex; flex-wrap: nowrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.header__in > * { flex: none; }
.header .btn { padding: 10px 16px; font-size: 15px; white-space: nowrap; }
.header .nav { flex-wrap: nowrap; gap: 4px 16px; font-size: 14px; white-space: nowrap; }
@media (max-width: 1100px) {
  .header__in { flex-wrap: wrap; }
  .header .nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0 18px; font-size: 15px; }
}
.logo { font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px; }
.logo img { display: block; }
.logo b { color: var(--accent); font-weight: inherit; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 12px 0; }
.header__end { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 2px solid var(--ink); font-size: 14px; font-weight: 600; }
.lang a { text-decoration: none; padding: 9px 11px; line-height: 1; }
.lang a[aria-current="true"] { background: var(--ink); color: #ffffff; }

.btn { display: inline-block; text-decoration: none; font: inherit; font-weight: 600; padding: 12px 22px; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn--lg { padding: 15px 28px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #333; color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--outline { border-color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: default; }

.hero { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 80px; padding-bottom: 72px; }
.hero__text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { flex: 1 1 320px; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.facts li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts strong { display: block; font-weight: 800; font-size: 22px; }
.facts span { color: var(--text); }

.cols3 { display: flex; flex-wrap: wrap; gap: 32px; }
.cols3 > div { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cols3 p { color: var(--text); }
.num { font-weight: 800; font-size: 44px; line-height: 1.1; color: var(--accent); }
.cols2 { display: flex; flex-wrap: wrap; gap: 48px; }
.cols2 > div { flex: 1 1 460px; min-width: 0; }
.list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: #333; }

.tablebox { overflow-x: auto; border-top: 2px solid var(--ink); }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 14px; color: var(--text); font-weight: 600; }
td.b { font-weight: 600; }
td.hi { color: var(--accent); }

.check { display: flex; flex-wrap: wrap; gap: 48px; }
.check__list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.checkrow { display: flex; gap: 14px; align-items: center; min-height: 52px; padding: 8px 16px; background: #1c1c1c; border: 1px solid #3a3a3a; cursor: pointer; }
.checkrow:hover { border-color: #8a8a8a; }
.checkrow input { flex: none; width: 22px; height: 22px; accent-color: #fff; margin: 0; }
.score { flex: 1 1 320px; min-width: 0; align-self: flex-start; background: #fff; color: var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.score__num { font-weight: 800; font-size: 56px; line-height: 1; }
.score__title { font-weight: 800; font-size: 20px; }
.score__text { color: var(--text); }
.bar { height: 8px; background: var(--line); }
.bar__fill { height: 8px; width: 0; background: var(--accent); transition: width 0.2s ease; }

details { border-top: 1px solid var(--ink); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--ink); }
summary { font-weight: 600; font-size: 19px; cursor: pointer; min-height: 30px; }
details p { margin-top: 10px; color: var(--text); }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__sub { font-size: 18px; margin-top: -8px; }
.fields { display: flex; flex-wrap: wrap; gap: 16px; }
.fields label { flex: 1 1 260px; min-width: 0; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: inherit; font-size: 16px; font-weight: 400; border: 2px solid transparent; padding: 0 14px; background: #fff; color: var(--ink); width: 100%; }
.form input { height: 50px; }
.form textarea { padding: 12px 14px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; }
.form .invalid { border-color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.form__msg { font-weight: 600; min-height: 24px; }
.form__legal { font-size: 13px; }

.footer { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--text); }

.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 2px solid var(--ink); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.header.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.header.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__cta { display: none; }

/* Планшеты и телефоны: меню прячется под кнопку */
@media (max-width: 820px) {
  .header__in { flex-wrap: wrap; gap: 0 12px; padding-top: 12px; padding-bottom: 12px; }
  .header__cta { display: none; }
  .menu-btn { display: flex; }
  .lang a { padding: 13px 12px; }
  .header .nav { display: none; order: 3; width: 100%; flex-direction: column; flex-wrap: nowrap; gap: 0; font-size: 17px; white-space: normal; margin-top: 12px; border-top: 1px solid var(--line); }
  .header.is-open .nav { display: flex; }
  .header .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header .nav .nav__cta { display: block; margin: 16px 0 6px; padding: 14px 16px; border: 0; font-size: 16px; white-space: normal; }
}

@media (max-width: 720px) {
  body { overflow-wrap: break-word; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .band { padding-top: 48px; padding-bottom: 48px; }
  .band > .wrap > h2, .wrap.band > h2 { margin-bottom: 24px; }
  h1 { font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; }
  h2 { font-size: 26px; }
  h2.h2s { font-size: 23px; margin-bottom: 14px; }
  h3 { font-size: 19px; }
  .eyebrow { font-size: 13px; }
  .lead { font-size: 17px; }

  .hero { gap: 32px; padding-top: 36px; padding-bottom: 40px; }
  .hero__text { flex-basis: 100%; gap: 18px; }
  .actions { flex-direction: column; gap: 10px; }
  .actions .btn { width: 100%; }
  .facts { flex-basis: 100%; }
  .facts li { padding: 16px 0; }
  .facts strong { font-size: 19px; }

  .cols3 { gap: 28px; }
  .cols3 > div { flex-basis: 100%; gap: 6px; }
  .num { font-size: 34px; }
  .cols2 { gap: 40px; }
  .cols2 > div { flex-basis: 100%; }

  /* Таблицы превращаются в карточки, без горизонтальной прокрутки */
  .tablebox { overflow: visible; }
  table { min-width: 0; display: block; }
  thead { position: absolute; left: -9999px; }
  tbody { display: block; }
  tbody tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  td { display: block; padding: 0; border: 0; }
  td:first-child { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
  td:nth-child(2) { color: var(--text); }
  td:nth-child(3) { margin-top: 10px; font-size: 15px; font-weight: 600; }
  td:nth-child(3)::before { content: attr(data-label) ": "; font-weight: 400; color: var(--text); }

  .check { gap: 28px; }
  .check__list { flex-basis: 100%; gap: 16px; }
  .checkrow { gap: 12px; padding: 12px 14px; align-items: flex-start; line-height: 1.4; }
  .checkrow input { margin-top: 0; }
  .score { position: static; flex-basis: 100%; padding: 24px 20px; gap: 14px; }
  .score__num { font-size: 46px; }
  .score .btn { width: 100%; }

  details { padding: 16px 0; }
  summary { font-size: 17px; line-height: 1.35; }

  .form { gap: 16px; }
  .form__sub { font-size: 16px; margin-top: -4px; }
  .fields { gap: 14px; }
  .fields label { flex-basis: 100%; }
  .form__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .form__foot .btn { width: 100%; }
  .form__msg:empty { display: none; }

  .footer { flex-direction: column; gap: 6px; padding-top: 24px; padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar__fill { transition: none; }
}
