/**
 * Outreach landing pages (LP majitelé / studenti).
 * Light: bílé karty = --text. Dark: sklo na plátně = --fm-text (ne bílé desky).
 */

.olp-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    background: var(--fm-page, var(--main-bg));
    color: var(--fm-text, var(--text));
}

html[data-theme="dark"] .olp-body {
    background:
        radial-gradient(ellipse 70% 45% at 15% -5%, rgba(129, 140, 248, 0.18), transparent 55%),
        radial-gradient(ellipse 55% 40% at 100% 0%, rgba(245, 158, 11, 0.12), transparent 50%),
        var(--fm-page, #070b16);
    color: var(--fm-text, #f8fafc);
}

.olp-main {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3.5rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .olp-main {
        padding: 2.25rem 1.5rem 4rem;
    }
}

.olp-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fm-indigo, var(--indigo-text, #4338ca));
}

html[data-theme="dark"] .olp-kicker {
    color: var(--fm-indigo, #c4b5fd);
}

.olp-hero h1 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.55rem, 4.2vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.18;
    color: var(--fm-text, var(--canvas-text, var(--text)));
}

/* Plátno — hard override proti --text z jiných stylesheetů */
html[data-theme="dark"] .olp-hero h1 {
    color: #f8fafc;
}

.olp-lead,
.olp-note {
    margin: 0 0 1.1rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--fm-muted, var(--canvas-muted, var(--muted)));
}

html[data-theme="dark"] .olp-lead,
html[data-theme="dark"] .olp-note {
    color: var(--fm-muted, rgba(226, 232, 240, 0.82));
}

.olp-lead strong,
.olp-note strong {
    color: var(--fm-text, var(--canvas-text, var(--text)));
    font-weight: 700;
}

html[data-theme="dark"] .olp-lead strong,
html[data-theme="dark"] .olp-note strong {
    color: #f8fafc;
}

.olp-en {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--indigo-text, #4338ca);
}

html[data-theme="dark"] .olp-en {
    color: var(--fm-indigo, #c4b5fd);
}

.olp-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.35rem 0 0.65rem;
}

/* Konverzní CTA — amber jako landing hero */
.olp-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    box-sizing: border-box;
    letter-spacing: -0.02em;
}

.olp-cta .cta-btn--primary {
    background: linear-gradient(135deg, #fbbf24 0%, var(--color-accent-amber, #f59e0b) 55%, #d97706 100%);
    color: #0f172a;
    border-color: #f59e0b;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.32);
}

.olp-cta .cta-btn--primary:hover,
.olp-cta .cta-btn--primary:focus-visible {
    filter: brightness(0.97);
    outline: 2px solid var(--indigo);
    outline-offset: 2px;
}

.olp-cta .cta-btn--outline {
    background: var(--surface);
    color: var(--indigo-text, #4338ca);
    border-color: var(--indigo);
}

.olp-cta .cta-btn--outline:hover,
.olp-cta .cta-btn--outline:focus-visible {
    background: var(--indigo-soft);
    outline: 2px solid var(--indigo);
    outline-offset: 2px;
}

html[data-theme="dark"] .olp-cta .cta-btn--outline {
    background: rgba(248, 250, 252, 0.06);
    color: var(--fm-text, #f8fafc);
    border-color: rgba(76, 224, 195, 0.45);
}

html[data-theme="dark"] .olp-cta .cta-btn--outline:hover,
html[data-theme="dark"] .olp-cta .cta-btn--outline:focus-visible {
    background: rgba(76, 224, 195, 0.12);
    border-color: rgba(76, 224, 195, 0.65);
    color: #f8fafc;
}

.olp-offer {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    color: var(--boost-text, #92400e);
    font-weight: 650;
}

html[data-theme="dark"] .olp-offer {
    color: #fcd34d;
}

.olp-body .nav-auth {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.olp-body .nav-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.16s;
}

.olp-card {
    margin: 1.75rem 0 0;
    padding: 1.25rem 1.2rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.olp-card h2 {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.olp-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: olp-step;
}

.olp-steps li {
    position: relative;
    padding: 0.55rem 0 0.55rem 2.4rem;
    color: var(--text);
    line-height: 1.45;
}

.olp-steps li::before {
    counter-increment: olp-step;
    content: counter(olp-step);
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: var(--indigo);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.olp-donts {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text);
    line-height: 1.5;
}

.olp-donts li + li {
    margin-top: 0.4rem;
}

.olp-foot {
    margin: 2rem 0 0;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.45;
}

html[data-theme="dark"] .olp-foot {
    color: var(--fm-muted, rgba(226, 232, 240, 0.65));
}

.olp-chrome-sub {
    margin: 0;
    font-size: 0.8rem;
    color: var(--fm-muted, var(--muted));
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .olp-cta .cta-btn {
        flex: 1 1 100%;
    }

    .olp-chrome-sub {
        display: none;
    }
}

/* Dark: karty = sklo (ne bílé desky), ink = --fm-text */
html[data-theme="dark"] .olp-card {
    background: var(--fm-glass, rgba(15, 23, 42, 0.72));
    border-color: var(--fm-glass-border, rgba(148, 163, 184, 0.22));
    color: var(--fm-text, #f1f5f9);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(14px) saturate(1.1);
}

html[data-theme="dark"] .olp-card h2,
html[data-theme="dark"] .olp-steps li,
html[data-theme="dark"] .olp-donts {
    color: var(--fm-text, #f1f5f9);
}

html[data-theme="dark"] .olp-steps li::before {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}
