/* "Ready When You Are" — bevel.health final CTA clone (adapted for map.)
   Centered headline + subline + map. wordmark, then a full-bleed product row
   of iPhone (left) + MacBook (right) resting on an implied white surface.
   No download button, no scroll animation (bevel's section is fully static).

   Static <link> in layout.tsx (not piped through Lightning CSS) so drop-shadow
   and gradients survive verbatim. */

.ready-cta {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: clamp(64px, 8vw, 160px) 0;
}

.ready-cta__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
}

.ready-cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 827px;
  margin: 0 auto;
  text-align: center;
}

.ready-cta__heading {
  margin: 0;
  font-family: -apple-system, system-ui, Inter, "Segoe UI", sans-serif;
  font-size: clamp(2.594rem, 1.6rem + 2.65vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #222326;
}

.ready-cta__subline {
  margin: 0;
  font-family: -apple-system, system-ui, Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.266rem, 1.07rem + 0.83vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: normal;
  color: rgba(0, 0, 0, 0.6);
}

/* CTA button — bevel.health's "Download app" pill, with the map. logo (white)
   on the left instead of the Apple icon, and the label "Get Started". */
.ready-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 128px;
  background: #1f2025;
  color: #ebf0f8;
  font-family: -apple-system, system-ui, Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.3s ease;
}

.ready-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 18, 28, 0.18);
}

.ready-cta__btn-logo {
  display: block;
  height: 12px;
  width: auto;
  /* The "map." wordmark is all-lowercase, so its visual baseline sits higher
     than the cap-height "Get Started" label; nudge it down so the two share a
     baseline rather than a bounding-box center. */
  transform: translateY(1px);
}

/* Full-bleed product row */
.ready-cta__row {
  position: relative;
  width: 100%;
  margin-top: clamp(40px, 6vw, 72px);
}

.ready-cta__stage {
  display: flex;
  align-items: flex-end; /* both devices rest on the same implied surface line */
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Layered soft contact shadow follows each device silhouette so they read as
   resting on a surface (bevel bakes this into its flat-lay photo). A single
   0.14-alpha shadow is invisible on white, so use a tight + a wide pool. */
.ready-cta__device {
  height: auto;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 24px rgba(15, 18, 28, 0.18))
    drop-shadow(0 6px 10px rgba(15, 18, 28, 0.22));
}

.ready-cta__device--iphone {
  height: clamp(320px, 34vw, 500px);
}

.ready-cta__device--macbook {
  height: clamp(240px, 26vw, 400px);
}

@media (max-width: 767px) {
  .ready-cta__container {
    padding: 0 16px;
  }

  .ready-cta__text {
    max-width: 91.67%;
  }

  .ready-cta__heading {
    line-height: 1.08;
  }

  .ready-cta__stage {
    gap: 16px;
    padding: 0 16px;
  }

  .ready-cta__device--iphone {
    height: clamp(180px, 40vw, 260px);
  }

  .ready-cta__device--macbook {
    height: clamp(140px, 30vw, 200px);
  }
}
