/* ЦДС — лендинг. Структура и механика по образцу payout.pro100plat.io,
   палитра и графика свои. Цвета бренда — только в :root, чтобы второй сайт
   (Вортэкс) отличался заменой переменных. */
:root {
  --accent: #2f80ed;
  --accent-strong: #1f6ad6;
  --accent-soft: #8dbbf7;
  --accent-rgb: 47, 128, 237;
  --ink: #0e2a47;
  --ink-2: #16365a;
  --black: #0a1626;
  --white: #ffffff;
  --paper: #f4f7fb;
  --paper-strong: #fbfdff;
  --line: rgba(14, 42, 71, 0.14);
  --text: #1d2a3a;
  --muted: #566476;
  --container: 1180px;
  --shadow: 0 22px 60px rgba(14, 42, 71, 0.12);
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: Manrope, Inter, "Segoe UI", system-ui, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Заголовки — ровными строками, абзацы — без одиноких слов в последней строке. */
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.container {
  width: min(100% - 56px, var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only,
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 253, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand img {
  width: 220px;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a,
.contact-inner a,
.footer-links a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: color 180ms var(--ease), background-size 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  background-size: 100% 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Кнопки ---------- */

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.header-cta,
.button-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(var(--accent-rgb), 0.26);
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--ink);
  box-shadow: 0 18px 36px rgba(10, 22, 38, 0.2);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.button-submit {
  width: 100%;
  min-height: 62px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
}

.button-submit:hover,
.button-submit:focus-visible {
  background: var(--black);
  color: var(--white);
}

.button-submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Первый экран ---------- */

.hero {
  padding-top: 104px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.85), rgba(251, 253, 255, 0.4) 48%, rgba(var(--accent-rgb), 0.08)),
    var(--paper-strong);
}

.hero-ribbon {
  position: absolute;
  width: 440px;
  height: 120px;
  border-radius: var(--radius);
  pointer-events: none;
  transform: rotate(-42deg);
}

.hero-ribbon-one {
  right: -120px;
  top: 200px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  opacity: 0.2;
}

.hero-ribbon-two {
  right: 280px;
  bottom: 80px;
  background: linear-gradient(90deg, rgba(14, 42, 71, 0.22), rgba(14, 42, 71, 0));
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.payouts-copy h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
}

.hero h1 {
  max-width: 680px;
  font-size: 72px;
}

.hero h1 span,
.section-heading h2 span,
.payouts-copy h2 span {
  color: var(--accent);
}

.lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.flow-card {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 2);
  background: var(--white);
  box-shadow: var(--shadow);
}

.flow-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
}

.flow-step strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.flow-step span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.flow-step-accent {
  background: var(--ink);
}

.flow-step-accent strong {
  color: var(--white);
}

.flow-step-accent span {
  color: rgba(255, 255, 255, 0.74);
}

.flow-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(14, 42, 71, 0.08);
}

.flow-icon svg {
  width: 28px;
  height: 28px;
}

.flow-mark {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.flow-arrow {
  position: relative;
  height: 54px;
  margin-left: 43px;
  border-left: 2px dashed rgba(var(--accent-rgb), 0.5);
}

.flow-arrow::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.flow-arrow span {
  position: absolute;
  left: 22px;
  top: 50%;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transform: translateY(-50%);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
  color: var(--muted);
  font-weight: 800;
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-row span::before,
.accent-list li::before,
.sector-row h3::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0.14);
}

/* ---------- Заголовки секций ---------- */

.section-heading {
  max-width: 780px;
}

.section-heading.center {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  font-size: 56px;
}

.section-heading p:not(.section-kicker),
.payouts-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 21px;
}

/* ---------- Услуги ---------- */

.services {
  background: var(--paper);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(14, 42, 71, 0.06);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 26px 54px rgba(14, 42, 71, 0.12);
}

