:root {
  --bg-main: #0a0a0a;
  --bg-secondary: #050505;
  --bg-surface: rgba(18, 18, 18, 0.9);
  --bg-surface-strong: rgba(12, 12, 12, 0.96);
  --bg-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(0, 255, 102, 0.16);
  --line-strong: rgba(0, 255, 102, 0.3);
  --line-soft: #2a2a2a;
  --accent: #00ff66;
  --accent-bright: #00ff66;
  --accent-ghost: rgba(0, 255, 102, 0.09);
  --text-main: #e0e0e0;
  --text-secondary: #b3b3b3;
  --text-muted: #777777;
  --text-dim: #555555;
  --shadow-1: 0 24px 80px rgba(0, 0, 0, 0.33);
  --shadow-2: 0 16px 50px rgba(0, 0, 0, 0.26);
  --radius-card: 18px;
  --radius-button: 12px;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --section-spacing: clamp(84px, 9vw, 140px);
  --hero-gutter: 24px;
  --hero-max-width: 1440px;
  --hero-side-padding: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Ограничение ширины для предотвращения горизонтального скролла на мобильных */
  max-width: 100vw;
}

body {
  min-height: 100vh;
  max-width: 100%;
  background:
    radial-gradient(circle at top right, rgba(0, 255, 65, 0.08), transparent 26%),
    radial-gradient(circle at 10% 20%, rgba(123, 255, 160, 0.045), transparent 22%),
    linear-gradient(180deg, #0e1212 0%, #0b0d0e 100%);
  color: var(--text-main);
  font-family: var(--font-primary);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Контент не выходит за границы экрана */
main,
#main-content,
.page-hero,
.content-section,
#hero-router {
  max-width: 100%;
  overflow-x: hidden;
}

main .page-hero__inner,
main .hero-router__grid,
.content-section .container {
  min-width: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.95));
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background: linear-gradient(180deg, rgba(9,11,12,0.16), rgba(9,11,12,0.62));
}

html {
  line-height: 1.5;
}

body {
  line-height: 1.6;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* Длинные слова и URL не выталкивают контент за экран */
p, li, .page-lead, .footer-note, .card-text-block, .route-line {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 14px 20px;
  background: var(--bg-surface-strong);
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mono { font-family: var(--font-mono); }
.neon-text { color: var(--accent); }
.uppercase { text-transform: uppercase; }
.brutalist-border { border: 1px solid var(--line-strong); }
.container {
  width: 100%;
  max-width: min(1440px, calc(100vw - 64px));
  margin: 0 auto;
  box-sizing: border-box;
}

nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1440px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 14px 22px;
  z-index: 120;
  background: rgba(12, 15, 16, 0.72);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-2);
  border-radius: 18px;
  box-sizing: border-box;
  min-width: 0;
  overflow-x: hidden;
}

nav::after {
  content: '';
  position: absolute;
  inset: auto 18px 0 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.nav-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  color: var(--text-main);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--text-main);
}

/* Бургер: скрыт на десктопе */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-burger:hover {
  border-color: var(--line);
  background: rgba(255,255,255,0.03);
}

.nav-burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Оверлей меню: скрыт на десктопе */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(5, 7, 8, 0.96);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay {
  pointer-events: none;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-menu-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 90px 24px 40px;
  max-width: 400px;
  margin: 0 auto;
}

.nav-menu-panel a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s ease;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.nav-menu-panel a:hover,
.nav-menu-panel a.is-active {
  color: var(--accent);
}

body.nav-open {
  overflow: hidden;
}

.nav-logo::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(121, 255, 155, 0.4);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  padding: 0 14px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-main);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.video-container {
  position: fixed;
  inset: 0;
  z-index: -5;
  background: var(--bg-secondary);
  overflow: hidden;
}

#heroVideo {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  object-fit: cover;
  opacity: 0.34;
  filter: grayscale(0.4) contrast(1.05) brightness(0.6);
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(7, 9, 10, 0.68) 0%, rgba(7, 9, 10, 0.76) 40%, rgba(7, 9, 10, 0.92) 100%),
    radial-gradient(circle at 50% 18%, rgba(123,255,160,0.08), transparent 26%);
}

/* Hero first screen (index): stable two-column grid inside container width */
#hero-router {
  position: relative;
  z-index: 10;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 108px var(--hero-side-padding) 32px;
  transition: opacity 0.45s ease;
}

