/* ═══════════════════════════════════════════════════════════════
   CSS VARIABLES — источник истины: 01_DESIGN_SYSTEM.md §1
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Основные фоны */
  --codeib-bg-dark:    #141414;
  --codeib-bg-darker:  #0d0d0d;
  --codeib-bg-card:    #1f1f1f;
  --codeib-bg-card-h:  #262626;
  --codeib-bg-light:   #FFFFFF;
  --codeib-bg-warm:    #F5F3EE;

  /* Бренд-жёлтый */
  --codeib-yellow:     #FFD600;
  --codeib-yellow-dim: #e6c200;
  --codeib-yellow-glow: rgba(255, 214, 0, 0.15);
  --codeib-yellow-glow-strong: rgba(255, 214, 0, 0.30);

  /* Вторичные бренд-цвета */
  --codeib-purple:     #61539A;
  --codeib-purple-glow: rgba(97, 83, 154, 0.1);
  --codeib-teal:       #5BACA9;
  --codeib-teal-glow:  rgba(91, 172, 169, 0.1);

  /* Категориальные акценты для персон */
  --codeib-coral:      #E8593C;
  --codeib-coral-glow: rgba(232, 89, 60, 0.08);
  --codeib-blue:       #378ADD;
  --codeib-blue-glow:  rgba(55, 138, 221, 0.08);
  --codeib-green:      #1D9E75;
  --codeib-green-glow: rgba(29, 158, 117, 0.08);
  --codeib-amber:      #BA7517;
  --codeib-amber-glow: rgba(186, 117, 23, 0.08);

  /* Текст */
  --codeib-text-on-dark:        #FFFFFF;
  --codeib-text-on-dark-dim:    rgba(255, 255, 255, 0.72);
  --codeib-text-on-dark-muted:  rgba(255, 255, 255, 0.48);
  --codeib-text-on-dark-faded:  rgba(255, 255, 255, 0.28);
  --codeib-text-on-light:       #141414;
  --codeib-text-on-light-dim:   #4a4a4a;
  --codeib-text-on-light-muted: #6B6B6B;

  /* Бордеры */
  --codeib-border-on-dark:  rgba(255, 255, 255, 0.08);
  --codeib-border-on-light: #e5e5e5;
  --codeib-border-yellow:   rgba(255, 214, 0, 0.3);

  /* Типографика */
  --codeib-font-display: 'Unbounded', 'Helvetica Neue', sans-serif;
  --codeib-font-body:    'Onest', 'Helvetica Neue', sans-serif;
  --codeib-font-mono:    'JetBrains Mono', 'SF Mono', monospace;

  /* Геометрия */
  --codeib-max-w:     1240px;
  --codeib-radius:    12px;
  --codeib-radius-sm: 6px;
}

/* ═══ RESET & BASE ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--codeib-font-body);
  color: var(--codeib-text-on-light);
  line-height: 1.6;
  background: var(--codeib-bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
.container { width: 100%; max-width: var(--codeib-max-w); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes pulse-ring { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 0.75; transform: scale(1.05); } }
@keyframes glow-soft { 0%, 100% { box-shadow: 0 0 32px var(--codeib-yellow-glow); } 50% { box-shadow: 0 0 48px var(--codeib-yellow-glow-strong); } }

.anim-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-fade.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .anim-fade { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — унифицированные кнопки: primary (жёлтая) и outline
   Работают на обоих контекстах: тёмный hero/final-cta и светлый
   ═══════════════════════════════════════════════════════════════ */
