/* ADVERTAU — стили сайта. Палитра и шрифты заданы переменными в :root. */

:root {
  --milk: #F3F0E9;
  --paper: #FFFFFF;
  --ink: #151514;
  --graphite: #1C1C1B;
  --graphite-2: #2A2A28;
  --text-2: #2A2A28;
  --line: #D9D4CA;
  --line-strong: #BDB6AA;
  --line-dark: #4A4844;
  --muted: #5B5852;
  --muted-dark: #B5B0A6;
  --soft-dark: #C9C4BA;
  --ph: #E4DFD5;
  --ph-line: #A8A195;
  --ph-text: #4F4C46;
  --field: #FBFAF7;
  --blue: #1475BC;
  --blue-deep: #0F5E97;
  --blue-on-dark: #3D8FD1;

  --f-display: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  /* В JetBrains Mono нет казахских ә, ғ, қ, ң, ұ, һ — на казахской версии
     берём IBM Plex Mono, он тех же пропорций и покрывает весь алфавит. */


  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1312px;
  --section: clamp(56px, 5.6vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html[lang="kk"] { --f-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 50; padding: 12px 20px; background: var(--ink); color: var(--milk); font-size: 15px; }
.skip-link:focus { left: 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[id] { scroll-margin-top: 104px; }

/* Первый экран скрыт, пока GSAP не начнёт анимацию (снимается скриптом, запасной таймер — 3 с) */

.btn .arr { display: inline-block; transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Каркас ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--milk); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .eyebrow { color: var(--muted-dark); }

.display {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}
.h1 { font-size: clamp(40px, 6.4vw, 92px); line-height: 0.96; }
.h2 { font-size: clamp(32px, 4.4vw, 64px); }
.h3 { font-size: clamp(26px, 2.9vw, 42px); line-height: 1.02; }

.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.45; color: var(--muted); max-width: 40ch; }
.section--ink .lead { color: var(--soft-dark); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: end;
  margin-bottom: clamp(32px, 3vw, 44px);
}
.section-head__title { grid-column: span 8; display: flex; flex-direction: column; gap: 20px; }
.section-head .lead { grid-column: span 4; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font: 600 14px/1.1 var(--f-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--lg { min-height: 64px; padding: 0 32px; font-size: 15px; }
.btn--primary { background: var(--blue); color: #FFFFFF; }
.btn--primary:hover { background: var(--blue-deep); color: #FFFFFF; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--milk); }
.section--ink .btn--outline { border-color: var(--milk); color: var(--milk); }
.section--ink .btn--outline:hover { background: var(--milk); color: var(--ink); }

/* ---------- Плейсхолдеры фото ---------- */

.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  max-width: 100%;
  min-height: 96px;
  padding: 18px;
  background: var(--ph);
  border: 1px dashed var(--ph-line);
}
.ph span {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ph-text);
}
.ph--dark, .section--ink .ph { background: var(--graphite-2); border-color: #6B675F; }
.ph--dark span, .section--ink .ph span { color: var(--soft-dark); }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--milk);
  border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.site-header__actions { display: flex; align-items: center; gap: 20px; }
.phone { font-family: var(--f-mono); font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.mobile-nav { border-top: 1px solid var(--line); background: var(--milk); }
.mobile-nav ul { display: flex; flex-direction: column; padding-block: 8px 24px; }
.mobile-nav a {
  display: block;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 28px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Первый экран ---------- */

.hero { display: flex; flex-direction: column; gap: clamp(28px, 2.8vw, 40px); padding-block: clamp(32px, 3.4vw, 48px) clamp(48px, 5vw, 72px); }
.hero__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; }
.hero__sub { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; font-weight: 500; max-width: 32ch; }
.trust { margin-top: 20px; font-family: var(--f-mono); font-size: 14px; line-height: 1.7; letter-spacing: 0.04em; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.hero__visual {
  aspect-ratio: 1312 / 400;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: clamp(18px, 2vw, 28px);
  background: #1E1E1D;
  border-color: #6B675F;
}
.hero__visual span { color: var(--soft-dark); }
.hero__visual-top { display: flex; justify-content: space-between; gap: 16px; }
.hero__visual p { max-width: 62ch; font-family: var(--f-mono); font-size: 14px; line-height: 1.7; color: var(--soft-dark); }

/* ---------- Содержимое причин ---------- */

.reason__text { max-width: 58ch; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.45; color: var(--text-2); }
.statement { max-width: 52ch; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.4; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.chip { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); }

.triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.triple p {
  padding-top: 18px;
  border-top: 3px solid var(--blue);
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

.expertise { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.big-num {
  font-family: var(--f-display);
  font-size: clamp(96px, 9vw, 150px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--blue);
}
.expertise__list { display: flex; flex-direction: column; gap: 16px; }
.checklist li { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 17px; }

.ph--tech { aspect-ratio: 4 / 3; margin-top: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex;
  align-items: flex-end;
  min-height: 92px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-family: var(--f-display);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 500;
  text-transform: uppercase;
}
.loop .arr { color: var(--blue); }

.questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 24px;
  font-family: var(--f-display);
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}
.callout {
  padding: clamp(20px, 2vw, 28px);
  background: var(--ink);
  color: var(--milk);
  font-family: var(--f-display);
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stage { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.stage__num { font-family: var(--f-display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--blue); }
.stage__title { font-family: var(--f-display); font-size: 24px; font-weight: 500; line-height: 1.05; text-transform: uppercase; }
.stage p { font-size: 17px; line-height: 1.45; color: var(--muted); }

/* ---------- Сроки ---------- */

.timing__scale, .timing__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; align-items: center; }
.timing__scale { padding-bottom: 12px; }
.scale { position: relative; height: 18px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.scale span { position: absolute; top: 0; white-space: nowrap; }
.timing__rows { border-bottom: 1px solid var(--line); }
.timing__row { padding-block: 32px; border-top: 1px solid var(--line); }
.timing__row--first { border-top-color: var(--ink); }
.timing__label { display: flex; flex-direction: column; gap: 8px; }
.timing__name { font-family: var(--f-display); font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; line-height: 1.1; text-transform: uppercase; }
.timing__value { font-family: var(--f-display); font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; line-height: 1; color: var(--blue); }
.track { position: relative; height: 20px; background: #EDE9E1; }
.bar { position: absolute; top: 0; bottom: 0; background: var(--blue); }
.factors { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 24px; align-items: start; margin-top: 48px; }
.factors p { font-size: 20px; font-weight: 500; }

/* ---------- Корпоративным клиентам ---------- */

.proof { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
.proof li {
  grid-column: span 2;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--f-display);
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}
.proof li:nth-child(n + 4) { grid-column: span 3; }
.corp-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; color: #E8E4DC; }
.corp-text__side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* ---------- Условия ---------- */

.terms { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 8.33%; align-items: end; }
.terms__text { display: flex; flex-direction: column; gap: 24px; }
.terms__text > p:not(.eyebrow) { font-size: 20px; color: var(--text-2); }
.terms__note { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--ink); font-size: 20px; line-height: 1.45; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.steps li { display: grid; grid-template-rows: 1fr minmax(36px, auto); gap: 14px; align-content: end; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.step-bar { display: block; align-self: end; }
.step-bar--1 { height: clamp(80px, 10vw, 140px); background: var(--line); }
.step-bar--2 { height: clamp(140px, 17vw, 240px); background: #A9A296; }
.step-bar--3 { height: clamp(200px, 25vw, 360px); background: var(--blue); }
.closing {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  font-family: var(--f-display);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

/* ---------- Кейсы ---------- */

.case-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
.case-media { display: flex; flex-direction: column; gap: 16px; }
.case-media .ph--main { aspect-ratio: 3 / 2; }
.case-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-process .ph { aspect-ratio: 4 / 3; padding: 12px; }
.case-info { display: flex; flex-direction: column; gap: 20px; }
.case-title { font-family: var(--f-display); font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; line-height: 1; text-transform: uppercase; }
.case-card .case-title { font-size: clamp(28px, 2.5vw, 36px); }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { padding-top: 3px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: 17px; }
.facts .facts__result { font-weight: 500; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; margin-top: 48px; }
.case-card { display: flex; flex-direction: column; gap: 18px; }
.case-card .ph { aspect-ratio: 16 / 10; }
.facts--compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.facts--compact div { display: block; padding-block: 12px; }
.facts--compact div:last-child { grid-column: 1 / -1; }
.facts--compact dd { margin-top: 4px; font-size: 16px; }

/* ---------- История ---------- */

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.tl { display: flex; flex-direction: column; gap: 18px; }
.tl__year { font-family: var(--f-display); font-size: clamp(34px, 3.2vw, 46px); font-weight: 600; line-height: 1; color: #8C877E; font-variant-numeric: tabular-nums; }
.tl--first .tl__year { color: var(--blue-on-dark); }
.tl__dot { display: flex; align-items: center; }
.tl__dot::before { content: ""; flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--milk); }
.tl__dot::after { content: ""; flex-grow: 1; height: 1px; background: var(--line-dark); }
.tl--first .tl__dot::before, .tl--last .tl__dot::before { background: var(--blue-on-dark); }
.tl--last .tl__dot::after { background: transparent; }
.tl .ph { aspect-ratio: 4 / 3; padding: 14px; }
.tl h3 { font-family: var(--f-display); font-size: clamp(24px, 2vw, 28px); font-weight: 500; line-height: 1.05; text-transform: uppercase; }
.tl p { font-size: 15px; line-height: 1.5; color: var(--soft-dark); }

/* ---------- Основатель ---------- */

.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 6%; align-items: center; }
.founder .ph { aspect-ratio: 1 / 1; }
.founder__text { display: flex; flex-direction: column; gap: 28px; }
.founder__name { font-size: clamp(48px, 5.4vw, 80px); line-height: 0.94; }
.founder__role { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; font-weight: 500; }
.founder__bio { max-width: 54ch; font-size: 18px; line-height: 1.55; color: var(--muted); }
.quote { padding-top: 20px; border-top: 1px solid var(--ink); font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 26px); font-weight: 400; line-height: 1.25; text-transform: uppercase; }

/* ---------- Экология ---------- */

.eco { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 8.33%; align-items: start; }
.eco__title { display: flex; flex-direction: column; gap: 20px; }
.eco__title .display { font-size: clamp(30px, 3vw, 44px); line-height: 1.02; }
.eco__body { display: flex; flex-direction: column; gap: 24px; }
.eco__body > p { font-size: 20px; color: var(--text-2); }
.eco__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eco__item { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 128px; padding: 18px; border: 1px dashed var(--ph-line); color: var(--ph-text); }
.eco__item .eyebrow { font-size: 11px; }

/* ---------- Философия ---------- */

.phil-title { font-size: clamp(36px, 5.2vw, 76px); }
.phil-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 48px 0 0 33.33%;
  font-family: var(--f-display);
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  text-transform: uppercase;
}
.phil-lines li:nth-child(1) { color: #6B675F; }
.phil-lines li:nth-child(2) { color: #7D7970; }
.phil-lines li:nth-child(3) { color: #908B82; }
.phil-lines li:nth-child(4) { color: #A7A298; }
.phil-lines li:nth-child(5) { color: #BEB9AF; }
.phil-lines li:nth-child(6) { color: #D6D2C9; }
.phil-lines li:nth-child(7) { color: var(--milk); }
.phil-invest { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.phil-invest__pre { font-size: clamp(18px, 1.5vw, 22px); color: var(--soft-dark); }
.invest { font-family: var(--f-display); font-size: clamp(32px, 4vw, 60px); font-weight: 600; line-height: 1; text-transform: uppercase; color: var(--blue-on-dark); text-wrap: balance; }
.touch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.touch p { padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.4; }

/* ---------- Заявка ---------- */

.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 28px; }
.contact__title { font-size: clamp(38px, 4.8vw, 68px); line-height: 0.96; }
.contact__sub { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.35; font-weight: 500; }
.contact__hint { font-size: 17px; line-height: 1.55; color: var(--muted); }
.direct { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--ink); }
.direct__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.direct__btns svg { width: 18px; height: 18px; }
.direct__contacts { font-size: 17px; }

.form { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 2.8vw, 40px); background: var(--paper); border: 1px solid var(--line); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font: 400 16px/1.4 var(--f-body);
}
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.upload {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px dashed var(--ph-line);
  background: var(--field);
  font-size: 15px;
  color: var(--ph-text);
  cursor: pointer;
}
.upload small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.upload__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 600; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; align-items: center; min-height: 44px; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.consent a { color: var(--ink); }
.form .btn { width: 100%; }
.form__note { font-size: 14px; color: var(--muted); text-align: center; }
.form__status { padding: 14px 16px; background: #EAF2F9; color: #0F4F80; font-size: 15px; line-height: 1.5; }

/* ---------- Подвал ---------- */

.footer { padding-block: 64px 40px; background: var(--ink); color: var(--milk); }
.footer__top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px 24px; align-items: end; }
.footer__logo img { height: 84px; width: auto; }
.footer__formula { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-dark); font-size: 15px; line-height: 1.9; }
.footer__cols h2 { margin-bottom: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.footer__cols ul { display: flex; flex-direction: column; }
.footer a { color: var(--milk); text-decoration: none; }
.footer a:hover { color: var(--blue-on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted-dark); }

/* ---------- Нижняя панель на телефоне ---------- */

.mobile-bar { display: none; }

/* ---------- Адаптив ---------- */

/* ---------- Карусель направлений в первом экране ---------- */

.hero__slider { display: flex; flex-direction: column; gap: 14px; }
.hero__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hero__tab {
  position: relative;
  min-height: 44px;
  padding: 14px 0 0;
  border: 0;
  background: transparent;
  font: 500 13px/1.3 var(--f-body);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease;
}
.hero__tab::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.hero__tab-fill { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left center; }
.hero__tab.is-active { color: var(--ink); }
.hero__slides { position: relative; aspect-ratio: 1312 / 400; background: #1E1E1D; }
.hero__slider { position: relative; }
.hero__controls {
  position: absolute;
  right: clamp(14px, 1.6vw, 24px);
  bottom: clamp(14px, 1.6vw, 24px);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #6B675F;
  background: rgba(21, 21, 20, 0.6);
  color: var(--milk);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hero__arrow:hover { background: var(--milk); border-color: var(--milk); color: var(--ink); }
.hero__tab:hover .hero__tab-label { text-decoration: underline; text-underline-offset: 3px; }

.hero__slides .hero__visual { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.hero__slides .hero__visual.is-active { opacity: 1; visibility: visible; }

/* ---------- Путь заказа ---------- */

.journey__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 5%; align-items: start; }
.journey__media { align-self: stretch; }
.journey__sticky { position: sticky; top: 96px; height: calc(100vh - 128px); }
.journey__frame { position: relative; height: 100%; }
.journey__ph { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease; }
.journey__ph.is-active { opacity: 1; visibility: visible; }
.journey__steps { position: relative; padding-left: 56px; }
.journey__line { position: absolute; left: 19px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.journey__line-fill { position: absolute; inset: 0; background: var(--blue); transform: scaleY(0); transform-origin: top center; }
.journey__step { position: relative; padding-block: clamp(20px, 2.4vw, 30px); }
.journey__step::before {
  content: "";
  position: absolute;
  left: -45px;
  top: calc(clamp(20px, 2.4vw, 30px) + 2px);
  width: 16px;
  height: 16px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--milk);
  transition: background .3s ease, border-color .3s ease;
}
.journey__step.is-active::before { background: var(--blue); border-color: var(--blue); }
.journey__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.journey__step h3 { margin-top: 6px; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; line-height: 1.05; text-transform: uppercase; color: var(--muted); transition: color .3s ease; }
.journey__step.is-active h3 { color: var(--ink); }
.journey__step p { margin-top: 10px; max-width: 46ch; font-size: 17px; color: var(--muted); }

/* ---------- Лента клиентов ---------- */

.ribbon { margin-top: 44px; overflow: hidden; transform: rotate(-2deg); }
.ribbon__row { display: flex; margin-block: 10px; }
.ribbon__track { display: flex; flex: 0 0 auto; gap: 16px; padding-right: 16px; animation: ribbon 46s linear infinite; }
.ribbon__row--rev .ribbon__track { animation-direction: reverse; }
.ribbon:hover .ribbon__track, .ribbon:focus-within .ribbon__track { animation-play-state: paused; }
/* Логотипы клиентов нарисованы под белый фон, а секция тёмная,
   поэтому каждый лежит на своей светлой подложке — цвета брендов не трогаем. */
.ribbon__tile {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 100px;
  padding: 16px 20px;
  background: var(--milk);
}
.ribbon__tile img { width: 170px; height: 60px; object-fit: contain; }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Крупное имя компании ---------- */

.wordmark { padding: clamp(40px, 4.6vw, 72px) var(--gutter); background: var(--ink); color: var(--milk); overflow: hidden; }
.wordmark__word {
  font-family: var(--f-display);
  font-size: min(18vw, 300px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}
.wordmark__claim {
  margin-top: clamp(12px, 1.6vw, 22px);
  font-family: var(--f-display);
  font-size: clamp(18px, 1.9vw, 28px);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  color: var(--blue-on-dark);
}

/* ---------- Адаптив новых блоков ---------- */

/* ---------- Направления ---------- */

.dirs { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.dir {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3.5fr) minmax(0, 3fr) 280px;
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 2.6vw, 36px) clamp(12px, 1.4vw, 20px);
  border-bottom: 1px solid var(--line);
  transition: background-color .25s ease;
}
.dir::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform .25s ease;
}
.dir:hover { background: var(--milk); }
.dir:hover::before, .dir:focus-within::before { transform: scaleY(1); }
.dir__head { display: flex; flex-direction: column; gap: 10px; }
.dir__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.dir__name { font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; line-height: 0.96; text-transform: uppercase; }
.dir__task { max-width: 34ch; font-size: 18px; line-height: 1.45; }
.dir__spec { display: flex; flex-direction: column; gap: 8px; }
.dir__spec div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.dir__spec dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.dir__spec dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.dir__media { display: flex; flex-direction: column; gap: 12px; }
.dir__ph { aspect-ratio: 4 / 5; padding: 16px; overflow: hidden; }
.dir__ph span { font-size: 12px; }
.dir__link { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; align-self: flex-start; transition: border-color .2s ease, color .2s ease; }
.dir__link:hover { color: var(--blue); border-color: var(--blue); }
.dirs__note { margin-top: 28px; font-size: 18px; color: var(--text-2); }

/* ---------- Причины ---------- */

.reasons { display: flex; flex-direction: column; }
.reason {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px 24px;
  padding-block: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
}
.reason:first-child { border-top: 1px solid var(--ink); }
.reason__head { grid-column: span 4; display: flex; flex-direction: column; gap: 12px; }
.reason__body { grid-column: span 8; display: flex; flex-direction: column; gap: 24px; }
.tech { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
.tech .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tech .ph--tech { margin-top: 0; aspect-ratio: 4 / 3; }

/* ---------- Телефон: правила поверх поздних секций ---------- */

/* ---------- Реквизиты для закупок ---------- */

.req {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.req div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid #2E2E2C; }
.req dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); padding-top: 3px; }
.req dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--milk); }

/* ---------- Переключатель языка ---------- */

.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color .2s ease;
}
.lang__btn:hover { border-color: var(--line-strong); }
.lang__btn svg { transition: transform .2s ease; }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  min-width: 150px;
  padding: 6px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(21, 21, 20, .12);
}
.lang__link {
  display: block;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.lang__link:hover { background: var(--milk); color: var(--ink); }
.lang__link.is-current { color: var(--ink); font-weight: 600; background: var(--milk); }
.lang__link.is-current::after { content: " ✓"; color: var(--blue); }

.lang--footer .lang__btn { color: var(--milk); }
.lang--footer .lang__btn:hover { border-color: var(--line-dark); }
.lang--footer .lang__list { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; background: var(--graphite-2); border-color: var(--line-dark); }
.lang--footer .lang__link { color: var(--milk); }
.lang--footer .lang__link:hover { background: var(--ink); }

/* ---------- Фотографии вместо плейсхолдеров ---------- */

.ph--photo { padding: 0; border: 0; background: var(--ph); overflow: hidden; }
.ph--photo picture { display: block; position: absolute; inset: 0; }
.ph--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* первый экран: подписи поверх снимка, поэтому затемняем кадр */
.hero__visual.ph--photo { padding: clamp(18px, 2vw, 28px); }
.hero__visual.ph--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  /* затемняем только под подписями: сплошная заливка гасила весь снимок */
  background: linear-gradient(to bottom,
    rgba(16, 16, 15, .62) 0%,
    rgba(16, 16, 15, .14) 28%,
    rgba(16, 16, 15, .14) 48%,
    rgba(16, 16, 15, .82) 100%);
  z-index: 1;
}
.hero__visual.ph--photo > *:not(picture) { position: relative; z-index: 2; }
.hero__visual.ph--photo picture { z-index: 0; }
.hero__visual.ph--photo span, .hero__visual.ph--photo p { color: #F3F0E9; }

/* в остальных блоках подпись не нужна — её заменил сам снимок */
.ph--photo > span { display: none; }

/* ---------- Шапка на узких ноутбуках ---------- */

/* фото основателя: кадр квадратный, лицо в верхней трети */
.founder__ph img { object-position: 50% 30%; }

/* Пометка на тестовой площадке: форма показана, но заявки не принимаются */
.form__demo {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px dashed var(--blue);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--blue);
  background: rgba(20, 117, 188, .06);
}

/* Бургер в открытом состоянии превращается в крестик: иначе неясно, как закрыть */
.burger svg path { transform-box: view-box; transform-origin: center; transition: transform .2s ease, opacity .15s ease; }
.burger[aria-expanded="true"] svg path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] svg path:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] svg path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Логотип: кликабельная зона не ниже 44 px */
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.consent a { display: inline-block; padding-block: 6px; }


/* =========================================================
   Адаптив. Все медиазапросы собраны здесь и идут от широких
   экранов к узким: правило для более узкого экрана всегда ниже
   и потому побеждает. В коде выше медиазапросов нет — если
   правило не срабатывает, искать нужно только в этом разделе.
   ========================================================= */

@media (min-width: 1101px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 1400px) {
  .nav { gap: 18px; font-size: 14px; }
  .nav a { white-space: nowrap; }
  .site-header__actions { gap: 12px; }
}

@media (max-width: 1240px) {
  .phone { display: none; }
  .nav { gap: 14px; font-size: 13px; }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .dir { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .dir__media { grid-column: 2; flex-direction: row; align-items: flex-end; gap: 16px; }
  .dir__ph { aspect-ratio: 3 / 2; flex: 1 1 auto; }
}

@media (max-width: 900px) {
  /* фото перенесены к шагам: колонка с общим кадром больше не нужна */
  .journey--inline .journey__media { display: none; }
  .journey--inline .journey__step .journey__ph {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    margin-top: 16px;
    aspect-ratio: 4 / 3;
  }
  .section-head__title, .section-head .lead { grid-column: 1 / -1; }
  .hero__row { grid-template-columns: 1fr; }
  .hero__cta { justify-content: flex-start; }
  .hero__visual { aspect-ratio: 4 / 3; }
  .reason__head, .reason__body { grid-column: 1 / -1; }
  .stages { grid-template-columns: 1fr; }
  .terms, .founder, .eco, .contact { grid-template-columns: 1fr; }
  .case-main, .case-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phil-lines { margin-left: 0; }

  /* пропорцию кадра задаёт контейнер карусели: своя aspect-ratio у слайда
     раздувала его поверх следующей секции. Правило должно идти после базовых. */
  .hero__slides { aspect-ratio: 4 / 3; }
  .hero__slides .hero__visual { aspect-ratio: auto; }
  .journey__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* На одной колонке фото и шаги оказываются в разных строках сетки, и «липкому»
     блоку некуда ехать. Поэтому снимаем и sticky, и заданную высоту: иначе рамка
     тянет колонку по ширине через aspect-ratio и рвёт страницу вбок. */
  .journey__sticky { position: static; height: auto; }
  .journey__frame { position: relative; height: auto; aspect-ratio: 4 / 3; max-height: none; }
  .journey__steps { padding-left: 44px; }
  .journey__line { left: 15px; }
  .journey__step::before { left: -37px; width: 14px; height: 14px; }

  .reason__head, .reason__body { grid-column: 1 / -1; }
  .tech { grid-template-columns: 1fr; }

  .tech { grid-template-columns: 1fr; }

  .req { grid-template-columns: 1fr; }

  .founder .ph { aspect-ratio: 4 / 3; }
}

@media (max-width: 800px) {
  .timing__scale, .track { display: none; }
  .timing__row, .factors { grid-template-columns: 1fr; gap: 16px; }
  .proof { grid-template-columns: 1fr; gap: 18px; }
  .proof li, .proof li:nth-child(n + 4) { grid-column: auto; padding-top: 14px; }
  .corp-text, .touch { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  /* галочку согласия на телефоне делаем крупнее: по ней целятся пальцем */
  .consent input[type="checkbox"] { width: 24px; height: 24px; flex: 0 0 24px; }
  .triple, .expertise, .questions { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--milk);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 48px; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }

  /* на телефоне шапка уезжает вместе с контентом: экран и так узкий,
     а снизу уже есть закреплённые кнопки */
  .site-header { position: static; }
  .site-header__row { height: 60px; }
  .logo img { height: 36px; }
  [id] { scroll-margin-top: 12px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .dir__link { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; padding-bottom: 0; }
  .dir__spec dt { font-size: 12px; }
  .ph span { font-size: 13px; }
  .steps li { font-size: 13px; }
  .questions { gap: 10px 24px; }
  .founder .ph { aspect-ratio: 4 / 3; }
  .case-process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .facts--compact { grid-template-columns: 1fr; }
  .footer__cols a { display: inline-block; padding-block: 9px; }
  /* полосы сроков возвращаем под подписи, иначе блок пустой */
  .timing__scale { display: none; }
  .wordmark__word { font-size: min(17vw, 140px); letter-spacing: 0; }
  .hero { gap: 20px; padding-block: 20px 32px; }
  /* стрелки между шагами на узком экране только мешают переносу */
  .chips > span:not(.chip) { display: none; }

  .dir { grid-template-columns: 1fr; gap: 16px; padding-inline: 0; }
  .dir__head { flex-direction: row; align-items: baseline; gap: 12px; }
  .dir__task { max-width: none; font-size: 17px; }
  .dir__media { grid-column: 1; flex-direction: column; align-items: stretch; }
  .dir__ph { aspect-ratio: 4 / 3; }
  .dir__spec div { grid-template-columns: 88px minmax(0, 1fr); }

  /* вкладки карусели — горизонтальная лента вместо пяти узких колонок */
  .hero__tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero__tabs::-webkit-scrollbar { display: none; }
  .hero__tab {
    flex: 0 0 auto;
    min-width: 124px;
    min-height: 44px;
    padding-top: 12px;
    scroll-snap-align: start;
    font-size: 12px;
  }
  .hero__tab-label { overflow-wrap: normal; word-break: keep-all; }
  .hero__controls { gap: 8px; }

  /* на телефоне листают пальцем — стрелки только закрывают кадр */
  .hero__controls { display: none; }
}

@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
  .form__grid, .eco__items { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 560px) {
  .site-header__actions .btn { display: none; }
  /* подписи на телефоне занимали почти половину кадра — ужимаем */
  .hero__visual-top { flex-direction: row; align-items: baseline; gap: 12px; }
  .hero__visual.ph--photo p {
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__tabs { gap: 6px; }
  .hero__tab { font-size: 11px; padding-top: 10px; }
  .ribbon__tile { width: 150px; height: 74px; padding: 12px 14px; }
  .ribbon__tile img { width: 122px; height: 44px; }

  .req div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: no-preference) {
  .anim-pending .hero > * { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }

  .ribbon__track { animation: none; }
}

/* ---------- Страницы документов: политика и согласие ---------- */

.legal { padding-block: clamp(48px, 5vw, 80px); }
.legal__wrap { max-width: 820px; }
.legal h1 { margin-bottom: 22px; }
.legal__note {
  margin-bottom: 28px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.legal__body { font-size: 17px; line-height: 1.65; }
.legal__body > p:first-child {
  margin-bottom: 32px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__body h2 {
  margin: 44px 0 14px;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}
.legal__body h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 600; }
.legal__body p { margin-bottom: 14px; }
.legal__body ol, .legal__body ul { margin: 0 0 16px; padding-left: 22px; list-style: decimal; }
.legal__body ul { list-style: disc; }
.legal__body li { margin-bottom: 8px; }
.legal__body code { font-family: var(--f-mono); font-size: .92em; }
.legal__body a { overflow-wrap: anywhere; }
/* таблицы на узком экране прокручиваются, а не ломают страницу */
.legal__table { overflow-x: auto; margin-bottom: 20px; }
.legal__table table { border-collapse: collapse; min-width: 480px; font-size: 15px; }
.legal__table th, .legal__table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal__table th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; color: var(--muted); }