.hero-router__grid {
  width: 100%;
  max-width: min(var(--hero-max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(400px, 1fr);
  gap: var(--hero-gutter);
  min-height: calc(100svh - 108px - 32px);
  min-height: calc(100dvh - 108px - 32px);
  min-width: 0;
}

.split-pane {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  padding: 32px 40px 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 20, 21, 0.5), rgba(10, 12, 13, 0.86)),
    linear-gradient(135deg, rgba(123,255,160,0.03), transparent 40%);
  box-shadow: var(--shadow-1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.split-pane::before,
.split-pane::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.split-pane::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 22%),
    radial-gradient(circle at 85% 15%, rgba(123,255,160,0.12), transparent 24%);
}

.split-pane::after {
  left: 40px;
  right: 40px;
  bottom: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent 70%);
}

.split-pane:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(17, 20, 21, 0.62), rgba(10, 12, 13, 0.92)),
    linear-gradient(135deg, rgba(123,255,160,0.05), transparent 44%);
}

.split-pane:hover .pane-title {
  color: var(--text-main);
}

.split-pane:hover .pane-data-list {
  color: var(--text-main);
}

.split-pane:hover .pane-data-list li::before {
  color: var(--accent-bright);
}

#hero-router:hover .split-pane:not(:hover) {
  opacity: 0.72;
  filter: saturate(0.82);
}

.pane-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.pane-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--font-mono);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.pane-label::before {
  content: '';
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.pane-title {
  max-width: 16ch;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
}

/* Длинный заголовок панели (Собственник бизнеса) — перенос в 2 строки без переполнения */
.pane-title--long {
  max-width: 16ch;
}

/* Длинный заголовок первого сценария: чуть меньше, чтобы не спорил с композицией блока */
.pane-title.pane-title--long {
  font-size: clamp(2rem, 3.9vw, 3.35rem);
  line-height: 1.06;
}

.pane-data-list {
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 620px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pane-data-list li {
  position: relative;
  padding-left: 18px;
}

.pane-data-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.pane-cta,
.btn-line,
.btn-dark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.pane-cta,
.btn-line {
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  background: rgba(123, 255, 160, 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.pane-cta::after,
.btn-line::after,
.btn-dark::after {
  content: '→';
  margin-left: 10px;
  transition: transform 0.2s ease;
}

.pane-cta:hover,
.btn-line:hover,
.btn-dark:hover {
  transform: translateY(-2px);
}

.pane-cta:hover,
.btn-line:hover {
  background: var(--accent);
  color: #09100b;
  box-shadow: 0 18px 40px rgba(0, 255, 65, 0.18);
}

.pane-cta:hover::after,
.btn-line:hover::after,
.btn-dark:hover::after {
  transform: translateX(3px);
}

.btn-dark {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.btn-dark:hover {
  border-color: var(--line-strong);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.page-shell {
  position: relative;
  z-index: 10;
  padding-top: 106px;
  min-height: 100vh;
}

.page-hero {
  position: relative;
  z-index: 10;
  min-height: calc(100svh - 92px);
  min-height: calc(100dvh - 92px);
  display: flex;
  align-items: flex-end;
  padding: 72px 0 56px;
}

/* Главная: первый экран — от шапки до низа блока, контент по центру по высоте; отступ сверху под фиксированную шапку */
main#main-content:not(.page-shell) .page-hero {
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 0;
}

/* Same width as site grid (.container) — первый экран в сетку по ширине */
.page-hero__inner {
  width: 100%;
  max-width: min(1440px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  min-width: 0;
}

/* Stable left/right grid: 50/50 как на главной, сбалансировано по UX */
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--hero-gutter);
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.page-hero-grid > *,
.hero-router__grid > * {
  min-width: 0;
}

/* Ограничение ширины текста для читаемости, левая колонка */
.page-hero__content {
  max-width: min(720px, 100%);
  min-width: 0;
}

/* Главная: левый блок крупнее и агрессивнее по масштабу */
main#main-content:not(.page-shell) .page-hero .page-hero__content {
  max-width: min(960px, 100%);
}

main#main-content:not(.page-shell) .page-hero .page-hero__content .page-kicker {
  margin-bottom: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

main#main-content:not(.page-shell) .page-hero .page-hero__content .page-title {
  font-size: clamp(3.4rem, 7.5vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  max-width: none;
  margin: 0 0 24px;
  font-weight: 900;
}

main#main-content:not(.page-shell) .page-hero .page-hero__content .page-lead {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
  max-width: min(680px, 100%);
  margin-top: 0;
  margin-bottom: 0;
}

main#main-content:not(.page-shell) .page-hero .page-hero__content .page-lead--separate {
  margin-top: 26px;
}

main#main-content:not(.page-shell) .page-hero .page-hero__content .page-actions {
  margin-top: 32px;
}

main#main-content:not(.page-shell) .page-hero .page-hero__content .hero-note {
  margin-top: 22px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}
