/* Demo landing page. Mobile first, own grid, no Fomantic grid. */
.demo-page {
    --demo-blue: #2185d0;
    --demo-radius: 12px;
}

.demo-intro,
.demo-contact {
    max-width: 40em;
    margin-inline: auto;
    padding-inline: 1.5em;
    text-align: center;
    text-wrap: pretty;
}

.demo-intro {
    padding-bottom: 2.5rem;
}

/* The three expectations: one column on phones, three across when there's room */
.demo-expect {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin-inline: auto;
    padding-inline: 1.5em;
    box-sizing: border-box;
}

.demo-expect-item {
    padding: 1.75rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--demo-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.demo-expect-item .icon {
    margin: 0 0 0.5rem;
    color: var(--demo-blue);
}

.demo-expect-item h3 {
    margin: 0 0 0.5rem;
}

.demo-expect-item p {
    margin: 0;
    text-wrap: pretty;
}

/* Button and optional "where to start" list */
.demo-action {
    padding: 2.5rem 1.5em 0;
    text-align: center;
}

.demo-action form {
    margin: 0;
}

.demo-start {
    max-width: 30rem;
    margin: 2.5rem auto 0;
    text-align: left;
}

.demo-start-title {
    margin: 0 0 0.5rem;
    font-weight: 700;
    text-align: center;
}

.demo-start .icon {
    color: var(--demo-blue);
}

/* Contact nudge */
.demo-contact p {
    margin-bottom: 1.5rem;
}

.demo-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.demo-contact-actions .button {
    margin: 0;
}
