/* readability pass: +2px on every font-size (applied) */
/* replay · page-specific */

.rp-hero { text-align: center; padding: clamp(72px, 11vh, 120px) 0 0; }
.rp-hero h1 { font-size: calc(clamp(30px, 4.6vw, 56px) + 2px); }
.rp-hero .lead { margin-top: 18px; }
.rp-player { max-width: 980px; margin: clamp(44px, 6vh, 60px) auto 0; }

/* title card on the left of the replay frame (the photo sits right) */
.player-title { position: absolute; z-index: 2; left: clamp(18px, 4.5%, 48px); top: 50%; transform: translateY(-50%); max-width: 38%; text-align: left; }
.player-title .k { display: block; font-family: var(--mono); font-size: 13.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.player-title .t { display: block; font-family: var(--display); font-stretch: 96%; font-weight: 800; font-size: calc(clamp(18px, 3vw, 34px) + 2px); line-height: 1.08; letter-spacing: -.02em; color: #fff; }
.player-title .s { display: block; margin-top: 12px; font-size: calc(clamp(12px, 1.3vw, 15px) + 2px); color: var(--text-2); }
.rp-player .player-play { left: 50%; }

/* ------------------------------- apply head -------------------------------- */
.apply { padding-top: clamp(72px, 10vh, 104px); }
.apply-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vh, 48px); }
.apply-head h2 { font-size: calc(clamp(26px, 3.4vw, 38px) + 2px); }
.apply-head .lead { margin-top: 14px; font-size: 19px; }

/* =========================================================================
   TYPEFORM (themed to Scaling With Content, like a creator's custom theme)
   ========================================================================= */
.tf { position: relative; max-width: 820px; margin: 0 auto; min-height: 520px; display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, rgba(59, 227, 107, .07), transparent 55%), #0d1311;
  border: 1px solid rgba(226, 255, 236, .12); border-radius: 18px; box-shadow: 0 50px 110px -60px rgba(0, 0, 0, .95);
  font-family: var(--sans); color: #f2f7f4; }