.btn-primary,
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--codeib-font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  cursor: pointer; border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--codeib-yellow);
  color: var(--codeib-text-on-light);
  box-shadow: 0 4px 14px rgba(255, 214, 0, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--codeib-yellow-glow-strong);
  background: var(--codeib-yellow-dim);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { transition: transform 0.2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

/* Outline на тёмном фоне (Hero, Final CTA) — светлая рамка */
.btn-outline {
  background: transparent;
  color: var(--codeib-text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--codeib-yellow);
  color: var(--codeib-yellow);
  background: var(--codeib-yellow-glow);
}

/* Outline на светлом фоне — если потребуется в будущем */
.on-light .btn-outline,
.btn-outline.on-light {
  color: var(--codeib-text-on-light);
  border: 1px solid var(--codeib-text-on-light);
}
.on-light .btn-outline:hover,
.btn-outline.on-light:hover {
  background: var(--codeib-text-on-light);
  color: var(--codeib-yellow);
}

/* ═══════════════════════════════════════════════════════════════
   HERO BADGE GROUP — обёртка для бейджа лицензии + ссылки на /svedeniya
   ═══════════════════════════════════════════════════════════════ */
.hero-badge-group {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
  max-width: 100%;
}
.hero-badge-group > * { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  .hero-badge-group { gap: 10px 14px; margin-bottom: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   STEP REGULATORY — блок регуляторных якорей в ступени 04
   ═══════════════════════════════════════════════════════════════ */
.step-regulatory {
  margin-top: 14px; padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--codeib-yellow);
  font-size: 12.5px; line-height: 1.6;
  color: var(--codeib-text-on-dark-dim);
  letter-spacing: 0.1px;
}
.step-regulatory strong {
  color: var(--codeib-text-on-dark);
  font-weight: 700;
  font-family: var(--codeib-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px; height: 72px;
  display: flex; align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(20,20,20,0.95); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--codeib-border-on-dark);
}
.header-inner { max-width: var(--codeib-max-w); margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; text-decoration: none; color: var(--codeib-yellow); }
.header-logo .codeib-logo-svg {
  height: 26px; width: auto; display: block;
  transition: opacity 0.15s ease;
}
.header-logo:hover .codeib-logo-svg { opacity: 0.85; }
.footer-brand .header-logo .codeib-logo-svg { height: 30px; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; white-space: nowrap; }
.header-nav a:hover { color: var(--codeib-text-on-dark); }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone { color: rgba(255,255,255,0.5); font-size: 13px; font-family: var(--codeib-font-mono); text-decoration: none; transition: color 0.2s; }
.header-phone:hover { color: var(--codeib-text-on-dark); }
.header-cta {
  background: var(--codeib-yellow); color: var(--codeib-text-on-light);
  padding: 10px 22px; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px var(--codeib-yellow-glow-strong); }
.burger { display: none; background: none; border: none; color: var(--codeib-text-on-dark); font-size: 24px; cursor: pointer; padding: 4px; }
@media (max-width: 1024px) {
  .header-nav, .header-phone { display: none; }
  .burger { display: block; }
  .site-header { padding: 0 20px; }
}
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(20,20,20,0.98); backdrop-filter: blur(16px); z-index: 999;
  padding: 32px 24px; flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 18px; font-weight: 500; padding: 16px 0; border-bottom: 1px solid var(--codeib-border-on-dark); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--codeib-yellow); }
.mobile-menu .mobile-cta { display: inline-block; background: var(--codeib-yellow); color: var(--codeib-text-on-light); padding: 14px 28px; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; text-align: center; margin-top: 24px; border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════
   HERO — 2 колонки: контент слева + карточка Ольги справа
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--codeib-bg-dark); color: var(--codeib-text-on-dark);
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 72px; position: relative; overflow: hidden;
}
/* Атмосферный фон: радиальные подсветки + сеточки */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 720px 520px at 12% 35%, var(--codeib-yellow-glow), transparent 55%),
    radial-gradient(ellipse 560px 540px at 88% 78%, rgba(97,83,154,0.16), transparent 60%);
}
/* SVG-графика: сетка точек + декоративный путь из 6 узлов */
.hero-svg-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; opacity: 0.9;
}
@keyframes shimmer { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.7; } }
.hero-svg-bg .node { animation: shimmer 3s ease infinite; }
.hero-svg-bg .node-2 { animation-delay: 0.4s; }
.hero-svg-bg .node-3 { animation-delay: 0.8s; }
.hero-svg-bg .node-4 { animation-delay: 1.2s; }
.hero-svg-bg .node-5 { animation-delay: 1.6s; }
.hero-svg-bg .node-6 { animation-delay: 2.0s; }

.hero-inner {
  position: relative; z-index: 2;
  max-width: 960px;
}

/* Hero H1 */
.hero h1 {
  font-family: var(--codeib-font-display); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 58px); line-height: 1.1;
  max-width: 920px; margin-bottom: 24px; letter-spacing: -0.025em;
  animation: fadeUp 0.7s ease 0.05s both;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hero h1 .accent { color: var(--codeib-yellow); /* italic removed: Unbounded has no italics */ }
.hero-sub {
  font-size: clamp(15px, 1.55vw, 19px);
  color: var(--codeib-text-on-dark-dim);
  max-width: 720px; line-height: 1.6; margin-bottom: 44px;
  animation: fadeUp 0.7s ease 0.15s both;
  overflow-wrap: break-word;
}
.hero-sub strong { color: var(--codeib-text-on-dark); font-weight: 600; }

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; animation: fadeUp 0.7s ease 0.25s both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--codeib-yellow-glow); border: 1px solid var(--codeib-border-yellow);
  padding: 7px 16px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--codeib-yellow);
  font-family: var(--codeib-font-mono);
  max-width: 100%; min-width: 0;
  line-height: 1.45;
  flex-wrap: wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--codeib-yellow); animation: pulse-dot 2s ease infinite; flex-shrink: 0; }
