/*!
 * lp.css — /success-* ad landing pages (Lp controller, views/lp/*).
 * Standalone stylesheet (these pages do NOT load the site bundles).
 *
 * Palette: the OS fire palette from CLAUDE.md only.
 * Per-page accent: body.lp--oto (1-1 IM) / body.lp--ts (test series) /
 * .lp--rc (recorded classes)
 * remap --lp-accent-cur, everything else reads the variables.
 */

:root {
    --lp-primary:  #9D0208;   /* primary CTA */
    --lp-hover:    #DC2F02;   /* CTA hover */
    --lp-accent:   #E85D04;   /* accents / markers */
    --lp-accent2:  #F48C06;   /* light accent */
    --lp-amber:    #FAA307;   /* positive */
    --lp-gold:     #FFBA08;   /* success ticks / highlights */
    --lp-dark:     #03071E;   /* dark text / bands */
    --lp-burgundy: #370617;   /* hero gradient start */
    --lp-maroon:   #6A040F;   /* hero gradient mid */
    --lp-red:      #D00000;   /* error */
    --lp-theme:    #940006;   /* brand theme */

    --lp-accent-cur: var(--lp-accent);
    --lp-ink:      #2b2b33;
    --lp-muted:    #6d6d78;
    --lp-line:     #ecdcd2;
    --lp-bg:       #ffffff;
    --lp-bg-alt:   #fdf6ef;   /* warm alt band */
    --lp-radius:   14px;
    --lp-shadow:   0 10px 30px rgba(3, 7, 30, 0.08);
    --lp-font:     'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --lp-font-head:'Raleway', 'Lato', -apple-system, 'Segoe UI', Arial, sans-serif;
}
.lp--oto { --lp-accent-cur: var(--lp-accent);  }   /* 1-1 IM: orange */
.lp--ts  { --lp-accent-cur: var(--lp-accent2); }   /* test series: light orange */
.lp--rc  { --lp-accent-cur: var(--lp-amber); }     /* recorded classes: amber */

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp {
    margin: 0;
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-ink);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
}
.lp img { max-width: 100%; height: auto; }
.lp a { color: var(--lp-primary); }
.lp a:hover { color: var(--lp-hover); }

.lp-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.lp-wrap--narrow { max-width: 780px; }
.lp-center { text-align: center; }

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-block;
    background: var(--lp-primary);
    color: #fff !important;
    font-weight: 700;
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--lp-primary);
    border-radius: 999px;
    padding: 12px 26px;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.lp-btn:hover, .lp-btn:focus {
    background: var(--lp-hover);
    border-color: var(--lp-hover);
    color: #fff;
    transform: translateY(-1px);
}
.lp-btn--lg { font-size: 18px; padding: 15px 34px; }
.lp-btn--sm { font-size: 14px; padding: 8px 18px; }
.lp-btn--block { display: block; width: 100%; }
.lp-btn--ghost {
    background: transparent;
    color: var(--lp-primary) !important;
    border-color: var(--lp-primary);
}
.lp-btn--ghost:hover, .lp-btn--ghost:focus {
    background: var(--lp-primary);
    color: #fff !important;
}
/* Ghost variant for dark backdrops (hero gradient), where --lp-primary on
   maroon would be all but invisible. */
.lp-btn--ghostlight {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.72);
}
.lp-btn--ghostlight:hover, .lp-btn--ghostlight:focus {
    background: #fff;
    border-color: #fff;
    color: var(--lp-primary) !important;
}
.lp-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* Primary + secondary CTA side by side (buy / free trial). Wraps to a stack
   when the pair no longer fits the line. */
.lp-btnrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* ---------- Sticky top bar ---------- */
.lp-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 12px rgba(3, 7, 30, 0.10);
}
.lp-bar__brand img { height: 44px; width: auto; display: block; }
.lp-bar__ctas { display: flex; align-items: center; gap: 8px; }

