.page--mobile-app {
  --mobile-gap: clamp(64px, 10vw, 128px);
}

.mobile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  min-height: min(760px, calc(100vh - 100px));
  padding: clamp(54px, 8vw, 104px) 0 var(--mobile-gap);
}

.mobile-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.mobile-hero__copy .kicker,
.mobile-section__head .kicker,
.mobile-showcase__copy .kicker,
.mobile-cta .kicker {
  margin-bottom: 16px;
}

.mobile-hero__copy .lead {
  max-width: 36em;
  margin-top: 24px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 186px;
  min-height: 60px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  background: #211b1e;
  box-shadow: 0 16px 34px -24px rgba(33,27,30,.8);
  color: #fff;
  line-height: 1.05;
  transition: transform .2s ease, background .2s ease;
}

a.store-badge:hover {
  transform: translateY(-2px);
  background: var(--plum);
  color: #fff;
}

.store-badge--pending {
  opacity: .84;
}

.store-badge svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.store-badge span {
  display: grid;
  gap: 3px;
}

.store-badge small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .02em;
}

.store-badge strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.mobile-hero__status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 590px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.mobile-hero__status span {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 5px rgba(var(--terra-rgb),.12);
}

.mobile-hero__visual {
  position: relative;
  min-height: 610px;
  isolation: isolate;
}

.mobile-hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -5% 8% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--terra-rgb),.23), rgba(var(--rose-rgb),.09) 52%, transparent 72%);
  filter: blur(18px);
}

.phone {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 7px solid #281d22;
  border-radius: 35px;
  background: #fff;
  box-shadow: 0 38px 70px -38px rgba(var(--plum-rgb),.64), 0 10px 22px -15px rgba(0,0,0,.38);
}

.phone::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 34%;
  height: 17px;
  border-radius: 999px;
  background: #281d22;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone--front {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 6%;
  width: min(270px, 61%);
  aspect-ratio: 720 / 1640;
  transform: rotate(-3deg);
}

.phone--back {
  position: absolute;
  z-index: 1;
  right: 3%;
  bottom: 0;
  width: min(235px, 54%);
  aspect-ratio: 720 / 1640;
  transform: rotate(7deg);
  opacity: .96;
}

.mobile-section {
  padding: 0 0 var(--mobile-gap);
}

.mobile-section__head {
  max-width: 760px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.mobile-section__head .lead {
  margin: 18px auto 0;
  max-width: 42em;
}

.mobile-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.mobile-feature {
  min-height: 240px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(var(--terra-rgb),.16);
  border-radius: 26px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.mobile-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  border-radius: 17px;
  background: var(--sand);
  color: var(--terra);
  font-size: 25px;
  font-weight: 500;
}

.mobile-feature h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.mobile-feature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.mobile-showcase {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding: clamp(44px, 7vw, 84px);
  margin-bottom: var(--mobile-gap);
  border: 1px solid rgba(var(--terra-rgb),.15);
  border-radius: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(var(--rose-rgb),.1));
}

.mobile-showcase__copy .lead {
  margin-top: 18px;
}

.mobile-checks {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.mobile-checks li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.mobile-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.mobile-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}

.phone--gallery {
  width: 100%;
  aspect-ratio: 720 / 1640;
  overflow: visible;
}

.phone--gallery img {
  overflow: hidden;
  border-radius: 27px;
}

.phone--gallery figcaption {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -18px;
  width: max-content;
  max-width: 90%;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  box-shadow: 0 12px 24px -18px rgba(var(--plum-rgb),.8);
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  transform: translateX(-50%);
}

.phone--tilt-left {
  transform: rotate(-4deg) translateY(12px);
}

.phone--lifted {
  transform: translateY(-16px);
}

.phone--tilt-right {
  transform: rotate(4deg) translateY(12px);
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 52px);
  margin-bottom: clamp(52px, 8vw, 92px);
  border-radius: 30px;
  background: var(--plum);
  color: #fff;
}

.mobile-cta h2 {
  color: #fff;
}

.mobile-cta p:not(.kicker) {
  max-width: 50em;
  margin-top: 10px;
  color: var(--wine-soft);
  font-size: 14px;
}

.mobile-cta .btn {
  flex: none;
}

html[data-tint-mode="dark"] .mobile-feature,
html[data-tint-mode="dark"] .mobile-showcase {
  background: var(--surface);
}

html[data-tint-mode="dark"] .phone {
  border-color: #13090e;
}

@media (max-width: 900px) {
  .mobile-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mobile-hero__copy {
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
  }

  .mobile-hero__copy .lead,
  .mobile-hero__status {
    margin-inline: auto;
  }

  .store-row {
    justify-content: center;
  }

  .mobile-hero__visual {
    width: min(560px, 100%);
    min-height: 570px;
    margin: -8px auto 0;
  }

  .mobile-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-showcase {
    grid-template-columns: 1fr;
  }

  .mobile-showcase__copy {
    max-width: 620px;
    text-align: center;
    margin-inline: auto;
  }

  .mobile-checks {
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .mobile-hero {
    padding-top: 44px;
  }

  .mobile-hero__visual {
    min-height: 460px;
  }

  .phone {
    border-width: 5px;
    border-radius: 29px;
  }

  .phone::after {
    top: 6px;
    height: 13px;
  }

  .phone--front {
    left: 5%;
    width: 57%;
  }

  .phone--back {
    right: 4%;
    width: 50%;
  }

  .mobile-features {
    grid-template-columns: 1fr;
  }

  .mobile-feature {
    min-height: 0;
  }

  .mobile-showcase {
    padding: 34px 20px 52px;
  }

  .mobile-gallery {
    width: 150%;
    margin-left: -25%;
    gap: 8px;
  }

  .phone--gallery figcaption {
    display: none;
  }

  .mobile-cta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .store-row {
    display: grid;
  }

  .store-badge {
    width: min(100%, 220px);
    margin-inline: auto;
  }

  .mobile-hero__visual {
    min-height: 390px;
  }
}
