/* Homepage-only layout; interior pages retain their shared styles. */
.home-main {
    display: grid;
    place-items: center;
    padding: 72px 0;
}

.home-cards {
    width: min(960px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    padding: 40px 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    text-align: center;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.home-card:hover,
.home-card:focus-visible {
    border-color: var(--green);
    box-shadow: 0 4px 16px rgb(16 19 24 / 5%);
}

.home-card svg {
    width: 36px;
    height: 36px;
    color: var(--green);
}

.home-card h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.home-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .home-main {
        padding: 48px 0;
    }

    .home-cards {
        max-width: 360px;
        grid-template-columns: 1fr;
    }
}
