/* App-level style overrides */

/* Ensure app fills full viewport */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#app {
    width: 100%;
    min-height: 100vh;
}

/* Prevent horizontal scrollbar from full-bleed landing page sections */
.mud-main-content {
    overflow-x: hidden;
}

/* Rendered markdown: restore proper list indentation and spacing */
.markdown-body ol,
.markdown-body ul {
    padding-left: 1.5em;
    margin: 0.25em 0;
}

.markdown-body ol {
    list-style-type: decimal;
}

.markdown-body ul {
    list-style-type: disc;
}

.markdown-body li {
    margin: 0.15em 0;
}

.markdown-body p {
    margin: 0.4em 0;
}

.markdown-body h1, .markdown-body h2, .markdown-body h3,
.markdown-body h4, .markdown-body h5, .markdown-body h6 {
    margin: 0.6em 0 0.3em;
    font-weight: 600;
}

/* ===== Landing page ===== */

/* Full-bleed: break out of MudContainer using calc-based margin */
.landing-hero,
.landing-trust-bar,
.landing-section,
.landing-cta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 64px 16px;
    box-sizing: border-box;
}

/* Hero */
.landing-hero {
    background: linear-gradient(135deg, #1a237e, #283593, #3949ab);
    padding: 96px 16px;
}

.hero-headline {
    color: #fff !important;
    font-weight: 700 !important;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.hero-cta-primary {
    background-color: #fff !important;
    color: #1a237e !important;
    font-weight: 600 !important;
}

.hero-cta-secondary {
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #fff !important;
}

.hero-cta-secondary:hover {
    border-color: #fff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Trust bar */
.landing-trust-bar {
    background-color: #f5f5f5;
    padding: 16px;
    margin-left: calc(50% - 50vw);
}

.trust-item {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
}

/* Alternating section backgrounds */
.landing-section-alt {
    background-color: #fafafa;
}

/* Muted text (descriptions, subtitles) */
.landing-muted {
    color: var(--mud-palette-text-secondary) !important;
}

/* Feature blocks */
.feature-block {
    padding: 24px 16px;
}

/* Final CTA */
.landing-cta {
    background: linear-gradient(135deg, #1a237e, #283593, #3949ab);
    padding: 80px 16px;
}

/* Responsive — tablet (600-960px) */
@media (max-width: 960px) {
    .landing-hero {
        padding: 72px 16px;
    }

    .hero-headline {
        font-size: 2rem !important;
    }

    .hero-sub {
        font-size: 1.1rem !important;
    }
}

/* Responsive — mobile (<600px) */
@media (max-width: 600px) {
    .landing-hero {
        padding: 56px 12px;
    }

    .landing-hero,
    .landing-trust-bar,
    .landing-section,
    .landing-cta {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-headline {
        font-size: 1.6rem !important;
    }

    .hero-sub {
        font-size: 1rem !important;
    }

    .trust-item {
        white-space: normal;
    }

    .feature-block {
        padding: 16px 8px;
    }
}
