/* Extracted from index.html inline <style> (2026-04-02) */

/* ===== Design System (from VladimirPastushenko.ru) ===== */
:root {
  /* Единая ширина колонки: герой, блок основателя, экспертиза, футер (.content-column) */
  --content-max: 980px;
  --bg-main: #050713;
  --bg-alt: #0b0f1f;
  --bg-elevated: #101528;
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.2);
  --accent-strong: #8b5cff;
  --text-main: #f5f7ff;
  --text-muted: #a3adc7;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.3s ease-out;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Base typography + user-controlled scale */
html { font-size: 16px; }
html[data-text-scale="compact"] { font-size: 15px; }
html[data-text-scale="medium"]  { font-size: 16px; }
html[data-text-scale="large"]   { font-size: 18px; }

body {
  /* Явные системные гарнитуры с кириллицей — если веб-шрифт не загрузился, русский текст не «пустой» */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: radial-gradient(circle at top left, #1b2340 0, #050713 45%, #02030a 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 80px 0; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}

/* Секции «светлее» body: отдельная плашка + линия сверху, чтобы не сливаться с hero */
.section-light {
  background: linear-gradient(180deg, #101a32 0%, #0a1020 55%, #070b16 100%);
  border-top: 1px solid rgba(100, 150, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}
/* Две подряд «светлые» секции (#expertise → #formats): чуть другой оттенок и мягче линия */
.section-light + .section-light {
  background: linear-gradient(180deg, #0c1426 0%, #080d18 100%);
  border-top-color: rgba(100, 150, 255, 0.1);
}
/* .section-dark removed (unused) */

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(53, 87, 255, 0.18), transparent 60%),
    rgba(5, 7, 19, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

/* Print-only cover: hidden on screen */
.print-cover { display: none; }

/* noscript + CSP-safe inline replacement */
.ym-noscript__img {
  position: absolute;
  left: -9999px;
}
.noscript-note {
  padding: 16px 0 24px;
}
.noscript-note__p {
  margin: 0;
  font-size: 14px;
  color: #a3adc7;
}
.noscript-note__a {
  color: #4f8cff;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  /* Запас под металлический градиент + scaleY у .logo-brand — иначе верх обрезался бы overflow у шапки */
  padding: 6px 8px 6px 0;
  margin: -6px 0;
  box-sizing: content-box;
}
/* ili — марка: жирнее, крупнее, металлический перелив + мягкая пульсация ореола */
.logo-ili-wrap {
  display: inline-block;
  line-height: 1;
  animation: iliHaloPulse 3.2s ease-in-out infinite;
}
@keyframes iliHaloPulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 8px rgba(210, 228, 255, 0.5))
      drop-shadow(0 0 22px rgba(120, 165, 230, 0.28));
  }
  50% {
    filter:
      drop-shadow(0 0 16px rgba(245, 250, 255, 0.85))
      drop-shadow(0 0 38px rgba(150, 195, 255, 0.42));
  }
}
.logo-ili {
  display: inline-block;
  font-weight: 800;
  font-size: 0.92em;
  letter-spacing: 0.128em;
  text-transform: lowercase;
  padding-right: 0.02em;
  background: linear-gradient(
    110deg,
    #6d829e 0%,
    #9eb2cc 12%,
    #d2deef 24%,
    #ffffff 34%,
    #e8eef8 42%,
    #a4b6ce 52%,
    #f5f8fd 64%,
    #8fa4be 78%,
    #c5d3e6 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: iliMetallicSweep 4.8s ease-in-out infinite;
}
@keyframes iliMetallicSweep {
  0%, 100% { background-position: 8% 50%; }
  50% { background-position: 92% 50%; }
}
/* TODOIT в шапке: как hero-mega-todoit, только компактнее */
.logo-brand {
  display: inline-block;
  font-family: "Goldman", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  /* В шапке плотнее, чтобы влезало в меню */
  letter-spacing: 0.06em;
  line-height: 1.12;
  transform: scaleY(0.82);
  transform-origin: center center;

  background: linear-gradient(
    110deg,
    #6d829e 0%,
    #9eb2cc 12%,
    #d2deef 24%,
    #ffffff 34%,
    #e8eef8 42%,
    #a4b6ce 52%,
    #f5f8fd 64%,
    #8fa4be 78%,
    #c5d3e6 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: iliMetallicSweep 4.8s ease-in-out infinite;
  /* Мягкий “металлический” объем, но без тяжёлого 3D */
  filter: drop-shadow(0 0 10px rgba(210, 228, 255, 0.14));

  transition: opacity 0.22s ease, max-width 0.24s ease, visibility 0.22s ease;
}
/* Пока крупный TODOIT в hero в зоне видимости — дубль в шапке скрыт */
.site-header.is-mega-todoit-in-view .logo-brand {
  opacity: 0;
  visibility: hidden;
  max-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .logo-brand { transition: none; }
}
.logo:hover .logo-ili-wrap { animation-duration: 2.4s; }
.logo:hover .logo-ili { animation-duration: 3.4s; }
.logo:hover .logo-brand { filter: drop-shadow(0 0 16px rgba(245, 250, 255, 0.18)); }
@media (prefers-reduced-motion: reduce) {
  .hero-bg-svg { display: none !important; }

  .logo-ili-wrap,
  .logo-ili {
    animation: none !important;
  }
  .logo-brand {
    animation: none !important;
    background-position: 8% 50% !important;
    filter: none !important;
  }
  .logo-ili {
    color: #e8eef8;
    -webkit-text-fill-color: #e8eef8;
    background: none;
    text-shadow:
      0 0 12px rgba(220, 230, 248, 0.45),
      0 0 28px rgba(150, 180, 230, 0.25);
  }
  .hero-mega-ili-wrap,
  .hero-mega-ili {
    animation: none !important;
  }
  .hero-mega-ili-wrap { filter: none !important; }
  .hero-mega-ili {
    color: #e8eef8;
    -webkit-text-fill-color: #e8eef8;
    background: none;
    text-shadow: none;
  }
  .hero-tagline-ili {
    animation: none !important;
    color: #e8eef8;
    -webkit-text-fill-color: #e8eef8;
    background: none;
  }
  .logo-brand {
    animation: none !important;
    background: none !important;
    color: #e8eef8 !important;
    -webkit-text-fill-color: #e8eef8 !important;
    text-shadow: none !important;
    filter: none !important;
  }
  .hero-mega-todoit {
    animation: none !important;
    background: none !important;
    color: #e8eef8 !important;
    -webkit-text-fill-color: #e8eef8 !important;
    text-shadow:
      -1px -1px 0 rgba(255, 255, 255, 0.2),
      1px 1px 0 rgba(28, 38, 58, 0.75),
      2px 2px 0 rgba(22, 32, 52, 0.55),
      3px 3px 0 rgba(16, 26, 44, 0.4),
      4px 4px 10px rgba(0, 0, 0, 0.45),
      0 0 20px rgba(150, 185, 255, 0.4) !important;
  }
  .format-card { transition: none !important; }
  .format-card:hover { transform: none !important; }
}

/* Mobile paint-cost reductions (keep the look, reduce heavy shadows) */
@media (max-width: 768px) {
  .vp-founder-photo-wrapper { box-shadow: 0 12px 36px rgba(0, 0, 0, 0.72); }
  .format-card { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.62); }
  .format-card:hover { box-shadow: 0 14px 42px rgba(15, 23, 42, 0.75); }
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 16px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-size: 14px;
  color: #8f9bb4;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width var(--transition-fast);
}
.nav-list a:hover,
.nav-list a:focus-visible { color: #fff; }
.nav-list a.is-active { color: #fff; }
.nav-list a.is-active::after { width: 100%; }

.nav-toggle {
  display: none;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 10, 24, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  align-self: center;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-line {
  width: 18px; height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

/* ===== Hero ===== */
/* Шапка в потоке — компактный зазор до бренд-блока TODOIT; лёгкий «подсвет» без второй плашки как у .section-light */
/* Якорь #hero: без доп. отступа при scrollIntoView — иначе скачок относительно sticky-шапки */
#hero { scroll-margin-top: 0; }
.hero {
  padding-top: 20px;
  position: relative;
  /* Только по X: вертикаль visible — иначе обрезаются верхи букв у clip-text + scaleY в бренд-блоке */
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(ellipse 110% 75% at 50% -8%, rgba(79, 140, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 85% 55% at 0% 0%, rgba(139, 92, 255, 0.06), transparent 50%);
}
.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

/* TODOIT + подпись — вне карточки, в полосе секции hero */
.hero-brand-strip {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-brand-strip .hero-mega-measure {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
  text-align: center;
  /* Явное центрирование TODOIT + подписи по одной оси */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Верх/низ: запас под background-clip:text, glow и scaleY — иначе «TODOIT» визуально срезался по краю overflow */
  padding: 16px 8px 28px;
  box-sizing: border-box;
}
.hero-brand-strip .hero-brand-card-mark.card-label {
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: -38px !important;
  padding: 0 !important;
  line-height: 1 !important;
}
/* Англ. слоган: letter-spacing в em, ширина = 88% TODOIT; JS — только font-size (как у русской строки) */
.hero-mega-tagline {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 0 0.12em 0 !important;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  /* первоначально 0.12em — ×1 */
  letter-spacing: 0.12em;
  text-transform: none;
  /* Темнее обычного muted — «ili» визуально сильнее выделяется */
  color: #4a5568;
  /* >1 — место под хвосты (y, g), без большого margin между строками */
  line-height: 1.15 !important;
  overflow: hidden;
  /* Fallback до JS */
  font-size: clamp(0.65rem, 2.2vw, 0.95rem);
}
/* Русская строка: letter-spacing в em (см. ниже), ширина блока = 87% TODOIT, JS — только font-size */
.hero-mega-tagline-sub {
  /* было 0.4em — ×2 расстояние до англ. слогана */
  margin-top: 0.65em !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  /* первоначально 0.12em — ×7 */
  letter-spacing: 0.84em;
  text-transform: none;
  color: #5c6578;
  line-height: 1.08 !important;
  font-size: clamp(0.5rem, 1.65vw, 0.78rem);
}
.hero-tagline-ili {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #a8bdd4 0%,
    #d2e2f5 12%,
    #f2f7ff 26%,
    #ffffff 36%,
    #f6f9ff 48%,
    #d5e4f4 60%,
    #ffffff 72%,
    #b8cce3 84%,
    #e8f0fb 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 8px rgba(220, 235, 255, 0.22),
    0 0 18px rgba(140, 175, 230, 0.18);
  animation: iliMetallicSweep 4.8s ease-in-out infinite;
}
.hero-mega-scale {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  white-space: nowrap;
  line-height: 1;
  /* Fallback до JS; потом перезаписывается в px */
  font-size: clamp(1.25rem, 11vw, 5.5rem);
}
.hero-mega-ili-wrap { display: inline-block; line-height: 1; filter: none; }
.hero-mega-ili {
  display: inline-block;
  font-weight: 800;
  font-size: 0.92em;
  letter-spacing: 0.128em;
  /* iIi — осознанный регистр, без text-transform */
  padding-right: 0.02em;
  background: linear-gradient(
    110deg,
    #6d829e 0%,
    #9eb2cc 12%,
    #d2deef 24%,
    #ffffff 34%,
    #e8eef8 42%,
    #a4b6ce 52%,
    #f5f8fd 64%,
    #8fa4be 78%,
    #c5d3e6 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: iliMetallicSweep 4.8s ease-in-out infinite;
}
/* TODOIT: тот же металлический перелив, что у .hero-mega-ili */
.hero-mega-todoit {
  display: inline-block;
  font-family: "Goldman", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 1em;
  line-height: 1.05;
  padding: 0.06em 0 0.04em;
  transform: scaleY(0.8);
  transform-origin: center center;
  background: linear-gradient(
    110deg,
    #6d829e 0%,
    #9eb2cc 12%,
    #d2deef 24%,
    #ffffff 34%,
    #e8eef8 42%,
    #a4b6ce 52%,
    #f5f8fd 64%,
    #8fa4be 78%,
    #c5d3e6 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: iliMetallicSweep 4.8s ease-in-out infinite;
}

/* ===== Блок основателя (скопировано из TODOIT.RU, классы vp-founder-* — без конфликта с .hero-shell) ===== */
.vp-founder-block {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.vp-founder-shell {
  display: flex;
  gap: 32px;
  align-items: center;
  width: 100%;
  padding: 26px 26px 24px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 255, 0.35);
  background: radial-gradient(circle at 0 0, rgba(79, 140, 255, 0.14), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-soft);
}
.vp-founder-photo-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  flex-shrink: 0;
}
.vp-founder-photo-wrapper {
  position: relative;
  margin: 0;
  max-width: 280px;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(148, 163, 255, 0.7);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.9);
  z-index: 10;
}
.vp-founder-photo-wrapper picture { display: contents; }
.vp-founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* было center 10% — лишняя полоса над головой; сдвиг вниз ~на 10% кадра */
  object-position: center 22%;
  margin-top: 0;
}
.vp-founder-text { flex: 1; min-width: 0; }
.vp-founder-name-over {
  font-size: clamp(17px, 2.1vw, 23px);
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.15;
  color: var(--text-muted);
}
.vp-founder-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 16px;
  opacity: 0.85;
}
.vp-founder-kicker-block { white-space: nowrap; }
.vp-founder-name {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 600;
}
.vp-founder-headline {
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.38;
  margin: 0 0 14px;
  color: var(--text-main);
  text-wrap: balance;
}
.vp-founder-bio {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 100%;
  text-align: left;
  font-size: 15px;
  line-height: 1.55;
}
.vp-founder-situations {
  margin: 0 0 6px;
  font-weight: 500;
  color: var(--text-muted);
}
.vp-founder-bullets {
  margin: 0 0 12px;
  padding-left: 1.15em;
  list-style: none;
}
.vp-founder-bullets li {
  position: relative;
  padding-left: 0.25em;
  margin: 0 0 5px;
}
.vp-founder-bullets li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: 0.62em;
  width: 0.42em;
  height: 0.42em;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.12);
}
.vp-founder-accent {
  margin: 0;
  font-style: italic;
  color: var(--text-muted);
  opacity: 0.9;
}
.vp-founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 8px;
}
.btn-vp-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(7, 11, 31, 0.9);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--transition-med), color var(--transition-med), background var(--transition-med);
  white-space: nowrap;
}
.btn-vp-secondary:hover,
.btn-vp-secondary:focus-visible {
  border-color: var(--accent-soft);
  color: #e5e9ff;
  background: rgba(14, 18, 40, 0.98);
  outline: none;
}
.btn-vp-icon { font-size: 17px; flex-shrink: 0; line-height: 1; }
.btn-vp-icon-img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}
@media (min-width: 1025px) {
  .vp-founder-shell { align-items: stretch; }
  .vp-founder-photo-column { align-self: stretch; }
  .vp-founder-photo-wrapper {
    max-width: 260px;
    width: 260px;
    height: auto;
    aspect-ratio: 3 / 4;
    flex: 0 0 auto;
    align-self: center;
  }
}
@media (max-width: 1024px) {
  .vp-founder-shell { flex-direction: column; align-items: stretch; }
  .vp-founder-photo-column { width: 100%; align-items: center; }
  .vp-founder-photo-wrapper {
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
  }
  /* When the name/kicker move under the photo — center them */
  .vp-founder-name-over,
  .vp-founder-kicker {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .vp-founder-shell { padding: 20px 18px 18px; align-items: stretch; }
  .vp-founder-kicker-block { white-space: normal; }
  .vp-founder-actions { flex-direction: column; align-items: stretch; }
  .vp-founder-actions .btn-vp-secondary { width: 100%; justify-content: center; }
  /* Как на доноре: портрет по центру, 3:4, без фиксированной «лесенки» по высоте */
  .vp-founder-photo-wrapper {
    max-width: min(300px, 100%);
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  .vp-founder-shell { padding: 18px 14px 16px; border-radius: 22px; }
  .vp-founder-photo-wrapper { max-width: min(260px, 100%); border-radius: 20px; }
}
@media (max-width: 430px) {
  .vp-founder-name { font-size: clamp(22px, 6vw, 30px); }
  .vp-founder-name-over { font-size: clamp(18px, 5vw, 24px); }
  .vp-founder-headline { font-size: clamp(16px, 4.5vw, 20px); }
  .vp-founder-bio { font-size: 14px; }
}

/* ===== Роли и форматы работы (как на vladimirpastushenko.ru / todoit.ru) ===== */
.formats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}
.format-card {
  background: rgba(4, 7, 20, 0.96);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}
.format-card:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.9);
  transform: translateY(-2px);
}
.format-title { font-size: 16px; margin: 0 0 8px; }
.role-en { color: #ffffff; font-weight: 600; }
.format-subtitle {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.format-text {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.format-text:last-child { margin-bottom: 0; }
.cases-cta { text-align: center; margin-top: 40px; padding: 20px 0; }
.cases-cta > p:first-of-type {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
}
.cases-cta .contact-selector { margin-left: auto; margin-right: auto; }

/* Divider inside methodology CTA (matches methodology pages) */
.methodology-cta-divider {
  height: 1px;
  margin: 0 auto 18px;
  max-width: 520px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 140, 255, 0.28),
    rgba(255, 255, 255, 0.10),
    rgba(139, 92, 255, 0.20),
    transparent
  );
}

/* Light theme: match methodology page divider contrast */
html[data-theme="light"] .methodology-cta-divider {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.14),
    rgba(37, 99, 235, 0.22),
    rgba(15, 23, 42, 0.14),
    transparent
  );
}