@media (min-width: 901px) {
  .hero-note__nowrap {
    white-space: nowrap;
  }
  main#main-content:not(.page-shell) .page-hero .page-hero__content .hero-note {
    white-space: nowrap;
  }
}

/* Правая колонка — стабильная ширина панели, не сжимается и не растягивается чрезмерно */
.signal-panel--hero {
  min-width: min(320px, 100%);
  width: fit-content;
  max-width: 480px;
  align-self: center;
  justify-self: end;
  justify-content: center;
}

/* --- Первый экран подстраниц: более компактная типографика под текст --- */
.page-shell .page-hero .page-hero__content .page-kicker {
  margin-bottom: 0;
}

.page-shell .page-hero .page-hero__content .page-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.07;
  letter-spacing: -0.05em;
  max-width: 18ch;
  margin: 16px 0 20px;
  font-weight: 900;
}

/* Точечное увеличение hero-заголовка (~15% от базового clamp подстраниц) */
.page-shell .page-hero .page-hero__content .page-title.page-title--plus15 {
  font-size: clamp(2.53rem, 4.37vw, 3.68rem);
  /* Базовые подстраницы держат 18ch — для founders даём всю колонку, чтобы 4–5 строк без уменьшения шрифта */
  max-width: 100%;
}

/*
 * founders hero: левая колонка шире на десктопе.
 * Было 50/50; стало ~57/43 доли — левый блок примерно на +14% шире (в доле строки +7 п.п.).
 */
@media (min-width: 1181px) {
  .page-shell .page-hero.page-hero--founders .page-hero-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  }
}

.page-shell .page-hero .page-hero__content .page-lead {
  font-size: 1.02rem;
  line-height: 1.72;
  max-width: min(680px, 100%);
  margin-bottom: 0;
}

.page-shell .page-hero .page-hero__content .page-actions {
  margin-top: 24px;
}

.page-shell .page-hero .page-hero__content .hero-note {
  margin-top: 14px;
  font-size: 0.74rem;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

/* --- Первый экран: поведение ссылок --- */
.page-hero__content .page-links {
  margin-top: 20px;
}

.page-hero__content .page-links a {
  font-size: 0.8rem;
}

/* Правая панель первого экрана — компактнее, чтобы вписаться в высоту */
.signal-panel--hero h3.signal-panel__title-two {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  margin-bottom: 18px;
}
.signal-panel--hero .signal-panel__title-line1,
.signal-panel--hero .signal-panel__title-line2 {
  display: block;
}
.signal-panel--hero .signal-panel__title-line2 {
  margin-top: 0.8em;
}
@media (min-width: 901px) {
  .signal-panel--hero .signal-panel__title-line1,
  .signal-panel--hero .signal-panel__title-line2 {
    white-space: nowrap;
  }
}
.signal-panel--hero .signal-list {
  font-size: 0.88rem;
  line-height: 1.5;
}
.signal-panel--hero .signal-list li + li {
  margin-top: 8px;
}

/* Меньше вертикальных отступов hero на подстраницах — контент в один экран, по центру по вертикали */
.page-shell .page-hero {
  align-items: center;
  padding: 56px 0 40px;
  min-height: calc(100svh - 96px);
  min-height: calc(100dvh - 96px);
}

.page-shell .page-hero.section-compact {
  align-items: center;
  padding: 48px 0 36px;
  min-height: calc(100svh - 100px);
  min-height: calc(100dvh - 100px);
}

.page-kicker,
.small-kicker,
.section-subtitle,
.metric-label,
.protocol-no,
.field label,
.hero-note,
.footer-meta {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-title {
  max-width: 12ch;
  margin: 22px 0 24px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.page-lead {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1.06rem;
  line-height: 1.78;
}
.page-lead--separate {
  margin-top: 1.25em;
}

.page-actions,
.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  color: var(--text-muted);
  line-height: 1.65;
}
.hero-note--entries {
  white-space: normal;
  text-transform: uppercase;
  line-height: 1.85;
  letter-spacing: 0.06em;
}

.content-section {
  position: relative;
  z-index: 20;
  padding: var(--section-spacing) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(10,12,13,0.92), rgba(10,12,13,0.98));
}

.content-section.alt-bg {
  background: linear-gradient(180deg, rgba(12,15,16,0.95), rgba(8,10,11,0.98));
}

.content-section::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(123,255,160,0.015), transparent);
}

