/* kept. live session page (webinar.html): a light page on the same token
   theme as the home page. Reuses site.css primitives (.wrap, .eyebrow, .sub,
   .cta, .reveal, .w, .wl-*); everything page-specific carries the wb- prefix.
   Layout: the seat card rides to the right of the headline, one screen; ember
   stays the only accent, per the color system. */

.wb { background: #ffffff; color: var(--text); position: relative; overflow-x: clip; }

/* warm washes behind the hero: ember only, faint enough to read as light */
.wb-glow { position: absolute; pointer-events: none; }
.wb-glow--a {
  top: -260px; right: -200px; width: 760px; height: 760px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(226, 127, 72, 0.10), rgba(226, 127, 72, 0) 70%);
}
.wb-glow--b {
  top: 26vh; right: 2vw; width: 600px; height: 600px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(226, 127, 72, 0.07), rgba(226, 127, 72, 0) 70%);
}
.wb-glow--c {
  top: 62vh; left: -180px; width: 540px; height: 540px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0) 70%);
}

.wb-live {
  margin-left: auto; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
}

/* ---------------- hero: copy left, seat card right, one screen ---------------- */
.wb-hero { padding: 20px 0 70px; }
.wb-hero-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(44px, 6vw, 92px); align-items: center;
  min-height: calc(100vh - 89px);
}
.wb-h1 {
  font-size: clamp(38px, 4.4vw, 60px); line-height: 1.07;
  margin-top: 18px; color: var(--text);
  text-shadow: 0 0 26px rgba(226, 127, 72, 0.32), 0 2px 58px rgba(226, 127, 72, 0.16);
}
.wb-sub { margin-top: 24px; max-width: 520px; font-size: 16px; }
.wb-sub--quiet { margin-top: 14px; font-size: 14.5px; color: var(--text-muted); }

/* ---------------- the seat card: white, one soft shadow ---------------- */
.wb-card {
  position: relative; border-radius: 20px; padding: 24px 26px 20px;
  background: #ffffff; border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 24px 70px rgba(17, 24, 39, 0.10);
}
.wb-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wb-seats {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--ember);
  background: var(--ember-soft); border: 1px solid rgba(226, 127, 72, 0.28);
  border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.wb-when {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-faint);
}
.wb-when strong { font-size: 16px; font-weight: 600; color: var(--text); }
.wb-when span { font-size: 13.5px; font-weight: 500; color: var(--text-muted); }
.wb-form { display: grid; gap: 14px; margin-top: 18px; }
.wb-field { display: grid; gap: 7px; }
.wb-field > span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}
.wb-in {
  height: 48px; padding: 0 15px; border-radius: 12px;
  border: 1px solid var(--border-2); background: #ffffff;
  color: var(--text); font-family: inherit; font-size: 15px; font-weight: 500;
  outline: none; transition: border-color 180ms ease, box-shadow 180ms ease;
}
.wb-in::placeholder { color: var(--text-faint); }
.wb-in:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-soft);
}
.wb-btn { margin-top: 4px; width: 100%; border-radius: 12px; gap: 10px; }
.wb-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.wb-fine {
  font-size: 12.5px; font-weight: 500; color: var(--text-muted);
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border-faint);
}

/* the confirmed state: the form gives way, the card stays */
.wb-card.done .wb-form, .wb-card.done .wb-when { display: none; }
.wb-done { padding: 18px 2px 8px; }
.wb-done:focus { outline: none; }
.wb-done-mark { font-size: 22px; font-weight: 500; letter-spacing: -0.05em; color: var(--text); }
.wb-done h3 { font-size: 28px; margin-top: 12px; color: var(--text); }
.wb-done .sub { margin: 12px 0 0; font-size: 15px; }
.wb-done-email { color: var(--text); font-weight: 600; }

/* ---------------- the section rows ---------------- */
.wb-cover { padding: 110px 0 130px; }
.wb-cover-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(48px, 6vw, 90px); align-items: start;
}
.wb-cover .sec-head .sub + .sub { margin-top: 14px; }
.wb-agenda { display: grid; gap: 14px; }
.wb-item {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--border-faint); border-radius: 14px;
  padding: 18px 20px; background: #fafbfc;
  font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--text-muted);
}
.wb-item i { width: 7px; height: 7px; border-radius: 999px; background: var(--ember); margin-top: 9px; flex-shrink: 0; display: block; }
.wb-item p { margin: 0; }
.wb-item strong { color: var(--text); font-weight: 600; }
.wb-item a { text-decoration: underline; text-underline-offset: 2px; }
.wb-item a:hover { color: var(--ember-deep); }

/* ---------------- closing row: flush left, one line, one door back up ---------------- */
.wb-close {
  margin-top: 110px; padding-top: 26px; border-top: 1px solid var(--border-faint);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.wb-close-line { margin: 0; font-size: 16px; font-weight: 500; color: var(--text-muted); }
.wb-close-line strong { color: var(--text); font-weight: 600; }
.wb-close .cta { margin-left: auto; }

.wb-footer { margin-top: 0; }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .wb-hero { padding: 40px 0 70px; }
  .wb-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
  .wb-h1 { font-size: clamp(38px, 7.4vw, 56px); }
  .wb-cover-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 720px) {
  .wb-cover { padding: 80px 0 90px; }
  .wb-card { padding: 20px 18px 16px; }
  .wb-close { margin-top: 70px; }
  .wb-close .cta { margin-left: 0; width: 100%; }
}


/* the calendar modal: shown once, right after a successful registration */
.wb-modal[hidden] { display: none !important; }
.wb-modal { position: fixed; inset: 0; background: var(--scrim); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 60; }
.wb-modal-card { width: min(480px, 100%); background: #ffffff; border: 1px solid var(--border); border-radius: 14px; padding: 30px 30px 22px; text-align: left; box-shadow: 0 28px 80px rgba(17, 24, 39, 0.22); }
.wb-modal-card h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 500; letter-spacing: -0.015em; margin: 6px 0 10px; color: var(--text); }
.wb-modal-card .sub { font-size: 16px; color: var(--text-muted); }
.wb-modal-cta { margin-top: 18px; display: inline-flex; }
.wb-modal-alt { font-size: 12.5px; color: var(--text-faint); margin-top: 12px; }
.wb-modal-skip { display: block; margin-top: 16px; background: none; border: none; color: var(--text-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.wb-modal-skip:hover { color: var(--text); }