/* Founder block: divider under name/kicker */
.vp-founder-divider {
  max-width: 420px;
  margin: 12px 0 14px;
}
.vp-founder-divider--bio {
  margin: 18px 0 10px;
  max-width: 520px;
  opacity: 0.9;
}
.vp-founder-divider--accent {
  margin: 12px 0 12px;
  max-width: 520px;
  opacity: 0.9;
}
@media (max-width: 1024px) {
  .vp-founder-divider { margin-left: auto; margin-right: auto; }
}

/* ===== CTA Button (contact-selector) ===== */
.contact-selector {
  position: relative;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}
.contact-btn.primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(79, 140, 255, 0.5);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-btn.primary:hover {
  background: linear-gradient(135deg, #5a9aff, #9a6cff);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(79, 140, 255, 0.45);
}
.btn-icon { font-size: 18px; flex-shrink: 0; }
.btn-text { flex: 1; text-align: left; }
.btn-toggle { font-size: 14px; opacity: 0.9; transition: transform var(--transition-fast); }
.contact-selector.open .btn-toggle { transform: rotate(180deg); }

.contact-options {
  display: none;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
  background: rgba(4, 7, 20, 0.98);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 10;
}
.contact-options.show { display: flex; animation: contactSlideDown 0.2s ease; }
@keyframes contactSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
  font-size: 15px;
}
.contact-option:hover { background: var(--accent-soft); color: #fff; }
.contact-option:last-child { border-bottom: none; }
.option-icon { font-size: 18px; }
.option-text { flex: 1; }
.option-hint {
  display: block;
  font-size: 0.7em;
  color: #9ca3af;
  margin-left: 24px;
  line-height: 1.2;
}

.contact-note {
  margin: 0;
  padding: 10px 0 0;
  font-size: 12px;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.contact-note .note-main { font-weight: 500; color: #7a8499; }
.contact-note .note-sub { font-size: 11px; color: #5c6478; }

/* ===== Toast ===== */
.contact-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #050713;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}
.contact-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.contact-toast .toast-icon { color: #10b981; font-weight: bold; }

/* ===== Cards (shared pattern) ===== */
.card {
  background: rgba(4, 7, 20, 0.96);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}
.card:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.9);
  transform: translateY(-2px);
}
/* .card-title removed (unused) */
.card-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 6px;
  font-weight: 500;
}

/* Methodology: highlight key phrase */
.methodology-highlight {
  display: inline-block;
  padding: 0.1em 0.45em;
  margin: 0 0.08em;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: rgba(236, 253, 245, 0.98);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.26), rgba(5, 150, 105, 0.12));
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.26) inset,
    0 0 22px rgba(16, 185, 129, 0.18);
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.22);
}

