/* ── Card grids (feature list & "other services") ────────────────
   Any <ul> that is a direct child of a <section> becomes a card
   grid; this covers both the plan-includes list and the add-ons
   list without needing a class to tell them apart.                  */

section > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

section > ul > li {
    background: var(--theme-bg);
    color: var(--theme-fg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

section > ul > li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    color: var(--theme-fg_accent);
    background: var(--theme-bg_accent);
}

/* Card titles: override the site-wide centred <h3> rule (style.css)
   for card headings specifically. */

section li h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    padding: 0;
    text-align: left;
    font-variant: normal;
    font-size: 1.1rem;
    color: var(--theme-fg_accent);
    margin: 0 0 0.75rem;
}

section .icon {
    font-size: 2rem;
    line-height: 1;
}

/* Nested feature lists inside a card */

section li ul {
    list-style: disc;
    margin: 0;
    padding-left: 1.2rem;
    color: var(--theme-fg_muted);
    font-size: 0.92rem;
    &:hover {
        color: var(--theme-fg);
    }

}

section li ul li {
    margin-bottom: 0.35rem;
}