.hero-badge-link {
  font-family: var(--codeib-font-mono); font-size: 11px; letter-spacing: 1px;
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: color 0.2s;
  min-width: 0; max-width: 100%;
}
.hero-badge-link:hover { color: var(--codeib-yellow); }

/* Hero ряд цифр: 21 год / 1021 событие / 81 302 участников / 6 стран · 36 городов */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--codeib-border-on-dark);
  animation: fadeUp 0.7s ease 0.35s both;
}
@media (max-width: 768px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; } }
.hero-stat { padding: 0 24px; border-right: 1px solid var(--codeib-border-on-dark); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
@media (max-width: 768px) { .hero-stat:nth-child(2n) { border-right: none; } }
.hero-stat b {
  display: block; font-family: var(--codeib-font-display); font-weight: 700;
  font-size: clamp(24px, 2.8vw, 36px); color: var(--codeib-yellow);
  line-height: 1; letter-spacing: -0.025em;
}
.hero-stat span {
  display: block; margin-top: 10px;
  font-family: var(--codeib-font-mono); font-size: 10.5px;
  color: var(--codeib-text-on-dark-muted);
  text-transform: uppercase; letter-spacing: 1px; line-height: 1.4;
}

/* Бегущая строка */
.marquee-wrap { position: relative; z-index: 2; overflow: hidden; margin-top: 48px; animation: fadeUp 0.6s ease 0.4s both; }
.marquee-wrap::before, .marquee-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--codeib-bg-dark), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--codeib-bg-dark), transparent); }
.marquee-label { font-family: var(--codeib-font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.marquee-track { display: flex; gap: 48px; animation: marquee 35s linear infinite; width: max-content; }
.marquee-track span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.32); white-space: nowrap; letter-spacing: 0.5px; }

/* Адаптация Hero под узкие viewport */
@media (max-width: 900px) {
  .hero { padding: 110px 0 56px; }
  .hero h1 { line-height: 1.1; }
}
@media (max-width: 640px) {
  .hero { padding: 100px 0 48px; }
  .hero-badge { font-size: 10px; letter-spacing: 1px; padding: 6px 12px; line-height: 1.45; }
  .hero-badge-link { font-size: 10px; letter-spacing: 0.5px; }
  .hero-buttons { gap: 10px; margin-bottom: 44px; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline { padding: 12px 20px; font-size: 12px; letter-spacing: 0.8px; }
  .hero-stat { padding: 0 14px; }
  .hero-stat:first-child { padding-left: 0; }
  .hero-stat:nth-child(odd) { padding-left: 0; }
  .marquee-wrap { margin-top: 36px; }
}

/* ═══════════════════════════════════════════════════════════════
   MANIFESTO — светлый, между Journey и Olga
   ═══════════════════════════════════════════════════════════════ */
.manifesto {
  background: var(--codeib-bg-light); color: var(--codeib-text-on-light);
  padding: 88px 0; position: relative; overflow: hidden;
}
.manifesto::before {
  content: '“';
  position: absolute; top: -40px; left: max(32px, calc(50% - 620px + 48px));
  font-family: var(--codeib-font-display); font-weight: 700;
  font-size: 260px; line-height: 1;
  color: var(--codeib-yellow); opacity: 0.5;
  pointer-events: none;
}
.manifesto .container { position: relative; z-index: 1; max-width: 980px; }
.manifesto-label {
  font-family: var(--codeib-font-mono); font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--codeib-text-on-light-muted); margin-bottom: 26px;
  display: flex; align-items: center; gap: 10px;
}
.manifesto-label::before { content: ''; width: 24px; height: 2px; background: var(--codeib-yellow); }
.manifesto-quote {
  font-family: var(--codeib-font-display); font-weight: 600;
  font-size: clamp(20px, 2.6vw, 32px); line-height: 1.35;
  color: var(--codeib-text-on-light);
  max-width: 900px; letter-spacing: -0.015em;
}
.manifesto-quote .accent {
  color: var(--codeib-text-on-light); font-weight: 700;
  background: linear-gradient(transparent 62%, var(--codeib-yellow) 62%);
  padding: 0 4px;
}
.manifesto-meta {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--codeib-border-on-light);
  font-family: var(--codeib-font-mono); font-size: 12px;
  color: var(--codeib-text-on-light-muted);
  letter-spacing: 1px; text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION — common
   ═══════════════════════════════════════════════════════════════ */
.section-label {
  font-family: var(--codeib-font-mono); font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--codeib-text-on-light-muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--codeib-yellow); }
.section-title { font-family: var(--codeib-font-display); font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.18; margin-bottom: 14px; color: var(--codeib-text-on-light); letter-spacing: -0.02em; }
.section-title .accent { color: var(--codeib-yellow); /* italic removed: Unbounded has no italics */ }
.section-title .accent-purple { color: var(--codeib-purple); /* italic removed: Unbounded has no italics */ }
.section-sub { font-size: 16px; color: var(--codeib-text-on-light-muted); max-width: 680px; margin-bottom: 48px; line-height: 1.65; }

