/* Homepage sections. */

/* Hero */
.e-intro {
  position: relative;
  z-index: 2;
  padding: 32px 0 72px;
}

.e-intro__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.e-intro__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.e-intro__title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(42px, 5.4vw, 78px);
  color: var(--white);
}

/* The second sentence starts its own line, so the break never lands mid-sentence. */
.e-intro__title span {
  display: block;
  margin-top: 0.14em;
  color: var(--brand-blue-300);
}

.e-intro__lede {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(251, 248, 242, 0.75);
}

.e-intro__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 1040px) {
  .e-intro__grid {
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .e-intro__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Keeps the booking button within reach of the first screen on phones, and fits the
   two-line label between two rows of the grid. */
@media (max-width: 640px) {
  .e-intro {
    padding-top: 27px;
  }
}

/* Proof card */
.e-proof {
  background: rgba(251, 248, 242, 0.08);
  border: 1px solid rgba(251, 248, 242, 0.14);
  border-radius: var(--r-6);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.e-proof__big {
  font-family: var(--font-mono);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.e-proof__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(251, 248, 242, 0.75);
}

.e-proof__more {
  border-top: 1px solid rgba(251, 248, 242, 0.12);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.e-proof__small {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}

.e-proof__more p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(251, 248, 242, 0.65);
}

/* Offers */
.e-offers {
  padding: 40px 0 80px;
}

.e-offers__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.e-offers__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 620px;
}

.e-rent + .e-offers {
  padding-top: 72px;
}

.e-offers + .e-industry {
  padding-top: 16px;
}

/* Why this exists */
.e-why {
  background: var(--brand-navy);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.e-why::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(680px 340px at 12% -25%, rgba(8, 88, 216, 0.45), transparent 70%);
}

.e-why .t-eyebrow {
  color: var(--brand-blue-300);
}

.e-why .e-h2 {
  color: var(--white);
}

.e-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.e-why__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.e-why__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 6px;
}

.e-why__body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(251, 248, 242, 0.78);
}

.e-why__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
}

.e-why__link {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--brand-blue-300);
}

.e-why__link:hover {
  color: var(--white);
}

@media (max-width: 1040px) {
  .e-why__grid {
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .e-why__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .e-chip {
    padding-inline: 10px;
  }
}

/* The homepage carries a fourth badge, so the badge row gets more room than the copy */
.e-cta__copy {
  max-width: 780px;
}

.e-cta__title,
.e-cta__copy p {
  max-width: 600px;
}

/* A second card set behind the proof card */
.e-proof {
  box-shadow: 12px 12px 0 -1px #10284F, 12px 12px 0 0 rgba(251, 248, 242, 0.12);
}
