.hiens-flyer-app {
  --hiens-burgundy: #7a0035;
  --hiens-gold: #c8942e;
  --hiens-cream: #fff8f5;
  --hiens-ink: #24171d;
  margin: clamp(3rem, 7vw, 6rem) 0 0;
  padding: clamp(3rem, 7vw, 5.5rem) max(1.25rem, calc((100vw - 1180px) / 2));
  background: linear-gradient(145deg, #fffdfc 0%, var(--hiens-cream) 55%, #f8e8e8 100%);
  color: var(--hiens-ink);
}

.hiens-flyer-app__inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hiens-flyer-app__eyebrow {
  margin: 0 0 .6rem;
  color: var(--hiens-burgundy);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.hiens-flyer-app h2 {
  margin: 0;
  color: var(--hiens-burgundy);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.08;
}

.hiens-flyer-app__intro {
  max-width: 680px;
  margin: 1rem auto 2.4rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.hiens-flyer-app__pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  max-width: 850px;
  margin: 0 auto;
}

.hiens-flyer-app figure {
  margin: 0;
}

.hiens-flyer-app figure a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(122, 0, 53, .15);
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 55px rgba(77, 31, 48, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hiens-flyer-app figure a:hover,
.hiens-flyer-app figure a:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(77, 31, 48, .2);
}

.hiens-flyer-app img {
  display: block;
  width: 100%;
  height: auto;
}

.hiens-flyer-app figcaption {
  margin-top: .75rem;
  color: #6f5962;
  font-size: .92rem;
}

.hiens-flyer-app__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin-top: 2.4rem;
}

.hiens-flyer-app__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .82rem 1.35rem;
  border: 2px solid var(--hiens-burgundy);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.hiens-flyer-app__button--primary {
  background: var(--hiens-burgundy);
  color: #fff;
}

.hiens-flyer-app__button--secondary {
  background: transparent;
  color: var(--hiens-burgundy);
}

.hiens-flyer-app__install-help,
.hiens-flyer-app__installed {
  max-width: 720px;
  margin: 1.25rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(122, 0, 53, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .76);
  line-height: 1.6;
  text-align: left;
}

.hiens-flyer-app__installed {
  text-align: center;
}

@media (max-width: 680px) {
  .hiens-flyer-app__pages {
    grid-template-columns: 1fr;
    max-width: 430px;
  }

  .hiens-flyer-app__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hiens-flyer-app figure a {
    transition: none;
  }
}