.methodology-subtitle {
  margin: 14px 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(152, 222, 185, 0.92);
}

/* Methodology: copy block (readable + stylish) */
.methodology-copy {
  margin-top: 10px;
  max-width: 920px;
  display: grid;
  gap: 10px;
}
.methodology-copy__lead {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.92);
}
.methodology-copy__body {
  font-size: 14.5px;
  line-height: 1.7;
}
.methodology-copy__tagline {
  margin: 2px 0 0;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(214, 240, 224, 0.96);
}

.methodology-list {
  margin: 10px 0 0;
  padding-left: 1.15em;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
}
.methodology-list li { margin: 6px 0; }

/* Methodology axis cards: stacked lines, compact */
.methodology-axis-body {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}
#methodology .methodology-axis-body > .card-text {
  font-size: 0.9375rem;
  line-height: 1.55;
}
.methodology-list--axis {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.methodology-list--axis li {
  margin: 1px 0;
}

.methodology-axis-code {
  display: inline-block;
  font-weight: 800;
  font-size: 1.06em;
  letter-spacing: 0.02em;
  margin-right: 0.05em;
  color: var(--accent);
}

.methodology-brand {
  font-weight: 900;
  letter-spacing: 0.01em;
  color: rgba(240, 248, 255, 0.98);
  text-shadow:
    0 0 14px rgba(79, 140, 255, 0.22),
    0 0 22px rgba(139, 92, 255, 0.14);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .methodology-brand {
    background: linear-gradient(90deg, #7dd3fc 0%, #60a5fa 35%, #a78bfa 70%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
  }
}

/* Light theme: boost contrast for methodology accents */
html[data-theme="light"] .methodology-highlight {
  color: rgba(11, 18, 32, 0.92);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(124, 58, 237, 0.14));
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.22) inset,
    0 0 22px rgba(124, 58, 237, 0.16);
  text-shadow: none;
}
html[data-theme="light"] .methodology-subtitle {
  color: rgba(30, 64, 175, 0.92);
}
html[data-theme="light"] .methodology-copy__lead {
  color: rgba(11, 18, 32, 0.86);
}
html[data-theme="light"] .methodology-copy__tagline {
  color: rgba(15, 23, 42, 0.92);
}
html[data-theme="light"] .methodology-brand {
  text-shadow: none;
  position: relative;
  padding-bottom: 0;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html[data-theme="light"] .methodology-brand {
    background: linear-gradient(90deg, #0ea5e9 0%, #2563eb 35%, #6d28d9 70%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
  }
}

/* Общая колонка контента: одинаковая ширина заголовков и сеток */
.content-column {
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

/* ===== Матрица рисков (панель «по типам рисков», #expertise): карточки как «Карта решений», без «выпадения» при hover ===== */
#expertise .ecosystem-intro.expertise-intro { margin-bottom: 24px; }
.risk-matrix-category.ecosystem-group .ecosystem-group-tag { line-height: 1.55; max-width: none; }
/* Те же .ecosystem-cards-grid + .ecosystem-card, но без translateY и без тяжёлой тени */
#expertise .expertise-panel--risks .card.ecosystem-card.risk-matrix-card,
#expertise .expertise-panel--stages .card.ecosystem-card.risk-matrix-card,
#expertise .expertise-panel--services .card.ecosystem-card.risk-matrix-card {
  transform: none;
  transition:
    border-color var(--transition-med),
    box-shadow var(--transition-med),
    background var(--transition-med);
}
#expertise .expertise-panel--risks .card.ecosystem-card.risk-matrix-card:hover,
#expertise .expertise-panel--stages .card.ecosystem-card.risk-matrix-card:hover,
#expertise .expertise-panel--services .card.ecosystem-card.risk-matrix-card:hover {
  transform: none;
  box-shadow: none;
  border-color: color-mix(in srgb, var(--eg-accent) 50%, rgba(148, 163, 255, 0.38));
  background: rgba(255, 255, 255, 0.035);
}
@supports not (color: color-mix(in srgb, red, blue)) {
  #expertise .expertise-panel--risks .card.ecosystem-card.risk-matrix-card:hover,
  #expertise .expertise-panel--stages .card.ecosystem-card.risk-matrix-card:hover,
  #expertise .expertise-panel--services .card.ecosystem-card.risk-matrix-card:hover {
    border-color: rgba(79, 140, 255, 0.5);
  }
  #expertise .expertise-panel--risks .ecosystem-group--stage2 .card.ecosystem-card.risk-matrix-card:hover,
  #expertise .expertise-panel--stages .ecosystem-group--stage2 .card.ecosystem-card.risk-matrix-card:hover,
  #expertise .expertise-panel--services .ecosystem-group--stage2 .card.ecosystem-card.risk-matrix-card:hover { border-color: rgba(139, 92, 255, 0.5); }
  #expertise .expertise-panel--risks .ecosystem-group--stage3 .card.ecosystem-card.risk-matrix-card:hover,
  #expertise .expertise-panel--stages .ecosystem-group--stage3 .card.ecosystem-card.risk-matrix-card:hover,
  #expertise .expertise-panel--services .ecosystem-group--stage3 .card.ecosystem-card.risk-matrix-card:hover { border-color: rgba(52, 211, 153, 0.48); }
  #expertise .expertise-panel--risks .ecosystem-group--stage4 .card.ecosystem-card.risk-matrix-card:hover,
  #expertise .expertise-panel--stages .ecosystem-group--stage4 .card.ecosystem-card.risk-matrix-card:hover,
  #expertise .expertise-panel--services .ecosystem-group--stage4 .card.ecosystem-card.risk-matrix-card:hover { border-color: rgba(251, 191, 36, 0.5); }
}
/* ─── Card accordion ──────────────────────────────────────────── */
.risk-matrix-card {
  cursor: pointer;
}
.risk-matrix-card .card-details {
  display: none;
}
.risk-matrix-card.is-expanded .card-details {
  display: block;
}
.risk-matrix-card.is-expanded {
  cursor: default;
}
/* Expand / collapse toggle strip */
.card-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 212, 235, 0.70);
  transition: background 0.18s, color 0.18s;
  user-select: none;
}
.risk-matrix-card:hover .card-toggle {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(200, 212, 235, 0.90);
}
.card-toggle-chevron {
  display: inline-block;
  font-size: 13px;
  transition: transform 0.22s;
}
.risk-matrix-card.is-expanded .card-toggle-chevron {
  transform: rotate(180deg);
}
/* ──────────────────────────────────────────────────────────────── */