.section-label.on-dark { color: rgba(255,255,255,0.6); }
.section-title.on-dark { color: var(--codeib-text-on-dark); }
.section-sub.on-dark { color: var(--codeib-text-on-dark-dim); }

/* ═══════════════════════════════════════════════════════════════
   JOURNEY — лестница роста, 6 ступеней
   ═══════════════════════════════════════════════════════════════ */
.journey { padding: 100px 0 120px; background: var(--codeib-bg-warm); position: relative; overflow: hidden; }
.journey-header { max-width: 800px; margin-bottom: 64px; }

.journey-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
/* Вертикальная градиентная линия: серый → жёлтый → чёрный */
.journey-timeline::before {
  content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--codeib-teal) 0%,
    var(--codeib-blue) 22%,
    var(--codeib-coral) 44%,
    var(--codeib-yellow) 66%,
    var(--codeib-yellow) 82%,
    #141414 100%
  );
  border-radius: 2px;
  opacity: 0.8;
}
@media (max-width: 640px) { .journey-timeline::before { left: 19px; } }

.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 28px;
  margin-bottom: 28px; position: relative;
}
@media (max-width: 640px) { .step { grid-template-columns: 40px 1fr; gap: 18px; } }

.step-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--codeib-bg-warm);
  border: 2px solid #b5b5b5;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--codeib-font-display); font-size: 18px; font-weight: 700;
  color: #6B6B6B;
  position: relative; z-index: 2;
  transition: all 0.3s;
}
@media (max-width: 640px) { .step-dot { width: 40px; height: 40px; font-size: 14px; } }

/* Цветные точки и полосы для ступеней 01-03 */
.step.s01 .step-dot { border-color: var(--codeib-teal);  color: var(--codeib-teal);  box-shadow: 0 0 0 4px var(--codeib-bg-warm), 0 0 18px var(--codeib-teal-glow); }
.step.s02 .step-dot { border-color: var(--codeib-blue);  color: var(--codeib-blue);  box-shadow: 0 0 0 4px var(--codeib-bg-warm), 0 0 18px var(--codeib-blue-glow); }
.step.s03 .step-dot { border-color: var(--codeib-coral); color: var(--codeib-coral); box-shadow: 0 0 0 4px var(--codeib-bg-warm), 0 0 18px var(--codeib-coral-glow); }

.step.s01 .step-card::after,
.step.s02 .step-card::after,
.step.s03 .step-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.step.s01 .step-card::after { background: var(--codeib-teal); }
.step.s02 .step-card::after { background: var(--codeib-blue); }
.step.s03 .step-card::after { background: var(--codeib-coral); }

