.happ-promo {
  --happ-green: #0a3f2e;
  --happ-green-deep: #05291f;
  --happ-green-soft: #1d6b4e;
  --happ-yellow: #ffe13d;
  --happ-cream: #f8f4e8;
  --happ-ink: #0b2119;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  width: min(1240px, calc(100% - 32px));
  margin: clamp(22px, 4vw, 54px) auto;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .04), transparent 40%),
    var(--happ-green-deep);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 80px rgba(4, 35, 25, .2);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  text-align: left;
}

.happ-promo *,
.happ-promo *::before,
.happ-promo *::after {
  box-sizing: border-box;
}

.happ-promo__content {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 5vw, 68px);
}

.happ-promo__eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.happ-promo__eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--happ-yellow);
  box-shadow: 0 0 0 7px rgba(255, 225, 61, .12);
}

.happ-promo__eyebrow strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  color: var(--happ-ink);
  background: var(--happ-yellow);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .08em;
}

.happ-promo h2 {
  max-width: 720px;
  margin: 0 0 20px;
  color: #fff !important;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "Trebuchet MS", sans-serif;
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}

.happ-promo__lead {
  max-width: 670px;
  margin: 0 0 24px !important;
  color: rgba(255, 255, 255, .82) !important;
  font-size: clamp(17px, 1.75vw, 21px);
  line-height: 1.55;
}

.happ-promo__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px !important;
  padding: 0 !important;
  list-style: none !important;
}

.happ-promo__benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 9px 13px;
  color: #fff;
  background: rgba(255, 255, 255, .085);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.happ-promo__benefits li::before {
  display: none !important;
}

.happ-promo__benefits span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--happ-ink);
  background: var(--happ-yellow);
  border-radius: 50%;
  font-size: 12px;
}

.happ-promo__download-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 13px;
}

.happ-promo__download-heading strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.3;
}

.happ-promo__download-heading span {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.4;
}

.happ-promo__stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.happ-store {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  color: var(--happ-ink) !important;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.happ-store:hover,
.happ-store:focus-visible {
  color: var(--happ-ink) !important;
  border-color: var(--happ-yellow);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
  outline: none;
  transform: translateY(-3px);
}

.happ-store__text {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.happ-store__text small {
  color: #53645c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.happ-store__text > img {
  display: block;
  width: auto;
  max-width: 135px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.happ-store__qr {
  display: grid;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  overflow: hidden;
  place-items: center;
  background: #fff;
  border: 1px solid #dce7e1;
  border-radius: 13px;
}

.happ-store__qr img {
  display: block;
  width: 74px;
  height: 74px;
}

.happ-promo__note {
  margin: 16px 0 0 !important;
  color: rgba(255, 255, 255, .62) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.45;
}

.happ-promo__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #1a5f45;
}

.happ-promo__visual-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 51%;
  transform: scale(1.015);
}

.happ-promo__visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 41, 31, .58), transparent 36%),
    linear-gradient(0deg, rgba(5, 41, 31, .78), transparent 48%);
}

.happ-promo__app-icon {
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  right: clamp(24px, 4vw, 48px);
  width: clamp(76px, 8vw, 116px);
  height: clamp(76px, 8vw, 116px);
  border: 4px solid rgba(255, 255, 255, .88);
  border-radius: 25%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
}

.happ-promo__visual-copy {
  position: absolute;
  right: clamp(24px, 4vw, 48px);
  bottom: clamp(28px, 4.5vw, 56px);
  left: clamp(24px, 4vw, 48px);
  display: grid;
  gap: 8px;
  color: #fff;
}

.happ-promo__visual-copy span {
  color: var(--happ-yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.happ-promo__visual-copy strong {
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "Trebuchet MS", sans-serif;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.03;
}

.happ-promo__glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.happ-promo__glow--one {
  top: -150px;
  left: -120px;
  width: 330px;
  height: 330px;
  background: rgba(57, 143, 102, .22);
}

.happ-promo__glow--two {
  right: 34%;
  bottom: -120px;
  width: 260px;
  height: 260px;
  background: rgba(255, 225, 61, .075);
}

.happ-promo--kitchen {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  width: min(1180px, calc(100% - 32px));
  margin-top: clamp(18px, 3vw, 36px);
}

.happ-promo--kitchen .happ-promo__content {
  padding: clamp(28px, 4vw, 50px);
}

.happ-promo--kitchen h2 {
  font-size: clamp(34px, 4.1vw, 58px);
}

.happ-promo--kitchen .happ-promo__visual-image {
  object-position: 50% 56%;
}

@media (max-width: 1020px) {
  .happ-promo,
  .happ-promo--kitchen {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr);
  }

  .happ-promo__stores {
    grid-template-columns: 1fr;
  }

  .happ-promo__visual-copy strong {
    font-size: 30px;
  }
}

@media (max-width: 760px) {
  .happ-promo,
  .happ-promo--kitchen {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 620px);
    border-radius: 30px;
  }

  .happ-promo__content,
  .happ-promo--kitchen .happ-promo__content {
    padding: 28px 22px 26px;
  }

  .happ-promo h2,
  .happ-promo--kitchen h2 {
    font-size: clamp(34px, 10.2vw, 52px);
  }

  .happ-promo__lead {
    font-size: 17px;
  }

  .happ-promo__visual {
    min-height: 360px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .happ-promo--kitchen .happ-promo__visual {
    min-height: 300px;
  }

  .happ-promo__visual-image,
  .happ-promo--kitchen .happ-promo__visual-image {
    object-position: 50% 54%;
  }
}

@media (max-width: 420px) {
  .happ-promo__eyebrow {
    gap: 7px;
    font-size: 10px;
    letter-spacing: .07em;
  }

  .happ-promo__benefits {
    gap: 8px;
  }

  .happ-promo__benefits li {
    padding: 8px 10px;
    font-size: 12px;
  }

  .happ-store {
    padding: 10px;
  }

  .happ-store__text > img {
    max-width: 124px;
    height: 38px;
  }

  .happ-store__qr {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .happ-store__qr img {
    width: 66px;
    height: 66px;
  }
}

/* Gloreya's absolute header needs space inside a page-leading banner. */
body > .header-transparent ~ .happ-promo {
  margin-top: 0;
}

body > .header-transparent ~ .happ-promo .happ-promo__content {
  padding-top: 132px;
}

@media (min-width: 761px) {
  body > .header-transparent ~ .happ-promo .happ-promo__app-icon {
    top: 132px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .happ-promo__content > * {
    animation: happ-rise-in .62s both cubic-bezier(.22, .8, .28, 1);
  }

  .happ-promo__content > :nth-child(2) { animation-delay: .06s; }
  .happ-promo__content > :nth-child(3) { animation-delay: .12s; }
  .happ-promo__content > :nth-child(4) { animation-delay: .18s; }
  .happ-promo__content > :nth-child(5) { animation-delay: .24s; }
  .happ-promo__content > :nth-child(6) { animation-delay: .3s; }
  .happ-promo__visual { animation: happ-soft-in .8s .12s both ease-out; }
}

@keyframes happ-rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes happ-soft-in {
  from { opacity: .4; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}