/* Подписи «Услуга» / «Риск» и блоки карточки */
#expertise .ecosystem-card-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 7px;
  line-height: 1.25;
}
#expertise .ecosystem-card-kicker::before {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.55;
}
#expertise .ecosystem-card-kicker--service {
  color: rgba(180, 205, 245, 0.78);
  font-size: 9px;
  letter-spacing: 0.17em;
}
#expertise .ecosystem-card-kicker--risk {
  color: rgba(251, 191, 36, 0.95);
  margin-bottom: 8px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
#expertise .ecosystem-card-kicker--bizrisk { color: rgba(251, 191, 36, 0.88); margin-bottom: 6px; }
#expertise .ecosystem-card-kicker--scope   { color: rgba(196, 205, 220, 0.86); margin-bottom: 6px; }
#expertise .ecosystem-card-kicker--outcome { color: rgba(152, 222, 185, 0.90); margin-bottom: 6px; }
#expertise .ecosystem-card-kicker--benefit { color: rgba(152, 222, 185, 0.90); margin-bottom: 6px; }
/* Услуга — заголовочный блок карточки */
#expertise .ecosystem-card-block--service {
  margin: 0 0 14px;
  padding: 10px 13px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30, 58, 100, 0.32), rgba(9, 15, 30, 0.90));
  border: 1px solid rgba(100, 134, 188, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 8px rgba(0, 0, 0, 0.22);
}
#expertise .ecosystem-card-block--service .ecosystem-card-name {
  margin-top: 0;
  margin-bottom: 3px;
  color: #f1f5ff;
  letter-spacing: 0.01em;
  font-size: calc(0.9375rem * var(--expertise-font-mul));
  font-weight: 600;
  line-height: 1.28;
}
/* Русское название под английским заголовком услуги */
#expertise .ecosystem-card-title-ru {
  margin: 0;
  padding: 0;
  font-size: calc(0.8125rem * var(--expertise-font-mul));
  line-height: 1.42;
  font-weight: 500;
  color: rgba(154, 168, 198, 0.88);
  letter-spacing: 0.02em;
}
/* Риск — amber/warning сигнал */
#expertise .ecosystem-card-block--risk {
  margin: 0 0 12px;
  padding: 12px 14px 14px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.02) 18%, transparent 18%),
    linear-gradient(135deg, rgba(92, 58, 14, 0.26), rgba(20, 15, 8, 0.86));
  border: 1px solid rgba(200, 148, 60, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 1px 0 0 rgba(245, 158, 11, 0.28);
}
#expertise .ecosystem-card-block--bizrisk,
#expertise .ecosystem-card-block--scope,
#expertise .ecosystem-card-block--outcome,
#expertise .ecosystem-card-block--benefit,
#expertise .ecosystem-card-block--timeline {
  margin: 0 0 10px;
  padding: 10px 12px 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