.section-header {
  display: grid;
  gap: 20px;
  max-width: 980px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-subtitle,
.page-kicker,
.small-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--accent);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-subtitle::before,
.page-kicker::before,
.small-kicker::before {
  content: '';
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-title {
  max-width: min(28ch, 100%);
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.section-subtitle { margin-top: 0; margin-bottom: 0; }

.info-card > .small-kicker,
.process-card > .small-kicker,
.signal-panel > .small-kicker,
.form-shell > .small-kicker {
  margin-bottom: 14px;
}

.info-card h3,
.process-card h3,
.protocol-copy h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.info-card h3:last-child,
.process-card h3:last-child,
.protocol-copy h3:last-child { margin-bottom: 0; }

.protocol-copy p:first-of-type,
.info-card p:first-of-type,
.process-card p:first-of-type { margin-top: 0; }

.page-kicker { margin-bottom: 16px; }

.signal-panel h3 { margin-top: 0; margin-bottom: 12px; }

.card-text-block p,
.info-card p,
.process-card p,
.protocol-copy p,
.footer-grid p,
.footer-grid li,
.footer-grid a,
.footer-note {
  color: var(--text-secondary);
  line-height: 1.72;
}

.card-text-block p + p {
  margin-top: 20px;
}

.mandate-grid,
.metric-strip,
.router-grid,
.grid-2,
.grid-3,
.grid-4,
.protocol-list,
.data-grid {
  display: grid;
  gap: 14px;
}

.mandate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-strip,
.data-grid,
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.router-grid,
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mandate-card,
.metric-tile,
.router-card,
.info-card,
.process-card,
.signal-panel,
.form-shell,
.data-point,
.ops-data-visual,
.protocol-item {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18,22,23,0.94), rgba(13,16,17,0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2);
}

.mandate-card::before,
.metric-tile::before,
.router-card::before,
.info-card::before,
.process-card::before,
.signal-panel::before,
.form-shell::before,
.data-point::before,
.ops-data-visual::before,
.protocol-item::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.mandate-card,
.router-card,
.info-card,
.process-card,
.metric-tile,
.form-shell,
.signal-panel,
.data-point {
  min-width: 0;
  padding: clamp(30px, 3.5vw, 44px);
}

.mandate-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(40px, 4.5vw, 60px);
  padding-bottom: clamp(30px, 3.5vw, 44px);
}

.mandate-step {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.mandate-desc {
  max-width: 22ch;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-transform: none;
}

.mandate-grid--steps .mandate-card {
  gap: 20px;
}

.mandate-grid--steps .mandate-desc {
  max-width: 28ch;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.38;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-transform: none;
}

.metric-strip {
  margin-top: 24px;
}

.metric-tile {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-value,
.data-value {
  color: var(--text-main);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}


.metric-value { font-size: clamp(1.9rem, 3vw, 2.65rem); }
.data-value { font-size: clamp(1.65rem, 2.8vw, 2.6rem); }

.metric-label,
.data-label {
  color: var(--text-muted);
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* Блок «Почему это работает»: текст, под ним блок «Протокол CLAN» */
.block-protocol-text {
  margin-bottom: clamp(28px, 3vw, 40px);
}
.signal-panel--below {
  width: 100%;
  max-width: 100%;
}

.ops-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.ops-data-visual {
  min-height: 340px;
  padding: 30px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(123,255,160,0.12), transparent 34%),
    linear-gradient(180deg, rgba(18,22,23,0.94), rgba(13,16,17,0.98));
}

.ops-data-visual::after {
  content: 'ОПЕРАЦИОННАЯ СИСТЕМА // ИСПОЛНЕНИЕ';
  position: absolute;
  right: 24px;
  bottom: 22px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.signal-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(123,255,160,0.08), transparent 30%),
    linear-gradient(180deg, rgba(18,22,23,0.92), rgba(12,15,16,0.98));
}

.signal-panel h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
  font-weight: 800;
}

