/* Product sections on the main page (index.html #connects: four groups of cards; #ways: two cards), each card a small
   line icon, a name and one line. One column on a phone, two from 35em, then 3 and 4. */

.group { margin-top: 2.25rem; }

.group h3 {
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--grey-20);
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.card-x {
  background: var(--surface, var(--white));
  border: 1px solid var(--grey-20);
  border-radius: var(--radius-large);
  padding: 1rem 1.125rem;
}

.card-x svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.625rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--green);
}

.card-x h3,
.card-x h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.card-x p { margin: 0; color: var(--grey-60); font-size: 0.9375rem; }

.map-note {
  margin: 2rem 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--grey-70);
}

@media (min-width: 35em) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 52em) { .cards { grid-template-columns: repeat(3, 1fr); } .group-ctl .cards, .group-mod .cards { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 64em) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}
/* the two ways to run ClearGrow (#ways): two equal cards, one column to 52em, then side by side, and the upgrade card below (after the .cards rules above, so it overrides their two columns) */
.cards-two { margin-top: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 52em) { .cards-two { grid-template-columns: repeat(2, 1fr); } }
.card-x ul { margin: 0.75rem 0 0; padding-left: 1.125rem; color: var(--grey-60); font-size: 0.9375rem; }
.card-x ul li { margin-top: 0.375rem; }
.ways-upgrade { margin-top: 0.75rem; }
