@font-face {
  font-family: 'Unbounded';
  src: url('./fonts/Unbounded.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('./fonts/InterTight.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --black: #0a0a0a;
  --blue: #3956ff;
  --blue-dark: #2c46e0;
  --muted: #555;
  --line: #ebebeb;
  --soft: #f6f6f6;
  --display: 'Unbounded', 'Inter Tight', system-ui, sans-serif;
  --body: 'Inter Tight', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 32px);
  --outline: 1.5px solid var(--black);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; font: 400 17px / 1.5 var(--body); color: var(--black); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid #2740d8; outline-offset: 4px; }
[hidden] { display: none !important; }

.container { width: min(100%, 1160px); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 6vw, 82px); }
.screen-reader, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; padding: 10px 16px; z-index: 10; background: white; }

.topbar { position: sticky; top: 0; z-index: 5; background: #fffffff5; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar-inner { min-height: 70px; display: flex; align-items: center; gap: 24px; }
.brand { display: block; width: 176px; flex: 0 0 auto; }
.brand img, .final-logo { height: auto; }
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 23px; color: var(--muted); font-size: 14px; font-weight: 600; }
.topbar nav a:hover, .footer a:hover { color: var(--blue-dark); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 11px 23px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 22px #3956ff42;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  transition: background .18s, transform .18s;
}
.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button span { font-size: 1.2em; line-height: 1; }
.button-small { min-height: 40px; padding: 7px 16px; font-size: 14px; }
.button-outline { background: white; color: var(--black); border: var(--outline); box-shadow: none; }
.button-outline:hover { background: var(--black); color: white; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
h1 {
  display: grid;
  gap: .08em;
  font-size: clamp(42px, 6vw, 76px);
  font-size: min(clamp(42px, 6vw, 76px), 10.9cqi);
  line-height: 1;
  margin-block: 22px 17px;
}
.title-prefix { display: flex; align-items: center; gap: .24em; }
.title-accent { color: var(--blue); }
.title-ai {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding-inline: .13em;
  border-radius: .15em;
  background: var(--blue);
  color: white;
  line-height: 1.03;
}
.title-ai::after {
  content: '';
  position: absolute;
  inset-block: 0;
  left: -65%;
  width: 48%;
  background: linear-gradient(90deg, transparent, #ffffff36, transparent);
  transform: skewX(-18deg);
  animation: title-light 1.2s .3s ease-out both;
  pointer-events: none;
}
@keyframes title-light {
  from { transform: translateX(0) skewX(-18deg); }
  to { transform: translateX(360%) skewX(-18deg); }
}

.button-ring { position: relative; }
.button-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--blue);
  border-radius: inherit;
  pointer-events: none;
  animation: button-ring 1.35s .5s ease-out 2 both;
}
@keyframes button-ring {
  from { transform: scale(1); opacity: .48; }
  to { transform: scale(1.065, 1.22); opacity: 0; }
}

.section-heading.is-entering { animation: section-entry .52s ease-out both; }
@keyframes section-entry {
  from { opacity: .7; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
h2 { font-size: clamp(26px, 4vw, 53px); line-height: 1.1; }
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 48px); align-items: center; padding-block: clamp(38px, 5vw, 70px); }
.hero-copy { container-type: inline-size; }
.event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.event-meta > * { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; }
.event-meta time { background: var(--black); color: white; font-family: var(--display); font-size: 11px; font-weight: 700; }
.event-meta .event-start { padding: 0; color: var(--muted); }
.calendar-mark { position: relative; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 3px; }
.calendar-mark::before { content: ''; position: absolute; top: 3px; inset-inline: 0; border-top: 1.5px solid currentColor; }
.hero-description { margin-top: 12px; max-width: 31em; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); }
.hero-actions { margin-top: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.carousel { min-width: 0; }
.carousel-stage { position: relative; overflow: hidden; isolation: isolate; width: 100%; aspect-ratio: 1.06; mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent); }
.portrait {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--outline);
  border-radius: 22px;
  background: var(--soft);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.7);
  transition: transform .42s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.portrait.is-previous { opacity: 1; z-index: 1; transform: translate(-118%, -50%) scale(.68); }