.card-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-card-accent {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.service-card-accent .card-number {
  background: var(--white);
  color: var(--accent);
}

.service-card-accent h3,
.service-card-accent p,
.card-link {
  color: var(--white);
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 800;
}

/* ---------- Как работаем ---------- */

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 42, 71, 0.98), rgba(22, 54, 90, 0.96)),
    var(--ink);
}

.section-dark::before,
.section-graphite::before {
  content: "";
  position: absolute;
  inset: auto -8% -190px auto;
  width: 520px;
  height: 520px;
  border: 78px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.section-dark h2,
.section-dark h3,
.section-graphite h2,
.section-graphite h3 {
  color: var(--white);
}

.section-dark .section-kicker,
.section-graphite .section-kicker {
  color: var(--accent-soft);
}

.section-dark .section-heading h2 span,
.section-graphite .section-heading h2 span {
  color: var(--accent-soft);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.step h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
}

.step p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

/* ---------- Расчёты ---------- */

.payouts {
  background:
    linear-gradient(115deg, rgba(251, 253, 255, 0.98), rgba(232, 241, 253, 0.9)),
    var(--paper-strong);
}

.payouts-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.payouts-copy h2 {
  font-size: 56px;
}

.accent-list,
.feature-panel ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.accent-list li,
.feature-panel li {
  display: flex;
  gap: 14px;
}

.accent-list li + li {
  margin-top: 14px;
}

.accent-list li::before {
  margin-top: 8px;
}

.feature-panel {
  padding: 44px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
}

.feature-panel li {
  color: var(--muted);
  font-size: 18px;
}

.feature-panel li + li {
  margin-top: 20px;
}

.feature-panel li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 6px;
  clip-path: polygon(14% 54%, 0 69%, 38% 100%, 100% 18%, 84% 5%, 35% 69%);
  background: var(--accent);
}

/* ---------- Для кого ---------- */

.section-graphite {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(10, 22, 38, 0.98), rgba(14, 42, 71, 0.95)),
    var(--black);
}

.sector-list {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sector-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.sector-row h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.sector-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

/* ---------- Направления ---------- */

.directions {
  background: var(--paper-strong);
}

.direction-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.direction-card {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(14, 42, 71, 0.06);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.direction-card:hover,
.direction-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 26px 54px rgba(14, 42, 71, 0.12);
}

.direction-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
}

.direction-icon svg {
  width: 28px;
  height: 28px;
}

.direction-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.direction-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.direction-more {
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent);
  font-weight: 800;
}

.direction-card-accent {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
}

.direction-card-accent h3 {
  color: var(--white);
}

.direction-card-accent p {
  color: rgba(255, 255, 255, 0.76);
}

.direction-card-accent .direction-icon {
  background: var(--accent);
  color: var(--white);
}

.direction-card-accent .direction-more {
  color: var(--accent-soft);
}

/* ---------- Платформа выплат ---------- */

.section-dark .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
}

.platform-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.platform-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.platform-notes p {
  margin: 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.platform-notes strong {
  color: var(--white);
}

/* ---------- Подбор персонала ---------- */

.staffing {
  background: var(--paper);
}

.panel-cta {
  margin-top: 30px;
}

/* ---------- Как начать ---------- */

.start {
  background: var(--paper-strong);
}

.start-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 52px;
}

.start-card {
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.start-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.start-steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: start;
}

.start-steps li {
  position: relative;
  padding-left: 46px;
  color: var(--muted);
  counter-increment: start;
}

.start-steps li + li {
  margin-top: 16px;
}

