/* Standalone /study-session page layout */

/* Same fixed .top-nav as /app — body padding-top from styles.css clears the bar */
body.study-session-page {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    --ss-header-sticky-offset: calc(56px + env(safe-area-inset-top, 0px));
}

/* .study-session-main base */
.study-session-main {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Legacy marketing-only session explainer (unused when flow is embedded) */
.session-page {
    flex: 1;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3rem) 1.5rem clamp(3rem, 8vw, 4rem);
    box-sizing: border-box;
}

.session-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--landing-accent, #3dd68c);
    text-align: center;
    text-shadow: 0 0 20px rgba(61, 214, 140, 0.35);
}

.session-title {
    margin: 0 0 1rem;
    font-size: clamp(1.65rem, 4.5vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-align: center;
    color: #ffffff;
    text-shadow:
        0 0 24px rgba(61, 214, 140, 0.35),
        0 0 48px rgba(34, 211, 238, 0.15);
}

.session-lead {
    margin: 0 auto 1.75rem;
    max-width: 34rem;
    font-size: clamp(1rem, 2.4vw, 1.12rem);
    line-height: 1.55;
    text-align: center;
    color: rgba(226, 232, 240, 0.92);
}

.session-steps {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.session-step {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(61, 214, 140, 0.22);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 0 28px rgba(61, 214, 140, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.session-step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    color: #041208;
    background: linear-gradient(145deg, #2eb574 0%, var(--landing-accent, #3dd68c) 100%);
    border-radius: 10px;
    box-shadow: 0 0 16px rgba(61, 214, 140, 0.35);
}

.session-step-body {
    flex: 1;
    min-width: 0;
}

.session-step-title {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #f8fafc;
}

.session-step-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--landing-muted, #8b9aab);
}

.session-note {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(203, 213, 225, 0.95);
    background: rgba(34, 211, 238, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.session-cta-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.session-cta-secondary-wrap {
    text-align: center;
}

.session-link-secondary {
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    border-bottom: 1px solid rgba(61, 214, 140, 0.35);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.session-link-secondary:hover {
    color: var(--landing-accent, #3dd68c);
    border-color: rgba(61, 214, 140, 0.65);
}

@media (min-width: 520px) {
    .session-cta-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .session-cta-row .landing-cta {
        flex: 1 1 auto;
        min-width: 12rem;
    }
}
