/* The image strip reaches both viewport edges; text keeps its own padding. */
#brands .proof-grid { width: 100%; margin-inline: 0; }

.hero { max-width: 1280px; margin-inline: auto; padding-inline: clamp(24px, 4vw, 64px); }
.hero-content { padding: 20px 0; }
.hero-content .eyebrow { margin-bottom: 34px; }
.hero-content .hero-lead { margin-top: 34px; line-height: 1.75; }
.hero-content .hero-description { margin-top: 28px; }
.hero-content .hero-copy { line-height: 1.8; }
.hero-content .hero-cta { margin-top: 40px; gap: 16px; }
.network-intro { margin-top: 24px; }
.team-background { margin-top: 24px; }
.team-background p { line-height: 1.8; }
.sprint-body { padding: 24px clamp(28px, 4vw, 56px) 40px; max-width: 64rem; }

/* Homepage service cards: 01–02 on the first row, 03–04 on the second. */
#services .service-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#services .service-entry {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 40px clamp(28px, 4vw, 64px) 44px;
}

#services .service-entry:nth-child(odd) {
  border-right: 1px solid var(--line);
}

#services .service-entry h3 {
  font-size: clamp(1.875rem, 2.8vw, 2.5rem);
  min-height: 2.24em;
}

#services .service-entry-note { max-width: 60ch; margin-top: 20px; }
#services .service-entry-note p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

#services .service-entry-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#services .service-shortcuts {
  margin-bottom: 28px;
}

#services .service-explore {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 900px) {
  #services .service-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  #services .service-entry:nth-child(n) {
    padding: 32px clamp(8px, 3vw, 28px);
    border-right: 0;
  }

  #services .service-entry h3 {
    min-height: 0;
  }

  #services .service-entry { gap: 20px; }
  #services .service-entry-note { margin-top: 12px; }
  #services .service-entry-meta { margin-bottom: 16px; }
  #services .service-entry-content { flex: none; }
  #services .service-explore { margin-top: 0; }
}

@media (max-width: 840px) {
  .hero { padding-inline: 0; }
}

@media (max-width: 520px) {
  .sprint-body { padding: 20px 20px 32px; }
  .hero-content { padding: 8px 4px; }
  .hero-content .eyebrow { margin-bottom: 26px; }
  .hero-content .hero-lead { margin-top: 26px; }
  .hero-content .hero-description { margin-top: 24px; }
  .hero-content .hero-cta { margin-top: 32px; gap: 12px; }

  #services .service-entry h3 {
    font-size: clamp(1.8rem, 7.8vw, 2.25rem);
    max-width: 100%;
    text-wrap: auto;
  }

  #services .service-shortcuts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #services .service-shortcut { display: flex; width: 100%; padding: 12px 16px; border-radius: 12px; }
  #services .service-explore { align-self: stretch; min-height: 52px; }
  .circle-invitation { margin-top: 32px; padding: 24px 20px; }
  .circle-action .button { width: 100%; min-height: 52px; }
}
