/* ============================================================
   PLATFORM TUTORIAL VIDEO (landing + marketplace)
   Matches Plans & pricing section chrome (left-aligned header,
   quiet CTA pill, full-bleed embed in the page content width).
   Header rules are self-contained so the section also works inside
   the authenticated dashboard shell (no base.css).
   ============================================================ */
#tutorial-section {
    scroll-margin-top: 110px;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-weight: 500;
}

#tutorial-section.landing-pricing--below-courses {
    margin-top: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

#tutorial-section .landing-pricing__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    max-width: none;
    margin-inline: 0;
}

#tutorial-section .landing-pricing__title {
    font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink-900, #0b1c2c);
    margin: 0 0 0.4rem;
}

#tutorial-section .landing-pricing__subtitle {
    margin: 0;
    max-width: 42rem;
    color: var(--ink-600, #52697d);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

#tutorial-section .landing-pricing__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

#tutorial-section .landing-pricing__link-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color, #0a486ff7);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 72, 111, 0.2);
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#tutorial-section .landing-pricing__link-all:hover {
    background: rgba(10, 72, 111, 0.05);
    border-color: var(--primary-color, #0a486ff7);
    color: #073454;
    text-decoration: none;
}

.tutorial-video__embed {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md, 14px);
    overflow: hidden;
    background: #0b1c2c;
    border: 1px solid rgba(16, 40, 62, 0.1);
}

.tutorial-video__embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

/* Marketplace: same section chrome, tighter vertical rhythm */
#tutorial-section.tutorial-video--compact {
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 576px) {
    #tutorial-section .landing-pricing__header {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .tutorial-video__embed {
        border-radius: var(--radius-sm, 10px);
    }
}