.step-card {
  background: var(--codeib-bg-light);
  padding: 28px 30px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-card:hover { transform: translateX(4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
@media (max-width: 640px) { .step-card { padding: 22px 20px; } }

.step-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.step-title { font-family: var(--codeib-font-display); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--codeib-text-on-light); letter-spacing: -0.015em; }
.step-metric {
  font-family: var(--codeib-font-mono); font-size: 11px;
  color: var(--codeib-text-on-light-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.step-metric strong { color: var(--codeib-text-on-light); font-weight: 700; }
.step-promise { font-size: 15px; color: var(--codeib-text-on-light-dim); line-height: 1.6; margin-bottom: 18px; }
.step-promise em { /* italic removed: Unbounded has no italics */ color: var(--codeib-purple); }

/* Крупные плашки продуктов: иконка + название + подпись */
.step-products {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--codeib-border-on-light);
}
@media (max-width: 720px) { .step-products { grid-template-columns: 1fr; } }
.step-product {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--codeib-bg-warm);
  color: var(--codeib-text-on-light);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  min-height: 64px;
}
.step-product:hover { background: var(--codeib-yellow); transform: translateX(2px); }
.step-product-ico {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--codeib-bg-light);
  border-radius: 8px;
  color: var(--codeib-text-on-light);
}
.step-product-ico svg { width: 18px; height: 18px; }
.step-product-body { min-width: 0; }
.step-product-name {
  font-size: 13.5px; font-weight: 700; line-height: 1.25;
  color: var(--codeib-text-on-light);
}
.step-product-meta {
  font-family: var(--codeib-font-mono); font-size: 10.5px;
  color: var(--codeib-text-on-light-muted);
  margin-top: 3px; letter-spacing: 0.3px;
}

/* Ступени 04–06: тёмные карточки, премиум-стиль */
.step.premium .step-dot {
  background: var(--codeib-bg-dark);
  border-color: var(--codeib-yellow);
  color: var(--codeib-yellow);
  box-shadow: 0 0 0 4px var(--codeib-bg-warm);
}
.step.premium.featured .step-dot {
  box-shadow:
    0 0 0 4px var(--codeib-bg-warm),
    0 0 24px var(--codeib-yellow-glow-strong);
}

.step.premium .step-card {
  background: var(--codeib-bg-dark);
  color: var(--codeib-text-on-dark);
}
.step.premium .step-title { color: var(--codeib-text-on-dark); }
.step.premium .step-metric { color: var(--codeib-text-on-dark-muted); }
.step.premium .step-metric strong { color: var(--codeib-yellow); }
.step.premium .step-promise { color: var(--codeib-text-on-dark-dim); }
.step.premium .step-promise em { color: var(--codeib-yellow); font-weight: 700; }
.step.premium .step-products { border-top-color: var(--codeib-border-on-dark); }
.step.premium .step-product {
  background: rgba(255,255,255,0.06); color: var(--codeib-text-on-dark);
}
.step.premium .step-product:hover { background: var(--codeib-yellow); color: var(--codeib-text-on-light); }
/* Gated-карточка (например, закрытый чат): не ссылка, помечена замком, без hover-перехода в жёлтый */
.step.premium .step-product-gated {
  cursor: default;
}
.step.premium .step-product-gated:hover {
  background: rgba(255, 214, 0, 0.06);
  color: inherit;
  transform: none;
}
.step.premium .step-product-gated .step-product-ico {
  color: var(--codeib-yellow);
}
.step.premium .step-product-ico {
  background: rgba(255,255,255,0.08); color: var(--codeib-yellow);
}
.step.premium .step-product:hover .step-product-ico {
  background: rgba(0,0,0,0.15); color: var(--codeib-text-on-light);
}
.step.premium .step-product-name { color: var(--codeib-text-on-dark); }
.step.premium .step-product:hover .step-product-name { color: var(--codeib-text-on-light); }
.step.premium .step-product-meta { color: var(--codeib-text-on-dark-muted); }
.step.premium .step-product:hover .step-product-meta { color: var(--codeib-text-on-light); opacity: 0.7; }

/* Ступень 05 — простой SVG-фон: точечная сетка справа + лёгкий градиент */
.step.s05 .step-card { position: relative; overflow: hidden; }
.step.s05 .step-card > *:not(.s05-bg) { position: relative; z-index: 1; }
.step .s05-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.85;
}

/* Ступень 06 — развёрнутый SVG-фон: корона + лучи */
.step.s06 .step-card {
  background: var(--codeib-bg-darker);
  border: 1px solid var(--codeib-border-yellow);
  box-shadow: 0 0 0 1px var(--codeib-border-yellow), 0 16px 64px rgba(255,214,0,0.14);
  position: relative; overflow: hidden;
}
.step.s06 .step-card > *:not(.s06-bg) { position: relative; z-index: 1; }
.step .s06-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.95;
}
.step.s06 .step-dot {
  box-shadow:
    0 0 0 4px var(--codeib-bg-warm),
    0 0 28px var(--codeib-yellow-glow-strong),
    0 0 60px var(--codeib-yellow-glow);
}

.step.featured .step-card {
  border: 1px solid var(--codeib-border-yellow);
  box-shadow: 0 0 0 1px var(--codeib-border-yellow), 0 8px 32px rgba(255,214,0,0.08);
}
.step.featured .step-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--codeib-yellow);
}

.step-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--codeib-font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 10px;
  background: var(--codeib-yellow); color: var(--codeib-text-on-light);
  margin-bottom: 14px;
}

/* Ступень 04 — образовательный акцент для Минцифры */
.step.education .step-card {
  border-top: 3px solid var(--codeib-yellow);
}
.step-license-note {
  margin-top: 16px; padding: 12px 14px;
  background: rgba(255,214,0,0.06); border: 1px solid rgba(255,214,0,0.15);
  font-family: var(--codeib-font-mono); font-size: 10.5px;
  color: var(--codeib-yellow); line-height: 1.5; letter-spacing: 0.3px;
}