/* Контекст — amber, в паре с Риском */
#expertise .ecosystem-card-block--bizrisk {
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.01) 18%, transparent 18%),
    linear-gradient(135deg, rgba(80, 52, 14, 0.20), rgba(18, 14, 7, 0.84));
  border-color: rgba(196, 148, 60, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 1px 0 0 rgba(245, 158, 11, 0.20);
}
/* Что делаем — нейтральный slate, рабочий */
#expertise .ecosystem-card-block--scope {
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.18), rgba(15, 20, 30, 0.82));
  border-color: rgba(100, 116, 139, 0.14);
}
/* Результат + Бенефит — единый тихий emerald (оба про ценность) */
#expertise .ecosystem-card-block--outcome,
#expertise .ecosystem-card-block--benefit {
  background: linear-gradient(135deg, rgba(18, 88, 64, 0.22), rgba(8, 22, 18, 0.86));
  border-color: rgba(64, 136, 104, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 1px 0 0 rgba(56, 180, 120, 0.16);
}
/* Горизонт вовлечения — нейтральный графит */
#expertise .ecosystem-card-block--timeline {
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.20), rgba(14, 18, 28, 0.84));
  border-color: rgba(100, 116, 140, 0.16);
}
#expertise .ecosystem-card-block--risk .service-risk-context {
  margin: 0;
  font-style: normal;
  font-size: calc(0.9375rem * var(--expertise-font-mul));
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(254, 247, 214, 0.98);
  line-height: 1.5;
}
#expertise .risk-matrix-biz,
#expertise .risk-matrix-scope {
  margin: 0;
  line-height: 1.55;
  font-size: calc(0.875rem * var(--expertise-font-mul));
}
#expertise .risk-matrix-biz {
  color: rgba(254, 240, 196, 0.92);
}
#expertise .risk-matrix-scope {
  color: rgba(216, 223, 234, 0.90);
  line-height: 1.55;
}
#expertise .risk-matrix-outcome {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: rgba(214, 240, 224, 0.94);
  line-height: 1.58;
  font-size: calc(0.875rem * var(--expertise-font-mul));
}
#expertise .risk-matrix-outcome li {
  margin: 0 0 6px;
  padding-left: 1.15em;
  position: relative;
}
#expertise .risk-matrix-outcome li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.38em;
  height: 0.38em;
  border-radius: 999px;
  background: rgba(80, 196, 140, 0.88);
  box-shadow: 0 0 0 3px rgba(80, 196, 140, 0.10);
}
#expertise .risk-matrix-outcome li:last-child { margin-bottom: 0; }
#expertise .risk-matrix-benefit {
  margin: 0;
  color: rgba(214, 240, 224, 0.94);
  line-height: 1.58;
  font-size: calc(0.875rem * var(--expertise-font-mul));
}
#expertise .ecosystem-card-kicker--timeline { color: rgba(168, 182, 210, 0.88); margin-bottom: 6px; }
#expertise .risk-matrix-timeline {
  margin: 0;
  color: rgba(224, 230, 240, 0.92);
  line-height: 1.6;
  font-size: calc(0.875rem * var(--expertise-font-mul));
  white-space: normal;
}
@media (max-width: 768px) {
  #expertise .expertise-panel--risks .ecosystem-group-head { grid-template-columns: 1fr; gap: 8px; }
  #expertise .expertise-panel--risks .ecosystem-stage-num { font-size: 36px; }
}

