.webinar-page {
  overflow-x: hidden;
  background: #f3f3f0;
}

.webinar-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -70px;
  padding: 180px 0 104px;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.96), transparent 29%),
    linear-gradient(135deg, #f8f9f5 0%, #edf4fa 100%);
}

.webinar-hero::before {
  position: absolute;
  z-index: -2;
  top: 88px;
  right: max(-160px, calc((100vw - var(--max)) / 2 - 190px));
  width: min(55vw, 760px);
  aspect-ratio: 1;
  content: "";
  border-radius: 46% 54% 61% 39% / 42% 41% 59% 58%;
  background: linear-gradient(145deg, #b9dcf2 0 42%, #dcd3f6 42% 69%, #f2b6a7 69% 100%);
  box-shadow: 0 38px 100px rgba(43, 76, 132, 0.17);
  animation: webinar-shape 10s ease-in-out infinite;
}

.webinar-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 48%;
  content: "";
  background-image: radial-gradient(rgba(24, 61, 132, 0.18) 1.3px, transparent 1.3px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to left, #000 25%, transparent 88%);
  opacity: 0.43;
}

.webinar-orbit {
  position: absolute;
  z-index: -1;
  top: 174px;
  right: max(22px, calc((100vw - var(--max)) / 2));
  width: min(34vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(24, 61, 132, 0.14);
  border-radius: 50%;
  animation: webinar-spin 22s linear infinite;
}

.webinar-orbit span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #3475df;
  box-shadow: 0 5px 16px rgba(24, 61, 132, 0.24);
}

.webinar-orbit span:nth-child(1) { top: 6%; left: 27%; }
.webinar-orbit span:nth-child(2) { top: 43%; right: -9px; background: #39775f; }
.webinar-orbit span:nth-child(3) { bottom: 4%; left: 24%; background: #e17b61; }

.webinar-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 108px);
}

.webinar-hero-copy { position: relative; z-index: 2; }

.webinar-hero h1 {
  max-width: 720px;
  margin: 24px 0 28px;
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.webinar-hero h1 em {
  display: block;
  color: #183d84;
  font-style: normal;
}

.webinar-deck {
  max-width: 690px;
  color: #3f4a59;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.52;
}

.webinar-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin: 34px 0;
  padding: 18px 22px;
  border: 1px solid rgba(24, 61, 132, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 38px rgba(35, 57, 95, 0.08);
}

.webinar-date strong { color: #183d84; }
.webinar-date span { color: #505968; }
.webinar-date span + span::before { margin-right: 20px; color: #e17b61; content: "•"; }
.webinar-fine-print { margin-top: 20px; color: #66707e; font-size: 0.94rem; }

.webinar-build-card {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 4vw, 48px);
  color: #fff;
  border: 1px solid rgba(185, 220, 242, 0.28);
  border-radius: 38px;
  background: radial-gradient(circle at 90% 7%, rgba(185, 220, 242, 0.22), transparent 26%), linear-gradient(145deg, #111b2d, #14243d);
  box-shadow: 0 32px 85px rgba(24, 55, 105, 0.25);
}

.build-card-label { display: block; margin-bottom: 28px; color: #a9d8ff; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.16em; }
.build-step { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 16px; }
.build-step b { display: grid; width: 48px; height: 48px; place-items: center; color: #17243a; border-radius: 16px; background: #f8e8ad; }
.build-step:nth-of-type(4) b { background: #d6edd8; }
.build-step:nth-of-type(6) b { background: #f2b6a7; }
.build-step span { font-size: 1.14rem; font-weight: 750; line-height: 1.35; }
.build-line { width: 2px; height: 28px; margin: 5px 0 5px 23px; background: rgba(255, 255, 255, 0.25); }
.webinar-build-card p { margin: 30px 0 0; padding-top: 24px; color: rgba(255, 255, 255, 0.78); border-top: 1px solid rgba(255, 255, 255, 0.15); line-height: 1.6; }

.webinar-learn { padding: 105px 0; background: #fff; }
.webinar-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr); align-items: end; gap: 40px; margin-bottom: 52px; }
.webinar-section-heading h2, .demo-section h2, .webinar-register h2 { margin: 14px 0 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 0.98; letter-spacing: -0.055em; }
.webinar-section-heading > p { margin: 0; color: #596575; font-size: 1.2rem; line-height: 1.6; }
.webinar-learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.webinar-learning-grid article { min-height: 270px; padding: 32px; border-radius: 30px; }
.webinar-learning-grid article:nth-child(1) { background: #b9dcf2; }
.webinar-learning-grid article:nth-child(2) { background: #d6edd8; }
.webinar-learning-grid article:nth-child(3) { background: #f8e8ad; }
.webinar-learning-grid span { color: #183d84; font-size: 0.74rem; font-weight: 850; letter-spacing: 0.14em; }
.webinar-learning-grid h3 { margin: 62px 0 16px; font-size: 1.5rem; }
.webinar-learning-grid p { color: #334154; line-height: 1.6; }

.demo-section { padding: 105px 0; background: linear-gradient(135deg, #101827, #183d84); color: #fff; }
.demo-grid { display: grid; grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.15fr); align-items: center; gap: clamp(45px, 8vw, 120px); }
.demo-number { display: grid; aspect-ratio: 1; place-items: center; color: #17243a; border-radius: 42% 58% 61% 39% / 44% 43% 57% 56%; background: linear-gradient(145deg, #f8e8ad, #f2b6a7); box-shadow: 0 30px 70px rgba(0,0,0,.18); font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 900; letter-spacing: -0.06em; transform: rotate(-4deg); }
.demo-section .kicker { color: #a9d8ff; }
.demo-section > .section-shell p, .demo-section li { color: rgba(255,255,255,.82); font-size: 1.08rem; line-height: 1.65; }
.demo-section ul { padding-left: 22px; }
.demo-safety { margin: 28px 0; padding: 22px 24px; border: 1px solid rgba(185,220,242,.25); border-radius: 20px; background: rgba(255,255,255,.08); }
.demo-safety strong { color: #fff; }
.demo-section a { color: #a9d8ff; font-weight: 800; }

.webinar-register { padding: 110px 0; background: #eef3f8; }
.register-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.05fr); align-items: start; gap: clamp(42px, 7vw, 100px); }
.register-copy { position: sticky; top: 120px; }
.register-copy > p { margin-top: 24px; color: #505968; font-size: 1.08rem; line-height: 1.65; }
.register-details { display: grid; gap: 12px; margin-top: 32px; }
.register-details span { display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid rgba(18,24,38,.12); }
.register-details strong { color: #183d84; }
.webinar-form { padding: clamp(26px, 4vw, 42px); border: 1px solid rgba(18,24,38,.1); border-radius: 34px; background: #fff; box-shadow: 0 24px 70px rgba(35,57,95,.11); }
.webinar-form label { display: grid; gap: 9px; margin-bottom: 20px; color: #273445; font-weight: 720; }
.webinar-form label small { color: #76808d; font-size: .78rem; font-weight: 600; }
.webinar-form input, .webinar-form textarea { width: 100%; padding: 14px 15px; color: #121826; border: 1px solid rgba(18,24,38,.2); border-radius: 13px; background: #fbfcfd; }
.webinar-form input:focus, .webinar-form textarea:focus { border-color: #3475df; outline: 3px solid rgba(52,117,223,.15); }
.webinar-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.webinar-form .demo-choice, .webinar-form .consent { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.webinar-form .demo-choice { margin: 8px 0 6px; padding: 20px; border: 1px solid rgba(33,79,159,.18); border-radius: 18px; background: #eef6ff; }
.webinar-form .demo-choice input, .webinar-form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: #3475df; }
.recording-note { margin: 0 0 22px 54px; color: #606b78; font-size: .85rem; line-height: 1.5; }
.webinar-form .consent { font-size: .9rem; font-weight: 550; line-height: 1.5; }
.webinar-form .submit-button { width: 100%; border: 0; cursor: pointer; }
.webinar-form .form-disclaimer { margin: 14px 0 0; color: #727c88; font-size: .82rem; text-align: center; }
.demo-requested { margin: 28px 0; padding: 22px; border-radius: 20px; background: #d6edd8; }
.demo-requested p { margin: 8px 0 0; }

@keyframes webinar-shape { 0%,100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-14px); } }
@keyframes webinar-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .webinar-hero-grid, .demo-grid, .register-grid { grid-template-columns: 1fr; }
  .webinar-hero::before { right: -330px; width: 750px; opacity: .45; }
  .webinar-orbit { display: none; }
  .webinar-build-card { max-width: 620px; }
  .register-copy { position: static; }
}

@media (max-width: 700px) {
  .webinar-page .site-header nav a:not(.nav-cta) { display: none; }
  .webinar-hero { padding-top: 155px; }
  .webinar-hero h1 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .webinar-date { align-items: flex-start; flex-direction: column; }
  .webinar-date span + span::before { display: none; }
  .webinar-section-heading, .webinar-learning-grid, .webinar-form .form-row { grid-template-columns: 1fr; }
  .webinar-learning-grid article { min-height: 0; }
  .webinar-learning-grid h3 { margin-top: 34px; }
  .demo-number { width: min(78vw, 360px); }
  .register-grid { gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .webinar-hero::before, .webinar-orbit { animation: none; }
}
