.hero-beta-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 0;
  width: 190px;
  height: 54px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(235 178 71 / 62%);
  border-radius: 999px;
  appearance: none;
  color: var(--brand-dark);
  background: linear-gradient(135deg, #fff8e7 0%, #ffedcc 100%);
  box-shadow: 0 10px 24px rgb(42 67 111 / 14%), inset 0 1px 0 rgb(255 255 255 / 84%);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.hero-beta-symbol {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 5px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ebb247 !important;
  -webkit-text-fill-color: #ebb247 !important;
  background: var(--brand-dark);
  box-shadow: 0 5px 12px rgb(42 67 111 / 28%), inset 0 1px 0 rgb(255 255 255 / 16%);
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 28px !important;
  font-weight: 700;
  line-height: 1;
  transform: translateX(0);
  transition: transform .28s cubic-bezier(.22, .75, .2, 1);
}

.hero-beta-state {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  transition: opacity .18s ease, transform .28s cubic-bezier(.22, .75, .2, 1);
}

.hero-beta-state-default {
  right: 12px;
  left: 56px;
  align-items: center;
  justify-content: center;
  opacity: 1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(0);
}

.hero-beta-state-runtime {
  right: 58px;
  left: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  opacity: 0;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1;
  text-align: center;
  text-transform: none;
  transform: translateX(-8px);
}

.hero-beta-days {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
}

.hero-beta-badge[aria-pressed="true"] .hero-beta-symbol {
  transform: translateX(138px);
}

.hero-beta-badge[aria-pressed="true"] .hero-beta-state-default {
  opacity: 0;
  transform: translateX(8px);
}

.hero-beta-badge[aria-pressed="true"] .hero-beta-state-runtime {
  opacity: 1;
  transform: translateX(0);
}

.hero-beta-badge[aria-pressed="true"] {
  border-color: rgb(42 67 111 / 24%);
  background: linear-gradient(135deg, #eef4ff 0%, #acc5f7 100%);
  box-shadow: 0 12px 26px rgb(42 67 111 / 18%), inset 0 1px 0 rgb(255 255 255 / 72%);
}

.hero-beta-badge:hover {
  box-shadow: 0 13px 28px rgb(42 67 111 / 19%), inset 0 1px 0 rgb(255 255 255 / 90%);
}

.hero-beta-badge:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

@media (width <= 680px) {
  .hero-beta-badge {
    top: 8px;
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-beta-badge,
  .hero-beta-symbol,
  .hero-beta-state {
    transition: none;
  }
}
