html, body {
    height: 100%;
}

.app-main-content {
    min-height: calc(100vh - 48px);
    /* Previously "pa-4 mt-16": a top margin to clear the fixed toolbar.
       MudBlazor's utility classes are !important, so overriding just the
       top side isn't possible - hence this dedicated class. The margin
       also collapsed through .mud-layout/body/html, adding 64px of dead
       scroll space on pages short enough for it to be noticeable. Padding
       never collapses, so the same clearance (64px) + old pa-4 top (16px)
       is folded into padding-top instead; pages with genuinely tall
       content still overflow and scroll normally. */
    padding: 1rem 1rem 1rem 1rem;
    padding-top: 5rem;
}

#components-reconnect-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    background: #323232;
    color: #fff;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: block;
}

.start-hero {
    max-width: 640px;
    margin: 0 auto 3rem;
}

.start-hero-badge {
    display: inline-block;
    border: 1px solid var(--mud-palette-error);
    color: var(--mud-palette-error);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1.5rem;
}

.start-hero-headline {
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.start-hero-description {
    max-width: 520px;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.start-hero-email-field {
    max-width: 320px;
    margin-bottom: 1rem;
}

.start-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.start-hero-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 2rem 0;
}

.start-hero-steps {
    max-width: 640px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 2rem 0;
}

.start-hero-steps .start-hero-step-first {
    padding-left: 0;
}

.start-hero-step-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.start-hiw {
    max-width: 640px;
    margin: 0 auto 3rem;
}

.start-hiw-badge {
    display: inline-block;
    color: var(--mud-palette-error);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.start-hiw-headline {
    font-weight: 900;
    line-height: 1.15;
    padding-bottom: 2.5rem;
}

.start-hiw-columns {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 2rem;
}

.start-hiw-column {
    padding-top: 1.5rem;
}

.start-hiw-column + .start-hiw-column {
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 599px) {
    .start-hiw-columns {
        flex-direction: column;
    }

    .start-hiw-column + .start-hiw-column {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .start-hero-steps .start-hero-step-first {
        padding-left: 24px;
    }
}

.start-hiw-pill {
    display: inline-block;
    background: rgba(255, 82, 82, 0.12);
    border: 1px solid var(--mud-palette-error);
    color: var(--mud-palette-error);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.75rem;
}

.start-hiw-example {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem 1.25rem;
}

.start-hiw-example-title {
    font-weight: 700;
}

.start-hiw-example-subtitle {
    opacity: 0.7;
}

.start-hiw-example-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.start-hiw-chip {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border: 1px solid transparent;
}

.start-hiw-chip-yes {
    color: var(--mud-palette-error);
    border-color: var(--mud-palette-error);
}

.start-hiw-chip-maybe {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.start-hiw-chip-no {
    color: #fff;
    background: var(--mud-palette-error);
    border-color: var(--mud-palette-error);
}