/* Вкладка «Все услуги»: бейджи R/E и таксономия — внизу карточки */
.service-card-unified { display: flex; flex-direction: column; height: 100%; }
.risk-matrix-card[hidden],
.ecosystem-group[hidden],
.risk-matrix-category[hidden] { display: none !important; }
.service-card-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(139, 92, 255, 0.16); }
.service-card-unified .service-card-slice-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.service-slice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  border: 1px solid rgba(148, 163, 255, 0.35);
  color: rgba(163, 173, 199, 0.65);
  background: rgba(15, 23, 42, 0.5);
  line-height: 1;
}
.service-slice-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.service-slice-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.75);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.18) inset;
  display: inline-block;
}
.service-slice-badge--entry.is-active .service-slice-dot {
  background: rgba(34, 197, 94, 0.95);
  box-shadow:
    0 0 0 2px rgba(34, 197, 94, 0.22),
    0 0 18px rgba(34, 197, 94, 0.18);
}
.service-slice-badge.is-active {
  border-color: rgba(79, 140, 255, 0.55);
  color: #e8edfb;
  background: rgba(79, 140, 255, 0.2);
}

/* Tooltip for slice badges */
.service-slice-badge[data-tooltip] { position: relative; }
.service-slice-badge[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(5, 7, 19, 0.92);
  color: rgba(245, 247, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}
.service-slice-badge[data-tooltip]:hover::after,
.service-slice-badge[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.service-card-taxonomy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}
.taxonomy-sep { opacity: 0.45; }
/* Вкладка «Все услуги»: иконки в строке под чертой (те же, что в заголовках «По типам рисков» / «По этапам») */
#expertise .taxonomy-risk-line,
#expertise .taxonomy-stage-line {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
  flex-wrap: wrap;
}
#expertise .service-footer-risk-emoji,
#expertise .service-footer-stage-emoji {
  display: inline;
  font-style: normal;
  font-size: 1.14em;
  line-height: 1;
  vertical-align: -0.08em;
  flex-shrink: 0;
}
/* Текст риска — только внутри блока «Риск» (основные стили выше у .ecosystem-card-block--risk) */
.expertise-services-flat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
/* .expertise-load-error removed (unused) */
#expertise .expertise-error-card {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.2), rgba(15, 23, 42, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
#expertise .expertise-error-card[hidden] { display: none !important; }
#expertise .expertise-error-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #fecaca;
}
#expertise .expertise-error-card__text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}
#expertise .expertise-error-card__actions { margin: 0; font-size: 14px; }
#expertise .expertise-error-card__btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.25);
  color: #e8eef8;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
  margin-right: 10px;
}
#expertise .expertise-error-card__btn:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.12);
}
#expertise .expertise-error-card__btn:disabled { opacity: 0.6; cursor: default; }
#expertise .expertise-error-card__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#expertise .expertise-error-card__link:hover { color: #dbe6ff; }

/* ===== Переключатель «Экспертиза» (матрица / карта по этапам) ===== */
#expertise { scroll-margin-top: 72px; }
#expertise .content-column { position: relative; }
.expertise-legacy-anchors span { display: block; height: 0; overflow: hidden; }

/* Text scale mapping for "Решения" cards:
   compact -> like site medium; medium -> like site large; large -> extra large */
#expertise { --expertise-font-mul: 1; }
html[data-text-scale="compact"] #expertise { --expertise-font-mul: 1.0667; } /* 16/15 */
html[data-text-scale="medium"]  #expertise { --expertise-font-mul: 1.125; }  /* 18/16 */
html[data-text-scale="large"]   #expertise { --expertise-font-mul: 1.25; }   /* ~20/16 */
/* Sort dropdown */
.expertise-sort-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.expertise-sort-toggle {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.35);
  background: rgba(15, 23, 42, 0.45);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--transition-med), background var(--transition-med), color var(--transition-med);
}
.expertise-sort-toggle:hover,
.expertise-sort-toggle[aria-expanded="true"] {
  border-color: rgba(79, 140, 255, 0.55);
  color: #e8edfb;
  background: rgba(79, 140, 255, 0.12);
}
.expertise-sort-icon {
  flex-shrink: 0;
}
.expertise-sort-chevron {
  font-size: 10px;
  transition: transform 0.2s;
}
.expertise-sort-toggle[aria-expanded="true"] .expertise-sort-chevron {
  transform: rotate(180deg);
}
.expertise-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 260px;
  padding: 6px 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 255, 0.20);
  background: rgba(10, 15, 30, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  z-index: 10;
}
.expertise-sort-menu[hidden] {
  display: none;
}
.expertise-sort-item {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.expertise-sort-item:hover {
  background: rgba(79, 140, 255, 0.10);
  color: #e8edfb;
}
.expertise-sort-item.is-active {
  color: #a8c4ff;
  font-weight: 700;
}
.expertise-sort-item--filter.is-active-filter {
  color: #6ee7b7;
  font-weight: 700;
}
.expertise-sort-item--filter::after {
  content: "";
  margin-left: auto;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(148, 163, 255, 0.3);
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.expertise-sort-item--filter.is-active-filter::after {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #059669;
  border-color: #059669;
}
.expertise-sort-item-icon {
  display: inline-flex;
  width: 1.2em;
  justify-content: center;
  flex-shrink: 0;
}
.expertise-sort-sep {
  border: none;
  border-top: 1px solid rgba(148, 163, 255, 0.12);
  margin: 4px 12px;
}
.expertise-panel[hidden] { display: none !important; }

/* ===== Карта решений (продуктовая экосистема, панель этапов в #expertise) ===== */
.ecosystem-intro { margin: 0 0 36px; text-align: left; }
.ecosystem-intro .section-title { margin: 0 0 14px; }
.ecosystem-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
  font-weight: 600;
}
.ecosystem-lead {
  font-size: clamp(15px, 1.9vw, 17px);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 52em;
}
.ecosystem-stack { display: flex; flex-direction: column; gap: 44px; }
.ecosystem-group { --eg-accent: #4f8cff; position: relative; }
.ecosystem-group--stage2 { --eg-accent: #8b5cff; }
.ecosystem-group--stage3 { --eg-accent: #34d399; }
.ecosystem-group--stage4 { --eg-accent: #fbbf24; }

.ecosystem-group-head {
  display: grid;
  grid-template-columns: minmax(56px, auto) 1fr;
  gap: 16px 24px;
  align-items: end;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 255, 0.14);
}
.ecosystem-stage-num {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--eg-accent);
  opacity: 0.2;
  user-select: none;
  font-variant-numeric: tabular-nums;
}
.ecosystem-group-title {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text-main);
  letter-spacing: 0.01em;
}
/* Иконка этапа сотрудничества (вкладка «По этапам») */
.ecosystem-stage-emoji {
  display: inline;
  margin-right: 0.35em;
  font-style: normal;
  font-size: 1.08em;
  line-height: 1;
  vertical-align: -0.06em;
}
.ecosystem-group-tag {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.ecosystem-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .ecosystem-cards-grid,
  .expertise-services-flat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.ecosystem-card {
  padding: 18px 18px 20px;
  border: 1px solid rgba(148, 163, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
  border-radius: var(--radius-md);
  transition:
    transform var(--transition-med),
    border-color var(--transition-med),
    box-shadow var(--transition-med),
    background var(--transition-med);
}
.card.ecosystem-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--eg-accent) 55%, rgba(148, 163, 255, 0.35));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--eg-accent) 28%, transparent),
    0 18px 42px rgba(0, 0, 0, 0.55);
  background: rgba(255, 255, 255, 0.04);
}
.ecosystem-card-name { font-size: 15px; font-weight: 600; margin: 0 0 8px; color: #fff; line-height: 1.3; }
/* .ecosystem-card-desc removed (unused) */
@supports not (color: color-mix(in srgb, red, blue)) {
  .card.ecosystem-card:hover {
    border-color: rgba(79, 140, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.28), 0 18px 42px rgba(0, 0, 0, 0.55);
  }
  .ecosystem-group--stage2 .card.ecosystem-card:hover { border-color: rgba(139, 92, 255, 0.55); box-shadow: 0 0 0 1px rgba(139, 92, 255, 0.25), 0 18px 42px rgba(0, 0, 0, 0.55); }
  .ecosystem-group--stage3 .card.ecosystem-card:hover { border-color: rgba(52, 211, 153, 0.5); box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.22), 0 18px 42px rgba(0, 0, 0, 0.55); }
  .ecosystem-group--stage4 .card.ecosystem-card:hover { border-color: rgba(251, 191, 36, 0.55); box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.22), 0 18px 42px rgba(0, 0, 0, 0.55); }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 40px;
  padding: 40px 0 24px;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top center, rgba(79, 140, 255, 0.16), transparent 55%),
    rgba(3, 6, 18, 0.98);
}
/* На всю ширину .content-column — как сетка карточек в #expertise */
.footer-contacts-row { width: 100%; }
.footer-contacts-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* как у .ecosystem-card в экспертизе */
  padding: 18px 18px 20px;
  border: 1px solid rgba(148, 163, 255, 0.22);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}
