/*
 * Per masterclass sales page additions (single-courses.php). Why this file
 * exists: see inc/auto/masterclass-sales.php. Uses the tokens from main.css.
 */

/* requirements and modules side by side, once audience moved to the fit block */
.course-facts.is-two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .course-facts.is-two { grid-template-columns: 1fr; } }

/* this masterclass or AI Champions */
.mc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.mc-opt {
  background: var(--kagoj-card);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.mc-opt.is-best { border: 2px solid var(--gada); }
.mc-opt .label { color: var(--dhoa-dark); }
.mc-opt.is-best .label { color: var(--gada); }
.mc-opt h3 { font-size: 1.2rem; line-height: 1.4; }
.mc-opt .p {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.mc-opt .p .was { font-family: var(--f-mono); font-size: .5em; font-weight: 400; text-decoration: line-through; opacity: .45; }
.mc-opt ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.mc-opt li { font-size: .95rem; line-height: 1.55; padding-left: 24px; position: relative; color: var(--dhoa-dark); }
.mc-opt li::before { content: "✓"; position: absolute; left: 0; color: var(--shobuj); font-weight: 700; }
.mc-opt .btn { justify-content: center; text-align: center; }
.mc-opt .btn-ghost { color: var(--ink); }
.mc-more { font-size: .9rem; font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { .mc-compare { grid-template-columns: 1fr; } }

/* the pass: every masterclass it unlocks */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.mc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--kagoj-card);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 20px 22px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.mc-card:hover, .mc-card:focus-visible { border-color: var(--gada); transform: translateY(-1px); }
.mc-card h3 { font-size: 1.08rem; line-height: 1.4; }
.mc-card p { font-size: .93rem; line-height: 1.55; color: var(--dhoa-dark); margin: 0; }
.mc-card .mc-meta { margin-top: auto; font-size: .86rem; color: var(--dhoa-dark); }
.mc-card .mc-meta .mono { color: var(--ink); font-weight: 600; }
.mc-card.is-books { background: var(--shobuj-soft); border-color: transparent; }
.mc-sum {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: baseline;
  font-size: 1rem;
  line-height: 1.5;
}
.mc-sum s { opacity: .55; }
.mc-sum .save { color: var(--shobuj); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .mc-card { transition: none; } .mc-card:hover { transform: none; } }

/* ------------------------------------------------------------------
   Copy 13 (docs/offer/copy13-phase2b.md): course page order and blocks.
   ------------------------------------------------------------------ */

/* One H1: the course name as a small first line, the outcome below it. */
.sales-hero h1 .h1-kicker {
  display: block;
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gada-bright);
  margin-bottom: 8px;
}
.sales-hero h1 .h1-main { display: block; }
.sales-hero .hero-note {
  margin-top: 14px;
  max-width: 52ch;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--dhoa);
  border-left: 3px solid var(--gada-bright);
  padding-left: 12px;
}

/* Hero button and price, only where the buy box is not beside the hero. */
.hero-cta-m { display: none; }
@media (max-width: 940px) {
  .hero-cta-m { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; max-width: 520px; }
  .hero-cta-m .btn { justify-content: center; text-align: center; }
  .hero-cta-price { font-size: .9rem; color: var(--dhoa); text-align: center; }
  .hero-cta-price .mono { color: var(--pd-paper, #fff); font-weight: 600; }
  .hero-cta-price s { opacity: .6; }
}

/* The small next step after the problem. */
.ctx-band { padding-block: 0 8px; }
.ctx-band .wrap { display: flex; justify-content: center; }
.ctx-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.ctx-cta:hover, .ctx-cta:focus-visible { border-color: var(--gada); color: var(--gada); }
#curriculum { scroll-margin-top: 80px; }

/* Mechanism: five numbered steps. */
.mech-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.mech-steps li {
  background: var(--kagoj-card);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.mech-steps .mech-n {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--gada); color: var(--pd-paper, #fff);
  font-weight: 700; font-size: .95rem;
}
.mech-steps b { font-size: 1.05rem; }
.mech-steps li > span:last-child { font-size: .93rem; line-height: 1.6; color: var(--dhoa-dark); }
.mech-note { margin-top: 18px; font-size: .9rem; line-height: 1.6; color: var(--dhoa-dark); max-width: 70ch; }

/* Device, Tool and Cost. */
.needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.need { background: var(--kagoj-card); border: 1px solid var(--line-light); border-radius: 12px; padding: 18px 20px; min-width: 0; }
.need .label { color: var(--gada); }
.need p { margin-top: 8px; font-size: .95rem; line-height: 1.65; color: var(--ink); }

/* The live break-even under "Individual Course বনাম AI Champions". */
.decide { margin-top: 18px; font-size: .95rem; line-height: 1.65; color: var(--dhoa-dark); max-width: 70ch; }
.decide a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pass-decide { background: var(--kagoj-card); border: 1px solid var(--line-light); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.pass-decide .pass-prices { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 1rem; line-height: 1.5; }
.pass-decide .pass-prices s { opacity: .55; }
.pass-decide .decide { margin-top: 0; }
.pass-decide .payback { font-size: .93rem; line-height: 1.6; }
.pass-decide .payback small { display: block; color: var(--dhoa-dark); font-size: .82rem; }
.pass-decide .pass-risk { font-size: .9rem; line-height: 1.6; color: var(--dhoa-dark); }
.pass-decide .two { display: flex; flex-wrap: wrap; gap: 12px; }
.pass-decide .btn { justify-content: center; }
.pass-decide .btn-ghost { color: var(--ink); }
@media (max-width: 520px) { .pass-decide .two .btn { flex: 1 1 100%; } }

/* Verified review label. */
.quote .who .verified {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--pd-accent-tint, rgba(185,83,60,.18));
  font-size: .72rem;
  font-weight: 600;
  vertical-align: middle;
}

/* Copy 13 phase 3: what the course leaves you with, beside the tall buy box on
   wide screens (the left column ended half way down the box). Paper Dusk: a
   ruled note on the ink hero, accent ticks. Phones never see it; they get the
   full "কোর্স শেষে" list further down. */
.hero-take { margin-top: 34px; max-width: 560px; padding: 20px 24px 18px; border: 1px solid rgba(237, 230, 214, .16); border-left: 3px solid var(--pd-accent, #B9533C); border-radius: 12px; background: rgba(237, 230, 214, .04); }
.hero-take-l { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--pd-accent, #B9533C); margin-bottom: 10px; filter: brightness(1.25); }
.hero-take ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hero-take li { position: relative; padding-left: 26px; font-size: .98rem; line-height: 1.55; color: rgba(237, 230, 214, .88); }
.hero-take li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--pd-accent, #B9533C); border-bottom: 2px solid var(--pd-accent, #B9533C); transform: rotate(-45deg); filter: brightness(1.25); }
@media (max-width: 940px) { .hero-take { display: none; } }
