:root {
  --bg: #06080c;
  --surface: rgba(11, 15, 24, 0.82);
  --surface-strong: rgba(9, 12, 18, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --muted: #aeb7c4;
  --muted-strong: #d7deea;
  --accent: #ffffff;
  --accent-dark: #0a0d12;
  --max: 1180px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 0%, rgba(64, 79, 122, 0.18), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(61, 77, 114, 0.14), transparent 44%),
    var(--bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "IBM Plex Sans", "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34)),
    url("assets/68f571aba1d1932372b062c21325236f71f66db5.png") center / cover no-repeat;
  filter: saturate(0.28) brightness(0.33) contrast(1.06);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: clamp(var(--space-9), 9vw, 104px) 0;
}

.eyebrow {
  margin-bottom: var(--space-4);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(4, 7, 11, 0.28);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.scrolled {
  background: rgba(4, 7, 11, 0.72);
  border-color: var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  width: 104px;
  height: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-6);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.16);
}

.btn:focus-visible,
.speaker-link:focus-visible,
.socials a:focus-visible,
.lead-modal-close:focus-visible,
.lead-form input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.btn-small {
  min-height: 40px;
  padding: 0 var(--space-5);
  font-size: 13px;
}

.hero {
  padding-top: 148px;
  padding-bottom: var(--space-10);
}

.hero-inner {
  text-align: center;
}

.hero-copy {
  width: min(100%, 980px);
  margin: 0 auto;
}

.hero-topline {
  margin: 0 auto 26px;
  width: fit-content;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.hero-live-row,
.hero-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-live-row {
  gap: 8px;
}

.hero-live-badge {
  width: 68px;
  height: auto;
}

.hero-webinar-art {
  width: 278px;
  height: auto;
  opacity: 0.92;
}

.hero-date-art {
  width: 144px;
  height: auto;
  opacity: 0.42;
}

.hero-topic-art {
  width: 356px;
  height: auto;
}

.hero-time-art {
  width: 108px;
  height: auto;
  opacity: 0.42;
}

.hero-divider {
  color: rgba(255, 255, 255, 0.34);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-1px);
}

.hero h1 {
  max-width: 15ch;
  margin: 0 auto;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-actions {
  margin-top: var(--space-7);
  display: flex;
  justify-content: center;
}

.hero-actions .btn {
  min-height: 60px;
  padding: 0 36px;
  font-size: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 34px rgba(0, 0, 0, 0.24);
}

.section-head {
  margin-bottom: var(--space-7);
}

.section-head h2 {
  max-width: 20ch;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.program-card,
.speaker-hero-card,
.calendar-card,
.lead-modal-dialog {
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(97, 77, 204, 0.04), transparent 44%),
    radial-gradient(110% 120% at 0% 100%, rgba(78, 62, 176, 0.03), transparent 52%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.72), rgba(4, 6, 10, 0.82));
  box-shadow: var(--shadow-md);
}

.program-card {
  min-height: 304px;
  padding: 20px 22px 26px;
  border-radius: var(--radius-lg);
  display: grid;
  align-content: start;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(88, 70, 184, 0.06), transparent 70%);
  pointer-events: none;
}

.speaker-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: auto;
  min-width: 34px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.program-meta {
  display: none;
  color: #a6b3c5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.program-card h3 {
  max-width: none;
  font-size: clamp(25px, 2.15vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.program-card p:last-child {
  color: var(--muted);
  max-width: 31ch;
  font-size: 15px;
  line-height: 1.6;
}

.lecture-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--space-5);
}

.speaker-hero-card,
.calendar-card {
  min-height: 560px;
  padding: var(--space-7);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.speaker-hero-card {
  display: grid;
  align-content: end;
}

.speaker-hero-card::after {
  content: "";
  position: absolute;
  inset: 32px 16px 152px;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(115% 95% at 50% 122%, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.5) 14%, rgba(0, 0, 0, 0.14) 34%, rgba(0, 0, 0, 0.14) 66%, rgba(0, 0, 0, 0.5) 86%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 24%, rgba(0, 0, 0, 0) 42%);
}

.speaker-hero-photo {
  position: absolute;
  inset: 32px 16px 152px;
  width: calc(100% - 32px);
  height: calc(100% - 184px);
  object-fit: cover;
  object-position: center 18%;
  z-index: 1;
  opacity: 0.92;
  border-radius: var(--radius-md);
}

