/* ─────────────────────────────────────────────────────────────────────────
 * clever-prep-mcat-platform.css
 * Hero of /mcat-platform/. Body sections use recipe CSS (bento, stats,
 * hiw-tabs, faq, cta) from clever-prep-recipes.css — no overrides needed.
 * ───────────────────────────────────────────────────────────────────────── */

.cp-mcatp-hero {
  position: relative;
  background: var(--cp-cream-bg, #F7F4ED);
  padding: clamp(96px, 14vw, 160px) clamp(20px, 5vw, 64px) clamp(80px, 10vw, 120px);
  text-align: center;
  overflow: hidden;
}
.cp-mcatp-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.cp-mcatp-hero__eyebrow { opacity: 0.65; }
.cp-mcatp-hero__title {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--cp-text-headline, #28354A);
  margin: 0;
  animation: cp-mcatp-reveal 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}
@keyframes cp-mcatp-reveal {
  from { opacity: 0; filter: blur(20px); }
  to   { opacity: 1; filter: blur(0); }
}
.cp-mcatp-hero__body {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--cp-text-secondary, #4a5568);
  margin: 0;
  max-width: 620px;
}
.cp-mcatp-hero__ctas {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  width: auto !important;
}

/* Body section spacing — keep recipe sections breathing. */
.cp-mcatp-wyg,
.cp-mcatp-proof,
.cp-mcatp-how,
.cp-mcatp-faq {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px);
}
.cp-mcatp-wyg { background: var(--cp-cream-bg, #F7F4ED); }
.cp-mcatp-proof    { background: #fff; }
.cp-mcatp-how      { background: var(--cp-cream-bg, #F7F4ED); }
.cp-mcatp-faq      { background: #fff; }

.cp-mcatp-wyg__inner,
.cp-mcatp-proof__inner,
.cp-mcatp-how__inner,
.cp-mcatp-faq__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.cp-mcatp-wyg__head,
.cp-mcatp-stats__head,
.cp-mcatp-how__head,
.cp-mcatp-faq__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.cp-mcatp-wyg__title,
.cp-mcatp-stats__title,
.cp-mcatp-how__title,
.cp-mcatp-faq__title {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cp-text-headline, #28354A);
  margin: 0;
  max-width: 720px;
}

/* Final CTA dot-grid colors on the orange band (same approach as
   .cp-about-final-cta). */
.cp-mcatp-final-cta {
  --cp-r-dot-color: #ffffff;
  --cp-r-dot-size: 22px;
  --cp-r-dot-opacity: 0.32;
  max-width: 1120px;
  margin: clamp(48px, 8vw, 96px) auto;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .cp-mcatp-hero__title { animation: none; opacity: 1; filter: none; }
}

/* ════════ WHAT YOU GET — bento (BYQ structure, CP design system) ════════ */
.cp-mcatp-wyg__body {
  font-family: var(--cp-font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--color-dark-48, #28354a7a);
  margin: 0;
  max-width: 46ch;
}

/* Asymmetric bento — visual | features+metric | tall feature */
.cp-mcatp-wyg__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 0.8fr;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
  align-items: stretch;
}
.cp-mcatp-wyg__cell { min-width: 0; }

/* Surfaces */
.cp-mcatp-wyg__media,
.cp-mcatp-wyg__feat,
.cp-mcatp-wyg__metric,
.cp-mcatp-wyg__tall {
  border-radius: var(--cp-radius-lg, 12px);
}

/* Left — media */
.cp-mcatp-wyg__media {
  position: relative;
  overflow: hidden;
  background: var(--color-dark-100, #28354a);
  min-height: 420px;
}
.cp-mcatp-wyg__media > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cp-mcatp-wyg__media-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  font-family: var(--cp-font-mono, ui-monospace, monospace);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; opacity: .82;
}

/* Phone-mockup variant — white card, device falls off the bottom edge only.
   Absolute so the phone overflows the FIXED (grid-stretched) cell height at the
   bottom while the notch stays visible up top. */
.cp-mcatp-wyg__media--phone {
  background: #fff;
  border: 1px solid var(--color-dark-8, #28354a14);
}
/* Higher specificity (2 classes) so it beats `.cp-mcatp-wyg__media > img`. */
.cp-mcatp-wyg__media--phone > .cp-mcatp-wyg__phone {
  position: absolute;
  inset: auto;                 /* clear the cover rule's inset:0 */
  left: 50%; right: auto; top: auto; bottom: -22%;
  transform: translateX(calc(-50% + 35px));
  height: 107%; width: auto; max-width: none;
  object-fit: contain; display: block;
  filter: drop-shadow(0 24px 40px rgba(40,53,74,0.18));
}

/* Middle column */
.cp-mcatp-wyg__mid { display: flex; flex-direction: column; gap: 16px; }
.cp-mcatp-wyg__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cp-mcatp-wyg__feat {
  background: #fff;
  border: 1px solid var(--color-dark-8, #28354a14);
  padding: clamp(18px, 1.8vw, 24px);
  display: flex; flex-direction: column; gap: 12px;
}
.cp-mcatp-wyg__ico {
  width: 38px; height: 38px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-light-100, #f7f6f5);
  color: var(--cp-orange, #ed863c);
}
.cp-mcatp-wyg__ico svg { width: 20px; height: 20px; }
/* Bare icon — no box/background, just the line icon (feature cards). */
.cp-mcatp-wyg__ico--bare { width: auto; height: auto; background: none; border-radius: 0; align-self: flex-start; justify-content: flex-start; }
.cp-mcatp-wyg__ico--bare svg { width: 40px; height: 40px; }
.cp-mcatp-wyg__ico--lg { width: 46px; height: 46px; background: rgba(255,255,255,0.1); color: var(--cp-orange, #ed863c); }
.cp-mcatp-wyg__ico--lg svg { width: 24px; height: 24px; }
.cp-mcatp-wyg__feat-title {
  font-family: var(--cp-font-heading, Georgia, serif); font-weight: 400;
  font-size: 19px; line-height: 1.2; color: var(--color-dark-100, #28354a); margin: 0;
}
.cp-mcatp-wyg__feat-body {
  font-family: var(--cp-font-body); font-size: 14px; line-height: 1.5;
  color: var(--color-dark-64, #28354aa3); margin: 0;
}

/* Dark metric card */
.cp-mcatp-wyg__metric {
  background: var(--color-dark-100, #28354a);
  color: var(--color-light-100, #f7f6f5);
  padding: clamp(22px, 2.2vw, 30px);
  display: flex; flex-direction: column; gap: 10px; flex: 1;
  justify-content: center;
}
.cp-mcatp-wyg__metric-label { color: rgba(255,255,255,0.6); }
.cp-mcatp-wyg__metric-num {
  font-family: var(--cp-font-heading, Georgia, serif); font-weight: 400;
  font-size: clamp(44px, 4.5vw, 60px); line-height: 1; letter-spacing: -.02em;
  color: #fff; display: inline-flex; align-items: baseline; gap: 6px;
}
.cp-mcatp-wyg__metric-num span { font-size: .42em; color: var(--cp-orange, #ed863c); letter-spacing: 0; }
.cp-mcatp-wyg__metric-sub {
  font-family: var(--cp-font-body); font-size: 13.5px; line-height: 1.5;
  color: rgba(255,255,255,0.66); margin: 0; max-width: 34ch;
}

/* Right — tall feature (gradient bg, dark-blue text) */
.cp-mcatp-wyg__tall {
  background: url('/wp-content/uploads/2026/06/study-plan-grad2.webp') center/cover no-repeat;
  color: var(--color-dark-100, #28354a);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
}
.cp-mcatp-wyg__tall-title {
  font-family: var(--cp-font-heading, Georgia, serif); font-weight: 400;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.15; color: var(--color-dark-100, #28354a); margin: 0;
}
.cp-mcatp-wyg__tall-text {
  font-family: var(--cp-font-body); font-size: 14.5px; line-height: 1.6;
  color: var(--color-dark-88, #28354ae0); margin: 8px 0 0;
}
.cp-mcatp-wyg__tall-list {
  list-style: none; margin: auto 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cp-mcatp-wyg__tall-list li {
  font-family: var(--cp-font-body); font-size: 14px; color: var(--color-dark-100, #28354a);
  padding-left: 22px; position: relative;
}
.cp-mcatp-wyg__tall-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cp-orange, #ed863c);
}

/* CTA row */
.cp-mcatp-wyg__cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cp-mcatp-wyg__cta-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cp-mcatp-wyg__avatars { display: inline-flex; }
.cp-mcatp-wyg__avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--color-light-100, #f7f6f5);
  margin-left: -12px; background: var(--color-dark-8, #28354a14);
}
.cp-mcatp-wyg__avatar:first-child { margin-left: 0; }
.cp-mcatp-wyg__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-mcatp-wyg__cta-copy { display: flex; flex-direction: column; }
.cp-mcatp-wyg__cta-strong {
  font-family: var(--cp-font-body); font-size: 15px; font-weight: 500;
  color: var(--color-dark-100, #28354a);
}
.cp-mcatp-wyg__cta-soft {
  font-family: var(--cp-font-body); font-size: 14px;
  color: var(--color-dark-48, #28354a7a);
}
.cp-mcatp-wyg__cta-btn.cp-btn { flex: 0 0 auto; }

/* Responsive */
@media (max-width: 991px) {
  .cp-mcatp-wyg__grid { grid-template-columns: 1fr 1fr; }
  .cp-mcatp-wyg__tall { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .cp-mcatp-wyg__grid { grid-template-columns: 1fr; }
  .cp-mcatp-wyg__feats { grid-template-columns: 1fr 1fr; }
  .cp-mcatp-wyg__media { min-height: 300px; }
  .cp-mcatp-wyg__cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 479px) {
  .cp-mcatp-wyg__feats { grid-template-columns: 1fr; }
}

/* ════════ BUILT ON RESULTS — proof (BYQ hero structure, CP system) ════════ */
/* min-width:0 throughout so the max-content marquee track stays contained by
   overflow:hidden instead of blowing out the flex layout. */
.cp-mcatp-proof__top { display: flex; flex-direction: column; gap: clamp(36px, 4.5vw, 56px); margin-bottom: clamp(48px, 7vw, 80px); min-width: 0; width: 100%; }

/* Top tile — 50/50 row */
.cp-mcatp-proof__row { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(32px, 5vw, 64px); min-width: 0; }
.cp-mcatp-proof__col-l { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cp-mcatp-proof__col-r {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px;
  padding-left: clamp(20px, 2.5vw, 32px);
  border-left: 1px solid var(--color-dark-16, #28354a29);
}
.cp-mcatp-proof__title {
  font-family: var(--cp-font-heading, Georgia, serif); font-weight: 400;
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.02em;
  color: var(--color-dark-100, #28354a); margin: 0; max-width: 14ch;
}
.cp-mcatp-proof__lede {
  font-family: var(--cp-font-body); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5;
  color: var(--color-dark-88, #28354ae0); margin: 0; max-width: 38ch;
}

/* School wordmark marquee */
.cp-mcatp-proof__marquee { position: relative; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
.cp-mcatp-proof__track {
  display: flex; align-items: center; gap: clamp(36px, 4vw, 64px);
  width: max-content; flex-wrap: nowrap !important;
  animation: cp-proof-marquee 32s linear infinite;
}
.cp-mcatp-proof__marquee:hover .cp-mcatp-proof__track { animation-play-state: paused; }
.cp-mcatp-proof__logo { height: 22px; width: auto; flex: none; opacity: .55; }
@keyframes cp-proof-marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
.cp-mcatp-proof__fade { position: absolute; top: 0; bottom: 0; width: 22%; z-index: 2; pointer-events: none; }
.cp-mcatp-proof__fade--l { left: 0; background: linear-gradient(90deg, #fff, #fff0); }
.cp-mcatp-proof__fade--r { right: 0; background: linear-gradient(90deg, #fff0, #fff); }

/* Hero image + overlaid testimonial */
.cp-mcatp-proof__media {
  position: relative; width: 100%; height: clamp(380px, 42vw, 560px);
  border-radius: var(--radius-large, 20px); overflow: hidden;
  display: flex; align-items: flex-end; padding: clamp(20px, 2.5vw, 28px);
}
.cp-mcatp-proof__media > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.cp-mcatp-proof__quote {
  position: relative; z-index: 1; margin: 0;
  width: clamp(320px, 36vw, 480px); max-width: 100%;  /* px — site root is 62.5%, so rem widths render half-size */
  text-align: left;                /* override global figure/figcaption centering */
  background: var(--color-light-100, #f7f6f5);
  border-radius: var(--cp-radius-lg, 12px);
  padding: clamp(24px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: clamp(28px, 4vw, 52px);
}
.cp-mcatp-proof__quote blockquote {
  margin: 0; border: 0; padding: 0;   /* override Bricks default blockquote line */
  font-family: var(--cp-font-body); font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.45; color: var(--color-dark-100, #28354a);
}
.cp-mcatp-proof__quote-cap { display: flex; align-items: center; gap: 12px; text-align: left; }
.cp-mcatp-proof__quote-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-dark-100, #28354a); color: var(--color-light-100, #f7f6f5);
  font-family: var(--cp-font-heading, Georgia, serif); font-size: 16px; letter-spacing: .01em;
}
.cp-mcatp-proof__quote-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-mcatp-proof__quote-name { font-family: var(--cp-font-body); font-size: 14px; font-weight: 500; color: var(--color-dark-100, #28354a); }
.cp-mcatp-proof__quote-role { color: var(--color-dark-64, #28354aa3); }

/* Stats list — label left, big serif number right, hairline rows */
.cp-mcatp-proof__stats { width: 100%; border-top: 1px solid var(--color-dark-32, #28354a52); }
.cp-mcatp-proof__stat {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--color-dark-32, #28354a52);
}
.cp-mcatp-proof__stat-label {
  font-family: var(--cp-font-body); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.4;
  color: var(--color-dark-88, #28354ae0); max-width: 38ch;
}
.cp-mcatp-proof__stat-num {
  font-family: var(--cp-font-heading, Georgia, serif); font-weight: 400;
  font-size: clamp(40px, 4.5vw, 56px); line-height: 1; letter-spacing: -.02em;
  color: var(--color-dark-100, #28354a); white-space: nowrap;
}

@media (max-width: 767px) {
  .cp-mcatp-proof__row { flex-direction: column; align-items: flex-start; }
  .cp-mcatp-proof__col-l, .cp-mcatp-proof__col-r { width: 100%; }
  .cp-mcatp-proof__col-r { padding-left: 0; border-left: 0; }
  .cp-mcatp-proof__media { height: auto; min-height: 360px; }
}
@media (max-width: 479px) {
  .cp-mcatp-proof__stat { grid-template-columns: 1fr; gap: 8px; }
  .cp-mcatp-proof__quote { max-width: none; width: 100%; }
}

/* ════════ Waitlist side-sheet (Get Started CTAs) ════════
   Visibility-based (not display:none) so BOTH the intro and exit animate.
   When closed, visibility flips to hidden only AFTER the slide/fade finishes. */
.cp-mcatp-sheet {
  position: fixed; inset: 0; z-index: 9999;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s linear .42s;
}
.cp-mcatp-sheet.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.cp-mcatp-sheet__backdrop {
  position: absolute; inset: 0; background: rgba(17,9,12,0.5);
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity .4s ease, backdrop-filter .4s ease, -webkit-backdrop-filter .4s ease;
}
.cp-mcatp-sheet.is-open .cp-mcatp-sheet__backdrop {
  opacity: 1; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.cp-mcatp-sheet__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(460px, 100%); background: var(--color-light-100, #f7f6f5);
  box-shadow: -24px 0 60px rgba(17,9,12,0.22);
  padding: clamp(28px, 4vw, 48px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
  transform: translateX(100%); opacity: 0;
  transition: transform .42s cubic-bezier(.22,.61,.36,1), opacity .3s ease .04s;
}
.cp-mcatp-sheet.is-open .cp-mcatp-sheet__panel {
  transform: translateX(0); opacity: 1;
  transition: transform .46s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .cp-mcatp-sheet__panel, .cp-mcatp-sheet__backdrop { transition-duration: .01ms; }
}
.cp-mcatp-sheet__close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: #28354a0f; color: var(--color-dark-100, #28354a);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.cp-mcatp-sheet__close:hover { background: #28354a1f; }
.cp-mcatp-sheet__eyebrow { color: var(--cp-orange, #ed863c); margin-top: 6px; }
.cp-mcatp-sheet__title {
  font-family: var(--cp-font-heading, Georgia, serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -.01em;
  color: var(--color-dark-100, #28354a); margin: 0;
}
.cp-mcatp-sheet__lede {
  font-family: var(--cp-font-body); font-size: 15px; line-height: 1.55;
  color: var(--color-dark-64, #28354aa3); margin: 0;
}
.cp-mcatp-sheet__form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.cp-mcatp-sheet__field { display: flex; flex-direction: column; gap: 5px; }
.cp-mcatp-sheet__field label {
  font-family: var(--cp-font-body); font-size: 12.5px; font-weight: 500;
  color: var(--color-dark-88, #28354ae0);
}
.cp-mcatp-sheet__field input {
  height: 46px; padding: 0 14px; border-radius: var(--cp-radius-lg, 12px);
  border: 1px solid var(--color-dark-16, #28354a29); background: #fff;
  font-family: var(--cp-font-body); font-size: 14px; color: var(--color-dark-100, #28354a);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.cp-mcatp-sheet__field input:focus {
  border-color: var(--cp-orange, #ed863c);
  box-shadow: 0 0 0 3px rgba(237,134,60,0.18);
}
.cp-mcatp-sheet__submit.cp-btn { width: 100%; height: 50px; margin-top: 4px; justify-content: center; }
.cp-mcatp-sheet__perks {
  list-style: none; margin: 18px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--color-dark-8, #28354a14);
  display: flex; flex-direction: column; gap: 10px;
}
.cp-mcatp-sheet__perks li {
  font-family: var(--cp-font-body); font-size: 13.5px; color: var(--color-dark-88, #28354ae0);
  padding-left: 22px; position: relative;
}
.cp-mcatp-sheet__perks li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cp-orange, #ed863c);
}
/* Brevo plugin honeypot + success/error states inside the sheet */
.cp-mcatp-sheet__form .cpbrevo-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.cp-mcatp-sheet__form[data-brevo-state="done"] .cp-mcatp-sheet__field,
.cp-mcatp-sheet__form[data-brevo-state="done"] .cp-mcatp-sheet__submit { display: none; }
.cp-mcatp-sheet .cpbrevo-error { color: #b42318; font-size: 13px; margin-top: 6px; }

/* Hero device mockup below the Get Started button */
.cp-mcatp-hero__shot {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: clamp(20px, 3vw, 40px) auto 0;
}
.cp-mcatp-hero__shot img { width: 100%; height: auto; display: block; }