/* ---------- Hero ---------- */
.lp-hero {
    background: linear-gradient(135deg, var(--lp-burgundy) 0%, var(--lp-maroon) 48%, var(--lp-primary) 100%);
    color: #fff;
    padding: 64px 0 56px;
    text-align: center;
}
.lp-kicker {
    display: inline-block;
    background: rgba(255, 186, 8, 0.16);
    color: var(--lp-gold);
    border: 1px solid rgba(255, 186, 8, 0.45);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 16px;
    margin-bottom: 18px;
}
.lp-hero__title {
    font-family: var(--lp-font-head);
    font-size: clamp(30px, 5.4vw, 46px);
    font-weight: 700;
    line-height: 1.18;
    margin: 0 auto 16px;
    max-width: 880px;
}
.lp-hero__title .lp-mark { color: var(--lp-gold); background: none; padding: 0; }
.lp-hero__sub {
    font-size: clamp(16px, 2.4vw, 19px);
    max-width: 760px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.92);
}
.lp-hero__cta { margin-bottom: 8px; }
.lp-hero__note {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}
.lp-hero__alt { margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.lp-hero__alt a { color: var(--lp-gold); text-decoration: underline; }
.lp-hero__alt a:hover { color: var(--lp-amber); }
.lp-section .lp-hero__alt { color: var(--lp-muted); }
.lp-section .lp-hero__alt a { color: var(--lp-primary); }
.lp-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 26px 0 0;
}
.lp-chips li {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13.5px;
    font-weight: 600;
}
.lp-section .lp-chips li {
    background: var(--lp-bg-alt);
    border-color: var(--lp-line);
    color: var(--lp-ink);
}
.lp-chips--center { justify-content: center; }

/* ---------- Stat strip ---------- */
.lp-stats { background: var(--lp-dark); color: #fff; padding: 22px 0; }
.lp-statbar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
    text-align: center;
}
.lp-stat strong {
    display: block;
    font-family: var(--lp-font-head);
    font-size: clamp(22px, 3.4vw, 30px);
    font-weight: 700;
    color: var(--lp-gold);
    line-height: 1.15;
}
.lp-stat span { font-size: 13px; color: rgba(255, 255, 255, 0.78); }

/* ---------- Reach / trust strip ---------- */
/* Fire ramp, palette entries 2-5 (burgundy -> maroon -> crimson -> red).
   It stops short of the orange end on purpose: gold numerals need a dark
   enough backdrop to stay legible. */
.lp-trust {
    background: linear-gradient(120deg, var(--lp-burgundy) 0%, var(--lp-maroon) 35%, var(--lp-primary) 70%, var(--lp-red) 100%);
    color: #fff;
    padding: 34px 0;
}
.lp-trustgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
}
/* Mobile: icon stacked over the figure. The PNGs are maroon line-art on a
   TRANSPARENT background — near-invisible on this band — so the pale disc
   they sit on comes from here. Global `box-sizing: border-box` keeps the
   padding inside the declared width. */
.lp-trustitem { text-align: center; }
.lp-trustitem img {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    padding: 9px;
    background: #fdeee6;
    border-radius: 50%;
}
.lp-trustitem p { margin: 0; }
.lp-trustitem span { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.lp-trustitem strong {
    display: block;
    font-family: var(--lp-font-head);
    font-size: clamp(20px, 3.2vw, 28px);
    font-weight: 700;
    color: var(--lp-gold);
    line-height: 1.15;
}

/* ---------- Sections ---------- */
.lp-section { padding: 58px 0; }
.lp-section--alt { background: var(--lp-bg-alt); }
.lp-h2 {
    font-family: var(--lp-font-head);
    font-size: clamp(24px, 3.8vw, 34px);
    font-weight: 700;
    line-height: 1.22;
    color: var(--lp-dark);
    margin: 0 0 14px;
}
.lp-mark {
    color: var(--lp-primary);
    background: linear-gradient(transparent 62%, rgba(250, 163, 7, 0.35) 62%);
    padding: 0 2px;
}
.lp-lead { font-size: 17px; color: var(--lp-muted); max-width: 820px; margin: 0 0 30px; }
.lp-center.lp-h2, .lp-h2.lp-center { text-align: center; }
.lp-lead.lp-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Card grids ---------- */
.lp-grid4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.lp-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-top: 4px solid var(--lp-accent-cur);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 22px 20px;
}
.lp-card h4 { margin: 0 0 8px; font-size: 17px; color: var(--lp-dark); }
.lp-card p { margin: 0; font-size: 14.5px; color: var(--lp-muted); }

