/* Compact upgrade invitation for existing APT customers. */
.homepage-customers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  margin: 28px auto 0;
  padding: 24px 28px;
  border: 1px solid #cfe8df;
  border-radius: 22px;
  background: linear-gradient(115deg, #f5f9fe, #eef9f4);
}

.homepage-customers .homepage-customers-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.homepage-customers .homepage-customers-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border: 1px solid #d0e8de;
  border-radius: 16px;
  color: #14745f;
  background: #ffffffb3;
}

.homepage-customers .homepage-customers-icon svg { width: 26px; height: 26px; }
.homepage-customers h2 { margin: 0 0 3px; color: #183d35; font-size: 25px; font-weight: 800; line-height: 1.3; }
.homepage-customers p { margin: 0; color: #46645e; font-size: 15px; line-height: 1.7; }

.homepage-customers .homepage-customers-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  flex-shrink: 0;
}

.homepage-customers .homepage-customers-contact,
.homepage-customers .homepage-customers-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.homepage-customers .homepage-customers-contact {
  gap: 18px;
  padding: 11px 20px;
  border: 1px solid #176b57;
  border-radius: 12px;
  color: #fff;
  background: #176b57;
}

.homepage-customers .homepage-customers-contact:hover { background: #10533f; border-color: #10533f; }
.homepage-customers .homepage-customers-details { padding: 8px 3px; color: #286557; text-underline-offset: 4px; }
.homepage-customers .homepage-customers-details:hover { text-decoration: underline; }
.homepage-customers a:focus-visible { outline: 3px solid #2977d8; outline-offset: 4px; }

@media (max-width: 960px) {
  .homepage-customers { flex-wrap: wrap; gap: 18px; }
  .homepage-customers .homepage-customers-actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .homepage-customers { width: calc(100% - 32px); padding: 20px; border-radius: 18px; }
  .homepage-customers .homepage-customers-copy { align-items: flex-start; gap: 12px; }
  .homepage-customers .homepage-customers-icon { flex-basis: 42px; height: 42px; border-radius: 12px; }
  .homepage-customers .homepage-customers-icon svg { width: 22px; height: 22px; }
  .homepage-customers h2 { font-size: 23px; }
  .homepage-customers .homepage-customers-actions { width: 100%; gap: 8px 14px; }
}

@media (max-width: 380px) {
  .homepage-customers .homepage-customers-actions { flex-direction: column; align-items: stretch; }
}