/* Цитата выпускника внутри ступени */
.step-quote {
  margin: 18px 0;
  padding: 18px 22px;
  background: rgba(255,214,0,0.06);
  border-left: 3px solid var(--codeib-yellow);
  position: relative;
}
.step-quote-text {
  font-family: var(--codeib-font-body); font-weight: 500;
  font-size: 16px; color: var(--codeib-text-on-dark); line-height: 1.55;
  font-style: italic;
}
.step-quote-attribution {
  margin-top: 8px; font-family: var(--codeib-font-mono); font-size: 11px;
  color: var(--codeib-text-on-dark-muted); letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════
   OLGA — блок продюсера v2:
   ЛЕВАЯ колонка: горизонтальная hero-карточка (фото+цифры) сверху + текст
   ПРАВАЯ колонка: 5 плашек ролей + одна CTA
   ═══════════════════════════════════════════════════════════════ */
.olga-section { padding: 110px 0; background: var(--codeib-bg-warm); position: relative; overflow: hidden; }
.olga-section::before {
  content: ''; position: absolute; top: -180px; right: -140px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--codeib-yellow-glow) 0%, transparent 60%);
  pointer-events: none;
}
.olga-section::after {
  content: ''; position: absolute; bottom: -200px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(140, 90, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.olga-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
  position: relative; z-index: 1;
  margin-top: 48px;
}
@media (max-width: 1024px) {
  .olga-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* === ЛЕВАЯ колонка: hero-card + текст === */
.olga-left { display: flex; flex-direction: column; gap: 32px; }

/* Hero card: фото слева, имя+роль+цифры справа, горизонтально */
.olga-hero-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px; align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, var(--codeib-bg-light) 0%, #FAF7EE 100%);
  border-left: 4px solid var(--codeib-yellow);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.olga-hero-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--codeib-yellow-glow-strong) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 480px) {
  .olga-hero-card { grid-template-columns: 1fr; gap: 22px; padding: 24px; text-align: center; }
}

.olga-photo-wrap {
  position: relative;
  width: 140px; height: 140px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .olga-photo-wrap { margin: 0 auto; }
}
.olga-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover; display: block;
  box-shadow: 0 0 0 4px var(--codeib-yellow), 0 12px 32px rgba(0, 0, 0, 0.15);
}
.olga-photo-wrap::after {
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%; border: 2px solid var(--codeib-yellow-glow-strong);
  animation: pulse-ring 3s ease infinite;
}

.olga-hero-meta {
  display: flex; flex-direction: column;
  min-width: 0;
}
.olga-hero-name {
  font-family: var(--codeib-font-display); font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15;
  margin-bottom: 6px;
}
.olga-hero-role {
  font-family: var(--codeib-font-mono); font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--codeib-text-on-light-muted); line-height: 1.5;
  margin-bottom: 18px;
}
.olga-hero-nums {
  display: flex; gap: 28px; flex-wrap: wrap;
}
@media (max-width: 480px) {
  .olga-hero-nums { justify-content: center; }
}
.olga-hero-num { display: flex; flex-direction: column; }
.olga-hero-num b {
  font-family: var(--codeib-font-display); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 32px);
  color: var(--codeib-yellow);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(255, 214, 0, 0.25);
}
.olga-hero-num span {
  font-family: var(--codeib-font-mono); font-size: 10px;
  color: var(--codeib-text-on-light-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-top: 6px;
}

/* Текст под hero-card */
.olga-text p { font-size: 15.5px; color: var(--codeib-text-on-light-dim); line-height: 1.75; margin-bottom: 16px; }
.olga-text p:last-child { margin-bottom: 0; }
.olga-text p strong { color: var(--codeib-text-on-light); font-weight: 600; }

/* === ПРАВАЯ колонка: плашки ролей + CTA === */
.olga-right {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 100px;
}
@media (max-width: 1024px) {
  .olga-right { position: static; }
}

.olga-roles { display: flex; flex-direction: column; gap: 10px; }
.olga-role-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  background: var(--codeib-bg-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
}
.olga-role-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-left-color: var(--codeib-yellow);
}
.olga-role-icon {
  width: 40px; height: 40px;
  background: var(--codeib-yellow-glow);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--codeib-text-on-light);
  transition: background 0.2s ease;
}
.olga-role-item:hover .olga-role-icon {
  background: var(--codeib-yellow);
}
.olga-role-content h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.olga-role-content p { font-size: 12.5px; color: var(--codeib-text-on-light-muted); line-height: 1.5; margin: 0; }

/* Одна CTA-кнопка в правой колонке */
.olga-cta-button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px;
  background: var(--codeib-bg-dark);
  color: var(--codeib-yellow);
  text-decoration: none;
  font-family: var(--codeib-font-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid var(--codeib-bg-dark);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.olga-cta-button:hover {
  transform: translateY(-2px);
  background: var(--codeib-yellow);
  color: var(--codeib-text-on-light);
  border-color: var(--codeib-yellow);
  box-shadow: 0 12px 28px rgba(255, 214, 0, 0.3);
}
.olga-cta-button svg { transition: transform 0.2s ease; }
.olga-cta-button:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════
   STORIES — истории выпускников
   ═══════════════════════════════════════════════════════════════ */
.stories { padding: 100px 0; background: var(--codeib-bg-warm); }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .stories-grid { grid-template-columns: 1fr; } }