/* ---------- Steps ---------- */
.lp-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
}
.lp-step {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 24px 20px;
    position: relative;
}
.lp-step__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lp-accent-cur);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 12px;
}
.lp-step h4 { margin: 0 0 8px; font-size: 17px; color: var(--lp-dark); }
.lp-step p { margin: 0; font-size: 14.5px; color: var(--lp-muted); }

/* ---------- Exam cards (LP A, im_courses) ---------- */
.lp-examgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.lp-examcard {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
}
.lp-examcard h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--lp-font-head);
    font-size: 18px;
    color: var(--lp-dark);
    margin: 0 0 14px;
}
.lp-examcard h3 img { height: 42px; width: auto; flex: 0 0 auto; }
.lp-examcard__price { margin: 0 0 12px; }
.lp-examcard__price dt {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--lp-accent-cur);
    margin-top: 8px;
}
.lp-examcard__price dd { margin: 2px 0 0; font-size: 15px; color: var(--lp-ink); }
.lp-examcard__meta { font-size: 13.5px; color: var(--lp-muted); margin: 0 0 16px; }
.lp-examcard .lp-btn { margin-top: auto; }

/* ---------- Mentors ---------- */
.lp-mentorgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
    text-align: center;
}
.lp-mentor { margin: 0; }
.lp-mentor img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--lp-gold);
    box-shadow: var(--lp-shadow);
}
.lp-mentor figcaption { margin-top: 8px; font-weight: 700; color: var(--lp-dark); font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.lp-quotes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.lp-quote {
    margin: 0;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-left: 4px solid var(--lp-amber);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 20px;
}
.lp-quote blockquote { margin: 0 0 10px; font-size: 15px; color: var(--lp-ink); font-style: italic; }
.lp-quote figcaption { font-size: 13.5px; font-weight: 700; color: var(--lp-muted); }

/* ---------- FAQ ---------- */
.lp-faq {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: var(--lp-shadow);
}
.lp-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 15px 42px 15px 18px;
    font-weight: 700;
    color: var(--lp-dark);
    position: relative;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: var(--lp-accent-cur);
}
.lp-faq[open] summary::after { content: '\2212'; }
.lp-faq p { margin: 0; padding: 0 18px 16px; font-size: 14.5px; color: var(--lp-muted); }
/* No global `a` rule in this stylesheet — keep answer links on-brand
   instead of browser-default blue. */
.lp-faq p a { color: var(--lp-primary); text-decoration: underline; }
.lp-faq p a:hover { color: var(--lp-hover); }

