/* Load after style.css. Social cards accept SVG + span containing name + small. */
.benefit-grid,
.social-grid {
  display: grid;
  gap: 30px;
  padding: 0;
  text-align: center;
}

.benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.benefit-grid > article,
.social-grid > a,
.social-grid > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 0;
  padding: 40px 24px;
  border: 0;
  border-radius: 24px;
  background: #f8f9fc;
  color: #1d1d1f;
  text-align: center;
  text-decoration: none;
}

.benefit-grid svg,
.social-grid svg {
  display: block;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin: 0 0 36px;
  fill: none;
  stroke: none;
}

.benefit-grid h3,
.social-grid h3,
.social-grid > a > span,
.social-grid > button > span {
  flex: 0 0 auto;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.benefit-grid p,
.social-grid small {
  display: block;
  margin: 10px 0 0;
  color: #77777e;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.follow-section { padding-top: 80px; }
.follow-section > h2 { text-align: center; margin-bottom: 60px; }

@media (min-width: 1440px) {
  .benefit-grid > article,
  .social-grid > a,
  .social-grid > button { padding: 48px 24px; }
}

@media (max-width: 1000px) {
  .benefit-grid { gap: 20px; }
  .benefit-grid > article { padding: 36px 16px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 700px) {
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .follow-section { padding-top: 48px; }
  .follow-section > h2 { margin-bottom: 32px; }
  .social-grid { gap: 12px; }
  .social-grid > a,
  .social-grid > button { padding: 32px 12px; }
  .benefit-grid svg,
  .social-grid svg { margin-bottom: 24px; }
  .social-grid > a > span,
  .social-grid > button > span,
  .social-grid h3 { font-size: 21px; }
  .social-grid small { font-size: 16px; }
}
