.charter-promo {
  box-sizing: border-box;
  margin: 1.25rem 0 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #edf8f2;
  border: 1px solid #bbdac9;
  border-left: 4px solid #197659;
  border-radius: 1rem;
  color: #164938;
  font-size: 1rem;
  line-height: 1.65;
}
.charter-promo h3 { font-weight: 700; font-size: 1rem; }
.charter-promo p { margin: .15rem 0; }
.charter-promo .charter-promo-offer { font-size: clamp(1.125rem, 3vw, 1.375rem); font-weight: 800; }
.charter-promo .charter-promo-dates { margin-top: .45rem; font-weight: 700; }
.charter-promo .charter-promo-terms { font-size: .875rem; margin-top: .4rem; }
.charter-promo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .75rem;
  padding: .5rem .85rem;
  border-radius: .55rem;
  background: #145b45;
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.charter-promo-link:hover { background: #0c4434; }
.charter-promo-link:focus-visible { outline: 2px solid #145b45; outline-offset: 3px; }
.charter-promo-input { margin-top: .85rem; }
.charter-promo-input label { display: block; font-size: .875rem; font-weight: 700; }
.charter-promo-input input { max-width: 100%; margin-top: .3rem; }
.charter-promo-estimate { margin-top: .5rem; color: #145b45; font-weight: 700; }
.charter-promo-estimate:empty { display: none; }
[data-charter-promo][hidden] { display: none; }
.charter-promo-date-quote {
  margin-top: .55rem;
  padding: .65rem .8rem;
  border: 1px solid #bbdac9;
  border-radius: .65rem;
  background: #edf8f2;
  color: #164938;
  line-height: 1.5;
}
.charter-promo-date-quote:empty { display: none; }
.charter-promo-date-quote s,
.charter-promo-date-quote strong,
.charter-promo-date-quote small { display: block; }
.charter-promo-date-quote s { font-size: .875rem; color: #435e54; }
.charter-promo-date-quote strong { font-size: 1.125rem; }
.charter-promo-date-quote small { margin-top: .2rem; font-size: .8125rem; }
.charter-promo-year-end {
  margin-top: .85rem;
  padding: .65rem .85rem;
  border: 1px solid #d9cbb1;
  border-radius: .65rem;
  background: #fff9ea;
  color: #574529;
  font-size: .875rem;
}
.charter-promo-year-end h4 { font-size: 1rem; font-weight: 800; }
[data-charter-promo].charter-promo-replaced { display: none; }
.happiness-promo-option input:checked { accent-color: #145b45; opacity: 1; }
.happiness-promo-option small { display: block; margin-top: .2rem; line-height: 1.5; }
.happiness-promo-option { position: relative; }
.happiness-promo-burst {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.happiness-promo-ribbon {
  position: absolute;
  top: 55%;
  left: 20%;
  width: 4px;
  height: 9px;
  border-radius: 1px;
  animation: happiness-promo-burst 800ms cubic-bezier(.15, .65, .35, 1) both;
}
@keyframes happiness-promo-burst {
  0% { transform: translate(0, 0) rotate(0deg) scale(.5); opacity: 0; }
  20% { opacity: .85; }
  100% {
    transform: translate(var(--ribbon-x), var(--ribbon-y)) rotate(var(--ribbon-turn)) scale(.8);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .happiness-promo-burst { display: none; }
}
.charter-promo-date-quote { position: relative; }
.happiness-promo-burst-large { inset: -20px -3px; }
.happiness-promo-burst-large .happiness-promo-ribbon {
  top: 58%;
  left: 50%;
  width: 5px;
  height: 12px;
  animation-duration: 1100ms;
}
