/* Homepage app introduction and its companion travel services. */
.app-introduction {
  scroll-margin-top: 100px;
}

.app-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
  border: 1px solid #e3e9e5;
  border-radius: 28px;
  background: #f2f6f0;
}

.app-promo-copy {
  min-width: 0;
}

.app-promo-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange, #f76524);
}

.app-introduction .app-promo-copy h2 {
  margin: 18px 0 24px;
  font-size: clamp(32px, 3.8vw, 56px) !important;
  line-height: 1.12 !important;
  letter-spacing: -1.5px;
}

.app-promo-copy h2 span {
  color: #326846;
}

.app-promo-description {
  max-width: 500px;
  color: #53615b;
  line-height: 1.8;
}

.app-download-label {
  margin: 26px 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.app-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-download {
  max-width: 100%;
}

.app-download a {
  display: block;
  border-radius: 8px;
}

.app-download img {
  width: 160px;
  height: auto;
}

.app-download small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #53615b;
}

.app-download-unavailable {
  display: block;
  opacity: .55;
}

.app-service-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 24px 0 0;
  margin: 30px 0 0;
  border-top: 1px solid #d8e1d7;
}

.app-service-highlights strong {
  display: block;
  font-size: 12px;
  color: #326846;
}

.app-service-highlights strong span {
  margin-left: 5px;
}

.app-service-highlights li>span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #53615b;
}

.app-phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 510px;
}

.app-orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  max-width: 110%;
  border: 1px solid #d3dfce;
  border-radius: 50%;
  background: #e5eddc;
}

.app-phone {
  position: relative;
  width: 252px;
  height: 472px;
  padding: 8px;
  border-radius: 38px;
  background: #132922;
  box-shadow: 0 28px 45px #19332330;
  transform: rotate(7deg);
}

.app-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #234437;
  color: #fff;
}

.app-phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #10251dc9, #10251d12 35%, #10251df2);
}

.app-phone-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.app-phone-landscape.is-active {
  opacity: 1;
}

.app-phone-pause {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #10251d90;
  color: #fff;
  cursor: pointer;
}

.app-phone-pause:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .app-phone-landscape { transition: none; }
}

.app-phone-brand {
  position: absolute;
  z-index: 1;
  top: 27px;
  left: 22px;
  font-size: 25px;
  font-weight: 800;
}

.app-phone-brand span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 400;
}

.app-phone-story {
  position: absolute;
  z-index: 1;
  bottom: 27px;
  left: 22px;
  right: 22px;
}

.app-phone-story>span {
  font-size: 10px;
}

.app-phone-story>strong {
  display: block;
  margin: 8px 0 20px;
  font-size: 32px;
  line-height: 1.12;
}

.app-phone-services {
  display: flex;
  gap: 7px;
}

.app-phone-services span {
  padding: 6px 13px;
  border: 1px solid #ffffff60;
  border-radius: 20px;
  font-size: 10px;
  background: #ffffff15;
}

.app-floating-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px #19332315;
  font-size: 10px;
  color: #53615b;
}

.app-floating-note>span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #edf3e9;
  color: #326846;
  font-size: 20px;
}

.app-floating-note strong {
  display: block;
  color: #172d25;
  font-size: 12px;
}

.app-floating-note-top {
  top: 65px;
  left: -15px;
}

.app-floating-note-bottom {
  right: -12px;
  bottom: 50px;
}

.travel-services {
  padding-top: 0;
}

.travel-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.travel-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid #e0e6e3;
  border-radius: 20px;
  background: #f5f8f3;
}

.travel-service-car {
  background: #fdf6ef;
  border-color: #eee2d5;
}

.travel-service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 25px;
  border-radius: 16px;
  background: #e5eddf;
  color: #326846;
}

.travel-service-car .travel-service-icon {
  background: #fae7d5;
  color: #b96528;
}

.travel-service-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.travel-service-card h3 {
  margin: 0 0 14px;
  font-size: 26px;
}

.travel-service-card>p:not(.eyebrow) {
  max-width: 490px;
  color: #59655f;
}

.travel-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 6px 0 24px;
  list-style: none;
}

.travel-service-tags li {
  padding: 5px 12px;
  border: 1px solid #dce4d8;
  border-radius: 20px;
  font-size: 12px;
}

.travel-service-link {
  margin-top: auto;
  font-weight: 600;
  color: #294c38;
  text-decoration: none;
}

.travel-service-link span {
  display: inline-block;
  margin-left: 12px;
}

.app-download a:focus-visible,
.travel-service-link:focus-visible {
  outline: 3px solid #326846;
  outline-offset: 5px;
}

@media (max-width: 1000px) {
  .app-promo {
    gap: 24px;
  }

  .app-floating-note-top {
    left: -5px;
  }

  .app-floating-note-bottom {
    right: -5px;
  }
}

@media (max-width: 800px) {
  .app-promo {
    grid-template-columns: 1fr;
  }

  .app-promo-copy {
    max-width: 560px;
  }

  .app-phone-stage {
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .travel-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .app-promo {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .app-introduction .app-promo-copy h2 {
    font-size: 32px !important;
    letter-spacing: -1px;
  }

  .app-service-highlights {
    gap: 8px;
  }

  .app-service-highlights strong span {
    display: block;
    margin: 4px 0 0;
  }

  .app-phone-stage {
    min-height: 440px;
  }

  .app-phone {
    width: 212px;
    height: 400px;
    transform: rotate(3deg);
  }

  .app-floating-note {
    padding: 10px;
    gap: 6px;
  }

  .app-floating-note-top {
    top: 35px;
  }

  .app-floating-note-bottom {
    bottom: 15px;
  }

  .travel-service-card {
    padding: 24px;
  }
}
