@charset "UTF-8";

/* =========================
   HOMEPAGE — extends sales-page.css patterns
========================= */

.home-hero .sales-hero-copy h1 {
  max-width: 16ch;
}

.home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 28px;
}

.home-hero-trust span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #64748B;
  text-transform: uppercase;
}

.home-hero-trust img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.home-audience {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.home-audience p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--sales-muted, #52637A);
}

.home-integrations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 40px;
  margin-top: 36px;
}

.home-integrations img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.home-integrations .api-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #E7F3FB;
  color: #126FC2;
  font-weight: 800;
  font-size: 14px;
}

.home-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.home-link-row a {
  font-weight: 800;
  color: #126FC2;
  text-decoration: none;
}

.home-link-row a:hover {
  text-decoration: underline;
}

.home-phone-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.home-phone-wrap .iphone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-phone-wrap .iphone-frame {
  position: relative;
  width: min(260px, 78%);
  padding: 12px;
  background: linear-gradient(160deg, #2a2f38 0%, #11151c 55%, #000 100%);
  border-radius: 42px;
  box-shadow:
    0 0 0 2px #3a404c,
    0 0 0 5px #0b0d11,
    0 24px 50px rgba(7, 23, 53, 0.28);
}

.home-phone-wrap .iphone-frame::before,
.home-phone-wrap .iphone-frame::after {
  content: "";
  position: absolute;
  width: 3px;
  background: #2c313a;
  border-radius: 2px;
}

.home-phone-wrap .iphone-frame::before {
  left: -5px;
  top: 92px;
  height: 28px;
  box-shadow: 0 48px 0 #2c313a;
}

.home-phone-wrap .iphone-frame::after {
  right: -5px;
  top: 120px;
  height: 56px;
}

.home-phone-wrap .iphone-dynamic-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  background: #0b0d11;
  border-radius: 20px;
  z-index: 2;
}

.home-phone-wrap .iphone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
  background: #fff;
}

.home-phone-wrap .iphone-home-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 2;
}

/* Generic phone bezel for screenshots that already include system UI */
.home-phone-wrap .phone-frame {
  position: relative;
  width: min(280px, 82%);
  padding: 10px;
  background: linear-gradient(160deg, #2a2f38 0%, #11151c 55%, #000 100%);
  border-radius: 36px;
  box-shadow:
    0 0 0 2px #3a404c,
    0 0 0 5px #0b0d11,
    0 24px 50px rgba(7, 23, 53, 0.28);
}

.home-phone-wrap .phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #fff;
}

/* Reuse section monitor sizing from CRM when sales-page loaded alone */
.crm-section-monitor {
  max-width: 100%;
}

@media (max-width: 700px) {
  .home-hero .sales-hero-copy h1 {
    max-width: none;
  }

  .home-integrations img {
    height: 32px;
  }
}