.portrait.is-next { opacity: 1; z-index: 1; transform: translate(18%, -50%) scale(.68); }
.portrait.is-current { opacity: 1; z-index: 2; transform: translate(-50%, -50%); }
.portrait > img, .speaker-photo > img, .avatar > img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--photo-y, 35%); }
.photo-voronkin { --photo-y: 54%; }
.photo-barakov { --photo-y: 40%; }
.photo-kuznetsova { --photo-y: 29%; }
.photo-malinskiy { --photo-y: 27%; }
.photo-pekhterev { --photo-y: 28%; }
.portrait-logo, .portrait figcaption { position: absolute; background: white; border: 1px solid var(--line); box-shadow: 0 6px 18px #0a0a0a22; }
.portrait-logo { top: 10px; left: 10px; border-radius: 9px; padding: 5px 8px; font-size: 12px; font-weight: 800; }
.portrait-logo img { width: auto; height: 16px; max-width: 104px; object-fit: contain; }
.portrait-logo img[alt="Nebius"] { height: 22px; }
.portrait-logo img[alt="Manychat"] { width: 84px; object-fit: cover; }
.portrait figcaption { display: none; inset: auto 9px 9px; border-radius: 12px; padding: 10px 12px; }
.portrait:not(.is-current) .portrait-logo { display: none; }
.portrait.is-current figcaption { display: block; }
.portrait figcaption strong { display: block; font: 700 clamp(14px, 1.35vw, 18px) / 1.2 var(--display); letter-spacing: -.02em; }
.portrait figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.25; }