.start-steps li::before {
  content: counter(start);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.channel {
  display: grid;
  gap: 6px;
}

.channel-label {
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.channel a:hover,
.channel a:focus-visible {
  color: var(--accent-soft);
}

/* ---------- Заявка ---------- */

.section-accent {
  color: var(--white);
  background:
    linear-gradient(145deg, var(--accent), var(--accent-strong)),
    var(--accent);
}

.section-accent .section-kicker,
.section-accent h2,
.section-accent p,
.section-accent .section-heading p:not(.section-kicker) {
  color: var(--white);
}

.contact-lane {
  position: absolute;
  height: 92px;
  border-radius: var(--radius);
  transform: rotate(-37deg);
  pointer-events: none;
}

.contact-lane-one {
  left: -140px;
  top: 68px;
  width: 460px;
  background: rgba(10, 22, 38, 0.16);
}

.contact-lane-two {
  right: -120px;
  bottom: 86px;
  width: 520px;
  background: rgba(255, 255, 255, 0.16);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 52px auto 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"] {
  width: 100%;
  min-height: 62px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.contact-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 18px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 4px rgba(10, 22, 38, 0.14);
}

.topic-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.topic-group legend {
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  font-weight: 800;
  text-align: center;
}

.topic-chip {
  position: relative;
  cursor: pointer;
}

.topic-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.topic-chip span {
  display: inline-block;
  padding: 11px 18px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-weight: 800;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.topic-chip input:checked + span {
  border-color: var(--white);
  background: var(--white);
  color: var(--accent-strong);
}

.topic-chip input:focus-visible + span {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  margin: 8px 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.4;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--black);
}

.form-status {
  margin: 0;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}

.form-status.is-success {
  color: #0b3d1f;
  background: rgba(255, 255, 255, 0.94);
}

.form-status.is-error {
  color: var(--white);
  background: rgba(120, 16, 16, 0.9);
}

/* ---------- Подвал ---------- */

.site-footer {
  padding: 64px 0 28px;
  background: var(--paper-strong);
  color: var(--muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr 0.9fr;
  gap: 36px;
}

.footer-brand img {
  width: 200px;
}

.footer-about p {
  margin: 18px 0 0;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 8px;
}

.footer-list a {
  color: var(--ink);
  font-weight: 700;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent);
}

.footer-requisites {
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

/* Заглушка в макете: данные, которых пока нет. Убрать перед запуском. */
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff3c4;
  color: #5c4500;
}

/* ---------- Появление при скролле ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
  .container {
    width: min(100% - 44px, var(--container));
  }

  .section {
    padding: 92px 0;
  }

  .header-inner {
    grid-template-columns: 200px 1fr auto;
  }

  .brand img {
    width: 200px;
  }

  .site-nav {
    gap: 22px;
  }

  .hero-inner {
    grid-template-columns: 1fr 360px;
    gap: 36px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 19px;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .payouts-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .channels,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    min-height: 68px;
    gap: 12px;
  }

  .brand img {
    width: 180px;
  }

  .nav-toggle {
    display: block;
    grid-column: 2;
  }

  .site-nav {
    position: fixed;
    left: 22px;
    right: 22px;
    top: 78px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header-cta {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 50px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 56px;
  }

  .section-heading h2,
  .payouts-copy h2 {
    font-size: 44px;
  }

  .sector-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .direction-cards,
  .start-grid,
  .platform-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 160px;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: clamp(28px, 8.8vw, 40px);
  }

  .lead,
  .section-heading p:not(.section-kicker),
  .payouts-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .flow-card {
    padding: 18px;
  }

  .flow-arrow span {
    font-size: 11px;
  }

  .section-heading h2,
  .payouts-copy h2 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .service-cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .feature-panel {
    padding: 30px 24px;
  }

  .feature-panel li,
  .sector-row p {
    font-size: 16px;
  }

  .sector-row h3 {
    font-size: 22px;
  }

  .consent {
    font-size: 13px;
  }

  .channels,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .channels,
  .start-card {
    padding: 26px 22px;
  }

  .platform-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Страница политики (privacy.html) ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 56px 0 96px; }
.doc h1 { margin: 0 0 8px; color: var(--ink); font-size: 40px; line-height: 1.1; }
.doc h2 { margin: 40px 0 12px; color: var(--ink); font-size: 24px; }
.doc p, .doc li { color: var(--text); }
.doc .meta { color: var(--muted); }
.doc a { color: var(--accent); text-decoration: underline; }