.signal-list,
.router-list,
.mono-list,
.info-card ul,
.process-card ul {
  list-style: none;
}

.signal-list,
.router-list,
.mono-list {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  line-height: 1.65;
}

.signal-list li,
.router-list li,
.mono-list li,
.info-card ul li,
.process-card ul li {
  position: relative;
  padding-left: 18px;
}

.signal-list li + li,
.router-list li + li,
.mono-list li + li,
.info-card ul li + li,
.process-card ul li + li {
  margin-top: 12px;
}

.signal-list li::before,
.router-list li::before,
.mono-list li::before,
.info-card ul li::before,
.process-card ul li::before,
.pane-data-list li::before {
  color: var(--accent);
}

.router-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.router-card:hover,
.info-card:hover,
.process-card:hover,
.mandate-card:hover,
.metric-tile:hover,
.data-point:hover,
.protocol-item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.router-card:hover .router-title,
.router-card:hover p,
.info-card:hover h3,
.info-card:hover p,
.info-card:hover li,
.process-card:hover h3,
.process-card:hover p {
  color: var(--text-main);
}

.router-title {
  max-width: min(28ch, 100%);
  margin: 16px 0 22px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 900;
  overflow-wrap: break-word;
}

.router-tags,
.tag-row,
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.router-tags,
.tag-row {
  margin-top: 22px;
}

.router-tag,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(123,255,160,0.16);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(123,255,160,0.04);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

.info-card,
.process-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.info-card h3,
.process-card h3,
.protocol-copy h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.info-card p,
.process-card p,
.info-card li,
.process-card li {
  font-size: 0.98rem;
}

.institutional-cycle-intro {
  max-width: min(82ch, 100%);
  margin: 0 0 26px;
  color: var(--text-secondary);
  line-height: 1.72;
}

.institutional-grid {
  gap: 16px;
}

.institutional-card {
  min-height: 320px;
  justify-content: flex-start;
  gap: 12px;
}

.institutional-card h3 {
  margin-bottom: 6px;
}

.institutional-card p {
  margin: 0;
}

.institutional-card p strong {
  color: var(--text-main);
  font-weight: 700;
}

.evidence-intro {
  max-width: min(92ch, 100%);
  margin: 0 0 24px;
  color: var(--text-secondary);
  line-height: 1.72;
}

.evidence-grid {
  gap: 16px;
}

.evidence-card {
  min-height: 0;
  justify-content: flex-start;
  gap: 16px;
}

.evidence-card h3 {
  margin: 0;
}

.evidence-points {
  display: grid;
  gap: 12px;
}

.evidence-points p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.68;
}

.evidence-points p strong {
  color: var(--text-main);
  font-weight: 700;
}

.evidence-closing {
  margin-top: 20px;
  max-width: min(1000px, 100%);
  padding: 18px 22px;
  border-left: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(18,22,23,0.45), rgba(13,16,17,0.75));
}

.evidence-closing p {
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--text-main);
}

.mechanics-intro {
  max-width: min(92ch, 100%);
  margin: 0 0 20px;
  color: var(--text-secondary);
  line-height: 1.72;
}

.mechanics-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.mechanics-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(123,255,160,0.16);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(123,255,160,0.04);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.mechanics-module {
  min-height: 0;
  justify-content: flex-start;
  gap: 14px;
}

.mechanics-module + .mechanics-module {
  margin-top: 14px;
}

/* В сетках 2x2 не сдвигаем правую карточку вниз */
.grid-2 .mechanics-module + .mechanics-module {
  margin-top: 0;
}

.mechanics-list {
  list-style: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  line-height: 1.65;
}

.mechanics-list li {
  position: relative;
  padding-left: 18px;
}

.mechanics-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.mechanics-list li + li {
  margin-top: 10px;
}

.mechanics-subgrid {
  display: grid;
  gap: 14px;
}