/* ---------- Form band + form card (shared) ---------- */
.lp-formband {
    background: linear-gradient(160deg, var(--lp-burgundy) 0%, var(--lp-maroon) 55%, var(--lp-theme) 100%);
}
.lp-formband .lp-h2, .lp-formband > .lp-wrap > .lp-lead { color: #fff; }
.lp-formband .lp-h2 .lp-mark { color: var(--lp-gold); background: none; }
.lp-formband .lp-lead { color: rgba(255, 255, 255, 0.85); }
/* The band is dark, so undo the `.lp-section .lp-hero__alt` muted/primary
   colours — they render near-invisible on the maroon gradient. */
.lp-formband .lp-hero__alt { color: rgba(255, 255, 255, 0.9); }
.lp-formband .lp-hero__alt a { color: var(--lp-gold); }
.lp-formband .lp-hero__alt a:hover { color: var(--lp-amber); }

.lp-formcard {
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: 0 18px 50px rgba(3, 7, 30, 0.30);
    padding: 26px 22px;
}
.lp-field { margin-bottom: 14px; }
.lp-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--lp-dark);
    margin-bottom: 5px;
}
.lp-field label em { color: var(--lp-red); font-style: normal; }
.lp-field label small { font-weight: 400; color: var(--lp-muted); }
.lp-field input[type="text"],
.lp-field input[type="email"],
.lp-field input[type="tel"],
.lp-field input[type="password"],
.lp-field input[type="date"],
.lp-field select {
    width: 100%;
    font-family: var(--lp-font);
    font-size: 15px;
    color: var(--lp-ink);
    background: #fff;
    border: 1.5px solid #d9cfc6;
    border-radius: 8px;
    padding: 11px 12px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-field input:focus, .lp-field select:focus {
    border-color: var(--lp-accent-cur);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}
.lp-field input.is-invalid, .lp-field select.is-invalid { border-color: var(--lp-red); }
.lp-fielderr { display: block; min-height: 16px; font-size: 12.5px; color: var(--lp-red); margin-top: 3px; }
.lp-fieldnote { font-size: 13px; margin-top: 4px; }
.lp-consent {
    display: block;
    font-size: 13px;
    color: var(--lp-muted);
    margin: 12px 0 16px;
    cursor: pointer;
}
.lp-consent input { margin-right: 6px; }
.lp-fineprint { font-size: 12.5px; color: var(--lp-muted); margin: 12px 0 0; text-align: center; }
.captcha-err { display: block; font-size: 13px; margin-top: 4px; color: var(--lp-red); }

.lp-alert {
    background: #fdecea;
    border: 1px solid var(--lp-red);
    color: #7a0000;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 14.5px;
}

/* ---------- LP B: embedded buy flow ---------- */
.lp-buygrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.lp-buycol {
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: 0 18px 50px rgba(3, 7, 30, 0.30);
    padding: 24px 20px;
}
.lp-buystep {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--lp-font-head);
    font-size: 18px;
    color: var(--lp-dark);
    margin: 0 0 18px;
}
.lp-buystep span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lp-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    flex: 0 0 auto;
}
.lp-subjects {
    background: var(--lp-bg-alt);
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 14.5px;
}
.lp-subjects label { display: inline-block; margin: 4px 0; cursor: pointer; color: var(--lp-ink); }
.lp-subjects input[type="checkbox"] { margin-right: 8px; accent-color: var(--lp-primary); }
.lp-subjects label.lp-sub--off { color: #999; }
.lp-subjects .disabled-msg { color: #888; }
.lp-couponbox {
    background: var(--lp-bg-alt);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.lp-couponbox > label { display: block; font-size: 13.5px; font-weight: 700; color: var(--lp-dark); margin-bottom: 8px; }
.lp-couponrow { display: flex; gap: 8px; }
.lp-couponrow input {
    flex: 1;
    min-width: 0;
    font-family: var(--lp-font);
    font-size: 14.5px;
    text-transform: uppercase;
    border: 1.5px solid #d9cfc6;
    border-radius: 8px;
    padding: 9px 12px;
    outline: none;
}
.lp-couponrow input:focus { border-color: var(--lp-accent-cur); }
.lp-couponrow .lp-btn { padding: 9px 18px; font-size: 14px; border-radius: 8px; }
.lp-couponmsg { margin: 8px 0 0; font-size: 13.5px; min-height: 18px; }
.lp-couponmsg--ok { color: #1c7a2d; font-weight: 700; }
.lp-couponmsg--warn { color: var(--lp-red); font-weight: 700; }
.lp-totalbox {
    background: linear-gradient(135deg, rgba(250, 163, 7, 0.15), rgba(255, 186, 8, 0.20));
    border: 1px solid rgba(244, 140, 6, 0.45);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.lp-totalbox p { margin: 0; font-size: 17px; color: var(--lp-dark); }
.lp-totalbox strong { color: var(--lp-primary); font-size: 20px; }
.lp-totalbox small { color: var(--lp-muted); font-size: 12.5px; }
.lp-existing {
    background: #fff8e6;
    border: 1px solid var(--lp-amber);
    border-radius: 8px;
    padding: 12px;
    font-size: 13.5px;
    color: var(--lp-ink);
}
.lp-existing p { margin: 0 0 10px; font-weight: 700; }
.lp-existing small { display: block; margin-top: 8px; color: var(--lp-muted); }
/* Offer cards (partials/offer_cards_plain) restyled to the fire palette */
.buydiscount {
    background: var(--lp-bg-alt);
    border: 1px dashed var(--lp-accent2);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.buydiscount h3 {
    font-family: var(--lp-font-head);
    font-size: 15.5px;
    color: var(--lp-primary);
    margin: 0 0 6px;
}
.buydiscount p { margin: 0 0 4px; font-size: 13.5px; color: var(--lp-muted); }
.buydiscount strong { color: var(--lp-dark); }

/* ---------- Coverage chips (LP B) ---------- */
.lp-covergrid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.lp-coverchip {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-left: 4px solid var(--lp-accent-cur);
    border-radius: 8px;
    box-shadow: var(--lp-shadow);
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--lp-dark);
}

/* ---------- Recorded Classes (lp--rc) ---------- */
/* In-site version (/live/recorded-classes): the page sits inside the site
   layout, so the body.lp base styles are re-applied to the wrapper. */
.lp-embed {
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-ink);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
}
.lp-embed h1, .lp-embed h2, .lp-embed h3, .lp-embed h4 { text-transform: none; letter-spacing: normal; }
.lp-embed p { font-size: inherit; }

.rc-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 26px;
}
.rc-pills[hidden] { display: none; }
.rc-pill {
    font-family: var(--lp-font);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--lp-dark);
    background: #fff;
    border: 1.5px solid var(--lp-line);
    border-radius: 999px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rc-pill:hover { border-color: var(--lp-primary); }
.rc-pill[aria-pressed="true"] { background: var(--lp-primary); border-color: var(--lp-primary); color: #fff; }
.rc-group + .rc-group { margin-top: 36px; }
.rc-group__title {
    font-family: var(--lp-font-head);
    font-size: 20px;
    color: var(--lp-dark);
    margin: 0 0 14px;
}
.rc-price {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--lp-primary);
}
.rc-price small { font-size: 13px; font-weight: 400; color: var(--lp-muted); }
.rc-course__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.rc-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.rc-course--all {
    border-top: 4px solid var(--lp-primary);
    background: linear-gradient(160deg, #fff 0%, #fff8ec 100%);
}
.rc-after { margin: 22px 0 0; }

.rc-video {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: var(--lp-dark);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow);
}
.rc-video iframe, .rc-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.rc-pdf iframe {
    display: block;
    width: 100%;
    max-width: 860px;
    height: 70vh;
    margin: 0 auto;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: #fff;
}

.rc-tablewrap { overflow-x: auto; }
.rc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
    font-size: 15px;
}
.rc-table th, .rc-table td {
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--lp-line);
}
.rc-table tbody tr:last-child th, .rc-table tbody tr:last-child td { border-bottom: 0; }
.rc-table thead th {
    background: var(--lp-dark);
    color: #fff;
    font-family: var(--lp-font-head);
    font-size: 15.5px;
}
.rc-table thead th.rc-col-rec { background: var(--lp-primary); }
.rc-table tbody th { width: 24%; color: var(--lp-dark); font-weight: 700; }
.rc-table td { color: var(--lp-ink); }
.rc-table td.rc-col-rec { background: #fff8ec; font-weight: 700; }

.rc-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
}
.rc-tier {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-top: 4px solid var(--lp-accent-cur);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 20px;
    text-align: center;
}
.rc-tier strong {
    display: block;
    font-family: var(--lp-font-head);
    font-size: 30px;
    color: var(--lp-primary);
    line-height: 1.15;
}
.rc-tier small { display: block; font-size: 13px; font-weight: 700; color: var(--lp-ink); margin: 2px 0 4px; }
.rc-tier span { font-size: 14.5px; color: var(--lp-muted); }

.rc-loggedin { max-width: 560px; margin: 0 auto; text-align: center; }
.rc-loggedin p { margin: 0 0 16px; color: var(--lp-ink); }

/* Anchor targets clear the sticky top bar (ads LP) / site header. */
#rc-sample, #rc-courses, .lp--rc #lp-buy { scroll-margin-top: 76px; }

@media (max-width: 639px) {
    .rc-table { font-size: 13.5px; }
    .rc-table th, .rc-table td { padding: 9px 8px; }
    .rc-table tbody th { width: auto; }
}

/* ---------- Sticky mobile CTA ---------- */
.lp-mobilecta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(3, 7, 30, 0.18);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
/* Two CTAs share the bar equally and stay on one line — the labels are short
   enough at this size down to a 320px viewport. */
.lp-mobilecta .lp-btnrow { flex-wrap: nowrap; gap: 8px; }
.lp-mobilecta .lp-btnrow .lp-btn { flex: 1 1 0; width: auto; font-size: 14px; padding: 12px 8px; white-space: nowrap; }
body.lp { padding-bottom: 70px; } /* room for the mobile CTA bar */

/* ---------- Footer ---------- */
.lp-footer {
    background: var(--lp-dark);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 36px 20px 42px;
}
.lp-footer__logo { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 5px 10px; }
.lp-footer__links { margin: 16px 0 6px; font-size: 14px; }
.lp-footer__links a { color: var(--lp-gold); text-decoration: none; }
.lp-footer__links a:hover { color: var(--lp-amber); text-decoration: underline; }
.lp-footer__copy { font-size: 12.5px; margin: 0; color: rgba(255, 255, 255, 0.5); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .lp-grid4 { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { grid-template-columns: repeat(3, 1fr); }
    .lp-examgrid { grid-template-columns: repeat(2, 1fr); }
    .lp-mentorgrid { grid-template-columns: repeat(4, 1fr); }
    .lp-quotes { grid-template-columns: repeat(2, 1fr); }
    .lp-statbar { grid-template-columns: repeat(4, 1fr); }
    /* Room for the home-page layout: icon beside the figure, left-aligned. */
    .lp-trustitem { display: flex; align-items: center; gap: 14px; text-align: left; }
    .lp-trustitem img { flex: 0 0 56px; width: 56px; height: 56px; margin: 0; padding: 11px; }
}
@media (min-width: 900px) {
    .lp-buygrid { grid-template-columns: 1.05fr 1fr; align-items: start; }
}
@media (min-width: 980px) {
    .lp-grid4 { grid-template-columns: repeat(4, 1fr); }
    .lp-examgrid { grid-template-columns: repeat(3, 1fr); }
    .lp-quotes { grid-template-columns: repeat(3, 1fr); }
    .lp-mentorgrid { grid-template-columns: repeat(8, 1fr); }
    .lp-mentor img { width: 96px; height: 96px; }
    .lp-trustgrid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
    .lp-mobilecta { display: none; }
    body.lp { padding-bottom: 0; }
}
/* Phones: the top bar keeps the primary CTA only — logo + two buttons will
   not fit, and the sticky bottom bar already carries both. */
@media (max-width: 767px) {
    .lp-bar__ctas .lp-cta2 { display: none; }
}
/* Keep the reCAPTCHA widget inside narrow phones */
@media (max-width: 359px) {
    .g-recaptcha { transform: scale(0.86); transform-origin: 0 0; }
}