.footer-contacts-title {
  margin: 0 0 14px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 255, 0.16);
  text-align: left;
  width: 100%;
}
.footer-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 28px;
  align-items: start;
}
@media (max-width: 560px) {
  .footer-contacts { grid-template-columns: 1fr; }
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #dbe6ff;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}
.contact-link:hover,
.contact-link:focus-visible {
  color: #fff;
  background: rgba(79, 140, 255, 0.1);
  outline: none;
}
.contact-icon { font-size: 14px; }
.contact-icon-img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 255, 0.15);
  text-align: left;
}
.copyright-text {
  font-size: 12px;
  color: rgba(163, 173, 199, 0.7);
  letter-spacing: 0.05em;
  margin: 0;
}
.footer-privacy {
  font-size: 11px;
  color: rgba(163, 173, 199, 0.55);
  margin: 8px 0 0;
}
.footer-privacy a {
  color: rgba(163, 173, 199, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}
.footer-privacy a:hover { color: var(--accent); }

/* ===== To-top button ===== */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(4, 7, 20, 0.96);
  color: var(--text-main);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transition: opacity var(--transition-fast), transform var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast);
  z-index: 50;
}
.to-top.is-visible { display: flex; }
.to-top:hover {
  background: rgba(10, 16, 40, 0.98);
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}

/* ===== Reveal animation ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-on-scroll.in-view { opacity: 1; transform: translateY(0); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(5, 7, 19, 0.97);
  backdrop-filter: blur(12px);
  color: var(--text-main);
  padding: 18px 24px;
  z-index: 10000;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--border-subtle);
}
.cookie-content {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cookie-content p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.cookie-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-content a:hover { color: var(--text-main); }
.cookie-actions { display: inline-flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.cookie-btn:hover { background: #3a75e0; transform: translateY(-1px); }
.cookie-btn.secondary {
  background: rgba(148, 163, 184, 0.18);
  color: #e8eef8;
  border: 1px solid rgba(148, 163, 184, 0.28);
}
.cookie-btn.secondary:hover {
  background: rgba(148, 163, 184, 0.24);
  transform: translateY(-1px);
}

/* ===== Responsive ===== */
/* Бренд-карточка: 4 градации «наезда» TODOIT → подпись (ширина экрана) */
@media (max-width: 1000px) {
  .hero-brand-strip .hero-brand-card-mark.card-label { margin-bottom: -25px !important; }
}
@media (max-width: 768px) {
  /* Единая вертикальная ось: baseline у логотипа на Android съезжал относительно бургера */
  .header-inner { align-items: center; align-content: center; }
  .logo { align-items: center; align-self: center; line-height: 1.15; }
  .main-nav { align-self: center; align-items: center; }
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute;
    right: 0;
    left: auto;
    top: calc(100% + 10px);
    z-index: 30;
    /* Android/WebKit: без явной ширины блок растягивался почти на весь экран */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: fit-content;
    width: -moz-fit-content;
    max-width: min(260px, calc(100vw - 32px));
    min-width: 0;
    box-sizing: border-box;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(5, 7, 19, 0.98);
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }
  .nav-list li { margin: 0; }
  .nav-list a { display: block; padding: 10px 4px; white-space: nowrap; }
  .nav-list.is-open { opacity: 1; transform: scale(1); pointer-events: auto; }
  .section { padding: 56px 0; }
  .hero { padding-top: 16px; }
  .cookie-content { flex-direction: column; text-align: center; gap: 14px; }
  .cookie-actions { width: 100%; flex-direction: column; }
  .cookie-btn { width: 100%; }
  .hero-brand-strip .hero-brand-card-mark.card-label { margin-bottom: -16px !important; }
}
@media (max-width: 480px) {
  .hero-brand-strip .hero-brand-card-mark.card-label { margin-bottom: -6px !important; }
  .footer-contacts-block { padding: 16px 14px 18px; }
}