.tf-progress { height: 4px; background: rgba(226, 255, 236, .08); }
.tf-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .45s var(--ease); }
.tf-stage { flex: 1; display: flex; align-items: center; padding: clamp(40px, 6vw, 72px) clamp(22px, 7vw, 84px) clamp(84px, 9vw, 100px); }
.tf-slide { display: none; width: 100%; max-width: 640px; }
.tf-slide.active { display: block; animation: tfIn .5s var(--ease) both; }
.tf-slide.back { animation-name: tfInBack; }
@keyframes tfIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes tfInBack { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
.tf-q { display: flex; gap: 12px; align-items: flex-start; }
.tf-num { flex: none; display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; font-size: 17px; font-weight: 600; color: var(--accent); }
.tf-num svg { width: 13px; height: 13px; }
.tf-q h3 { font-family: var(--sans); font-size: calc(clamp(21px, 2.4vw, 26px) + 2px); line-height: 1.32; font-weight: 500; letter-spacing: -.01em; color: #f2f7f4; }
.tf-q h3 .req { color: var(--accent); }
.tf-help { margin: 8px 0 0; padding-left: 34px; font-size: 18px; color: rgba(242, 247, 244, .62); }
.tf-body { padding-left: 34px; margin-top: 26px; }
.tf-opts { display: flex; flex-direction: column; gap: 9px; max-width: 540px; }
.tf-opt { appearance: none; font-family: inherit; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px;
  padding: 8px 12px 8px 8px; border-radius: 6px; border: 1px solid rgba(59, 227, 107, .55); background: rgba(59, 227, 107, .10); color: var(--accent-2);
  font-size: 19px; line-height: 1.35; font-weight: 500; transition: background .15s ease, box-shadow .15s ease; }
.tf-opt:hover { background: rgba(59, 227, 107, .18); }
.tf-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tf-key { flex: none; width: 26px; height: 26px; border-radius: 4px; display: grid; place-items: center; font-size: 14.5px; font-weight: 700;
  border: 1px solid rgba(59, 227, 107, .55); background: #0d1311; color: var(--accent-2); transition: background .15s ease, color .15s ease; }
.tf-opt .tick { margin-left: auto; width: 18px; height: 18px; flex: none; color: var(--accent-2); opacity: 0; }
.tf-opt.sel { background: rgba(59, 227, 107, .24); box-shadow: inset 0 0 0 1px var(--accent); }
.tf-opt.sel .tf-key { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tf-opt.sel .tick { opacity: 1; }
.tf-opt.blink { animation: tfBlink .32s steps(2, end) 2; }
@keyframes tfBlink { 50% { background: rgba(59, 227, 107, .08); } }
.tf-input { width: 100%; max-width: 560px; font-family: inherit; font-size: calc(clamp(22px, 2.6vw, 28px) + 2px); color: var(--accent-2); background: transparent; border: 0;
  border-bottom: 1px solid rgba(124, 245, 158, .35); padding: 6px 0 10px; outline: none; border-radius: 0; transition: border-color .2s ease; }
.tf-input::placeholder { color: rgba(124, 245, 158, .38); }
.tf-input:focus { border-bottom: 2px solid var(--accent); padding-bottom: 9px; }
.tf-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.tf-ok { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 6px;
  font-family: inherit; font-size: 20px; font-weight: 700; background: var(--accent); color: var(--accent-ink); box-shadow: 0 3px 12px -2px rgba(59, 227, 107, .35);
  transition: filter .15s ease, transform .15s ease; }
.tf-ok:hover { filter: brightness(1.08); }
.tf-ok:active { transform: scale(.98); }
.tf-ok svg { width: 17px; height: 17px; }
.tf-hint { font-size: 15px; color: rgba(242, 247, 244, .66); }
.tf-hint b { font-weight: 700; color: rgba(242, 247, 244, .86); }
.tf-err { display: none; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 4px; background: #f7e1e1; color: #af0404; font-size: 16px; font-weight: 600; }
.tf-err.on { display: inline-flex; }
.tf-err svg { width: 15px; height: 15px; }

/* completion beat */
.tf-done { display: none; width: 100%; text-align: center; }
.tf-done.active { display: block; animation: tfIn .55s var(--ease) both; }
.tf-done .chk { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(59, 227, 107, .16); color: var(--accent); }
.tf-done .chk svg { width: 30px; height: 30px; }
.tf-done h3 { font-family: var(--sans); font-size: calc(clamp(22px, 2.6vw, 28px) + 2px); font-weight: 600; letter-spacing: -.01em; }
.tf-done p { margin: 10px 0 0; color: rgba(242, 247, 244, .66); font-size: 18px; }

/* bottom bar: Typeform branding + nav, like the real embed */
.tf-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; pointer-events: none; }
.tf-foot > * { pointer-events: auto; }
.tf-brand { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 6px; background: rgba(242, 247, 244, .08); color: rgba(242, 247, 244, .82);
  font-size: 15px; font-weight: 500; }
.tf-brand b { font-weight: 700; color: #fff; letter-spacing: -.01em; }
.tf-brand svg { width: 16px; height: 16px; }
.tf-nav { display: flex; gap: 1px; border-radius: 6px; overflow: hidden; }
.tf-nav button { appearance: none; border: 0; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.tf-nav button:disabled { opacity: .45; cursor: default; }
.tf-nav svg { width: 18px; height: 18px; }

/* =========================================================================
   CALENDLY (kept real: white, Calendly blue)
   ========================================================================= */
.booking { margin-top: clamp(64px, 9vh, 88px); }
.booking.revealed { animation: bookIn .7s var(--ease) both; }
@keyframes bookIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.booking-head { text-align: center; max-width: 600px; margin: 0 auto 32px; }
.booking-head h3 { font-size: calc(clamp(24px, 3vw, 32px) + 2px); font-weight: 800; }

.cy { --cy-blue: #006bff; position: relative; max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 300px minmax(0, 1fr) 236px; min-height: 520px; overflow: hidden;
  background: #fff; color: #1a1a1a; border-radius: 10px; box-shadow: 0 50px 110px -60px rgba(0, 0, 0, .95), 0 1px 8px rgba(0, 0, 0, .08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.45; }
.cy-ribbon { position: absolute; top: 0; right: 0; width: 104px; height: 104px; overflow: hidden; pointer-events: none; z-index: 3; }
.cy-ribbon span { position: absolute; top: 20px; right: -36px; width: 150px; transform: rotate(45deg); background: #505960; color: #fff; text-align: center;
  font-size: 9.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.15; padding: 5px 0 6px; text-transform: uppercase; }
.cy-ribbon span b { display: block; font-size: 14px; letter-spacing: 0; text-transform: none; }
.cy-info { padding: 28px 26px; border-right: 1px solid #e5e5e5; }
.cy-org { display: flex; align-items: center; justify-content: center; padding-bottom: 22px; margin: 0 -26px 22px; border-bottom: 1px solid #e5e5e5; }
.cy-org .lg { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: #0b0f0d; }
.cy-org .lg svg { width: 26px; height: 26px; }
.cy-host { font-size: 17px; color: #6b6b6b; font-weight: 600; margin-bottom: 4px; }
.cy-title { font-size: 26px; font-weight: 700; color: #1a1a1a; line-height: 1.22; margin: 0 0 20px; }
.cy-meta { display: flex; flex-direction: column; gap: 14px; color: #4d5055; font-weight: 600; font-size: 17px; }
.cy-meta div { display: flex; align-items: flex-start; gap: 10px; }
.cy-meta svg { width: 20px; height: 20px; flex: none; color: #6b6b6b; }
.cy-desc { margin: 22px 0 0; font-size: 16.5px; color: #4d5055; line-height: 1.55; }
.cy-cal { padding: 28px 28px 22px; min-width: 0; }
.cy-cal h4 { margin: 0 0 22px; font-family: inherit; font-size: 21px; font-weight: 700; letter-spacing: 0; color: #1a1a1a; }
.cy-month { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 18px; }
.cy-month b { font-size: 18px; font-weight: 500; color: #1a1a1a; min-width: 140px; text-align: center; }
.cy-month button { appearance: none; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #e6f0ff; color: var(--cy-blue); }
.cy-month button:disabled { background: transparent; color: #c4c4c4; cursor: default; }
.cy-month button svg { width: 18px; height: 18px; }
.cy-dow, .cy-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px 6px; }
.cy-dow span { text-align: center; font-size: 13.5px; font-weight: 500; color: #1a1a1a; letter-spacing: .04em; padding-bottom: 8px; }
.cy-day { appearance: none; border: 0; background: transparent; font-family: inherit; aspect-ratio: 1; max-width: 46px; width: 100%; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; font-size: 17.5px; color: #8c8c8c; padding: 0; }
.cy-day.av { background: #e6f0ff; color: var(--cy-blue); font-weight: 700; cursor: pointer; transition: background .15s ease; }
.cy-day.av:hover { background: #cce0ff; }
.cy-day.sel { background: var(--cy-blue); color: #fff; }
.cy-day.today { position: relative; }
.cy-day.today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cy-tz { margin-top: 22px; }
.cy-tz .l { font-size: 17px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.cy-tz .v { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: #1a1a1a; }
.cy-tz .v svg { width: 16px; height: 16px; color: #4d5055; }
.cy-times { padding: 28px 20px 22px 4px; display: flex; flex-direction: column; min-height: 0; }
.cy-times .lab { font-size: 17.5px; color: #1a1a1a; margin: 6px 0 22px; padding-top: 52px; }
.cy-slots { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: 360px; padding-right: 6px; }
.cy-slot { display: flex; gap: 8px; }
.cy-slot button { appearance: none; font-family: inherit; cursor: pointer; flex: 1; min-height: 52px; border-radius: 6px; font-size: 18px; font-weight: 700; transition: all .18s ease; }
.cy-slot .t { border: 1px solid rgba(0, 107, 255, .5); background: #fff; color: var(--cy-blue); }
.cy-slot .t:hover { border: 2px solid var(--cy-blue); }
.cy-slot .go { display: none; border: 0; background: var(--cy-blue); color: #fff; }
.cy-slot .go:hover { background: #0057d1; }
.cy-slot.sel .t { background: #666a73; color: #fff; border-color: #666a73; cursor: default; }
.cy-slot.sel .go { display: block; }
.cy-foot { position: absolute; left: 26px; bottom: 18px; display: flex; gap: 16px; font-size: 15px; color: var(--cy-blue); }
/* booked state */
.cy-booked { display: none; grid-column: 1 / -1; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px 28px 64px; }
.cy.booked .cy-info, .cy.booked .cy-cal, .cy.booked .cy-times, .cy.booked .cy-foot { display: none; }
.cy.booked .cy-booked { display: flex; animation: tfIn .5s var(--ease) both; }
.cy-booked .org { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: #0b0f0d; margin-bottom: 28px; }
.cy-booked .org svg { width: 26px; height: 26px; }
.cy-booked h3 { display: inline-flex; align-items: center; gap: 10px; font-family: inherit; font-size: 24px; font-weight: 700; letter-spacing: 0; color: #1a1a1a; }
.cy-booked h3 svg { width: 26px; height: 26px; color: #038164; }
.cy-booked > p { margin: 8px 0 26px; font-size: 17px; color: #4d5055; }
.cy-sum { text-align: left; border: 1px solid #e5e5e5; border-radius: 10px; padding: 22px 26px; min-width: min(420px, 100%); }
.cy-sum h4 { font-family: inherit; margin: 0 0 14px; font-size: 20px; font-weight: 700; letter-spacing: 0; color: #1a1a1a; }
.cy-sum div { display: flex; gap: 10px; align-items: flex-start; color: #4d5055; font-weight: 600; font-size: 17px; margin-top: 10px; }
.cy-sum svg { width: 19px; height: 19px; flex: none; color: #6b6b6b; margin-top: 1px; }
.cy-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; min-height: 46px; padding: 11px 24px; border-radius: 40px; background: var(--cy-blue); color: #fff; font-weight: 700; font-size: 17px; }
.cy-open:hover { background: #0057d1; }
.cy-open svg { width: 16px; height: 16px; }
.cy-noscript { text-align: center; margin-top: 22px; }

/* students + proof */
.rp-students { padding-top: clamp(96px, 14vh, 136px); }

@media (prefers-reduced-motion: reduce) {
  .tf-slide.active, .tf-done.active, .booking.revealed, .cy.booked .cy-booked { animation: none; }
  .tf-opt.blink { animation: none; }
  .tf-progress i { transition: none; }
}
@media (max-width: 920px) {
  .cy { grid-template-columns: 1fr; min-height: 0; }
  .cy-info { border-right: 0; border-bottom: 1px solid #e5e5e5; padding: 22px 22px; }
  .cy-org { margin: 0 -22px 18px; padding-bottom: 18px; }
  .cy-title { font-size: 23px; margin-bottom: 14px; }
  .cy-desc { display: none; }
  .cy-cal { padding: 24px 18px 8px; }
  .cy-times { padding: 8px 18px 26px; }
  .cy-times .lab { padding-top: 0; margin: 10px 0 14px; text-align: center; }
  .cy-slots { max-height: none; overflow: visible; padding-right: 0; }
  .cy-foot { position: static; padding: 0 22px 18px; }
  .cy-ribbon { transform: scale(.86); transform-origin: top right; }
}
@media (max-width: 560px) {
  .player-title { display: none; }
  .rp-player .player-play { left: 38%; }
  .tf { min-height: 540px; border-radius: 14px; }
  .tf-stage { align-items: flex-start; padding: 40px 18px 92px; }
  .tf-q { gap: 8px; }
  .tf-num { margin-top: 4px; font-size: 16px; }
  .tf-help, .tf-body { padding-left: 0; }
  .tf-hint { display: none; }
  .tf-opt { font-size: 18px; }
  .tf-foot { padding: 12px; }
  .cy-month { gap: 12px; }
  .cy-dow, .cy-grid { gap: 4px 2px; }
  .cy-day { font-size: 17px; }
}
