/* Landing page — layout only; all colours and components come from Pico and main.css so the page
   matches the rest of the application. */

.landing nav.container-fluid ul:last-child {
    gap: 0.5rem;
}

.landing nav.container-fluid [role="button"] {
    margin: 0;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

/* ── Hero ── */
.hero {
    max-width: 40rem;
    margin: 0 auto;
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-accent {
    color: var(--pico-primary);
}

.hero hgroup > p {
    font-size: 1.15rem;
    color: var(--pico-muted-color);
    max-width: 30rem;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-cta [role="button"] {
    margin: 0;
}

/* ── Features ── */
.features {
    padding: 2rem 0 3rem;
}

.features-head {
    text-align: center;
    margin-bottom: 2rem;
}

.features-head > p {
    color: var(--pico-muted-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.features-grid article {
    margin: 0;
    height: 100%;
}

.features-grid h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.features-grid p {
    color: var(--pico-muted-color);
    margin: 0;
}

/* ── Call to action ── */
.cta-band article {
    text-align: center;
    background: var(--pico-card-sectioning-background-color);
}

.cta-band [role="button"] {
    margin: 0;
}

/* The marketing page scrolls, so the footer flows with the content instead of staying fixed. */
.landing-footer {
    position: static;
    justify-content: center;
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
