/* Course Builder — public course page styles (ERP_INTEGRATION.md §5, §9).
 *
 * Ported by hand from docs/course_builder/prototypes/assets/cb-page.css, the
 * approved design. Hand-written and namespaced, not Tailwind: every class
 * starts with cbp-, every custom property with --cbp-, and nothing here styles
 * an element outside .cbp (the page root) or .cbp-portal (things appended to
 * <body>, e.g. the Phase 4 lead form). The site's header, menu, footer and
 * fonts come from base.html (Plus Jakarta Sans, Space Grotesk, Inter).
 *
 * Differences from the prototype file, all because this runs inside the real
 * site rather than a bare page:
 *   - its fake site chrome (.site-*) is gone;
 *   - the prototype relied on browser defaults the site's Tailwind preflight
 *     removes, and the site sets global heading fonts/colours and a cream body;
 *     the scoped resets below put back what the prototype assumed;
 *   - --cbp-hdr follows the real header (4rem below 768 px, 5rem above);
 *   - the tabs bar and the mobile bar sit under the site header's stacking
 *     layer (z-index 50) so its menus open over them; the mobile bar sits above
 *     the site's 56 px bottom nav.
 * Brand tokens are the site's own (tailwind.config.js): navy #23418D, amber
 * #E8A623, ink #0F1535, cream #F7F5EF.
 */
.cbp, .cbp-portal {
  --cbp-navy: #23418D; --cbp-navy-50: #eff3fb; --cbp-navy-100: #dbe4f4; --cbp-navy-200: #b8c9e9; --cbp-navy-600: #23418D; --cbp-navy-700: #1d3574; --cbp-navy-800: #17295b; --cbp-navy-900: #121f45; --cbp-navy-950: #0a132b;
  --cbp-amber: #E8A623; --cbp-amber-50: #fdf7ea; --cbp-amber-100: #fbecc7; --cbp-amber-200: #f6d88a; --cbp-amber-300: #f1c04d; --cbp-amber-600: #c5861a; --cbp-amber-700: #9d6315; --cbp-amber-800: #724716;
  --cbp-pink: #F2295B; --cbp-green: #15803d; --cbp-green-50: #ecfdf3;
  --cbp-ink: #0F1535; --cbp-ink-soft: #3D445C; --cbp-mute: #6B7280; --cbp-line: #E5E7EB; --cbp-line-2: #eef0f4;
  --cbp-cream: #F7F5EF; --cbp-cream-soft: #FCFBF7; --cbp-surface: #F8FAFC; --cbp-white: #fff;
  --cbp-sh-soft: 0 1px 2px rgba(12,16,32,.04), 0 2px 6px rgba(12,16,32,.05);
  --cbp-sh-lift: 0 8px 24px -4px rgba(12,16,32,.12), 0 2px 6px rgba(12,16,32,.06);
  --cbp-sh-card: 0 18px 48px -18px rgba(10,19,43,.35), 0 2px 8px rgba(10,19,43,.08);
  --cbp-sh-glow: 0 20px 40px -20px rgba(35,65,141,.45);
  --cbp-f-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --cbp-f-body: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --cbp-hdr: 5rem; --cbp-wrap: 1200px; --cbp-aside: 360px; --cbp-colgap: 56px;
  --cbp-ease: cubic-bezier(.16,1,.3,1);}
/* The site header is Tailwind h-16 md:h-20; the root font size varies, so rem. */
@media (max-width: 767px) { .cbp, .cbp-portal { --cbp-hdr: 4rem; } }