.story-card {
  background: var(--codeib-bg-light);
  padding: 32px 28px;
  position: relative;
  display: flex; flex-direction: column;
}
.story-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--codeib-yellow);
}
.story-todo {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--codeib-font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--codeib-purple); background: var(--codeib-purple-glow);
  padding: 3px 8px;
}
.story-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--codeib-yellow-glow), var(--codeib-purple-glow));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--codeib-font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em;
  color: var(--codeib-text-on-light);
  margin-bottom: 18px;
}
.story-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.story-role { font-family: var(--codeib-font-mono); font-size: 11px; color: var(--codeib-text-on-light-muted); letter-spacing: 0.5px; margin-bottom: 18px; }
.story-quote { font-family: var(--codeib-font-body); font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--codeib-text-on-light); margin-bottom: 20px; flex-grow: 1; font-style: italic; }
.story-quote::before { content: '“ '; color: var(--codeib-yellow); font-size: 24px; font-style: normal; }
.story-path { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--codeib-border-on-light); }
.story-step {
  font-family: var(--codeib-font-mono); font-size: 10px; font-weight: 700;
  padding: 4px 8px; background: var(--codeib-bg-warm);
  color: var(--codeib-text-on-light); letter-spacing: 0.5px;
}
.story-step::after { content: ' →'; color: var(--codeib-text-on-light-muted); font-weight: 400; }
.story-step:last-child::after { display: none; }

/* ═══════════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════════ */
.stats { background: var(--codeib-bg-dark); padding: 80px 0 60px; position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 50% 50%, var(--codeib-yellow-glow), transparent 70%);
  pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 28px 16px; border-right: 1px solid var(--codeib-border-on-dark); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--codeib-font-display); font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); color: var(--codeib-yellow); line-height: 1; margin-bottom: 10px; letter-spacing: -0.025em; }