.section-heading { text-align: center; margin: 0 auto 30px; }
.section-heading p { max-width: 750px; margin: 14px auto 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.topics, .slots { display: grid; gap: 12px; }
.topics li, .slot { display: grid; align-items: center; border: var(--outline); border-radius: 22px; background: white; padding: 21px 24px; min-width: 0; }
.topics li { grid-template-columns: 1fr auto 1.3fr; gap: 22px; }
.topics h3, .slot h3 { font-size: clamp(14px, 1.55vw, 18px); font-weight: 700; line-height: 1.32; }
.topic-arrow { color: var(--blue); font-size: 23px; line-height: 1; }
.topics p { color: var(--muted); }

.speakers-section { background: var(--soft); }
.speaker-grid { --speaker-gap: 18px; --speaker-columns: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--speaker-gap); }
.speaker { flex: 0 0 calc((100% + var(--speaker-gap)) / var(--speaker-columns) - var(--speaker-gap)); min-width: 0; display: flex; flex-direction: column; border: var(--outline); border-radius: 22px; overflow: hidden; background: white; }
.speaker-photo { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.33; background: #eaeaea; }
.speaker-photo > img { position: absolute; inset: 0; }
.speaker-photo.photo-malinskiy { --photo-y: 39%; }
.speaker-photo.photo-filev { --photo-y: 0%; }
.initials { display: grid; place-items: center; width: 100%; height: 100%; font: 700 clamp(34px, 5vw, 60px) / 1 var(--display); color: #4e4e4e; }
.speaker-body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 17px; }
.speaker-company { display: flex; align-items: center; height: 26px; margin-bottom: 10px; font-size: 15px; font-weight: 800; }
.speaker-company img { height: 20px; width: auto; max-width: 110px; object-fit: contain; object-position: left center; }
.speaker-company img[alt="Nebius"] { height: 24px; }
.speaker-company img[alt="Manychat"] { width: 100px; object-fit: cover; }
.speaker h3 { font-size: clamp(14px, 1.85vw, 22px); line-height: 1.17; font-weight: 700; }
.role { margin-top: 5px; font-size: 15px; color: var(--muted); }
.profiles { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; padding-top: 9px; }
.profiles a { padding-block: 4px; font-size: 14px; color: var(--blue-dark); font-weight: 700; }
.profiles a:hover { text-decoration: underline; }

.program .section-heading p { font-weight: 650; }
.slot { grid-template-columns: minmax(0, 1fr) minmax(0, 285px); gap: 28px; }
.slot-person { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 11px; line-height: 1.25; }
.slot-person:hover strong { color: var(--blue-dark); }
.avatar { border-radius: 50%; overflow: hidden; width: 48px; height: 48px; background: #efefef; }
.avatar .initials { font-size: 12px; }
.slot-person strong { display: block; font-size: 15px; }
.slot-person small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.program-note { margin-top: 18px; text-align: center; color: var(--muted); }

.company-band { border-block: 1px solid var(--line); padding-block: clamp(23px, 3vw, 33px); }
.company-band h2 {
  font: 800 clamp(11px, 1.12vw, 15px) / 1.4 var(--body);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}
.company-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: clamp(15px, 3vw, 36px);
  max-width: 760px;
  margin: clamp(17px, 2.5vw, 25px) auto 0;
}
.company-logos li { display: grid; min-width: 0; place-items: center; }
.company-logos img { width: auto; max-width: 100%; height: clamp(23px, 3vw, 34px); object-fit: contain; }
.company-logos img[alt="Nebius"] { height: clamp(24px, 3.8vw, 43px); }
.company-logos img[alt="Manychat"] { width: clamp(95px, 11vw, 145px); height: clamp(25px, 3vw, 37px); object-fit: cover; }
@media (max-width: 520px) {
  .company-logos { max-width: 360px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-logos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.participate { text-align: center; background: var(--soft); }
.final-logo { width: clamp(148px, 18vw, 218px); margin: 0 auto 23px; }
.participate h2 { text-wrap: balance; }
.final-date { margin: 14px 0 21px; color: var(--muted); font-size: 18px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-block: 20px; font-size: 14px; font-weight: 600; }

@media (max-width: 790px) {
  html { scroll-padding-top: 72px; }
  .topbar-inner { min-height: 61px; justify-content: space-between; }
  .topbar nav { display: none; }
  .brand { width: 142px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .hero-copy { max-width: 560px; }
  .carousel { width: min(100%, 480px); justify-self: center; }
  h1 {
    font-size: clamp(40px, 9vw, 62px);
    font-size: min(clamp(40px, 9vw, 62px), 10.9cqi);
  }
  .speaker-grid { --speaker-columns: 2; }
  .slot { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .topics li { grid-template-columns: auto 1fr; gap: 6px 10px; }
  .topics h3 { grid-column: 1 / -1; }
}
@media (max-width: 490px) {
  .hero { padding-block: 29px 33px; }
  .event-meta > * { padding-inline: 10px; }
  .hero-actions { gap: 9px; margin-top: 21px; }
  .hero-actions .button { padding-inline: 13px; min-height: 43px; font-size: 14px; }
  .carousel-stage { aspect-ratio: .98; }
  .portrait { width: 78%; border-radius: 16px; }
  .portrait figcaption { padding: 8px; inset: auto 6px 6px; }
  .portrait figcaption span { font-size: 12px; }
  .portrait-logo { top: 7px; left: 7px; }
  .speaker-grid { --speaker-gap: 11px; }
  .speaker, .slot, .topics li { border-radius: 17px; }
  .speaker-body { padding: 11px 10px; }
  .speaker-company img { height: 16px; max-width: 92px; }
  .speaker h3 { font-size: 13px; }
  .role, .profiles a { font-size: 13px; }
  .slot, .topics li { padding: 15px; }
  .avatar { width: 40px; height: 40px; }
  .slot-person { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Сравнение форматов участия */
.champions-community {
  --features-width: 46%;
  --plan-width: 27%;
  --comparison-divider: #11182720;
  --paid-divider: #ffffff38;
  background: var(--soft);
}
.champions-community h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 4vw, 49px);
  line-height: 1.08;
  text-wrap: balance;
}
.club-lead { max-width: 680px; color: #43434d; font-size: clamp(16px, 1.45vw, 19px); }
.comparison-table {
  width: 100%;
  margin-top: clamp(20px, 3vw, 32px);
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(14px, 1.44vw, 17px);
  line-height: 1.35;
}
.comparison-table col { width: var(--plan-width); }
.comparison-table .comparison-features { width: var(--features-width); }
.comparison-table th { text-align: left; }
.comparison-table .comparison-plan {
  padding: clamp(10px, 2vw, 22px);
  vertical-align: top;
}
.comparison-table .comparison-paid { color: white; background: #0a0a0a; }
.comparison-table thead .comparison-paid {
  border-radius: 22px 22px 0 0;
  background: radial-gradient(ellipse at 100% 0%, #413378, #0a0a0a 82%);
}
.comparison-plan-label, .comparison-plan-detail { display: block; }
.comparison-plan-label {
  margin-bottom: 12px;
  color: #2f3295;
  font-size: clamp(11px, 1.25vw, 14px);
  font-weight: 800;
}
.comparison-paid .comparison-plan-label { color: #d8cdff; }
.comparison-price {
  display: block;
  margin-bottom: 6px;
  font: 800 clamp(20px, 2.8vw, 36px) / 1.1 var(--display);
  letter-spacing: -.03em;
}
.comparison-plan-detail { color: #494955; font-size: clamp(11px, 1.2vw, 15px); font-weight: 500; }
.comparison-paid .comparison-plan-detail { color: #f1eaff; }
.comparison-table tbody th, .comparison-table tbody td { border-bottom: 1px solid var(--comparison-divider); }
.comparison-table tbody .comparison-paid { border-color: var(--paid-divider); }
.comparison-table tbody th { padding: 11px 16px 11px 0; font-weight: 650; }
.comparison-table tbody th small { display: block; margin-top: 4px; color: #535361; font-size: .85em; font-weight: 500; }
.comparison-table tbody td { padding: 7px 3px; text-align: center; }
.comparison-table .comparison-group th {
  padding-top: 16px;
  color: #493692;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.comparison-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 750;
}
.comparison-mark.is-included { color: white; background: var(--blue-dark); }
.comparison-paid .comparison-mark.is-included { background: #7254cf; }
.comparison-mark.is-excluded { color: #4f4c59; background: #1b203510; }
.comparison-actions {
  display: grid;
  grid-template-columns: var(--plan-width) var(--plan-width);
  justify-content: end;
}
.comparison-live-actions, .comparison-paid-actions {
  display: flex;
  min-width: 0;
  padding: clamp(12px, 1.5vw, 20px);
}
.comparison-paid-actions { border-radius: 0 0 22px 22px; background: #0a0a0a; }
.comparison-actions .button {
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: clamp(13px, 1.33vw, 16px);
  line-height: 1.2;
}
.comparison-live-actions .button { color: white; background: var(--black); box-shadow: none; }
.comparison-paid-actions .comparison-join {
  border-color: #ffffffb3;
  color: var(--black);
  background: linear-gradient(105deg, #a2e5e5, #eee1b9 52%, #e8c3dd);
  box-shadow: 0 0 20px #d7bdf766;
}
.comparison-paid-actions .comparison-join:hover {
  background: linear-gradient(105deg, #c0f1f0, #f7edcd 52%, #f4d6e9);
}
.comparison-paid-actions .comparison-join:focus-visible { outline-color: #a6b2ff; }

@media (max-width: 760px) {
  .champions-community { --features-width: 48%; --plan-width: 26%; }
  .comparison-table .comparison-plan { padding: 11px 5px; text-align: center; }
  .comparison-plan-label { margin-bottom: 8px; }
  .comparison-price { font: 800 clamp(13px, 3.8vw, 21px) / 1.1 var(--body); }
  .comparison-table tbody th { padding-right: 8px; }
  .comparison-table tbody:last-child tr:last-child .comparison-paid { border-radius: 0 0 14px 14px; }
  .comparison-table thead .comparison-paid { border-radius: 14px 14px 0 0; }
  .comparison-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
  .comparison-live-actions { padding: 0; }
  .comparison-paid-actions { border-radius: 16px; }
}
@media (max-width: 520px) {
  .comparison-actions { grid-template-columns: minmax(0, 1fr); }
}

.faq-list { max-width: 860px; margin-top: 26px; border-block: 1px solid var(--line); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 19px;
  font: 700 clamp(14px, 1.55vw, 18px) / 1.35 var(--display);
  letter-spacing: -.02em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+' / ''; flex: 0 0 auto; color: var(--blue); font: 600 23px / 1 var(--body); }
.faq details[open] summary::after { content: '−' / ''; }
.faq summary:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.faq details p { max-width: 670px; padding-bottom: 20px; color: var(--muted); }
.faq a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: .14em; }