@media print {
  /* Base: make it look like a document */
  @page { margin: 14mm; }
  html, body {
    background: #ffffff !important;
    color: #0f172a !important;
  }
  *, *::before, *::after {
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  img, svg {
    max-width: 100% !important;
    height: auto !important;
  }
  .container, .content-column {
    max-width: 100% !important;
  }
  h1, h2, h3, h4, p, li, a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .site-header .logo-brand {
    opacity: 1 !important;
    visibility: visible !important;
    max-width: none !important;
    pointer-events: auto !important;
  }
  .site-header { position: static !important; }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
  .to-top, .nav-toggle, .cookie-banner, .theme-toggle, .theme-popover { display: none !important; }
  .section { padding: 36px 0; }

  /* Print cover: first page */
  .print-cover { display: block !important; padding: 0 !important; margin: 0 !important; }
  .print-cover-inner {
    min-height: calc(100vh - 28mm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10mm;
  }
  .print-cover-kicker {
    margin: 0 0 10px;
    font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: #334155;
  }
  .print-cover-title {
    margin: 0;
    font-family: "Goldman", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-weight: 400;
    font-size: 92px;
    letter-spacing: 0.12em;
    line-height: 1;
    color: #0f172a;
  }
  .print-cover-sub {
    margin: 10px 0 0;
    font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #0f172a;
  }
  .print-cover-meta { margin-top: 20px; }
  .print-cover-person { margin: 0 0 6px; font-size: 11px; color: #334155; }
  .print-cover-contacts { margin: 0; font-size: 10px; color: #475569; }
  .print-cover { break-after: page; page-break-after: always; }

  /* Show hero card on 2nd page (cover stays 1st page) */
  #hero {
    display: block !important;
    break-before: page;
    page-break-before: always;
    padding-top: 28px !important;
  }
  /* Remove hero background visuals in print */
  #hero .hero-bg-svg { display: none !important; }
  #hero .hero-brand-strip { display: none !important; }
  /* Keep only the founder card and keep it document-like */
  #hero .vp-founder-shell {
    background: none !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
  }
  #hero .vp-founder-photo-wrapper {
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
  }

  .logo-ili-wrap { animation: none !important; filter: none !important; }
  .logo-ili { animation: none !important; color: #1a1f2e !important; -webkit-text-fill-color: #1a1f2e !important; background: none !important; }
  .hero-mega-scale { font-size: 28px !important; }
  .hero-mega-ili-wrap { animation: none !important; filter: none !important; }
  .hero-mega-ili { animation: none !important; color: #1a1f2e !important; -webkit-text-fill-color: #1a1f2e !important; background: none !important; }
  .hero-mega-todoit {
    animation: none !important;
    color: #1a1f2e !important;
    -webkit-text-fill-color: #1a1f2e !important;
    background: none !important;
    text-shadow: none !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    text-align: center !important;
    font-size: 72px !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
  }
  .logo-brand {
    animation: none !important;
    font-family: "Montserrat", "Segoe UI", system-ui, sans-serif !important;
    font-weight: 300 !important;
    color: #1a1f2e !important;
    -webkit-text-fill-color: #1a1f2e !important;
    background: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
  .hero-mega-tagline {
    width: auto !important;
    max-width: 100% !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif !important;
    font-weight: 300 !important;
    color: #1a1f2e !important;
  }
  .hero-mega-tagline-sub {
    width: auto !important;
    max-width: 100% !important;
    font-size: 9px !important;
    letter-spacing: 0.42em !important;
    font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif !important;
    font-weight: 300 !important;
    color: #1a1f2e !important;
  }
  /* Hero brand strip: avoid overlap from negative margins and nowrap */
  .hero-brand-strip { max-width: 100% !important; margin-bottom: 18px !important; }
  .hero-brand-strip .hero-mega-measure { padding-bottom: 0 !important; overflow: visible !important; }
  .hero-brand-strip .hero-brand-card-mark.card-label { margin-bottom: 0 !important; }
  .hero-mega-tagline-sub {
    margin-top: 10px !important;
    white-space: normal !important;
    letter-spacing: 0.22em !important;
    line-height: 1.15 !important;
    font-size: 10px !important;
  }
  .hero-tagline-ili { animation: none !important; color: #1a1f2e !important; -webkit-text-fill-color: #1a1f2e !important; background: none !important; }
  .expertise-sort-wrap { display: none !important; }
  #expertise .expertise-panel--risks,
  #expertise .expertise-panel--stages,
  #expertise .expertise-panel--services { display: block !important; }
  #expertise .expertise-panel--stages,
  #expertise .expertise-panel--services {
    margin-top: 1.25em;
    padding-top: 1em;
    border-top: 1px solid #cbd5e1;
  }

  /* Expertise: ensure content is visible in print (no accordion / no hidden filters) */
  #expertise .card-toggle { display: none !important; }
  #expertise .risk-matrix-card .card-details { display: block !important; }
  #expertise .risk-matrix-card[hidden],
  #expertise .risk-matrix-category[hidden],
  #expertise .ecosystem-group[hidden] { display: block !important; }

  /* Avoid cutting cards and group headers across pages */
  #expertise .risk-matrix-card,
  #expertise .risk-matrix-category,
  #expertise .ecosystem-group { break-inside: avoid; page-break-inside: avoid; }
  #expertise .ecosystem-group-head,
  #expertise .risk-matrix-category-title,
  #expertise .ecosystem-group-title { break-after: avoid; page-break-after: avoid; }

  /* One card per page */
  #expertise .risk-matrix-card {
    break-before: page;
    page-break-before: always;
  }
  /* Avoid blank page before the first card in each container */
  #expertise .risk-matrix-card:first-child {
    break-before: auto;
    page-break-before: auto;
  }

  /* Start major sections on new pages */
  #expertise {
    break-before: page;
    page-break-before: always;
  }
  #formats {
    break-before: page;
    page-break-before: always;
  }

  #expertise .ecosystem-card-kicker--service { color: #2563eb !important; }
  #expertise .ecosystem-card-kicker--risk { color: #6d28d9 !important; }
  #expertise .ecosystem-card-block--service { background: #eff6ff !important; border: 1px solid transparent !important; box-shadow: none !important; }
  #expertise .ecosystem-card-block--risk { background: #f1f5f9 !important; border: 1px solid transparent !important; box-shadow: none !important; }
  #expertise .ecosystem-card-block--risk .service-risk-context { color: #334155 !important; }
  #expertise .ecosystem-card-block--service .ecosystem-card-name { color: #0f172a !important; }
  #expertise .ecosystem-card-title-ru { color: #475569 !important; }
  #formats .format-card {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    transform: none !important;
    break-inside: avoid;
  }
  #formats .role-en { color: #0f172a !important; }
  #formats .format-subtitle { color: #2563eb !important; }
  #formats .format-text { color: #334155 !important; }
  #formats .cases-cta { display: none !important; }
}
