:root {
  color-scheme: dark;
  --acc: #3b82f6;
  --acc-soft: #85b5ff;
  --accSoft: #85b5ff;
  --accHover: #5c95f8;
  --accGlow: rgba(59, 130, 246, .5);
  --accBorder: rgba(133, 181, 255, .35);
  --accShadow: rgba(59, 130, 246, .35);
  --onAcc: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #16161d; }
body { margin: 0; background: #16161d; }
a { color: var(--acc-soft); text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
a:hover { color: var(--accHover); }
a[data-primary-cta]:hover,
a[data-secondary-cta]:hover { color: var(--onAcc); transform: translateY(-2px); background: var(--accHover) !important; }
button, a { -webkit-tap-highlight-color: transparent; }
iframe { display: block; width: 100%; border: 0; }

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 var(--accGlow); }
  70% { box-shadow: 0 0 0 22px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.booking-eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accSoft);
  text-align: center;
  margin-bottom: 16px;
}

/* iClosed switches to its side-by-side form + calendar layout at this width. */
.booking-section {
  width: min(1120px, calc(100vw - 48px));
  min-width: 0;
}
.booking-section--hero {
  max-width: none;
}
.booking-section--bottom {
  margin: 0 auto;
  padding: 72px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 1024px) {
  /*
   * Keep a wide iframe viewport so iClosed selects its horizontal layout, then
   * crop the provider page's white outer gutter around the centered dark card.
   */
  .booking-section [data-booking-slot].is-live {
    width: min(810px, 100%) !important;
    margin-inline: auto;
    overflow: hidden;
  }
  .booking-section [data-booking-slot].is-live iframe {
    width: min(1120px, calc(100vw - 48px)) !important;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  /*
   * iClosed's horizontal card is top-anchored in the iframe; any extra iframe
   * height exposes the provider page's light-gray background as a band under
   * the card. --booking-h is set by tracking.js: 490px for a 5-row calendar
   * month, +52px per extra row. (Durable fix: iClosed dashboard → scheduler
   * background #16161d, then this can relax again.)
   */
  .booking-section [data-booking-slot].is-live,
  .booking-section [data-booking-slot].is-live iframe {
    min-height: var(--booking-h, 490px) !important;
  }
}

/* Flush inline booking — no host box (border / radius / shadow) */
[data-booking-slot] {
  min-width: 0;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  color: #7d7a72;
  font-size: 14px;
}
[data-booking-slot].is-live {
  position: relative;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  min-height: 620px !important;
  box-shadow: none !important;
  color: inherit;
  font-size: inherit;
}
[data-video-slot].is-live-video { display: block !important; }
.booking-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #7d7a72;
  font-size: 14px;
  pointer-events: none;
}
.booking-loading::before {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--accBorder);
  border-top-color: var(--acc);
  animation: bookingSpin 0.9s linear infinite;
}
@keyframes bookingSpin {
  to { transform: rotate(360deg); }
}
[data-booking-slot].is-live iframe {
  width: 100%;
  min-height: 620px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

@media (max-width: 1023px) {
  [data-booking-slot].is-live,
  [data-booking-slot].is-live iframe {
    min-height: 900px !important;
  }
}

.launch-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.launch-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.launch-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.launch-steps__num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accSoft);
}
.launch-steps__title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.launch-steps__body {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #b9b6ad;
}

.thank-you { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; background: #16161d; color: #f2f0ec; font-family: Archivo, sans-serif; }
.thank-you__card { width: min(720px, 100%); text-align: center; }
.thank-you__eyebrow { color: var(--acc-soft); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.thank-you h1 { margin: 18px 0; font-size: clamp(34px, 7vw, 62px); line-height: 1; text-transform: uppercase; }
.thank-you p { margin: 0 auto 26px; max-width: 590px; color: #b9b6ad; font-size: 18px; line-height: 1.6; }
.call-details-widget { min-height: 360px; margin-top: 28px; border: 1px solid var(--accBorder); border-radius: 14px; overflow: hidden; background: #101015; }

@media (max-width: 640px) {
  .vsl-attn { font-size: 11px !important; padding: 8px 12px !important; letter-spacing: 0.08em !important; }
  .vsl-hero { padding: 16px 16px 20px !important; gap: 10px !important; }
  .vsl-eyebrow { font-size: 10px !important; letter-spacing: 0.16em !important; }
  .vsl-h1 { font-size: clamp(22px, 6.4vw, 28px) !important; line-height: 1.1 !important; }
  .vsl-sub { font-size: 14px !important; line-height: 1.35 !important; max-width: 34ch !important; }
  #video-offer { margin-top: 2px !important; }
  .booking-section { width: 100%; }
  .booking-section--bottom { padding: 56px 16px 0; }
  [data-booking-slot].is-live,
  [data-booking-slot].is-live iframe { min-height: 880px !important; }
  [data-video-slot] { border-radius: 10px !important; }
  .launch-steps li { grid-template-columns: 32px 1fr; gap: 12px; padding: 16px 0; }
  .launch-steps__title { font-size: 15px !important; }
  .launch-steps__body { font-size: 14px; }
  [data-video-slot] > div:first-child { width: 68px !important; height: 68px !important; }
  a[data-primary-cta], a[data-secondary-cta] { width: 100%; padding: 17px 18px !important; text-align: center; font-size: 15px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
