/* ==========================================================================
   fullcourse.css — page-specific additions for /fullcourse
   The layout is the house design system (../../../assets/css/style.css):
   .hero, .stat-strip, .outcomes, .audience, .cta-card, .sticky-cta,
   .btn, .form-input, .lead-graf.has-dropcap, .pull-quote.
   Only what that system does not already provide lives here.
   ========================================================================== */

/* --- Hero figure -------------------------------------------------------- */
/* The hero art is a flat SVG diagram rather than a photo, so it needs a
   surface and a hairline to sit on. */
.hero-media .hero-image {
    background: var(--color-paper-2);
    border: 1px solid var(--color-rule);
    border-radius: var(--r-md);
}

/* --- Outcomes closing note --------------------------------------------- */
/* Small clarification under the 5-bullet "what the course covers" grid. */
.outcomes-note {
    max-width: 52ch;
    margin: var(--s-5) auto 0;
    font-size: var(--fs-small);
    line-height: var(--lh-body);
    color: var(--color-ink-muted);
    text-align: center;
    text-wrap: pretty;
}

/* --- Lead form ---------------------------------------------------------- */
/* Two fields (first name + email) — house .cta-form flips horizontal at
   >=640px which is built for the inline single-field subscribe box. Force
   the two-field layout to stay stacked at every width. */
.cta-form .form-row { margin-bottom: var(--s-3); }

@media (min-width: 40rem) {
    .cta-form--stacked {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-form--stacked .form-row { flex: none; }
}

.form-consent-note {
    font-size: var(--fs-kicker);
    line-height: var(--lh-snug);
    color: var(--color-ink-muted);
    text-align: center;
    text-wrap: pretty;
    max-width: 32rem;
    margin: var(--s-3) auto 0;
}

.form-consent-note a { color: var(--color-green-dark); }

/* Consent checkbox — the wording lives inside the label so the whole
   sentence is a hit-target for the checkbox. */
.form-consent-check {
    display: flex;
    align-items: flex-start;
    gap: var(--s-2);
    max-width: 34rem;
    margin: var(--s-3) auto 0;
    font-size: var(--fs-kicker);
    line-height: var(--lh-snug);
    color: var(--color-ink-muted);
    text-align: left;
    text-wrap: pretty;
    cursor: pointer;
}

.form-consent-check input[type="checkbox"] {
    flex-shrink: 0;
    margin: 0.15rem 0 0;
    width: 1rem;
    height: 1rem;
    accent-color: var(--color-green-dark);
    cursor: pointer;
}

.form-consent-check a { color: var(--color-green-dark); }

.form-consent-check input[aria-invalid="true"] { outline: 2px solid var(--color-maple); outline-offset: 2px; }

/* Honeypot — off-screen for people, still fillable by naive bots. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Submit status ------------------------------------------------------ */
.banner {
    font-size: var(--fs-small);
    line-height: var(--lh-snug);
    text-align: center;
    text-wrap: pretty;
    border-radius: var(--r-sm);
    padding: 0.8rem 1rem;
    margin-top: var(--s-3);
}

.banner-ok {
    background: var(--color-green-soft);
    border: 1px solid var(--color-green-line);
    color: var(--color-green-dark);
}

.banner-err {
    background: var(--color-maple-soft);
    border: 1px solid var(--color-maple);
    color: var(--color-maple);
}

/* --- Video unlock (post-submit) ---------------------------------------- */
/* Replaces the form card once the lead is captured. 16:9 frame, dark
   surround so the video reads as the reward, not another form field. */
.video-unlock {
    text-align: center;
}

.video-unlock .cta-eyebrow { margin-bottom: var(--s-3); }

.video-unlock-title {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    line-height: var(--lh-snug);
    color: var(--color-ink);
    text-wrap: balance;
    margin: 0 0 var(--s-4);
}

.video-frame {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto var(--s-4);
    aspect-ratio: 16 / 9;
    background: #0b0b0b;
    border: 1px solid var(--color-rule);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.25);
}

.video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #0b0b0b;
}

.video-unlock-note {
    max-width: 44ch;
    margin: 0 auto;
    font-size: var(--fs-small);
    line-height: var(--lh-body);
    color: var(--color-ink-soft);
    text-wrap: pretty;
}

.video-unlock-note strong { color: var(--color-ink); }

/* --- Legal -------------------------------------------------------------- */
.fc-disclaimer {
    border-top: 1px solid var(--color-rule);
    padding-top: var(--s-5);
    margin-block: var(--s-6);
}

.fc-disclaimer .disclaimer {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--color-ink-faint);
    margin: 0;
}