.stat-label { font-family: var(--codeib-font-mono); font-size: 10.5px; color: var(--codeib-text-on-dark-muted); text-transform: uppercase; letter-spacing: 1.2px; line-height: 1.5; }
.stats-footnote {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid var(--codeib-border-on-dark);
  font-family: var(--codeib-font-mono); font-size: 10.5px;
  color: rgba(255,255,255,0.35); letter-spacing: 0.5px;
  text-align: center;
  position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item { border-bottom: 1px solid var(--codeib-border-on-dark); }
  .stat-item:nth-child(3n) { border-right: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3n) { border-right: 1px solid var(--codeib-border-on-dark); }
  .stat-item:nth-child(2n) { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════════
   PERSONAS
   ═══════════════════════════════════════════════════════════════ */
.personas { padding: 100px 0; background: var(--codeib-bg-light); }
.personas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .personas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .personas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .personas-grid { grid-template-columns: 1fr; } }

.persona-card {
  padding: 28px 22px; background: var(--codeib-bg-warm);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.persona-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.persona-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; }
.persona-card.participants::before { background: var(--codeib-yellow); }
.persona-card.experts::before      { background: var(--codeib-teal); }
.persona-card.students::before     { background: var(--codeib-green); }
.persona-card.partners::before     { background: var(--codeib-purple); }
.persona-card.smi::before          { background: var(--codeib-amber); }

.persona-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.persona-icon svg { width: 22px; height: 22px; }
.persona-card.participants .persona-icon { background: var(--codeib-yellow-glow); color: #a88300; }
.persona-card.experts .persona-icon      { background: var(--codeib-teal-glow); color: var(--codeib-teal); }
.persona-card.students .persona-icon     { background: var(--codeib-green-glow); color: var(--codeib-green); }
.persona-card.partners .persona-icon     { background: var(--codeib-purple-glow); color: var(--codeib-purple); }
.persona-card.smi .persona-icon          { background: var(--codeib-amber-glow); color: var(--codeib-amber); }

.persona-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--codeib-text-on-light); }
.persona-desc { font-size: 13px; color: var(--codeib-text-on-light-muted); line-height: 1.6; margin-bottom: 18px; flex-grow: 1; }
.persona-link { font-size: 13px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.persona-card.participants .persona-link { color: #a88300; }
.persona-card.experts .persona-link      { color: var(--codeib-teal); }
.persona-card.students .persona-link     { color: var(--codeib-green); }
.persona-card.partners .persona-link     { color: var(--codeib-purple); }
.persona-card.smi .persona-link          { color: var(--codeib-amber); }
.persona-card:hover .persona-link { gap: 10px; }

/* ═══════════════════════════════════════════════════════════════
   TRUST — логотипы + медиа-партнёр Хакер
   ═══════════════════════════════════════════════════════════════ */
.trust { padding: 100px 0; background: var(--codeib-bg-warm); }
.trust-block { margin-bottom: 40px; }
.trust-block h3 {
  font-family: var(--codeib-font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--codeib-text-on-light-muted); margin-bottom: 20px;
}
.logos-row { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-pill { background: var(--codeib-bg-light); padding: 12px 20px; font-size: 13px; font-weight: 700; color: var(--codeib-text-on-light); white-space: nowrap; }

.media-partner {
  background: var(--codeib-bg-light);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 40px;
  border-top: 3px solid var(--codeib-yellow);
}
@media (max-width: 768px) {
  .media-partner { grid-template-columns: 1fr; gap: 20px; padding: 28px; text-align: center; }
}
.media-partner-label {
  font-family: var(--codeib-font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--codeib-text-on-light-muted); line-height: 1.5;
}
.media-partner-logo {
  font-family: var(--codeib-font-display); font-weight: 700;
  font-size: 30px; color: var(--codeib-text-on-light);
  letter-spacing: -0.025em; line-height: 1;
}
.media-partner-logo .mark { color: var(--codeib-yellow); }
.media-partner-text { font-size: 13.5px; color: var(--codeib-text-on-light-muted); line-height: 1.55; max-width: 420px; }
.media-partner-link {
  font-family: var(--codeib-font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--codeib-text-on-light);
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid var(--codeib-text-on-light);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.media-partner-link:hover { background: var(--codeib-text-on-light); color: var(--codeib-yellow); }

/* ═══════════════════════════════════════════════════════════════
   EVENTS
   ═══════════════════════════════════════════════════════════════ */
.events { padding: 100px 0; background: var(--codeib-bg-light); }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 28px; }
.event-card {
  background: var(--codeib-bg-warm); padding: 24px 22px;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; color: var(--codeib-text-on-light); display: block;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.event-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--codeib-yellow); }
.event-step-tag {
  display: inline-block;
  font-family: var(--codeib-font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; color: var(--codeib-purple);
  margin-bottom: 8px;
}
.event-date { font-family: var(--codeib-font-mono); font-size: 12px; color: var(--codeib-text-on-light); margin-bottom: 8px; font-weight: 700; }
.event-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.event-city { font-size: 13px; color: var(--codeib-text-on-light-muted); }
.event-format { display: inline-block; margin-top: 12px; font-family: var(--codeib-font-mono); font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--codeib-teal); background: var(--codeib-teal-glow); padding: 4px 10px; }
.event-cert { display: inline-block; margin-top: 8px; margin-left: 4px; font-family: var(--codeib-font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.5px; color: var(--codeib-green); background: var(--codeib-green-glow); padding: 3px 8px; }
.events-all { font-family: var(--codeib-font-mono); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--codeib-text-on-light); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.2s; border-bottom: 2px solid var(--codeib-yellow); padding-bottom: 4px; }
.events-all:hover { gap: 12px; }

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════════ */
.final-cta { background: var(--codeib-bg-dark); color: var(--codeib-text-on-dark); padding: 96px 0 112px; position: relative; overflow: hidden; }
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 30% 50%, var(--codeib-yellow-glow), transparent 55%),
    radial-gradient(ellipse 500px 400px at 75% 40%, rgba(97,83,154,0.1), transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; text-align: center; max-width: 760px; }
.final-cta h2 { font-family: var(--codeib-font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.18; margin-bottom: 18px; color: var(--codeib-text-on-dark); letter-spacing: -0.025em; }
.final-cta h2 .accent { color: var(--codeib-yellow); /* italic removed: Unbounded has no italics */ }
.final-cta p { font-size: 17px; color: var(--codeib-text-on-dark-dim); line-height: 1.65; margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto; }
.final-cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.stripe-yellow { height: 4px; background: var(--codeib-yellow); }
.site-footer { background: var(--codeib-bg-dark); color: var(--codeib-text-on-dark); padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-desc { font-size: 14px; color: var(--codeib-text-on-dark-muted); line-height: 1.6; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--codeib-text-on-dark-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
  font-family: var(--codeib-font-mono);
}
.footer-socials a:hover { border-color: var(--codeib-yellow); color: var(--codeib-yellow); }
.footer-col h4 { font-family: var(--codeib-font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--codeib-text-on-dark); }
.footer-bottom { border-top: 1px solid var(--codeib-border-on-dark); padding-top: 24px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 680px; }
.footer-legal strong { color: rgba(255,255,255,0.6); font-weight: 500; }
.footer-contacts { display: flex; flex-direction: column; gap: 4px; text-align: right; }
@media (max-width: 768px) { .footer-contacts { text-align: left; } }
.footer-contacts a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-contacts a:hover { color: var(--codeib-yellow); }
.footer-svedeniya { margin-top: 12px; }
.footer-svedeniya a { font-size: 11px; color: rgba(255,255,255,0.35); text-decoration: underline; transition: color 0.2s; font-family: var(--codeib-font-mono); letter-spacing: 0.5px; }
.footer-svedeniya a:hover { color: rgba(255,255,255,0.7); }