/* =========================================================================
   Replay page · on top of /assets/brand.css + /register/funnel.css
   Faked UIs: Typeform application, Calendly booking (gated).
   ========================================================================= */

.hero--replay { padding-bottom: 0; }
.hero--replay .wrap { max-width: 1040px; }
.eyebrow--live { display: inline-flex; align-items: center; gap: 10px; color: var(--accent) !important; }
.eyebrow--live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.js .eyebrow--live .dot { animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 9px rgba(185, 66, 60, 0); } }
.rp-h1 { max-width: 900px; margin-inline: auto; }
.player--replay { margin-top: clamp(44px, 5vw, 56px); }
.player--replay::after { background: radial-gradient(75% 75% at 50% 48%, rgba(10, 18, 32, 0.08), rgba(10, 18, 32, 0.5)); }

.apply .sec-head .lead { max-width: 560px; margin-inline: auto; }

/* ---------------- Typeform ---------------- */
.typeform {
  --tf: #0445af;
  position: relative; max-width: 820px; margin: 0 auto; min-height: 560px; display: flex; flex-direction: column;
  background: #fff; color: #191919; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07); box-shadow: 0 40px 90px -44px rgba(23, 40, 66, 0.55);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.tf-slide { display: none; flex: 1; flex-direction: column; justify-content: center; padding: 64px 72px 110px; }
.tf-slide.active { display: flex; animation: tfIn 0.45s var(--ease); }
@keyframes tfIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tf-slide.back { animation-name: tfBack; }
@keyframes tfBack { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.tf-qnum { display: inline-flex; align-items: center; gap: 6px; color: var(--tf); font-size: 16px; margin-bottom: 10px; }
.tf-qnum svg { width: 14px; height: 14px; }
.tf-q { margin: 0; font-family: inherit; font-size: clamp(22px, 2.4vw, 26px); font-weight: 400; line-height: 1.35; letter-spacing: 0; color: #191919; }
.tf-q .req { color: var(--tf); }
.tf-desc { margin: 10px 0 0; font-size: 18px; color: rgba(25, 25, 25, 0.6); }
.tf-opts { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 28px; max-width: 100%; }
.tf-opt {
  display: flex; align-items: center; gap: 12px; min-width: min(380px, 100%); max-width: 100%; min-height: 46px; padding: 7px 12px 7px 8px;
  border: 1px solid rgba(4, 69, 175, 0.6); border-radius: 5px; background: rgba(4, 69, 175, 0.1);
  color: var(--tf); font-family: inherit; font-weight: 400; font-size: 18px; line-height: 1.35; text-align: left; cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}
.tf-opt:hover { background: rgba(4, 69, 175, 0.2); }
.tf-opt.sel { box-shadow: inset 0 0 0 1px var(--tf); background: rgba(4, 69, 175, 0.24); }
.tf-opt.flash { animation: tfFlash 0.32s steps(2) 1; }
@keyframes tfFlash { 50% { background: rgba(4, 69, 175, 0.08); } }
.tf-key { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(4, 69, 175, 0.6); border-radius: 3px; background: #fff; font-size: 13px; font-weight: 700; }
.tf-opt.sel .tf-key { background: var(--tf); color: #fff; }
.tf-opt .tick { width: 18px; height: 18px; margin-left: auto; opacity: 0; flex: none; }
.tf-opt.sel .tick { opacity: 1; }
.tf-fields { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.tf-field span { display: block; font-size: 15px; color: rgba(25, 25, 25, 0.6); margin-bottom: 4px; }
.tf-field input {
  width: 100%; padding: 6px 0 9px; border: 0; border-bottom: 1px solid rgba(4, 69, 175, 0.4); outline: none; background: transparent;
  font-family: inherit; font-weight: 400; font-size: clamp(20px, 2.3vw, 26px); color: var(--tf); border-radius: 0;
}
.tf-field input::placeholder { color: rgba(4, 69, 175, 0.35); }
.tf-field input:focus { border-bottom: 2px solid var(--tf); padding-bottom: 8px; }
.tf-err { min-height: 22px; margin: 12px 0 0; font-size: 15px; color: #af0404; }
.tf-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.tf-ok {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 4px;
  background: var(--tf); color: #fff; font-family: inherit; font-weight: 700; font-size: 19px; cursor: pointer; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}
.tf-ok:hover { background: #033b96; }
.tf-ok svg { width: 18px; height: 18px; }
.tf-hint { font-size: 13px; color: rgba(25, 25, 25, 0.7); }
.tf-hint kbd { font-family: inherit; font-weight: 700; font-size: 13px; }
.tf-done { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 40px 110px; }
.tf-done.active { display: flex; animation: tfIn 0.5s var(--ease); }
.tf-done .chk { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(4, 69, 175, 0.1); color: var(--tf); margin-bottom: 22px; }
.tf-done .chk svg { width: 30px; height: 30px; }
.tf-done h3 { font-family: inherit; font-size: 28px; font-weight: 400; letter-spacing: 0; color: #191919; }
.tf-done p { margin: 10px 0 0; font-size: 18px; color: rgba(25, 25, 25, 0.6); }
.tf-bottom { position: absolute; left: 0; right: 0; bottom: 0; }
.tf-progress { height: 4px; background: rgba(4, 69, 175, 0.15); }
.tf-progress i { display: block; height: 100%; width: 0; background: var(--tf); transition: width 0.4s var(--ease); }
.tf-brandbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; }
.tf-brand { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 4px; background: #262627; color: #fff; font-size: 13px; }
.tf-brand b { font-weight: 700; }
.tf-nav { display: flex; gap: 1px; border-radius: 4px; overflow: hidden; }
.tf-nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: var(--tf); color: #fff; cursor: pointer; }
.tf-nav button:disabled { opacity: 0.45; cursor: default; }
.tf-nav svg { width: 18px; height: 18px; }

/* ---------------- booking (gated) ---------------- */
.booking { margin-top: clamp(80px, 9vw, 112px); scroll-margin-top: 24px; }
.booking[hidden] { display: none; }
.booking.in { animation: tfIn 0.6s var(--ease); }
.booking__head { margin-bottom: 40px; }

/* ---------------- Calendly ---------------- */
.calendly {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; min-height: 520px;
  background: #fff; color: #1a1a1a; border-radius: 10px; overflow: hidden; border: 1px solid #dadada;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08), 0 40px 90px -46px rgba(23, 40, 66, 0.5);
  font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px;
}
.cy-info { padding: 28px 26px; border-right: 1px solid #e6e6e6; }
.cy-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.cy-hostname { margin-top: 14px; font-size: 16px; font-weight: 600; color: #737373; }
.cy-title { margin: 6px 0 20px; font-size: 26px; font-weight: 700; line-height: 1.2; color: #0a2540; }
.cy-meta { display: flex; flex-direction: column; gap: 14px; color: #4d5055; font-size: 16px; font-weight: 600; }
.cy-meta div { display: flex; align-items: flex-start; gap: 10px; }
.cy-meta svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.cy-desc { margin: 22px 0 0; font-size: 15px; line-height: 1.55; color: #4d5055; }
.cy-cal { padding: 28px 28px 22px; min-width: 0; }
.cy-cal h4 { margin: 0 0 22px; font-size: 20px; font-weight: 700; color: #0a2540; }
.cy-month { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 18px; }
.cy-month b { font-size: 16px; font-weight: 400; color: #1a1a1a; min-width: 140px; text-align: center; }
.cy-navb { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f0f5ff; color: #006bff; display: grid; place-items: center; cursor: pointer; }
.cy-navb:disabled { background: transparent; color: #c4c4c4; cursor: default; }
.cy-navb svg { width: 18px; height: 18px; }
.cy-dow, .cy-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; justify-items: center; }
.cy-dow { margin-bottom: 8px; }
.cy-dow span { font-size: 12px; font-weight: 400; color: #1a1a1a; letter-spacing: 0.04em; }
.cy-day { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; font: inherit; font-size: 16px; color: #a6a6a6; padding: 0; }
.cy-day.av { background: #f0f5ff; color: #006bff; font-weight: 700; cursor: pointer; }
.cy-day.av:hover { background: #dce8ff; }
.cy-day.today { position: relative; }
.cy-day.today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cy-day.sel { background: #006bff; color: #fff; }
.cy-tz { margin-top: 22px; font-size: 15px; }
.cy-tz b { display: block; font-weight: 700; margin-bottom: 6px; }
.cy-tz span { display: inline-flex; align-items: center; gap: 8px; color: #1a1a1a; }
.cy-tz svg { width: 16px; height: 16px; }
.cy-times { width: 250px; padding: 76px 22px 22px 6px; display: flex; flex-direction: column; }
.cy-times[hidden] { display: none; }
.cy-lab { font-size: 16px; color: #1a1a1a; margin-bottom: 18px; }
.cy-slots { display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow: auto; padding-right: 4px; }
.cy-row { display: flex; gap: 8px; }
.cy-slot {
  flex: 1; min-height: 52px; border: 1px solid rgba(0, 107, 255, 0.5); border-radius: 4px; background: #fff; color: #006bff;
  font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: flex 0.2s, background 0.2s, color 0.2s;
}
.cy-slot:hover { border: 2px solid #006bff; }
.cy-slot.sel { flex: 0 0 48%; background: #666a73; border-color: #666a73; color: #fff; }
.cy-confirm { flex: 0 0 48%; min-height: 52px; border: 0; border-radius: 4px; background: #006bff; color: #fff; font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; animation: tfIn 0.25s var(--ease); }
.cy-confirm:hover { background: #0057d0; }
.cy-booked { display: none; grid-column: 1 / -1; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 30px; min-height: 520px; }
.calendly.booked .cy-info, .calendly.booked .cy-cal, .calendly.booked .cy-times { display: none; }
.calendly.booked .cy-booked { display: flex; animation: tfIn 0.5s var(--ease); }
.cy-check { width: 64px; height: 64px; border-radius: 50%; background: #e6f0ff; color: #006bff; display: grid; place-items: center; margin-bottom: 20px; }
.cy-check svg { width: 30px; height: 30px; }
.cy-booked h3 { font-family: inherit; font-size: 26px; font-weight: 700; letter-spacing: 0; color: #0a2540; }
.cy-booked p { margin: 12px 0 0; font-size: 17px; color: #4d5055; line-height: 1.55; }
.cy-booked p b { color: #0a2540; }
.cy-small { font-size: 15px !important; }
.cy-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding: 10px 20px; border-top: 1px solid #e6e6e6; }
.cy-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #737373; }
.cy-brand svg { width: 18px; height: 18px; }
.cy-brand b { color: #1a1a1a; }

@media (max-width: 960px) {
  .calendly { grid-template-columns: 1fr; }
  .cy-info { border-right: 0; border-bottom: 1px solid #e6e6e6; }
  .cy-times { width: auto; padding: 0 24px 26px; }
}
@media (max-width: 700px) {
  .typeform { min-height: 600px; border-radius: 14px; }
  .tf-slide { padding: 40px 20px 110px; }
  .tf-q { font-size: 21px; }
  .tf-desc { font-size: 17px; }
  .tf-opt { min-width: 100%; font-size: 17px; }
  .tf-done { padding: 40px 20px 110px; }
  .tf-done h3 { font-size: 24px; }
  .cy-info { padding: 22px 18px; }
  .cy-title { font-size: 22px; }
  .cy-cal { padding: 22px 12px 18px; }
  .cy-dow, .cy-grid { gap: 2px; }
  .cy-day { width: 40px; height: 40px; font-size: 15px; }
  .cy-times { padding: 0 16px 22px; }
}

/* ---- mobile hardening (references/mobile.md) ---- */
img, svg, video, canvas, iframe { max-width: 100%; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }

/* poster: zoom toward the stage so the slide text on the left screen stays out of frame */
.player--replay img { transform: scale(1.5); transform-origin: 100% 55%; }
