.landing {
    background: #fff;
    max-width: 420px;
    margin: 3rem auto;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: .75rem;
    box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .35);
}

.landing-logo {
    width: 72px;
    margin-bottom: 1rem;
}

.landing-note {
    margin-top: 1.5rem;
    font-size: .875rem;
    color: #6c757d;
}

.landing-page {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url("../images/kerkgebouw.webp") center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.landing-page .landing {
    margin: 0;
    width: 100%;
}

.btn-signin {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    box-shadow: 0 .25rem .75rem rgba(201, 71, 20, .3);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn-signin:hover,
.btn-signin:focus {
    transform: translateY(-1px);
    box-shadow: 0 .4rem 1rem rgba(168, 59, 16, .35);
}

.btn-signin:focus-visible {
    outline: 3px solid var(--kandelaar-orange);
    outline-offset: 2px;
}

/* Signed-in home page */
.home {
    max-width: 1200px;
}

.home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.home-eyebrow,
.module-category {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4b5563;
}

.home-title {
    margin: .5rem 0;
    font-size: 3.25rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.home-lead {
    margin: 0;
    font-size: 1.5rem;
    color: #6b7280;
}

.home-candle {
    flex: 0 0 300px;
    width: 300px;
}

.home-candle-glow {
    fill: #fdeee4;
}

.home-candle-line {
    fill: none;
    stroke: var(--kandelaar-primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-section-title {
    margin-bottom: .25rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.home-section-sub,
.home-empty {
    color: #6b7280;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.module-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #ece7e2;
    border-radius: .5rem;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .04);
}

.module-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 84px;
    height: 84px;
    font-size: 2rem;
    color: var(--kandelaar-primary);
    background: #fdeee4;
    border-radius: .5rem;
}

.module-name {
    margin: .4rem 0 .5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.module-description {
    color: #6b7280;
}

.module-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.module-open {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem 1.5rem;
    font-weight: 600;
    border-radius: .4rem;
}

@media (max-width: 767.98px) {
    .home-candle {
        display: none;
    }

    .home-title {
        font-size: 2.25rem;
    }

    .home-lead {
        font-size: 1.15rem;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .module-card {
        flex-direction: column;
    }
}