/* ------------------------------------------------------------ scoped base */
.cbp { position: relative; background: #fff; color: var(--cbp-ink); font-family: var(--cbp-f-body); font-size: 16px; line-height: 1.6; letter-spacing: normal; -webkit-font-smoothing: antialiased; }
.cbp *, .cbp *::before, .cbp *::after, .cbp-portal *, .cbp-portal *::before, .cbp-portal *::after { box-sizing: border-box; }
/* Specificity (0,1,0) on purpose: above the site's element rules, below any
   cbp- class rule further down (a button's colour, the display headings). */
.cbp :where(img) { max-width: 100%; display: block; }
.cbp :where(a) { color: inherit; }
.cbp :where(button) { font: inherit; color: inherit; cursor: pointer; }
/* The site styles h1–h4 globally (Space Grotesk, ink, weight 600) and its
   preflight zeroes heading weights; the prototype's card titles inherit the
   body font and colour and are bold. */
.cbp :where(h1, h2, h3, h4) { font-family: inherit; color: inherit; font-weight: 700; letter-spacing: normal; font-feature-settings: normal; }
/* The site sets every <em> in Instrument Serif italic, amber; the prototype
   uses <em> for fact labels, badges, counts and chips in the body font. */
.cbp :where(em, i), .cbp-portal :where(em, i) { font-family: inherit; font-style: italic; font-weight: inherit; color: inherit; letter-spacing: inherit; }
html:has(.cbp--editor) { scroll-behavior: auto; }
.cbp-i { flex: none; display: inline-block; vertical-align: middle; }
[data-cbp] [hidden] { display: none !important; }

/* ---------------------------------------------------------------- layout */
.cbp { position: relative; }
.cbp-wrap { width: 100%; max-width: calc(var(--cbp-wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.cbp-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--cbp-aside); column-gap: var(--cbp-colgap); }
.cbp-main { min-width: 0; padding: 8px 0 24px; }
.cbp-aside { position: relative; z-index: 5; }
.cbp-sticky { position: sticky; top: calc(var(--cbp-hdr) + 64px); padding-bottom: 32px; }
.cbp-seg--first .cbp-sticky { padding-top: 0; }
.cbp-seg:not(.cbp-seg--first) .cbp-sticky { padding-top: 40px; }
.cbp-mobile-buy { display: none; }
@media (max-width: 1023px) {
  .cbp-grid { grid-template-columns: minmax(0, 1fr); }
  .cbp-aside, .cbp-hero-spacer { display: none; }
  .cbp-mobile-buy { display: block; margin-top: -8px; position: relative; z-index: 3; }
  .cbp-wrap { padding: 0 16px; }
}

/* ------------------------------------------------------------ typography */
.cbp-h1 { font-family: var(--cbp-f-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 14px; }
.cbp-h2 { font-family: var(--cbp-f-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.cbp-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cbp-amber-700); margin-bottom: 10px; }
.cbp-sub { color: var(--cbp-ink-soft); font-size: 16px; margin: 10px 0 0; max-width: 62ch; }
.cbp-note { color: var(--cbp-mute); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; }
.cbp-prose { color: var(--cbp-ink-soft); font-size: 15.5px; }
.cbp-prose p { margin: 0 0 12px; }
.cbp-prose a { color: var(--cbp-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cbp-prose strong { color: var(--cbp-ink); }
/* Rich text brings lists, sub-headings, quotes and tables the prototype's
   samples didn't have; the site's preflight strips their browser styles. */
.cbp-prose ul, .cbp-prose ol { margin: 0 0 12px; padding-left: 1.3em; }
.cbp-prose ul { list-style: disc; }
.cbp-prose ol { list-style: decimal; }
.cbp-prose li { margin: 0 0 4px; }
.cbp-prose h2, .cbp-prose h3, .cbp-prose h4 { color: var(--cbp-ink); line-height: 1.3; margin: 18px 0 8px; }
.cbp-prose h2 { font-size: 20px; } .cbp-prose h3 { font-size: 18px; } .cbp-prose h4 { font-size: 16px; }
.cbp-prose blockquote { margin: 0 0 12px; padding: 2px 0 2px 14px; border-left: 3px solid var(--cbp-amber-200); }
.cbp-prose table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 14.5px; }
.cbp-prose th, .cbp-prose td { border: 1px solid var(--cbp-line); padding: 8px 10px; text-align: left; }
.cbp-prose img { border-radius: 12px; height: auto; }
.cbp-prose hr { border: 0; border-top: 1px solid var(--cbp-line); margin: 16px 0; }
.cbp-prose > :last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- hero */
.cbp-hero { position: relative; overflow: hidden; }
.cbp-hero .cbp-grid { position: relative; z-index: 1; }
.cbp-hero-main { padding: 44px 0 52px; max-width: 760px; }
.cbp-hero--dark { background: radial-gradient(1000px 420px at 12% -10%, rgba(232,166,35,.16), transparent 60%), radial-gradient(800px 500px at 90% 120%, rgba(92,126,194,.35), transparent 60%), linear-gradient(135deg, var(--cbp-navy-950), var(--cbp-navy-900) 55%, var(--cbp-navy-800)); color: #fff; }
.cbp-hero--dark::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 70%); pointer-events: none; }
.cbp-hero--light { background: linear-gradient(180deg, var(--cbp-cream) 0%, #fbf8f1 100%); border-bottom: 1px solid var(--cbp-line); }
.cbp-hero--banner { background: #fff; border-bottom: 1px solid var(--cbp-line); }
.cbp-hero-banner img { width: 100%; height: auto; }
.cbp-hero--banner .cbp-hero-main { padding-top: 28px; }
.cbp-crumbs { font-size: 13px; font-weight: 600; color: var(--cbp-amber-300); margin-bottom: 16px; }
.cbp-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.cbp-crumbs li + li::before { content: "›"; opacity: .6; margin-right: 6px; }
.cbp-crumbs a { text-decoration: none; }
.cbp-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cbp-hero--light .cbp-crumbs, .cbp-hero--banner .cbp-crumbs { color: var(--cbp-navy); }
.cbp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cbp-badge { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.cbp-badge--live { background: rgba(21,128,61,.18); border-color: rgba(74,222,128,.4); color: #bbf7d0; }
.cbp-badge--live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: cbpPulse 2s infinite; }
.cbp-badge--soon { background: rgba(232,166,35,.2); border-color: rgba(232,166,35,.5); color: var(--cbp-amber-200); }
.cbp-badge--closed { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.cbp-hero--light .cbp-badge, .cbp-hero--banner .cbp-badge { background: #fff; border-color: var(--cbp-line); color: var(--cbp-navy); }
.cbp-hero--light .cbp-badge--live, .cbp-hero--banner .cbp-badge--live { background: var(--cbp-green-50); border-color: #bbf7d0; color: var(--cbp-green); }
.cbp-hero--light .cbp-badge--live i, .cbp-hero--banner .cbp-badge--live i { background: #22c55e; }
.cbp-hero--light .cbp-badge--soon, .cbp-hero--banner .cbp-badge--soon { background: var(--cbp-amber-50); border-color: var(--cbp-amber-200); color: var(--cbp-amber-800); }
.cbp-hero-eyebrow { font-family: var(--cbp-f-display); font-weight: 600; color: var(--cbp-amber-300); margin: 0 0 8px; font-size: 16px; }
.cbp-hero--light .cbp-hero-eyebrow, .cbp-hero--banner .cbp-hero-eyebrow { color: var(--cbp-amber-700); }
.cbp-hero-sub { font-size: 17.5px; line-height: 1.55; color: rgba(255,255,255,.82); margin: 0 0 20px; max-width: 64ch; }
.cbp-hero--light .cbp-hero-sub, .cbp-hero--banner .cbp-hero-sub { color: var(--cbp-ink-soft); }
.cbp-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.cbp-proof strong { color: var(--cbp-amber-300); font-family: var(--cbp-f-display); font-size: 17px; }
.cbp-hero--light .cbp-proof, .cbp-hero--banner .cbp-proof { color: var(--cbp-ink-soft); }
.cbp-hero--light .cbp-proof strong, .cbp-hero--banner .cbp-proof strong { color: var(--cbp-navy); }
.cbp-mentors { display: flex; align-items: center; gap: 12px; font-size: 14.5px; margin-bottom: 20px; color: rgba(255,255,255,.85); }
.cbp-mentors a { color: var(--cbp-amber-300); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cbp-hero--light .cbp-mentors, .cbp-hero--banner .cbp-mentors { color: var(--cbp-ink-soft); }
.cbp-hero--light .cbp-mentors a, .cbp-hero--banner .cbp-mentors a { color: var(--cbp-navy); }
.cbp-mentors-av { display: flex; }
.cbp-mentors-av .cbp-av { margin-left: -10px; border: 2px solid var(--cbp-navy-900); }
.cbp-hero--light .cbp-mentors-av .cbp-av, .cbp-hero--banner .cbp-mentors-av .cbp-av { border-color: #fff; }
.cbp-mentors-av .cbp-av:first-child { margin-left: 0; }
.cbp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255,255,255,.85); }
.cbp-facts li { display: flex; align-items: center; gap: 8px; }
.cbp-facts em { font-style: normal; color: rgba(255,255,255,.55); }
.cbp-hero--light .cbp-facts, .cbp-hero--banner .cbp-facts { color: var(--cbp-ink); }
.cbp-hero--light .cbp-facts em, .cbp-hero--banner .cbp-facts em { color: var(--cbp-mute); }
.cbp-hero--light .cbp-facts .cbp-i, .cbp-hero--banner .cbp-facts .cbp-i { color: var(--cbp-navy); }
.cbp-hero--light .cbp-facts { background: #fff; border: 1px solid var(--cbp-line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--cbp-sh-lift); gap: 10px 26px; }
@media (max-width: 767px) {
  .cbp-hero-main { padding: 28px 0 40px; }
  .cbp-hero-sub { font-size: 16px; }
  .cbp-facts { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------- buttons */
.cbp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 8px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s var(--cbp-ease), box-shadow .2s, background .2s; line-height: 1.2; }
.cbp-btn:hover { transform: translateY(-1px); }
.cbp-btn-txt { display: flex; flex-direction: column; align-items: center; }
.cbp-btn-txt small { font-size: 11.5px; font-weight: 600; opacity: .75; margin-top: 2px; }
.cbp-btn--block { width: 100%; }
.cbp-btn--lg { min-height: 56px; font-size: 16px; }
.cbp-btn--sm { min-height: 36px; padding: 6px 14px; font-size: 13.5px; border-radius: 10px; }
.cbp-btn--amber { background: var(--cbp-amber); color: var(--cbp-ink); box-shadow: 0 8px 20px -10px rgba(197,134,26,.9); }
.cbp-btn--amber:hover { background: #f0b63a; }
.cbp-btn--ink { background: var(--cbp-ink); color: #fff; }
.cbp-btn--outline { background: #fff; border-color: rgba(35,65,141,.28); color: var(--cbp-navy); }
.cbp-btn--outline:hover { background: var(--cbp-navy-50); }
.cbp-btn--ghost { background: var(--cbp-navy-50); color: var(--cbp-navy); }
.cbp-btn--glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.cbp-btn-arrow { transition: transform .2s var(--cbp-ease); }
.cbp-btn:hover .cbp-btn-arrow { transform: translateX(3px); }
.cbp-linkbtn, .cbp-showmore { background: none; border: 0; color: var(--cbp-navy); font-weight: 700; font-size: 14.5px; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; }
.cbp-showmore--btn { margin: 14px auto 0; display: flex; border: 1px solid var(--cbp-line); border-radius: 12px; padding: 10px 18px; background: #fff; }
.cbp-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--cbp-navy-50); color: var(--cbp-navy-700); }
.cbp-chip--ok { background: var(--cbp-green-50); color: var(--cbp-green); }
.cbp-chip--warn { background: var(--cbp-amber-50); color: var(--cbp-amber-800); }
.cbp-chip--mute { background: #f1f2f5; color: var(--cbp-mute); }

/* ------------------------------------------------------------ buy card */
.cbp-card { background: #fff; border: 1px solid var(--cbp-line); border-radius: 20px; box-shadow: var(--cbp-sh-card); overflow: hidden; }
.cbp-card-media { position: relative; background: var(--cbp-navy-950); }
.cbp-card-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cbp-card-media--4x3 > img { aspect-ratio: 4/3; }
.cbp-card-media--1x1 > img { aspect-ratio: 1/1; }
/* Whole image: never crop; a very tall image is capped and letterboxed.
   A preview video keeps its 16:9 frame whatever the shape. */
.cbp-card-media--whole:not(:has(.cbp-yt)) { background: #fff; }
.cbp-card-media--whole > img { aspect-ratio: auto; height: auto; max-height: 520px; object-fit: contain; }
.cbp-card-media-l { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; font-weight: 700; font-size: 13.5px; color: #fff; background: var(--cbp-navy-950); }
.cbp-card-body { padding: 20px 22px 18px; }
.cbp-card-h { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cbp-mute); margin: 0 0 10px; }
.cbp-opts { display: grid; gap: 8px; margin-bottom: 16px; }
.cbp-opt { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; text-align: left; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--cbp-line); background: #fff; font-size: 13.5px; line-height: 1.3; transition: border-color .15s, background .15s; }
.cbp-opt:hover { border-color: var(--cbp-navy-200); }
.cbp-opt.is-on { border-color: var(--cbp-navy); background: var(--cbp-navy-50); }
.cbp-opt.is-closed { opacity: .55; cursor: not-allowed; }
.cbp-opt-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c7cdd8; position: relative; }
.cbp-opt.is-on .cbp-opt-radio { border-color: var(--cbp-navy); }
.cbp-opt.is-on .cbp-opt-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--cbp-navy); }
.cbp-opt-t { font-weight: 600; color: var(--cbp-ink); }
.cbp-opt-t em { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--cbp-amber-800); background: var(--cbp-amber-100); border-radius: 6px; padding: 2px 6px; margin-left: 4px; white-space: nowrap; }
.cbp-opt-t em.off { color: var(--cbp-mute); background: #eef0f3; }
.cbp-opt-p { font-weight: 700; font-family: var(--cbp-f-display); color: var(--cbp-ink); white-space: nowrap; }
.cbp-card-price { margin-bottom: 12px; }
.cbp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cbp-price-now { font-family: var(--cbp-f-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.cbp-price--big .cbp-price-now { font-size: 34px; }
.cbp-price-gst { font-size: 14px; color: var(--cbp-mute); font-weight: 600; }
.cbp-price-was { color: var(--cbp-mute); text-decoration: line-through; font-size: 15px; }
.cbp-price-off { color: var(--cbp-green); font-weight: 700; font-size: 14px; }
.cbp-card-sku { font-size: 13px; color: var(--cbp-ink-soft); margin-top: 2px; }
.cbp-card-note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--cbp-green); font-weight: 600; margin-top: 6px; }
.cbp-card-schol { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; background: var(--cbp-amber-50); border: 1px dashed var(--cbp-amber-300); color: var(--cbp-amber-800); font-size: 13.5px; font-weight: 600; line-height: 1.4; margin-bottom: 14px; text-decoration: none; }
.cbp-card-schol u { text-underline-offset: 2px; white-space: nowrap; }
.cbp-card-btns { display: grid; gap: 10px; }
.cbp-card-link { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--cbp-navy); text-decoration: none; padding: 4px; }
.cbp-card-inc { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cbp-line-2); }
.cbp-card-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cbp-card-inc li { display: flex; gap: 10px; font-size: 14px; color: var(--cbp-ink-soft); line-height: 1.4; }
.cbp-card-inc .cbp-i { color: var(--cbp-navy); margin-top: 1px; }
.cbp-card-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--cbp-line-2); display: grid; gap: 10px; }
.cbp-trust { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--cbp-mute); font-weight: 600; }
.cbp-trust span { display: inline-flex; align-items: center; gap: 5px; }
.cbp-trust .cbp-i { color: var(--cbp-green); }
.cbp-card-phone { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--cbp-navy); text-decoration: none; }
.cbp-card-state { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.cbp-card-state--soon { background: var(--cbp-amber-50); color: var(--cbp-amber-800); }
.cbp-card-state--closed { background: #f1f2f5; color: var(--cbp-ink-soft); }
.cbp-card--mini { padding: 18px 20px; display: grid; gap: 12px; box-shadow: var(--cbp-sh-lift); }
.cbp-mini-t { font-weight: 700; font-size: 14px; color: var(--cbp-ink-soft); }
/* compact state once the hero has scrolled away (Udemy behaviour) */
.cbp-card.is-stuck .cbp-card-media { display: none; }
.cbp-card.is-stuck .cbp-card-inc li:nth-child(n+5) { display: none; }
.cbp-sticky { max-height: calc(100vh - var(--cbp-hdr) - 72px); }
.cbp-sticky:has(.cbp-card.is-stuck) { overflow: auto; scrollbar-width: none; }

/* ------------------------------------------------------- sticky tabs bar */
.cbp-tabsbar { position: fixed; left: 0; right: 0; top: var(--cbp-hdr); z-index: 45; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--cbp-line); box-shadow: 0 6px 18px -12px rgba(15,21,53,.25); transform: translateY(-110%); visibility: hidden; transition: transform .3s var(--cbp-ease), visibility 0s .3s; }
.cbp-tabsbar.is-on { transform: none; visibility: visible; transition: transform .3s var(--cbp-ease); }
.cbp-tabsbar .cbp-wrap { display: flex; align-items: center; gap: 22px; height: 54px; }
.cbp-tabsbar-t { font-family: var(--cbp-f-display); font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.cbp-tabsbar-list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cbp-tabsbar-list a { position: relative; white-space: nowrap; padding: 16px 12px; font-size: 14px; font-weight: 600; color: var(--cbp-ink-soft); text-decoration: none; }
.cbp-tabsbar-list a.is-on { color: var(--cbp-navy); }
.cbp-tabsbar-list a.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--cbp-amber); }
@media (max-width: 1023px) { .cbp-tabsbar-t { display: none; } .cbp-tabsbar .cbp-wrap { height: 48px; } .cbp-tabsbar-list a { padding: 13px 10px; font-size: 13.5px; } }

/* -------------------------------------------------------- section shell */
.cbp-sec { position: relative; padding: 40px 0; scroll-margin-top: calc(var(--cbp-hdr) + 70px); }
.cbp-main > .cbp-sec:first-child { padding-top: 32px; }
.cbp-main > .cbp-sec + .cbp-sec { border-top: 1px solid var(--cbp-line-2); }
.cbp-sec-head { margin-bottom: 22px; }
.cbp-sec--full { padding: 64px 0; background: var(--cbp-cream); border-top: 1px solid var(--cbp-line-2); border-bottom: 1px solid var(--cbp-line-2); }
.cbp-sec--full .cbp-sec-head { text-align: center; margin-bottom: 30px; }
.cbp-sec--full .cbp-sub { margin-left: auto; margin-right: auto; }
.cbp-sec--full + .cbp-sec--full { border-top: 0; }
.cbp-sec--cta.cbp-sec--full, .cbp-sec--gallery.cbp-sec--full { background: #fff; }
@media (max-width: 767px) { .cbp-sec { padding: 32px 0; } .cbp-sec--full { padding: 44px 0; } }

/* ---------------------------------------------------------- highlights */
.cbp-learn--box { border: 1px solid var(--cbp-line); border-radius: 18px; padding: 22px 24px 18px; background: linear-gradient(180deg, #fff, var(--cbp-cream-soft)); }
.cbp-learn-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.cbp-learn-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--cbp-ink); }
.cbp-learn-list .cbp-i { color: var(--cbp-green); margin-top: 2px; }
.cbp-learn:not(.cbp-learn--box) .cbp-learn-list { grid-template-columns: 1fr; }
.is-clamped .cbp-more-item { display: none !important; }
@media (max-width: 767px) { .cbp-learn-list { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ features */
.cbp-feat { display: grid; gap: 16px; }
.cbp-feat.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cbp-feat.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cbp-feat-item { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--cbp-line); transition: box-shadow .2s, transform .2s var(--cbp-ease); }
.cbp-feat-item:hover { box-shadow: var(--cbp-sh-lift); transform: translateY(-2px); }
.cbp-feat-ic, .cbp-aud-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cbp-amber-50); color: var(--cbp-amber-700); }
.cbp-feat-num { flex: none; font-family: var(--cbp-f-display); font-weight: 700; font-size: 22px; color: var(--cbp-navy); background: var(--cbp-navy-50); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.cbp-feat-txt h3 { margin: 2px 0 4px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.cbp-feat-txt p { margin: 0; font-size: 14px; color: var(--cbp-ink-soft); line-height: 1.5; }
.cbp-feat--rows { gap: 0; }
.cbp-feat--rows .cbp-feat-item { border: 0; border-bottom: 1px solid var(--cbp-line-2); border-radius: 0; padding: 16px 4px; }
.cbp-feat--rows .cbp-feat-item:hover { box-shadow: none; transform: none; }
.cbp-feat--rows.cols-2, .cbp-feat--rows.cols-3 { column-gap: 32px; }
.cbp-feat--highlight .cbp-feat-item { flex-direction: column; padding: 24px; border-radius: 20px; }
.cbp-feat--highlight .cbp-feat-item:nth-child(3n+1) { background: linear-gradient(145deg, var(--cbp-navy), var(--cbp-navy-900)); border-color: transparent; color: #fff; }
.cbp-feat--highlight .cbp-feat-item:nth-child(3n+1) p { color: rgba(255,255,255,.78); }
.cbp-feat--highlight .cbp-feat-item:nth-child(3n+1) .cbp-feat-ic { background: rgba(255,255,255,.12); color: var(--cbp-amber-300); }
.cbp-feat--highlight .cbp-feat-item:nth-child(3n+3) { background: var(--cbp-amber-50); border-color: var(--cbp-amber-100); }
.cbp-main .cbp-feat.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cbp-sec--full .cbp-feat.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .cbp-feat.cols-2, .cbp-feat.cols-3, .cbp-main .cbp-feat.cols-3, .cbp-sec--full .cbp-feat.cols-3 { grid-template-columns: 1fr; } }

.cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(n) { background: #fff; border-color: var(--cbp-line); color: inherit; }
.cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(n) p { color: var(--cbp-ink-soft); }
.cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(n) .cbp-feat-ic { background: var(--cbp-amber-50); color: var(--cbp-amber-700); }
.cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(4n+1), .cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(4n+4) { background: linear-gradient(145deg, var(--cbp-navy), var(--cbp-navy-900)); border-color: transparent; color: #fff; }
.cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(4n+1) p, .cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(4n+4) p { color: rgba(255,255,255,.78); }
.cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(4n+1) .cbp-feat-ic, .cbp-main .cbp-feat--highlight .cbp-feat-item:nth-child(4n+4) .cbp-feat-ic { background: rgba(255,255,255,.12); color: var(--cbp-amber-300); }
/* -------------------------------------------------------- text / stats */
.cbp-text { display: grid; gap: 28px; align-items: start; }
.cbp-text--image_right { grid-template-columns: 1.4fr 1fr; }
.cbp-text--image_left { grid-template-columns: 1fr 1.4fr; }
.cbp-text-img { margin: 0; }
.cbp-text-img img { border-radius: 18px; }
.cbp-clamp { max-height: 12.5em; overflow: hidden; position: relative; }
.cbp-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #fff); }
.cbp-clamp.is-open { max-height: none; }
.cbp-clamp.is-open::after { display: none; }
.cbp-clamp--3 { max-height: 4.8em; }
@media (max-width: 767px) { .cbp-text--image_right, .cbp-text--image_left { grid-template-columns: 1fr; } }
.cbp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.cbp-stat { padding: 20px; border-radius: 16px; border: 1px solid var(--cbp-line); background: #fff; }
.cbp-stat-v { font-family: var(--cbp-f-display); font-weight: 700; font-size: 32px; letter-spacing: -.02em; color: var(--cbp-navy); line-height: 1.1; }
.cbp-stat-l { font-size: 14px; color: var(--cbp-ink-soft); margin-top: 4px; }
.cbp-stats--band { background: linear-gradient(135deg, var(--cbp-navy-900), var(--cbp-navy)); border-radius: 20px; padding: 10px; gap: 0; }
.cbp-stats--band .cbp-stat { border: 0; background: none; color: #fff; }
.cbp-stats--band .cbp-stat-v { color: var(--cbp-amber-300); }
.cbp-stats--band .cbp-stat-l { color: rgba(255,255,255,.78); }

/* ------------------------------------------------------------ audience */
.cbp-aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cbp-aud-card { padding: 20px; border-radius: 16px; background: var(--cbp-cream); border: 1px solid #efe9dc; }
.cbp-aud-card h3 { margin: 12px 0 4px; font-size: 16px; }
.cbp-aud-card p { margin: 0; font-size: 14px; color: var(--cbp-ink-soft); }
.cbp-aud-ic { background: #fff; color: var(--cbp-navy); }
.cbp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cbp-checks li { display: flex; gap: 12px; align-items: flex-start; }
.cbp-checks .cbp-i { color: var(--cbp-green); margin-top: 2px; }
.cbp-checks strong { display: block; }
.cbp-checks span { color: var(--cbp-ink-soft); font-size: 14.5px; }
@media (max-width: 767px) { .cbp-aud { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- tabs / acc */
.cbp-tabs-bar { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--cbp-surface); border: 1px solid var(--cbp-line); border-radius: 14px; margin-bottom: 16px; }
.cbp-tab { border: 0; background: none; padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--cbp-ink-soft); }
.cbp-tab.is-on { background: var(--cbp-navy); color: #fff; }
.cbp-tab-pane { display: none; padding: 20px 22px; border: 1px solid var(--cbp-line); border-radius: 16px; }
.cbp-tab-pane.is-on { display: block; }
.cbp-acc { display: grid; gap: 10px; }
.cbp-acc-item { border: 1px solid var(--cbp-line); border-radius: 14px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.cbp-acc-item.is-open { border-color: var(--cbp-navy-200); box-shadow: var(--cbp-sh-soft); }
.cbp-acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 16px 18px; background: none; border: 0; font-weight: 700; font-size: 15.5px; }
.cbp-acc-pm { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cbp-surface); color: var(--cbp-navy); transition: transform .25s var(--cbp-ease), background .2s; }
.cbp-acc-item.is-open .cbp-acc-pm { transform: rotate(45deg); background: var(--cbp-amber); color: var(--cbp-ink); }
.cbp-acc-body { display: none; padding: 0 18px 16px; }
.cbp-acc-item.is-open .cbp-acc-body { display: block; }
.cbp-faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cbp-faq-chips button { border: 1px solid var(--cbp-line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--cbp-ink-soft); }
.cbp-faq-chips button em { font-style: normal; color: var(--cbp-mute); margin-left: 4px; }
.cbp-faq-chips button.is-on { background: var(--cbp-ink); border-color: var(--cbp-ink); color: #fff; }
.cbp-faq-chips button.is-on em { color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------- curriculum */
.cbp-cur-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--cbp-ink-soft); margin-bottom: 10px; }
.cbp-cur-list { border: 1px solid var(--cbp-line); border-radius: 16px; overflow: hidden; }
.cbp-cur-mod + .cbp-cur-mod { border-top: 1px solid var(--cbp-line); }
.cbp-cur-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 18px; background: var(--cbp-surface); border: 0; text-align: left; }
.cbp-cur-chev { transition: transform .25s var(--cbp-ease); color: var(--cbp-navy); }
.cbp-cur-mod.is-open .cbp-cur-chev { transform: rotate(180deg); }
.cbp-cur-t { font-weight: 700; font-size: 15.5px; flex: 1; }
.cbp-cur-meta { font-size: 13px; color: var(--cbp-mute); white-space: nowrap; }
.cbp-cur-body { display: none; padding: 14px 18px 16px 48px; background: #fff; }
.cbp-cur-mod.is-open .cbp-cur-body { display: block; }
.cbp-cur-body p { margin: 0 0 10px; color: var(--cbp-ink-soft); font-size: 14.5px; }
.cbp-cur-lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cbp-cur-lessons li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.cbp-cur-lessons .cbp-i { color: var(--cbp-mute); }
.cbp-cur-l { flex: 1; }
.cbp-tag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: #eef1f6; color: var(--cbp-ink-soft); white-space: nowrap; }
.cbp-tag--live { background: #e8f0ff; color: var(--cbp-navy); }
.cbp-tag--test { background: var(--cbp-amber-50); color: var(--cbp-amber-800); }
.cbp-tag--mentorship { background: var(--cbp-green-50); color: var(--cbp-green); }
.cbp-tag--workshop { background: #fdf2f8; color: #be185d; }
.cbp-tag--free-preview { background: var(--cbp-ink); color: #fff; }
.cbp-cur--cards .cbp-cur-list { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: visible; }
.cbp-cur-card { border: 1px solid var(--cbp-line); border-radius: 16px; padding: 18px; }
.cbp-cur-card + .cbp-cur-card { border-top: 1px solid var(--cbp-line); }
.cbp-cur-card-top { display: flex; justify-content: space-between; align-items: center; }
.cbp-cur-idx { width: 30px; height: 30px; border-radius: 9px; background: var(--cbp-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.cbp-cur-card h3 { font-size: 16px; margin: 12px 0 6px; }
.cbp-cur-card > p { margin: 1em 0; } /* the prototype's browser default, which the site's preflight removes */
@media (max-width: 767px) { .cbp-cur-body { padding-left: 18px; } .cbp-cur-meta { display: none; } .cbp-cur--cards .cbp-cur-list { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ timeline */
.cbp-tl { list-style: none; margin: 0; padding: 0 0 0 6px; position: relative; }
.cbp-tl::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cbp-navy-200), var(--cbp-amber-200)); }
.cbp-tl li { position: relative; display: flex; gap: 18px; padding-bottom: 20px; }
.cbp-tl-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--cbp-navy); margin-top: 5px; position: relative; z-index: 1; }
.cbp-tl li:last-child .cbp-tl-dot { border-color: var(--cbp-amber); }
.cbp-tl-date { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cbp-amber-700); }
.cbp-tl strong { display: block; font-size: 16px; }
.cbp-tl p { margin: 2px 0 0; color: var(--cbp-ink-soft); font-size: 14.5px; }
.cbp-tlh { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cbp-n), minmax(0, 1fr)); gap: 12px; position: relative; }
.cbp-tlh::before { content: ""; position: absolute; left: 20px; right: 20px; top: 17px; height: 2px; background: repeating-linear-gradient(90deg, var(--cbp-navy-200) 0 8px, transparent 8px 14px); }
.cbp-tlh li { position: relative; }
.cbp-tlh-dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--cbp-f-display); background: var(--cbp-navy); color: #fff; box-shadow: 0 0 0 5px #fff; margin-bottom: 12px; }
.cbp-tlh li:last-child .cbp-tlh-dot { background: var(--cbp-amber); color: var(--cbp-ink); }
.cbp-tlh-date { display: block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cbp-amber-700); margin-bottom: 2px; }
.cbp-tlh strong { display: block; font-size: 15px; line-height: 1.3; }
.cbp-tlh p { margin: 4px 0 0; font-size: 13.5px; color: var(--cbp-ink-soft); line-height: 1.45; }
.cbp-tl-img img { width: 100%; border-radius: 16px; border: 1px solid var(--cbp-line); }
.cbp-tl-meta { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--cbp-mute); }
@media (max-width: 767px) {
  .cbp-tlh { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .cbp-tlh::before { left: 21px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; background: var(--cbp-navy-200); }
  .cbp-tlh li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding-bottom: 18px; }
  .cbp-tlh-dot { grid-row: span 3; margin: 0; }
}

/* ---------------------------------------------------- tables & batches */
.cbp-table-wrap { overflow-x: auto; border: 1px solid var(--cbp-line); border-radius: 16px; }
.cbp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cbp-table th { background: var(--cbp-navy); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; font-size: 13.5px; }
.cbp-table td { padding: 12px 14px; border-top: 1px solid var(--cbp-line-2); }
.cbp-table tbody tr:nth-child(even) td { background: var(--cbp-cream-soft); }
.cbp-table--compare td:not(:first-child), .cbp-table--compare th:not(:first-child) { text-align: center; }
.cbp-th-price { font-family: var(--cbp-f-display); font-size: 15px; color: var(--cbp-amber-300); }
.cbp-th-price small { color: rgba(255,255,255,.7); font-family: var(--cbp-f-body); font-size: 11px; }
.cbp-yes { color: var(--cbp-green); } .cbp-no { color: #c0c4cc; }
@media (max-width: 767px) {
  .cbp-table--stack thead { display: none; }
  .cbp-table--stack tr { display: block; padding: 10px 4px; border-top: 1px solid var(--cbp-line-2); }
  .cbp-table--stack td { display: flex; justify-content: space-between; border: 0; padding: 5px 10px; background: none !important; }
  .cbp-table--stack td::before { content: attr(data-l); color: var(--cbp-mute); font-weight: 600; }
}
.cbp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; counter-reset: s; }
.cbp-steps li { display: flex; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--cbp-line); }
.cbp-steps-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cbp-amber); display: grid; place-items: center; font-weight: 800; }
.cbp-steps strong { display: block; } .cbp-steps p { margin: 2px 0 0; font-size: 14px; color: var(--cbp-ink-soft); }

/* -------------------------------------------------------------- people */
.cbp-person { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--cbp-line); height: 100%; display: flex; flex-direction: column; }
.cbp-person-ph { position: relative; aspect-ratio: 3/4; background: linear-gradient(180deg, #f6efe2, #efe4cf); overflow: hidden; }
.cbp-person-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--cbp-ease); }
.cbp-person:hover .cbp-person-ph img { transform: scale(1.04); }
.cbp-person-ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--cbp-f-display); font-size: 42px; font-weight: 700; color: var(--cbp-navy); }
.cbp-person-cred { position: absolute; left: 10px; bottom: 10px; background: rgba(15,21,53,.8); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 8px; }
.cbp-person-meta { padding: 12px 14px 14px; }
.cbp-person-meta h3 { margin: 0; font-size: 15.5px; line-height: 1.3; color: #9a3412; color: var(--cbp-navy); }
.cbp-person-meta p { margin: 2px 0 0; font-size: 13px; color: var(--cbp-ink-soft); }
.cbp-person-bio summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--cbp-navy); margin-top: 6px; }
.cbp-person-bio p { font-size: 13px; margin: 6px 0 0; }
.cbp-people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cbp-sec--full .cbp-people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 767px) { .cbp-people-grid, .cbp-sec--full .cbp-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cbp-people-list { display: grid; gap: 22px; }
.cbp-plist { display: flex; gap: 18px; align-items: flex-start; }
.cbp-plist h3 { margin: 0; font-size: 18px; color: var(--cbp-navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cbp-plist-role { margin: 2px 0 8px; color: var(--cbp-ink-soft); font-size: 14.5px; }
.cbp-av { display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; flex: none; background: var(--cbp-navy-50); }
.cbp-av img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cbp-av--i { background: hsl(var(--cbp-h) 45% 92%); color: hsl(var(--cbp-h) 45% 28%); font-weight: 800; font-size: 14px; font-family: var(--cbp-f-display); }

/* -------------------------------------------------------- testimonials */
.cbp-rating { display: flex; gap: 28px; align-items: center; padding: 18px 20px; border: 1px solid var(--cbp-line); border-radius: 16px; margin-bottom: 18px; }
.cbp-rating-avg { text-align: center; min-width: 120px; }
.cbp-rating-avg strong { display: block; font-family: var(--cbp-f-display); font-size: 40px; line-height: 1; color: var(--cbp-amber-700); }
.cbp-rating-n { display: block; font-size: 12.5px; color: var(--cbp-mute); margin-top: 4px; }
.cbp-rating-bars { flex: 1; display: grid; gap: 5px; }
.cbp-rbar { display: grid; grid-template-columns: 34px 1fr 20px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--cbp-mute); }
.cbp-rbar .cbp-i { color: var(--cbp-amber); width: 11px; }
.cbp-rbar i { height: 8px; background: #eef0f3; border-radius: 99px; overflow: hidden; }
.cbp-rbar b { display: block; height: 100%; background: var(--cbp-amber); border-radius: 99px; }
.cbp-rbar em { font-style: normal; }
.cbp-stars { display: inline-flex; gap: 2px; color: #d4d7de; }
.cbp-stars .on { color: var(--cbp-amber); }
.cbp-stars .on .cbp-i { fill: currentColor; }
.cbp-quote { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; border: 1px solid var(--cbp-line); background: #fff; position: relative; }
.cbp-quote::before { content: "\201C"; position: absolute; right: 18px; top: 4px; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: var(--cbp-amber-100); }
.cbp-quote-title { margin: 0; font-size: 16.5px; line-height: 1.35; }
.cbp-quote-text { margin: 0; color: var(--cbp-ink-soft); font-size: 14.5px; line-height: 1.6; flex: 1; }
.cbp-quote footer { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--cbp-line-2); }
.cbp-quote footer strong { display: block; font-size: 14px; }
.cbp-quote footer span:not(.cbp-av) { display: block; font-size: 12.5px; color: var(--cbp-mute); }
.cbp-quote-vid { border-radius: 12px; overflow: hidden; }
.cbp-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cbp-quote-wall { columns: 2 280px; column-gap: 14px; }
.cbp-quote-wall .cbp-quote { break-inside: avoid; margin-bottom: 14px; height: auto; }
@media (max-width: 767px) { .cbp-quote-grid { grid-template-columns: 1fr; } .cbp-rating { flex-direction: column; align-items: stretch; gap: 12px; } }

/* ------------------------------------------------------------- results */
.cbp-res-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.cbp-res-stats div { padding: 14px; border-radius: 14px; background: linear-gradient(145deg, var(--cbp-navy-900), var(--cbp-navy)); color: #fff; }
.cbp-res-stats strong { display: block; font-family: var(--cbp-f-display); font-size: 26px; color: var(--cbp-amber-300); line-height: 1.1; }
.cbp-res-stats span { font-size: 12.5px; color: rgba(255,255,255,.78); }
.cbp-topper { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--cbp-line); height: 100%; }
.cbp-topper-ph { position: relative; aspect-ratio: 3/4; background: var(--cbp-navy-50); }
.cbp-topper-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cbp-topper-air { position: absolute; left: 10px; bottom: 10px; background: var(--cbp-amber); color: var(--cbp-ink); border-radius: 10px; padding: 3px 9px 4px; font-family: var(--cbp-f-display); font-weight: 700; font-size: 22px; line-height: 1; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.cbp-topper-air small { display: block; font-size: 9.5px; letter-spacing: .12em; font-family: var(--cbp-f-body); font-weight: 800; }
.cbp-topper-meta { padding: 10px 12px 12px; }
.cbp-topper-meta strong { display: block; font-size: 14px; line-height: 1.25; }
.cbp-topper-meta span { font-size: 12.5px; color: var(--cbp-mute); }
.cbp-topper-meta em { display: block; font-style: normal; font-size: 12px; color: var(--cbp-ink-soft); margin-top: 4px; }
.cbp-topper-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cbp-disclaimer { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--cbp-ink-soft); background: var(--cbp-surface); border: 1px solid var(--cbp-line); border-radius: 12px; padding: 10px 12px; margin: 16px 0 0; }
.cbp-res-banner img { width: 100%; border-radius: 16px; }
@media (max-width: 767px) { .cbp-res-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cbp-topper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------- video */
.cbp-yt { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--cbp-navy-950); aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; }
.cbp-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .5s var(--cbp-ease), opacity .2s; }
.cbp-yt:hover img { transform: scale(1.03); opacity: 1; }
.cbp-yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--cbp-navy); box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .2s var(--cbp-ease); }
.cbp-yt-play .cbp-i { fill: currentColor; margin-left: 3px; }
.cbp-yt:hover .cbp-yt-play { transform: translate(-50%, -50%) scale(1.08); }
.cbp-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cbp-yt--card { border-radius: 0; }
.cbp-video-cap { margin: 10px 0 0; font-size: 14.5px; color: var(--cbp-ink-soft); }
.cbp-vcard { margin: 0; }
.cbp-vcard figcaption { padding: 10px 2px 0; }
.cbp-vcard figcaption strong { display: block; font-size: 14.5px; }
.cbp-vcard figcaption span { font-size: 13px; color: var(--cbp-mute); }
.cbp-vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 767px) { .cbp-vgrid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------- gallery */
.cbp-gal { margin: 0; position: relative; }
.cbp-gal-media { position: relative; overflow: hidden; border-radius: 16px; background: var(--cbp-surface); }
.cbp-gal-media picture, .cbp-gal-media img { width: 100%; height: 100%; }
.cbp-gal-media[style*="aspect-ratio"] img { object-fit: cover; }
.cbp-gal-cap { padding: 10px 2px 0; }
.cbp-gal-cap strong { display: block; font-size: 15px; }
.cbp-gal-cap span { font-size: 13.5px; color: var(--cbp-mute); }
.cbp-gal-btn { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; color: var(--cbp-navy) !important; }
.cbp-sl[data-captions="overlay"] .cbp-gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(10,19,43,.85)); border-radius: 0 0 16px 16px; color: #fff; }
.cbp-sl[data-captions="overlay"] .cbp-gal-cap span { color: rgba(255,255,255,.8); }
.cbp-sl[data-captions="overlay"] .cbp-gal-btn { color: var(--cbp-amber-300) !important; }
.cbp-gal-link { text-decoration: none; display: block; }
.cbp-sl--full .cbp-gal-media { border-radius: 20px; }

/* --------------------------------------------------------------- plans */
.cbp-plans { display: grid; gap: 14px; }
.cbp-plans.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cbp-plan { position: relative; padding: 22px; border-radius: 18px; border: 1px solid var(--cbp-line); background: #fff; display: flex; flex-direction: column; gap: 12px; }
.cbp-plan--featured { border: 2px solid var(--cbp-navy); box-shadow: var(--cbp-sh-glow); }
.cbp-plan-badge { position: absolute; top: -12px; left: 20px; background: var(--cbp-navy); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 8px; }
.cbp-plan h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.cbp-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.cbp-plan li { display: flex; gap: 8px; font-size: 14px; color: var(--cbp-ink-soft); }
.cbp-plan li .cbp-i { color: var(--cbp-green); margin-top: 3px; }
.cbp-plan-soon { align-self: flex-start; }
@media (max-width: 767px) { .cbp-plans.cols-2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------- scholarship / cta */
.cbp-schol { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: 20px; background: linear-gradient(120deg, var(--cbp-amber-100), var(--cbp-amber-50) 60%, #fff); border: 1px solid var(--cbp-amber-200); }
.cbp-schol-ic { flex: none; width: 60px; height: 60px; border-radius: 18px; background: var(--cbp-amber); display: grid; place-items: center; color: var(--cbp-ink); }
.cbp-schol-main { flex: 1; }
.cbp-schol-amt { font-family: var(--cbp-f-display); font-weight: 700; font-size: 26px; color: var(--cbp-amber-800); line-height: 1.1; }
.cbp-schol p { margin: 6px 0 0; color: var(--cbp-ink-soft); font-size: 14.5px; }
.cbp-slabs { margin-top: 12px; background: #fff; border-radius: 12px; overflow: hidden; }
@media (max-width: 767px) { .cbp-schol { flex-direction: column; align-items: stretch; text-align: left; } }
.cbp-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px; border-radius: 28px; position: relative; overflow: hidden; }
.cbp-cta h2 { font-family: var(--cbp-f-display); font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.cbp-cta p { margin: 10px 0 0; max-width: 56ch; }
.cbp-cta-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.cbp-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cbp-cta--navy { background: radial-gradient(600px 300px at 90% 0%, rgba(232,166,35,.25), transparent 60%), linear-gradient(135deg, var(--cbp-navy-900), var(--cbp-navy)); color: #fff; }
.cbp-cta--navy p { color: rgba(255,255,255,.8); }
.cbp-cta--navy .cbp-cta-eyebrow { color: var(--cbp-amber-300); }
.cbp-cta--amber { background: linear-gradient(135deg, var(--cbp-amber-300), var(--cbp-amber)); color: var(--cbp-ink); }
.cbp-cta--light { background: var(--cbp-cream); border: 1px solid #efe9dc; }
.cbp-cta--light .cbp-cta-eyebrow { color: var(--cbp-amber-700); }
@media (max-width: 767px) { .cbp-cta { flex-direction: column; align-items: stretch; padding: 28px 22px; } .cbp-cta-btns .cbp-btn { width: 100%; } }

/* ---------------------------------------------------- files / notices */
.cbp-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cbp-files li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--cbp-line); border-radius: 14px; }
.cbp-file-badge { flex: none; width: 42px; height: 48px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #dc2626; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.cbp-file-badge--link, .cbp-file-badge--video { background: var(--cbp-navy); }
.cbp-file-badge--doc { background: #2563eb; }
.cbp-file-t { flex: 1; min-width: 0; }
.cbp-file-t strong { display: block; font-size: 15px; }
.cbp-file-t span { font-size: 13px; color: var(--cbp-mute); }
.cbp-notice { list-style: none; margin: 0; padding: 6px 16px; border: 1.5px dashed #86b9a1; background: #f3faf6; border-radius: 16px; }
.cbp-notice li + li { border-top: 1px dashed #b9d9c9; }
.cbp-notice a, .cbp-notice-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; text-decoration: none; }
.cbp-notice .cbp-i { color: #15803d; flex: none; }
.cbp-notice-d { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #15803d; }
.cbp-notice-t { font-size: 14.5px; font-weight: 600; }
.cbp-notice div { flex: 1; }
.cbp-banner-img img { width: 100%; border-radius: 16px; }
.cbp-embed { width: 100%; border: 1px solid var(--cbp-line); border-radius: 16px; }

/* ---------------------------------------------------------------- form */
.cbp-form--split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: start; }
.cbp-form-side { padding-top: 6px; }
.cbp-checks--sm span { font-size: 15px; color: var(--cbp-ink); }
.cbp-form-contact { display: grid; gap: 10px; margin-top: 20px; }
.cbp-form-contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--cbp-navy); text-decoration: none; }
.cbp-form-box { border-radius: 20px; border: 1px solid #dde2ec; box-shadow: 0 18px 42px rgba(17,25,54,.12); overflow: hidden; background: #fff; }
.cbp-form-frame { width: 100%; border: 0; display: block; }
.cbp-form-mock { padding: 22px; display: grid; gap: 12px; align-content: start; }
.cbp-form-mock-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cbp-mute); }
.cbp-form-mock label { font-size: 13px; font-weight: 600; color: var(--cbp-ink-soft); display: grid; gap: 6px; }
.cbp-form-mock label span { height: 40px; border: 1px solid #dde2ec; border-radius: 10px; background: #fbfcfe; }
.cbp-form-mock label span.sel { background: linear-gradient(90deg, #fbfcfe 90%, #f1f3f8 90%); }
.cbp-form-mock-btn { height: 44px; border-radius: 10px; background: #17b889; color: #fff; font-weight: 700; display: grid; place-items: center; margin-top: 4px; }
.cbp-form-mock p { margin: 4px 0 0; font-size: 12px; color: var(--cbp-mute); line-height: 1.5; }
.cbp-form-mock code { font-size: 11px; background: var(--cbp-surface); padding: 1px 5px; border-radius: 5px; word-break: break-all; }
.cbp-form--solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1023px) { .cbp-form--split { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- related */
.cbp-rel { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--cbp-line); border-radius: 18px; overflow: hidden; text-decoration: none; background: #fff; transition: box-shadow .2s, transform .2s var(--cbp-ease); }
.cbp-rel:hover { box-shadow: var(--cbp-sh-lift); transform: translateY(-2px); }
.cbp-rel-top { height: 96px; background: linear-gradient(135deg, hsl(calc(220 + var(--cbp-h) / 8) 55% 30%), hsl(calc(220 + var(--cbp-h) / 6) 60% 45%)); padding: 14px; }
.cbp-rel-top.has-img { position: relative; overflow: hidden; }
.cbp-rel-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cbp-rel-top span { position: relative; display: inline-block; background: rgba(255,255,255,.18); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 8px; }
.cbp-rel-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cbp-rel-body h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.cbp-rel-body p { margin: 0; font-size: 13.5px; color: var(--cbp-ink-soft); flex: 1; }
.cbp-rel-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; }
.cbp-rel-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--cbp-navy); }
.cbp-rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1023px) { .cbp-rel-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------ slider engine */
.cbp-sl { position: relative; --cbp-gap: 14px; }
.cbp-sl-viewport { overflow: hidden; margin: -6px; padding: 6px; }
.cbp-sl-track { display: flex; gap: var(--cbp-gap); transition: transform .55s var(--cbp-ease); will-change: transform; touch-action: pan-y; user-select: none; }
.cbp-sl-slide { flex: 0 0 auto; width: calc((100% - var(--cbp-gap) * (var(--cbp-per) - 1)) / var(--cbp-per)); min-width: 0; }
.cbp-sl-slide img { pointer-events: none; -webkit-user-drag: none; }
.cbp-sl.is-dragging .cbp-sl-track { cursor: grabbing; }
.cbp-sl-arrow { position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cbp-line); background: #fff; color: var(--cbp-navy); display: grid; place-items: center; box-shadow: var(--cbp-sh-lift); transition: opacity .2s, transform .2s var(--cbp-ease); }
.cbp-sl-arrow:hover { transform: translateY(-50%) scale(1.06); }
.cbp-sl-arrow:disabled { opacity: 0; pointer-events: none; }
.cbp-sl-prev { left: -14px; } .cbp-sl-next { right: -14px; }
.cbp-sl.is-static .cbp-sl-arrow, .cbp-sl.is-static .cbp-sl-dots { display: none; }
.cbp-sl-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.cbp-sl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; min-height: 40px; }
.cbp-sl-foot .cbp-sl-dots { margin: 0; justify-content: flex-start; }
.cbp-sl-arrows { display: flex; gap: 8px; margin-left: auto; }
.cbp-sl-foot .cbp-sl-arrow { position: static; transform: none; width: 40px; height: 40px; box-shadow: none; }
.cbp-sl-foot .cbp-sl-arrow:hover { transform: none; background: var(--cbp-navy-50); }
.cbp-sl-foot .cbp-sl-arrow:disabled { opacity: .35; }
.cbp-sl-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #d5d9e2; transition: width .3s var(--cbp-ease), background .3s; }
.cbp-sl-dot.is-active { width: 24px; background: var(--cbp-navy); }
/* full-width */
.cbp-sl--full { --cbp-gap: 0px; }
.cbp-sl--full .cbp-sl-arrow { top: 50%; background: rgba(255,255,255,.9); }
.cbp-sl--full .cbp-sl-prev { left: 16px; } .cbp-sl--full .cbp-sl-next { right: 16px; }
.cbp-sl--full .cbp-sl-dots { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; }
.cbp-sl--full .cbp-sl-dot { background: rgba(255,255,255,.6); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.cbp-sl--full .cbp-sl-dot.is-active { background: #fff; }
.cbp-sl--full .cbp-sl-viewport { margin: 0; padding: 0; border-radius: 20px; }
.cbp-sec--full .cbp-sl--full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.cbp-sec--full .cbp-sl--full .cbp-sl-viewport, .cbp-sec--full .cbp-sl--full .cbp-gal-media { border-radius: 0; }
.cbp-sec--gallery.cbp-sec--full { padding-bottom: 0; }
/* single */
.cbp-sl--single { --cbp-gap: 16px; }
/* peek */
.cbp-sl--peek .cbp-sl-track { gap: 0; }
.cbp-sl--peek .cbp-sl-slide { padding: 0 8px; transition: transform .5s var(--cbp-ease), opacity .5s; opacity: .55; transform: scale(.94); }
.cbp-sl--peek .cbp-sl-slide.is-active { opacity: 1; transform: none; }
/* fade */
.cbp-sl.is-fade .cbp-sl-track { display: grid; transform: none !important; }
.cbp-sl.is-fade .cbp-sl-slide { grid-area: 1 / 1; width: 100% !important; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.cbp-sl.is-fade .cbp-sl-slide.is-active { opacity: 1; pointer-events: auto; }
/* thumbnails */
.cbp-sl-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.cbp-sl-thumb { flex: none; width: 92px; height: 58px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--cbp-surface); opacity: .6; transition: opacity .2s, border-color .2s; }
.cbp-sl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cbp-sl-thumb.is-active { opacity: 1; border-color: var(--cbp-navy); }
/* marquee */
.cbp-sl--marquee .cbp-sl-viewport { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cbp-sl--marquee .cbp-sl-track { width: max-content; animation: cbpMarq 35s linear infinite; transition: none; }
.cbp-sl--marquee:hover .cbp-sl-track { animation-play-state: paused; }
.cbp-sl--marquee .cbp-sl-slide { width: 220px; }
/* grid */
.cbp-sl--grid .cbp-sl-track { display: grid; grid-template-columns: repeat(var(--cbp-per), minmax(0, 1fr)); transform: none !important; }
.cbp-sl--grid .cbp-sl-slide { width: auto !important; }
@media (max-width: 767px) {
  .cbp-sl--grid .cbp-sl-track { grid-template-columns: repeat(max(1, round(down, var(--cbp-per-m), 1)), minmax(0, 1fr)); }
  .cbp-sl-prev { left: 4px; } .cbp-sl-next { right: 4px; }
  .cbp-sl-arrow { width: 38px; height: 38px; }
  .cbp-sl--people .cbp-sl-arrow, .cbp-sl--quotes .cbp-sl-arrow, .cbp-sl--toppers .cbp-sl-arrow, .cbp-sl--videos .cbp-sl-arrow, .cbp-sl--related .cbp-sl-arrow { display: none; }
}
@keyframes cbpMarq { to { transform: translateX(-50%); } }
@keyframes cbpPulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
@media (prefers-reduced-motion: reduce) { .cbp-sl-track, .cbp-sl--marquee .cbp-sl-track { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------- mobile buy bar */
/* Shown, it sits just above the site's bottom nav (Tailwind h-14 = 3.5rem,
   plus its 1 px top border — the site's root font size varies, so rem, not
   px); hidden, it slides down under the nav's layer (z-index 40) and out of
   the tab order. */
.cbp-mbar { position: fixed; left: 0; right: 0; bottom: calc(3.5rem + 1px + env(safe-area-inset-bottom, 0px)); z-index: 39; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #fff; border-top: 1px solid var(--cbp-line); box-shadow: 0 -10px 24px -14px rgba(15,21,53,.35); transform: translateY(120%); visibility: hidden; transition: transform .3s var(--cbp-ease), visibility 0s .3s; }
.cbp-mbar.is-on { transform: none; visibility: visible; transition: transform .3s var(--cbp-ease); }
.cbp-mbar .cbp-btn { min-height: 46px; padding: 8px 18px; flex: none; }
.cbp-mbar .cbp-btn-txt small { display: none; }
.cbp-mbar-sel { background: none; border: 0; padding: 0; text-align: left; display: grid; }
.cbp-mbar-sel span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--cbp-mute); }
.cbp-mbar-sel strong { font-family: var(--cbp-f-display); font-size: 20px; line-height: 1.15; }
.cbp-mbar-sel small { font-family: var(--cbp-f-body); font-size: 12px; color: var(--cbp-mute); font-weight: 600; }
.cbp-mbar-closed { font-size: 14px; }
@media (max-width: 1023px) {
  .cbp-mbar { display: flex; }
  /* The site already pads <body> for its 56 px bottom nav; add the bar. */
  body:has(.cbp-mbar) { padding-bottom: calc(3.5rem + 1px + 70px + env(safe-area-inset-bottom, 0px)); }
}
.cbp-sheet { position: fixed; inset: 0; z-index: 60; }
.cbp-sheet[hidden] { display: none; }
.cbp-sheet-bg { position: absolute; inset: 0; background: rgba(10,19,43,.5); }
.cbp-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); animation: cbpUp .3s var(--cbp-ease); }
.cbp-sheet-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cbp-sheet-h button { background: none; border: 0; }
@keyframes cbpUp { from { transform: translateY(100%); } }

/* ------------------------------------------------------ editor preview */
.cbp--editor .cbp-editable { cursor: pointer; }
.cbp--editor .cbp-editable::after { content: ""; position: absolute; inset: 4px -10px; border: 2px solid transparent; border-radius: 14px; pointer-events: none; transition: border-color .15s; }
.cbp--editor .cbp-sec--full.cbp-editable::after { inset: 4px; }
.cbp--editor .cbp-editable:hover::after { border-color: rgba(79,70,229,.45); }
.cbp--editor .cbp-editable.is-selected::after { border-color: #4f46e5; box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.cbp-edit-tag { position: absolute; top: 10px; right: -6px; z-index: 4; display: none; align-items: center; gap: 5px; background: #4f46e5; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
.cbp--editor .cbp-editable:hover .cbp-edit-tag, .cbp--editor .cbp-editable.is-selected .cbp-edit-tag { display: inline-flex; }
.cbp-sec--full .cbp-edit-tag { right: 12px; }
.cbp-ghost { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 2px dashed #c7cbe0; border-radius: 14px; color: #5b5f7a; background: repeating-linear-gradient(135deg, #fafbff 0 12px, #f4f5fc 12px 24px); font-size: 14px; }
.cbp-ghost strong { display: block; color: var(--cbp-ink); }
.cbp-sec.is-ghost { padding: 14px 0; }
.cbp-sec.is-ghost.cbp-sec--full { background: #fff; }
/* One section on its own (a shared section in the builder): no hero, no buy
   box, the section across the whole content width. */
.cbp--solo .cbp-grid { grid-template-columns: minmax(0, 1fr); }
.cbp--solo .cbp-aside { display: none; }
.cbp--solo .cbp-seg--first { padding-top: 12px; }

/* ------------------------------------------------ lead-gated downloads */
.cbp-files li.is-gated { background: linear-gradient(90deg, #fffdf7, #fff); border-color: var(--cbp-amber-200); }
.cbp-file-t > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.cbp-lock { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--cbp-amber-800); background: var(--cbp-amber-100); border-radius: 6px; padding: 1px 7px; }
.cbp-lead-bg { position: fixed; inset: 0; z-index: 400; background: rgba(10,19,43,.55); display: grid; place-items: center; padding: 16px; animation: cbpFade .15s ease; }
.cbp-lead { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 30px 80px -20px rgba(10,19,43,.55); font-family: var(--cbp-f-body); animation: cbpPop .22s var(--cbp-ease); }
.cbp-lead h3 { font-family: var(--cbp-f-display); font-size: 22px; line-height: 1.2; margin: 14px 0 4px; letter-spacing: -.01em; }
.cbp-lead-note { margin: 0 0 12px; color: var(--cbp-ink-soft); font-size: 14px; }
.cbp-lead-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--cbp-surface); display: grid; place-items: center; color: var(--cbp-ink-soft); }
.cbp-lead-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-right: 40px; border-radius: 14px; background: var(--cbp-cream); }
.cbp-lead-file .cbp-file-badge { width: 34px; height: 40px; font-size: 10px; }
.cbp-lead-file small { display: block; font-size: 11.5px; color: var(--cbp-mute); font-weight: 600; }
.cbp-lead-file strong { display: block; font-size: 14px; line-height: 1.3; }
.cbp-lead-f { display: grid; gap: 5px; margin-bottom: 11px; font-size: 13px; font-weight: 600; color: var(--cbp-ink-soft); }
.cbp-lead-f b { color: var(--cbp-pink); }
.cbp-lead-f i { font-style: normal; font-weight: 500; color: var(--cbp-mute); font-size: 12px; }
.cbp-lead-f input, .cbp-lead-f select { height: 44px; border: 1.5px solid #d9dde6; border-radius: 12px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 500; color: var(--cbp-ink); background: #fff; width: 100%; }
.cbp-lead-f input:focus, .cbp-lead-f select:focus { outline: 0; border-color: var(--cbp-navy); box-shadow: 0 0 0 3px var(--cbp-navy-50); }
.cbp-lead-f .is-bad, .cbp-lead-phone:has(.is-bad) { border-color: #e11d48 !important; }
.cbp-lead-phone { display: flex; align-items: center; border: 1.5px solid #d9dde6; border-radius: 12px; overflow: hidden; }
.cbp-lead-phone:focus-within { border-color: var(--cbp-navy); box-shadow: 0 0 0 3px var(--cbp-navy-50); }
.cbp-lead-phone em { font-style: normal; font-weight: 700; color: var(--cbp-ink-soft); padding: 0 10px 0 12px; border-right: 1px solid #e5e7eb; height: 44px; display: grid; place-items: center; background: var(--cbp-surface); }
.cbp-lead-phone input { border: 0 !important; box-shadow: none !important; }
.cbp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cbp-lead-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cbp-ink-soft); line-height: 1.45; margin: 4px 0 12px; cursor: pointer; }
.cbp-lead-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cbp-navy); flex: none; }
.cbp-lead-consent b { color: var(--cbp-pink); }
.cbp-lead-err { color: #be123c; font-size: 13px; font-weight: 600; min-height: 0; margin-bottom: 8px; }
.cbp-lead-err:empty { display: none; }
.cbp-lead-fine { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--cbp-mute); }
.cbp-lead-fine .cbp-i { color: var(--cbp-green); }
.cbp-lead-ok { text-align: center; padding: 18px 6px 4px; }
.cbp-lead-ok > .cbp-i { color: var(--cbp-green); }
.cbp-lead-ok h3 { margin-top: 10px; }
.cbp-lead-ok p { color: var(--cbp-ink-soft); font-size: 14px; margin: 6px 0 12px; }
.cbp-lead-ok a { color: var(--cbp-navy); font-weight: 700; }
.cbp-lead-proto { background: #eef2ff; color: #3730a3 !important; border-radius: 10px; padding: 8px 10px; font-size: 12.5px !important; }
.cbp-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 450; display: flex; align-items: center; gap: 10px; background: var(--cbp-ink); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); transition: opacity .4s, transform .4s; }
.cbp-toast .cbp-i { color: #4ade80; }
.cbp-toast.is-out { opacity: 0; transform: translate(-50%, 10px); }
/* The form and the toast are appended to <body> (.cbp-portal), outside the
   page root. The site's preflight already resets their buttons and links; only
   its global heading style needs undoing (and no later rule here may set a
   button's colour — it would beat .cbp-btn--ink, which comes earlier). */
html.cbp-lead-open { overflow: hidden; }
/* Above the Zoho Desk chat launcher (z-index 2147483645), which would sit on
   top of the form's fields on a phone. */
.cbp-lead-bg { z-index: 2147483646; }
.cbp-portal :where(h3) { font-family: var(--cbp-f-display); color: var(--cbp-ink); font-weight: 700; font-feature-settings: normal; }
.cbp-lead-preview { margin: 0 0 12px; padding: 8px 10px; border-radius: 10px; background: #eef2ff; color: #3730a3; font-size: 12.5px; font-weight: 600; }
.cbp-lead .cbp-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.cbp-lead-x:focus-visible, .cbp-lead .cbp-btn:focus-visible, .cbp-lead-ok a:focus-visible, .cbp-lead-consent input:focus-visible { outline: 3px solid var(--cbp-navy); outline-offset: 2px; }
.cbp-lead-consent input.is-bad { outline: 2px solid #e11d48; outline-offset: 2px; }
.cbp-lead-ok h3:focus { outline: none; }
.cbp-lock.is-open { color: var(--cbp-green); background: var(--cbp-green-50); }
[data-lead-file][aria-busy="true"], [data-lead-cta][aria-busy="true"] { cursor: progress; opacity: .75; }
@keyframes cbpFade { from { opacity: 0; } }
@keyframes cbpPop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (max-width: 767px) {
  .cbp-lead-bg { place-items: end stretch; padding: 0; }
  .cbp-lead { width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; padding-bottom: calc(18px + env(safe-area-inset-bottom)); animation: cbpUp .28s var(--cbp-ease); }
  .cbp-files li { flex-wrap: wrap; }
  .cbp-files li .cbp-btn { margin-left: 56px; }
  .cbp-toast { bottom: 140px; width: max-content; max-width: calc(100vw - 32px); }
}

/* ------------------------------------------------ WEB-0020 fallback form */
.cbp-fallback { scroll-margin-top: calc(var(--cbp-hdr) + 70px); }
/* Builder iframe only: the automatic CoursePages form as a dashed stand-in. */
.cbp-fallback--mock { padding: 28px 0 40px; }
.cbp-fallback--mock .cbp-form-mock { max-width: 680px; margin: 0 auto; border: 2px dashed #c7cbe0; border-radius: 14px; background: #fff; }

/* -------------------------------------------- staff preview (never public) */
.cbp-preview-bar { position: fixed; left: 16px; bottom: 16px; z-index: 46; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; max-width: calc(100vw - 32px); padding: 8px 10px 8px 14px; border-radius: 14px; background: #1e1b4b; color: #e0e7ff; font-size: 12.5px; font-weight: 600; box-shadow: 0 12px 28px -10px rgba(30,27,75,.6); }
.cbp-preview-bar strong { color: #fff; letter-spacing: .04em; text-transform: uppercase; font-size: 11.5px; }
.cbp-preview-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 9px; background: rgba(255,255,255,.12); }
.cbp-preview-seg a { padding: 3px 9px; border-radius: 7px; color: #e0e7ff; text-decoration: none; }
.cbp-preview-seg a.is-on { background: #fff; color: #1e1b4b; }
@media (max-width: 1023px) {
  .cbp-preview-bar { bottom: calc(3.5rem + 1px + 80px + env(safe-area-inset-bottom, 0px)); flex-wrap: nowrap; gap: 8px; padding: 6px 8px 6px 10px; font-size: 11.5px; }
  .cbp-preview-bar > span:first-of-type { display: none; }
}

/* --------------------------------------------------- top ticker (page block) */
.cbp-ticker { background: var(--cbp-navy-950); color: #fff; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.35; }
.cbp-ticker--amber { background: var(--cbp-amber); color: var(--cbp-navy-950); }
.cbp-ticker--red { background: #b91c1c; color: #fff; }
.cbp-ticker-track { display: flex; width: max-content; animation: cbpTicker var(--cbp-ticker-dur, 40s) linear infinite; }
.cbp-ticker:hover .cbp-ticker-track, .cbp-ticker:focus-within .cbp-ticker-track { animation-play-state: paused; }
.cbp-ticker-run { display: flex; flex: none; align-items: center; gap: 44px; padding: 10px 22px; white-space: nowrap; }
.cbp-ticker-run > *::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; margin-right: 12px; vertical-align: middle; }
.cbp-ticker a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@keyframes cbpTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .cbp-ticker { overflow-x: auto; }
  .cbp-ticker-track { animation: none; }
  .cbp-ticker-run[aria-hidden] { display: none; }
}

/* ------------------------------------------------------- pop-up (page block) */
.cbp-pop { position: fixed; inset: 0; z-index: 2147483646; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s ease; }
.cbp-pop.is-open { opacity: 1; }
.cbp-pop[hidden] { display: none; }
html.cbp-pop-open { overflow: hidden; }
.cbp-pop-bg { position: absolute; inset: 0; background: rgba(10, 17, 40, .6); }
.cbp-pop-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); transform: translateY(12px); transition: transform .25s var(--cbp-ease, ease); }
.cbp-pop.is-open .cbp-pop-card { transform: none; }
.cbp-pop-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--cbp-ink); box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; z-index: 1; }
.cbp-pop-img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: cover; }
.cbp-pop-body { padding: 22px 24px 24px; }
.cbp-pop-h { margin: 0 0 8px; font-size: 22px; line-height: 1.25; color: var(--cbp-ink); }
/* No image above the text: keep the first line clear of the close button. */
.cbp-pop-x + .cbp-pop-body > :first-child { padding-right: 30px; }
.cbp-pop-t { margin: 0 0 16px; color: var(--cbp-ink-soft); font-size: 15px; line-height: 1.55; }
.cbp-pop-btn { margin-top: 4px; }
.cbp-pop-mock { margin: 16px auto; max-width: 560px; border: 2px dashed var(--cbp-navy-200); border-radius: 18px; padding: 12px; background: var(--cbp-navy-50); }
.cbp-pop-mock-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cbp-navy-700); margin: 2px 4px 10px; }
.cbp-pop-card--inline { width: 100%; max-height: none; transform: none; box-shadow: none; }

/* ------------------------------------------------ section button (any section) */
.cbp-sec-btn { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.cbp-sec--full .cbp-sec-btn { justify-content: center; }
@media (max-width: 767px) { .cbp-sec-btn > .cbp-btn { width: 100%; justify-content: center; } }

/* ------------------------------------------------------------ useful links */
.cbp-linkcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cbp-linkcard { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--cbp-line); border-radius: 14px; background: #fff; color: var(--cbp-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cbp-linkcard:hover { border-color: var(--cbp-navy-200); box-shadow: var(--cbp-sh-card); transform: translateY(-1px); }
.cbp-linkcard-t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.cbp-linkcard-t strong { font-size: 15px; line-height: 1.3; }
.cbp-linkcard-t small { font-size: 13px; color: var(--cbp-mute); line-height: 1.35; }
.cbp-linkcard-go { flex: none; color: var(--cbp-mute); }
.cbp-linkic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--cbp-navy); }
.cbp-linkbtns { display: flex; flex-wrap: wrap; gap: 10px; }
.cbp-linkbtn { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border: 1px solid var(--cbp-line); border-radius: 999px; background: #fff; color: var(--cbp-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.cbp-linkbtn:hover { border-color: var(--cbp-navy-200); }
.cbp-linkbtn .cbp-linkic { width: 30px; height: 30px; border-radius: 50%; }
.cbp-linkk--telegram .cbp-linkic { background: #229ed9; }
.cbp-linkk--instagram .cbp-linkic { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.cbp-linkk--youtube .cbp-linkic { background: #ff0000; }
.cbp-linkk--whatsapp .cbp-linkic { background: #25d366; }
.cbp-linkk--facebook .cbp-linkic { background: #1877f2; }
.cbp-linkk--linkedin .cbp-linkic { background: #0a66c2; }
.cbp-linkk--x .cbp-linkic { background: #000; }
.cbp-linkk--toppers .cbp-linkic { background: var(--cbp-amber); color: var(--cbp-navy-950); }