.speaker-hero-meta {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding-top: var(--space-5);
  padding-right: 132px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lecture-name {
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.speaker-links {
  position: absolute;
  right: var(--space-7);
  bottom: var(--space-7);
  z-index: 4;
  display: flex;
  gap: var(--space-3);
}

.speaker-link {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 13, 20, 0.82);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.speaker-link img,
.speaker-link svg {
  width: 24px;
  height: 24px;
  opacity: 0.98;
}

.speaker-youtube svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.speaker-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.promo-card {
  display: grid;
  place-items: center;
}

.promo-card-inner {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--space-3);
}

.promo-logo {
  width: 84px;
}

.promo-kicker-art {
  width: min(100%, 270px);
}

.promo-title-art {
  width: min(100%, 390px);
}

.promo-cta-stage {
  position: relative;
  width: min(100%, 322px);
  height: 210px;
  margin: var(--space-1) 0 var(--space-2);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(52, 52, 52, 0.94), rgba(43, 43, 43, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-sm);
}

.promo-cta-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.promo-stage-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 214px;
  min-height: 58px;
  padding: 0 var(--space-6);
  z-index: 1;
  white-space: nowrap;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.promo-stage-btn:hover {
  transform: translate(-50%, -51%);
}

.promo-meta {
  width: min(100%, 322px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.promo-date-art {
  width: 126px;
}

.promo-time-art {
  width: 126px;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(6px);
}

.lead-modal-dialog {
  position: relative;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border-radius: 22px;
  padding: var(--space-8);
}

.lead-modal-dialog h3 {
  margin: 0 40px var(--space-6) 0;
  font-size: clamp(28px, 3vw, 32px);
  line-height: 1.14;
}

.lead-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e3f0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lead-form {
  display: grid;
  gap: var(--space-4);
}

.lead-form label {
  color: #cad3e0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lead-form input {
  min-height: 54px;
  padding: 0 var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(4, 8, 13, 0.72);
  color: var(--text);
  font-size: 16px;
}

.lead-form input::placeholder {
  color: #8090a4;
}

.lead-form .btn {
  min-height: 54px;
  font-size: 16px;
}

.form-note {
  color: #95a0ad;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer {
  padding-top: 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.26);
}

.footer-grid {
  padding: var(--space-8) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--space-7);
}

.footer-grid h2 {
  max-width: 18ch;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
}

.footer-right {
  justify-self: end;
  display: grid;
  justify-items: start;
  gap: var(--space-5);
}

.footer-logo {
  width: 130px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.socials a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #d0d7e1;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.social-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-fill {
  fill: currentColor;
  stroke: none;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero h1 {
    max-width: 16ch;
  }

  .program-grid,
  .lecture-layout {
    gap: var(--space-4);
  }
}

@media (max-width: 920px) {
  .program-grid,
  .lecture-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .speaker-hero-card,
  .calendar-card {
    min-height: 0;
  }

  .footer-right {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner {
    min-height: 72px;
  }

  .logo {
    width: 92px;
  }

  .hero {
    padding-top: 124px;
    padding-bottom: var(--space-9);
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-topline {
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-live-row,
  .hero-info-row {
    gap: 12px;
  }

  .hero-live-row {
    gap: 8px;
  }

  .hero-live-badge {
    width: 60px;
  }

  .hero-webinar-art {
    width: 248px;
  }

  .hero-date-art {
    width: 126px;
  }

  .hero-topic-art {
    width: 312px;
  }

  .hero-time-art {
    width: 94px;
  }

  .hero-divider {
    font-size: 24px;
  }

  .hero-actions .btn {
    min-height: 56px;
    padding: 0 30px;
    font-size: 18px;
  }

  .program-card,
  .speaker-hero-card,
  .calendar-card {
    padding: var(--space-6);
  }

  .speaker-hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 360px;
    margin-bottom: var(--space-6);
  }

  .speaker-hero-card::after {
    inset: 24px 0 128px;
  }

  .speaker-hero-meta {
    padding-top: var(--space-4);
    padding-right: 122px;
  }

  .lecture-name {
    font-size: clamp(34px, 10vw, 48px);
  }

  .speaker-links {
    right: var(--space-6);
    bottom: var(--space-6);
  }

  .speaker-link {
    width: 52px;
    height: 52px;
  }

  .promo-card-inner {
    width: min(100%, 360px);
  }

  .promo-kicker-art {
    width: min(100%, 240px);
  }

  .promo-title-art {
    width: min(100%, 330px);
  }

  .promo-cta-stage,
  .promo-meta {
    width: min(100%, 286px);
  }

  .promo-cta-stage {
    height: 186px;
  }

  .promo-date-art,
  .promo-time-art {
    width: 112px;
  }

  .promo-logo {
    width: 74px;
  }

  .lead-modal-dialog {
    padding: var(--space-7);
  }

  .footer-grid {
    gap: var(--space-6);
  }
}

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

  .section {
    padding: var(--space-9) 0;
  }

  .site-header .btn-small {
    display: none;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(32px, 10.5vw, 44px);
  }

  .hero-live-row {
    gap: 8px;
  }

  .hero-info-row {
    gap: 8px;
  }

  .hero-live-badge {
    width: 56px;
  }

  .hero-webinar-art {
    width: 220px;
  }

  .hero-date-art {
    width: 106px;
  }

  .hero-topic-art {
    width: min(100%, 248px);
  }

  .hero-time-art {
    width: 82px;
  }

  .hero-divider {
    font-size: 20px;
  }

  .hero-actions,
  .hero-actions .btn,
  .lead-form .btn,
  .promo-stage-btn {
    width: 100%;
  }

  .hero-actions .btn {
    min-height: 52px;
    padding-inline: var(--space-5);
  }

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

  .program-card h3 {
    font-size: 22px;
  }

  .speaker-hero-card,
  .calendar-card,
  .lead-modal-dialog {
    border-radius: var(--radius-lg);
  }

  .speaker-hero-photo {
    min-height: 260px;
    max-height: 300px;
  }

  .speaker-hero-card::after {
    inset: 20px 0 124px;
  }

  .speaker-hero-meta {
    padding-right: 0;
  }

  .speaker-links {
    position: static;
    margin-top: var(--space-5);
    justify-content: flex-start;
  }

  .promo-card {
    padding-inline: 0;
  }

  .promo-stage-btn {
    min-width: 0;
    width: calc(100% - 28px);
  }

  .lead-modal-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    padding: var(--space-6);
  }

  .lead-modal-dialog h3 {
    margin-right: 34px;
    font-size: 24px;
  }

  .footer-grid {
    padding: var(--space-7) 0;
  }
}
