:root {
  --apt-video-ink: #10243f;
  --apt-video-muted: #5e6d82;
  --apt-video-line: rgba(104, 126, 153, .2);
  --apt-video-teal: #08a8a0;
  --apt-video-teal-dark: #077c79;
  --apt-video-blue: #3157d6;
  --apt-video-purple: #7f5cff;
  --apt-video-danger: #b32d2e;
  --apt-video-surface: rgba(255, 255, 255, .88);
  --apt-video-shadow: 0 24px 70px rgba(29, 52, 84, .13);
}

.apt-video-offer-shell,
.apt-video-thread-panel {
  box-sizing: border-box;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--apt-video-ink);
}

.apt-video-offer-shell *,
.apt-video-thread-panel * { box-sizing: border-box; }

.apt-video-offer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 72px;
}

.apt-video-offer-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 28px;
  min-height: 330px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(65, 96, 151, .16);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,248,255,.94) 52%, rgba(241,237,255,.92)),
    #f7fbff;
  box-shadow: var(--apt-video-shadow);
}

.apt-video-orb {
  position: absolute;
  z-index: -1;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .32;
}
.apt-video-orb-a { right: -150px; top: -180px; background: radial-gradient(circle, #6fdad3, transparent 67%); }
.apt-video-orb-b { left: 25%; bottom: -260px; background: radial-gradient(circle, #9c88ff, transparent 67%); }

.apt-video-kicker,
.apt-video-eyebrow {
  display: inline-block;
  color: var(--apt-video-teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.apt-video-qa-badge {
  display: inline-flex;
  margin-left: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(127, 92, 255, .28);
  border-radius: 999px;
  color: #6845d8;
  background: rgba(127, 92, 255, .09);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.apt-video-offer-copy h1 {
  max-width: 760px;
  margin: 14px 0 16px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: .98;
  letter-spacing: -.055em;
}
.apt-video-offer-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--apt-video-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}
.apt-video-offer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.apt-video-offer-facts span {
  padding: 11px 14px;
  border: 1px solid var(--apt-video-line);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  color: var(--apt-video-muted);
  font-size: 13px;
}
.apt-video-offer-facts strong { color: var(--apt-video-ink); }

.apt-video-readiness-card {
  padding: 24px;
  border: 1px solid rgba(179, 45, 46, .16);
  border-radius: 24px;
  background: rgba(255, 245, 246, .76);
  text-align: left;
}
.apt-video-readiness-card.is-ready {
  border-color: rgba(8, 168, 160, .24);
  background: rgba(231, 252, 249, .82);
}
.apt-video-readiness-card span,
.apt-video-readiness-card small { display: block; }
.apt-video-readiness-card span { color: var(--apt-video-muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.apt-video-readiness-card strong { display: block; margin: 10px 0 8px; font-size: 32px; letter-spacing: -.04em; }
.apt-video-readiness-card small { color: var(--apt-video-muted); line-height: 1.5; }

.apt-video-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}
.apt-video-panel,
.apt-video-thread-panel {
  border: 1px solid var(--apt-video-line);
  border-radius: 28px;
  background: var(--apt-video-surface);
  box-shadow: 0 18px 50px rgba(30, 50, 78, .09);
}
.apt-video-panel { padding: clamp(24px, 4vw, 38px); }
.apt-video-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.apt-video-panel-head h2 { margin: 7px 0 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.apt-video-state,
.apt-video-thread-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef1f6;
  color: #5b6678;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.apt-video-state.is-ready,
.apt-video-thread-state.is-ready { background: #dcf8f4; color: #08766f; }

.apt-video-steps {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.apt-video-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(104,126,153,.15);
  border-radius: 18px;
  background: rgba(248,251,255,.75);
}
.apt-video-steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--apt-video-teal), var(--apt-video-blue));
  color: white;
  font-size: 12px;
  font-weight: 900;
}
.apt-video-steps strong { display: block; margin-bottom: 4px; }
.apt-video-steps p { margin: 0; color: var(--apt-video-muted); font-size: 14px; line-height: 1.55; }

.apt-video-safety,
.apt-video-thread-safety {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(49,87,214,.16);
  border-radius: 17px;
  background: rgba(239,244,255,.78);
}
.apt-video-safety p,
.apt-video-thread-safety span { margin: 0; color: var(--apt-video-muted); font-size: 13px; line-height: 1.55; }

.apt-video-start-form { display: grid; gap: 15px; }
.apt-video-start-form > label:not(.apt-video-check) { display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
.apt-video-start-form em { color: var(--apt-video-muted); font-weight: 500; }
.apt-video-start-form input[type="text"],
.apt-video-start-form input[type="email"],
.apt-video-start-form input[type="tel"],
.apt-video-start-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(85, 109, 141, .26);
  border-radius: 14px;
  background: #fff;
  color: var(--apt-video-ink);
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.apt-video-start-form input:focus,
.apt-video-start-form textarea:focus { border-color: var(--apt-video-teal); box-shadow: 0 0 0 4px rgba(8,168,160,.12); }
.apt-video-check { display: flex; align-items: flex-start; gap: 10px; color: var(--apt-video-muted); font-size: 12.5px; line-height: 1.45; }
.apt-video-check input { flex: 0 0 auto; margin-top: 3px; }
.apt-video-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }

.apt-video-primary,
.apt-video-secondary {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s, opacity .18s, box-shadow .18s;
}
.apt-video-primary { color: #fff; background: linear-gradient(135deg, var(--apt-video-teal), var(--apt-video-blue)); box-shadow: 0 12px 28px rgba(34,99,176,.22); }
.apt-video-secondary { color: var(--apt-video-ink); background: #edf2f7; }
.apt-video-primary:hover,
.apt-video-secondary:hover { transform: translateY(-1px); }
.apt-video-primary:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
.apt-video-form-status,
.apt-video-join-status { min-height: 20px; margin: 0; color: var(--apt-video-muted); font-size: 13px; }
.apt-video-form-status.is-error,
.apt-video-join-status.is-error { color: var(--apt-video-danger); }
.apt-video-extension-note,
.apt-video-fallback { color: var(--apt-video-muted); font-size: 12px; line-height: 1.55; }
.apt-video-offline-box { padding: 22px; border-radius: 18px; background: #f3f6fa; }
.apt-video-offline-box p { margin-top: 0; }
.apt-video-offline-box a { font-weight: 800; color: var(--apt-video-blue); }

/* Secure customer thread panel. */
.apt-video-thread-panel {
  margin: 0 0 22px;
  padding: clamp(18px, 3vw, 26px);
  background: linear-gradient(145deg, rgba(244,255,253,.96), rgba(246,247,255,.96));
}
.apt-video-thread-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.apt-video-thread-head h3 { margin: 5px 0 6px; font-size: 24px; letter-spacing: -.03em; }
.apt-video-thread-head p { margin: 0; color: var(--apt-video-muted); line-height: 1.5; }
.apt-video-join-consent { margin: 18px 0 14px; }
.apt-video-thread-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.apt-video-embed {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 420px;
  margin-top: 18px;
  border: 1px solid rgba(30,52,84,.18);
  border-radius: 20px;
  background: #07111f;
  box-shadow: 0 22px 48px rgba(3,16,32,.22);
}
.apt-video-embed iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

@media (max-width: 850px) {
  .apt-video-offer-hero,
  .apt-video-offer-grid { grid-template-columns: 1fr; }
  .apt-video-readiness-card { max-width: 360px; }
  .apt-video-offer-shell { width: min(100% - 20px, 1180px); margin-top: 12px; }
  .apt-video-offer-hero { border-radius: 24px; }
  .apt-video-panel { border-radius: 22px; }
}

@media (max-width: 540px) {
  .apt-video-offer-hero { padding: 26px 20px; }
  .apt-video-panel { padding: 21px 17px; }
  .apt-video-offer-copy h1 { font-size: 42px; }
  .apt-video-panel-head,
  .apt-video-thread-head { display: grid; }
  .apt-video-embed,
  .apt-video-embed iframe { min-height: 330px; }
}

/* ===== V2.0.2 — Live Video Public Contrast + Sales Polish =====
 * The APT theme intentionally uses white marketing headings on dark pages.
 * This offer uses a bright glass surface, so every visible text color is
 * explicitly scoped here to prevent inherited white-on-white rendering.
 */
body .apt-video-offer-shell {
  color-scheme: light;
  --apt-video-ink: #0b1f38;
  --apt-video-muted: #4f6279;
  --apt-video-line: rgba(63, 94, 132, .22);
  --apt-video-surface: rgba(247, 251, 255, .97);
  color: var(--apt-video-ink) !important;
  -webkit-text-fill-color: initial;
}

body .apt-video-offer-shell .apt-video-offer-hero {
  border-color: rgba(72, 114, 169, .24) !important;
  background:
    radial-gradient(circle at 85% 4%, rgba(72, 231, 217, .24), transparent 35%),
    radial-gradient(circle at 18% 100%, rgba(125, 92, 255, .18), transparent 43%),
    linear-gradient(135deg, #f8fcff 0%, #eaf6ff 53%, #f2efff 100%) !important;
  box-shadow: 0 30px 78px rgba(3, 22, 49, .23) !important;
}

body .apt-video-offer-shell .apt-video-offer-copy h1,
body .apt-video-offer-shell .apt-video-panel h2,
body .apt-video-offer-shell .apt-video-steps strong,
body .apt-video-offer-shell .apt-video-start-form > label > span,
body .apt-video-offer-shell .apt-video-safety strong,
body .apt-video-offer-shell .apt-video-readiness-card strong {
  color: #0b1f38 !important;
  -webkit-text-fill-color: #0b1f38 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

body .apt-video-offer-shell .apt-video-offer-copy h1 {
  max-width: 720px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: .98;
}

body .apt-video-offer-shell .apt-video-offer-copy > p,
body .apt-video-offer-shell .apt-video-steps p,
body .apt-video-offer-shell .apt-video-safety p,
body .apt-video-offer-shell .apt-video-check,
body .apt-video-offer-shell .apt-video-extension-note,
body .apt-video-offer-shell .apt-video-form-status,
body .apt-video-offer-shell .apt-video-offline-box,
body .apt-video-offer-shell .apt-video-readiness-card small {
  color: #4f6279 !important;
  -webkit-text-fill-color: #4f6279 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

body .apt-video-offer-shell .apt-video-kicker,
body .apt-video-offer-shell .apt-video-eyebrow {
  color: #087c78 !important;
  -webkit-text-fill-color: #087c78 !important;
}

body .apt-video-offer-shell .apt-video-qa-badge {
  border-color: rgba(104, 69, 216, .32) !important;
  background: rgba(104, 69, 216, .10) !important;
  color: #5d36cc !important;
  -webkit-text-fill-color: #5d36cc !important;
}

body .apt-video-offer-shell .apt-video-offer-facts span {
  border-color: rgba(63, 94, 132, .22) !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #4b6078 !important;
  -webkit-text-fill-color: #4b6078 !important;
  box-shadow: 0 7px 20px rgba(41, 75, 113, .06);
}
body .apt-video-offer-shell .apt-video-offer-facts strong {
  color: #0b1f38 !important;
  -webkit-text-fill-color: #0b1f38 !important;
}

body .apt-video-offer-shell .apt-video-readiness-card {
  border-color: rgba(181, 60, 78, .22) !important;
  background: rgba(255, 243, 246, .92) !important;
  box-shadow: 0 16px 34px rgba(66, 31, 48, .08);
}
body .apt-video-offer-shell .apt-video-readiness-card.is-ready {
  border-color: rgba(8, 148, 139, .28) !important;
  background: linear-gradient(145deg, rgba(227, 253, 248, .98), rgba(238, 252, 255, .95)) !important;
  box-shadow: 0 16px 36px rgba(8, 126, 121, .11);
}
body .apt-video-offer-shell .apt-video-readiness-card span {
  color: #53677d !important;
  -webkit-text-fill-color: #53677d !important;
}
body .apt-video-offer-shell .apt-video-readiness-card.is-ready strong {
  color: #08766f !important;
  -webkit-text-fill-color: #08766f !important;
}

body .apt-video-offer-shell .apt-video-panel {
  border-color: rgba(63, 94, 132, .22) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(90, 205, 226, .10), transparent 34%),
    linear-gradient(145deg, rgba(250, 253, 255, .99), rgba(238, 246, 253, .98)) !important;
  color: #0b1f38 !important;
  -webkit-text-fill-color: initial;
  box-shadow: 0 22px 56px rgba(4, 24, 52, .15) !important;
}

body .apt-video-offer-shell .apt-video-steps li {
  border-color: rgba(64, 96, 135, .19) !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 7px 20px rgba(31, 64, 102, .05);
}
body .apt-video-offer-shell .apt-video-steps li > span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(40, 103, 182, .20);
}

body .apt-video-offer-shell .apt-video-safety {
  border-color: rgba(190, 130, 35, .25) !important;
  background: linear-gradient(145deg, rgba(255, 250, 232, .98), rgba(255, 246, 214, .92)) !important;
}
body .apt-video-offer-shell .apt-video-safety strong {
  color: #654610 !important;
  -webkit-text-fill-color: #654610 !important;
}
body .apt-video-offer-shell .apt-video-safety p {
  color: #725a2e !important;
  -webkit-text-fill-color: #725a2e !important;
}

body .apt-video-offer-shell .apt-video-state {
  border: 1px solid rgba(63, 94, 132, .16);
  background: #e9eef5 !important;
  color: #4b5d72 !important;
  -webkit-text-fill-color: #4b5d72 !important;
}
body .apt-video-offer-shell .apt-video-state.is-ready {
  border-color: rgba(8, 148, 139, .22);
  background: #daf8f2 !important;
  color: #08766f !important;
  -webkit-text-fill-color: #08766f !important;
}

body .apt-video-offer-shell .apt-video-start-form input[type="text"],
body .apt-video-offer-shell .apt-video-start-form input[type="email"],
body .apt-video-offer-shell .apt-video-start-form input[type="tel"],
body .apt-video-offer-shell .apt-video-start-form textarea {
  border-color: rgba(61, 93, 130, .32) !important;
  background: #ffffff !important;
  color: #10243f !important;
  -webkit-text-fill-color: #10243f !important;
  caret-color: #087c78;
  box-shadow: inset 0 1px 0 rgba(18, 45, 74, .03);
}
body .apt-video-offer-shell .apt-video-start-form input::placeholder,
body .apt-video-offer-shell .apt-video-start-form textarea::placeholder {
  color: #7a899b !important;
  -webkit-text-fill-color: #7a899b !important;
  opacity: 1 !important;
}
body .apt-video-offer-shell .apt-video-start-form input:focus,
body .apt-video-offer-shell .apt-video-start-form textarea:focus {
  border-color: #08a8a0 !important;
  box-shadow: 0 0 0 4px rgba(8, 168, 160, .14) !important;
}
body .apt-video-offer-shell .apt-video-start-form em {
  color: #687a8f !important;
  -webkit-text-fill-color: #687a8f !important;
}

body .apt-video-offer-shell .apt-video-primary {
  background: linear-gradient(100deg, #08a8a0, #3157d6 65%, #7f5cff) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 15px 34px rgba(49, 87, 214, .28) !important;
}
body .apt-video-offer-shell .apt-video-primary:hover {
  box-shadow: 0 18px 38px rgba(49, 87, 214, .34) !important;
}
body .apt-video-offer-shell .apt-video-offline-box {
  border: 1px solid rgba(63, 94, 132, .16);
  background: rgba(242, 247, 252, .94) !important;
}
body .apt-video-offer-shell .apt-video-offline-box a {
  color: #244fca !important;
  -webkit-text-fill-color: #244fca !important;
}

@media (max-width: 850px) {
  body .apt-video-offer-shell .apt-video-offer-hero { min-height: 0; }
  body .apt-video-offer-shell .apt-video-offer-copy h1 { font-size: clamp(40px, 10vw, 58px); }
}


/* V2.1.0: do not reserve empty offer-page height below the live-video cards. */
body .apt-video-offer-shell { min-height: 0 !important; margin-bottom: 28px !important; }
body .apt-video-offer-shell:empty { display: none !important; }

/* ===== V2.1.1 — Live Video Public Page Shell Fix =====
 * The generic WordPress page template wraps shortcode content in a dark panel
 * and gives the surrounding section large vertical padding. On this dedicated
 * product page that created a large empty block between the offer cards and
 * the footer. Scope the cleanup only to /live-coach-video/.
 */
body.apt-path-live-coach-video .section {
  padding-top: clamp(28px, 4vw, 48px) !important;
  padding-bottom: clamp(24px, 3vw, 38px) !important;
}
body.apt-path-live-coach-video .section > .apt-wrap > .panel {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.apt-path-live-coach-video .section > .apt-wrap > .panel::before {
  display: none !important;
}
body.apt-path-live-coach-video .section > .apt-wrap > .panel > h1 {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 18px !important;
  padding: 0 !important;
}
body.apt-path-live-coach-video .section > .apt-wrap > .panel > div {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  color: inherit !important;
  line-height: normal !important;
}
body.apt-path-live-coach-video .section > .apt-wrap > .panel > div > p:empty,
body.apt-path-live-coach-video .section > .apt-wrap > .panel > div > br:last-child {
  display: none !important;
}
body.apt-path-live-coach-video .apt-video-offer-shell {
  width: min(1180px, calc(100% - 32px)) !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
}
body.apt-path-live-coach-video .apt-video-offer-grid {
  margin-bottom: 0 !important;
}
@media (max-width: 850px) {
  body.apt-path-live-coach-video .section {
    padding-top: 18px !important;
    padding-bottom: 24px !important;
  }
  body.apt-path-live-coach-video .section > .apt-wrap > .panel > h1,
  body.apt-path-live-coach-video .apt-video-offer-shell {
    width: min(100% - 20px, 1180px) !important;
  }
}


/* v2.2.0 — discoverable request entry */
.apt-coach-live-video-entry .apt-coach-video-entry-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.apt-video-entry-card {
  margin:28px auto;
  padding:24px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:center;
  border:1px solid rgba(91,215,255,.28);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(7,30,61,.96),rgba(29,20,77,.94));
  box-shadow:0 20px 55px rgba(2,12,34,.24);
  color:#eef8ff;
}
.apt-video-entry-card h2 { margin:6px 0 8px; color:#fff; font-size:clamp(1.45rem,3vw,2.2rem); }
.apt-video-entry-card p { margin:0; color:#c7d9ed; max-width:760px; }
.apt-video-entry-card-action { min-width:190px; display:grid; gap:4px; text-align:right; }
.apt-video-entry-card-action strong { font-size:1.45rem; color:#fff; }
.apt-video-entry-card-action span { color:#b8cce2; font-size:.88rem; }
.apt-video-entry-card-action a {
  margin-top:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background:linear-gradient(90deg,#21c8d9,#7257ff);
  color:#fff;
  font-weight:800;
  text-decoration:none;
}
@media (max-width:720px) {
  .apt-video-entry-card { grid-template-columns:1fr; }
  .apt-video-entry-card-action { text-align:left; min-width:0; }
}

.apt-video-direct-room[hidden] { display: none !important; }
.apt-video-direct-room { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.apt-video-fallback strong { color: inherit; font-weight: 800; }
