.sweet-rewards-page {
  width: min(1180px, calc(100% - 48px));
  margin: 118px auto 96px;
  color: #312332;
}

.rewards-hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #f0dbe4;
  border-radius: 42px;
  padding: 42px;
  background:
    radial-gradient(circle at 82% 7%, #f3d5e2 0 24%, transparent 44%),
    linear-gradient(135deg, #fff 0%, #fff7fb 48%, #f6f1ff 100%);
  box-shadow: 0 24px 62px rgba(74, 40, 59, .07);
}

.rewards-hero-shell::before {
  content: "✦";
  position: absolute;
  top: 28px;
  right: 52px;
  color: #c59043;
  font-size: 35px;
}

.rewards-card-stage {
  display: flex;
  justify-content: center;
  margin: 4px 0 38px;
}

.rewards-card-stage .sweet-rewards-card {
  width: min(100%, 460px);
  margin: 0;
}

.rewards-hero-copy {
  max-width: 860px;
  margin: auto;
  text-align: center;
}

.rewards-hero-copy h1 {
  margin: 12px 0 16px;
  font: 600 clamp(52px, 7vw, 90px)/.92 'Playfair Display', serif;
  letter-spacing: -.055em;
  color: #342333;
}

.rewards-hero-copy h1 i {
  color: #c86692;
  font-style: italic;
}

.rewards-hero-copy p {
  max-width: 760px;
  margin: 0 auto;
  color: #806f7d;
  font-size: 18px;
  line-height: 1.75;
}

.rewards-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.rewards-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.rewards-rule-card {
  min-height: 190px;
  border: 1px solid #f0dbe4;
  border-radius: 30px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(74, 40, 59, .04);
}

.rewards-rule-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fde8f2, #f4efff);
  color: #b3527e;
  font: 800 17px 'DM Sans', sans-serif;
}

.rewards-rule-card h3 {
  margin: 0 0 10px;
  color: #382738;
  font: 700 24px/1.1 'Playfair Display', serif;
}

.rewards-rule-card p {
  margin: 0;
  color: #826f7d;
  line-height: 1.65;
}

.rewards-steps-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: start;
  margin-top: 22px;
  border: 1px solid #eed8e3;
  border-radius: 36px;
  padding: 38px;
  background: linear-gradient(135deg, #fff7fb, #f8f3ff);
}

.rewards-steps-panel h2 {
  margin: 10px 0 0;
  font: 600 clamp(38px, 5vw, 62px)/.95 'Playfair Display', serif;
  letter-spacing: -.04em;
}

.rewards-steps-panel h2 i {
  color: #c86692;
}

.rewards-steps {
  display: grid;
  gap: 14px;
}

.rewards-steps article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid #f1dce6;
  border-radius: 26px;
  padding: 18px;
  background: #fff;
}

.rewards-steps b {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: #f7e7ef;
  color: #b3527e;
  font-size: 14px;
  letter-spacing: .08em;
}

.rewards-steps h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.rewards-steps p {
  margin: 0;
  color: #806f7d;
  line-height: 1.55;
}

.rewards-note-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid #f1d3df;
  border-radius: 30px;
  padding: 24px 28px;
  background: #fff;
  color: #806f7d;
  box-shadow: 0 18px 45px rgba(74, 40, 59, .04);
}

.rewards-note-panel p {
  margin: 0;
  line-height: 1.6;
}

.rewards-note-badge {
  border-radius: 999px;
  background: #f9e5ee;
  color: #b3527e;
  padding: 10px 16px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 12px;
}

@media (max-width: 900px) {
  .rewards-rule-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rewards-steps-panel,
  .rewards-note-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sweet-rewards-page {
    width: calc(100% - 28px);
    margin: 92px auto 62px;
  }

  .rewards-hero-shell {
    border-radius: 28px;
    padding: 22px 16px;
  }

  .rewards-hero-shell::before {
    right: 24px;
    top: 18px;
    font-size: 24px;
  }

  .rewards-card-stage {
    margin-bottom: 26px;
  }

  .rewards-card-stage .sweet-rewards-card {
    width: min(100%, 360px);
  }

  .rewards-hero-copy h1 {
    font-size: 42px;
  }

  .rewards-hero-copy p {
    font-size: 15px;
    line-height: 1.65;
  }

  .rewards-rule-grid {
    grid-template-columns: 1fr;
  }

  .rewards-rule-card {
    min-height: 0;
    border-radius: 24px;
    padding: 22px;
  }

  .rewards-steps-panel {
    border-radius: 26px;
    padding: 24px 18px;
  }

  .rewards-steps-panel h2 {
    font-size: 38px;
  }

  .rewards-note-panel {
    border-radius: 24px;
    padding: 22px;
  }

  .rewards-note-panel .btn {
    width: 100%;
  }
}
