/* ==========================================================================
   LANDING PAGE
   Unauthenticated marketing surface — brand bar + hero + feature cards
   ========================================================================== */

.landing-brand-bar {
    height: 56px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding-inline: var(--space-5);
}

.landing-brand-bar__logo {
    font-family: var(--font-ui);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 150ms ease;
}

.landing-brand-bar__logo:hover {
    color: var(--accent);
}

.landing-page {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    padding-block: var(--space-6);
}

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
}

.landing-hero__title {
    font-family: var(--font-ui);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.landing-hero__tagline {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text-muted);
    margin: 0;
    max-width: 60ch;
    line-height: 1.5;
}

.landing-hero__cta {
    margin-top: var(--space-2);
}

/*
   Microsoft "Sign in with Microsoft" button — branded per Microsoft's identity
   platform guidelines. Colors, typography, and dimensions are dictated by
   Microsoft and intentionally bypass MC-ORG design tokens.
   Reference: https://learn.microsoft.com/en-us/entra/identity-platform/howto-add-branding-in-apps
*/
.btn-microsoft {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 41px;
    min-width: 215px;
    padding: 0 12px;
    background: #2F2F2F;
    border: none;
    border-radius: 0;
    color: #FFFFFF;
    font-family: "Segoe UI", "Segoe UI Web (West European)", -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 150ms ease;
}

.btn-microsoft:hover,
.btn-microsoft:focus-visible {
    background: #1F1F1F;
    color: #FFFFFF;
    text-decoration: none;
}

.btn-microsoft:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-microsoft__logo {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-feature {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.landing-feature__title {
    font-family: var(--font-ui);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.landing-feature__body {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .landing-hero__title {
        font-size: 24px;
    }

    .landing-features {
        grid-template-columns: 1fr;
    }
}