.mechanics-subblock h4 {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mechanics-subblock p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.mechanics-pair,
.mechanics-case-grid {
  margin-top: 14px;
  gap: 14px;
}

.mechanics-pair {
  align-items: stretch;
}

.mechanics-pair .mechanics-module {
  height: 100%;
}

.mechanics-case > p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.72;
}

.mechanics-case-kicker {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.mechanics-case {
  margin-top: 24px;
}

.mechanics-case-kpis {
  margin-top: 6px;
}

.mechanics-case-grid .data-point {
  min-height: 0;
}

.mechanics-case-kpis .data-point {
  padding: 20px 18px;
  min-height: 0;
}

.mechanics-case-kpis .data-value {
  font-size: clamp(1.16rem, 1.85vw, 1.72rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.mechanics-case-kpis .data-label {
  margin-top: 8px;
  font-size: 0.74rem;
  line-height: 1.45;
}

.mechanics-case-thesis {
  margin: 2px 0 0;
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.6;
}

.mechanics-case-details {
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(10, 13, 14, 0.45);
  overflow: hidden;
}

.mechanics-case-details summary {
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mechanics-case-details[open] summary {
  color: var(--text-main);
}

.mechanics-case-details > :not(summary) {
  padding: 14px;
}

.mechanics-closing p + p {
  margin-top: 10px;
}

/* Институциональный цикл: на планшете 2 колонки, на телефоне 1 */
@media (max-width: 1180px) and (min-width: 701px) {
  .grid-3.institutional-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2.evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2.mechanics-pair,
  .grid-2.mechanics-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-grid.mechanics-case-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .grid-3.institutional-grid {
    grid-template-columns: 1fr;
  }

  .institutional-card {
    min-height: auto;
  }

  .grid-2.evidence-grid {
    grid-template-columns: 1fr;
  }

  .mechanics-toc a {
    width: 100%;
    justify-content: center;
  }

  .grid-2.mechanics-pair,
  .grid-2.mechanics-case-grid {
    grid-template-columns: 1fr;
  }

  .data-grid.mechanics-case-kpis {
    grid-template-columns: 1fr;
  }

  .mechanics-case-details summary {
    padding: 12px 14px;
  }
}

.statement-block,
.exit-statement {
  position: relative;
  max-width: 980px;
  padding: 0 0 0 30px;
  border-left: 1px solid var(--line-strong);
}

.statement-block p,
.exit-statement {
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.statement-block span {
  display: block;
  margin-top: 16px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.protocol-list {
  gap: 14px;
}

.protocol-item {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.protocol-copy {
  display: grid;
  gap: 12px;
}

.form-shell {
  background:
    radial-gradient(circle at top right, rgba(123,255,160,0.08), transparent 28%),
    linear-gradient(180deg, rgba(18,22,23,0.95), rgba(12,15,16,0.98));
}

.form-shell h3 {
  margin: 16px 0 16px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.08;
  font-weight: 800;
}

.form-shell p {
  color: var(--text-secondary);
  line-height: 1.72;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text-main);
  font: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 4px rgba(123,255,160,0.08);
}

.form-group-label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.form-group-label.form-group-optional {
  margin-top: 24px;
  margin-bottom: 12px;
}

.form-status {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-status.form-status-inline {
  margin-top: 10px;
}

.form-status.success { color: var(--accent); }
.form-status.error { color: #ff8080; }

.data-point {
  min-width: 0;
  min-height: 200px;
  padding: clamp(30px, 3.5vw, 44px);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.data-label {
  color: var(--text-muted);
}

.page-links {
  margin-top: 24px;
}

.page-links a {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 30px;
  text-align: left;
}

footer {
  position: relative;
  z-index: 20;
  padding: 80px 0 34px;
  background: rgba(8, 10, 11, 0.94);
  border-top: 1px solid rgba(255,255,255,0.05);
  max-width: 100%;
  overflow-x: hidden;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li + li {
  margin-top: 10px;
}

.footer-grid a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-grid a:hover {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

.route-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 16px;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.route-line a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.route-line a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-back {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-back:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-grid > div > .small-kicker {
  margin-bottom: 14px;
}

.footer-grid .small-kicker + ul.spacer-top {
  margin-top: 0;
}

.footer-grid .nav-logo {
  margin-bottom: 14px !important;
}

.footer-note {
  color: var(--text-muted);
  max-width: 900px;
}

.footer-meta {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
}

.footer-disclaimer {
  margin-top: 24px;
  max-width: 700px;
  color: var(--text-muted);
  line-height: 1.7;
}

.spacer-top { margin-top: 18px; }
.spacer-medium { margin-top: 24px; }
.spacer-large { margin-top: 32px; }
.section-compact { padding: 76px 0; }

@media (max-width: 1180px) {
  .container,
  nav {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .hero-router__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .split-pane {
    min-height: 42vh;
  }

  .page-hero-grid,
  .ops-layout,
  .grid-3,
  .grid-4,
  .metric-strip,
  .data-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .router-grid,
  .grid-2,
  .mandate-grid {
    grid-template-columns: 1fr;
  }

  /* Текст карточек «Архитектура» на всю ширину блока для читаемости */
  .mandate-desc {
    max-width: none;
  }

  .protocol-item {
    grid-template-columns: 1fr;
  }

  .page-title,
  .section-title {
    max-width: none;
  }

  .page-hero__content {
    max-width: none;
  }

  .signal-panel--hero {
    max-width: none;
    justify-self: stretch;
  }
}

/* 1024px: комфортная высота сплит-панелей и отступы на ноутбуках */
@media (max-width: 1024px) {
  #hero-router {
    padding-left: 24px;
    padding-right: 24px;
  }

  .split-pane {
    min-height: 38vh;
    min-height: 38dvh;
    padding: 24px 20px 28px;
  }

  .page-hero__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 900px) {
  nav {
    top: 10px;
    padding: 12px 14px 12px 18px;
    border-radius: 16px;
  }

  .nav-logo {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-overlay {
    display: block;
  }

  #hero-router {
    padding: 92px 16px 24px;
  }

  .hero-router__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    gap: 14px;
  }

  .split-pane {
    min-height: 44vh;
    min-height: 44dvh;
    padding: 28px 24px 32px;
    border-radius: 24px;
  }

  .container {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .page-shell {
    padding-top: 96px;
  }

  .page-hero {
    min-height: auto;
    padding: 50px 0 38px;
  }

  /* Контент с самого верха под шапкой, без вертикального центрирования — чтобы kicker не уходил под шапку */
  main#main-content:not(.page-shell) .page-hero {
    align-items: flex-start;
    padding-top: 108px;
  }

  .page-hero__inner {
    padding-left: 0;
    padding-right: 0;
  }

  .pane-title,
  .page-title,
  .router-title {
    font-size: clamp(2.3rem, 10vw, 4rem);
  }

  /* Заголовок главной: по максимуму в блоке, с переносом длинных слов */
  main#main-content:not(.page-shell) .page-hero .page-hero__content .page-title {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }

  .pane-cta,
  .btn-line,
  .btn-dark {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .statement-block,
  .exit-statement {
    padding-left: 20px;
  }
}

/* Маленькие телефоны: контент строго в границах экрана */
@media (max-width: 480px) {
  .container,
  nav {
    width: min(100%, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }

  nav {
    padding: 10px 12px 10px 14px;
  }

  main#main-content:not(.page-shell) .page-hero {
    padding-top: 108px;
  }

  #hero-router {
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-hero__inner {
    padding-left: 0;
    padding-right: 0;
  }

  .split-pane {
    padding: 20px 16px 24px;
  }

  .pane-title,
  .page-title,
  .router-title {
    font-size: clamp(1.75rem, 8vw, 2.8rem);
  }

  /* Заголовок главной на маленьких экранах — крупнее, по максимуму влезает в блок */
  main#main-content:not(.page-shell) .page-hero .page-hero__content .page-title {
    font-size: clamp(2.1rem, 9.5vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .mandate-desc {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
    line-height: 1.2;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 12px 14px;
  }
}

/* 1366px: больше воздуха по бокам hero и сплит-панелей */
@media (min-width: 1366px) {
  :root {
    --hero-side-padding: 40px;
  }

  .split-pane {
    padding: 36px 44px 44px;
  }
}

/* 1440px: максимальный комфорт на больших мониторах */
@media (min-width: 1440px) {
  :root {
    --hero-side-padding: 48px;
  }

  #hero-router {
    padding-left: 48px;
    padding-right: 48px;
  }

  .split-pane {
    padding: 40px 48px 48px;
  }

  .page-hero__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  #hero-router:hover .split-pane:not(:hover) {
    opacity: 1;
    filter: none;
  }
}
