.ml-loyalty {
  --ml-accent: #8b001e;
  --ml-text: #121212;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--ml-text);
  font-family: inherit;
}

.ml-loyalty *, .ml-loyalty *::before, .ml-loyalty *::after {
  box-sizing: border-box;
}

.ml-loyalty__inner {
  width: min(100%, 1774px);
  min-height: clamp(180px, 24vw, 300px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 76px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ml-loyalty__title {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 .25em;
  font-size: clamp(28px, 4.1vw, 68px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
  animation: ml-loyalty-rise .7s cubic-bezier(.22, 1, .36, 1) both;
}

.ml-loyalty__title strong {
  position: relative;
  display: inline-block;
  color: var(--ml-accent);
  font-weight: 700;
  transform-origin: 50% 70%;
  animation: ml-loyalty-accent 3.8s ease-in-out 1s infinite;
}

.ml-loyalty__title strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.08em;
  height: 2px;
  background: var(--ml-accent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: ml-loyalty-line .65s ease .5s forwards;
}

.ml-loyalty__note {
  margin: clamp(12px, 1.7vw, 22px) 0 0;
  color: #555;
  font-size: clamp(14px, 1.6vw, 24px);
  line-height: 1.3;
  animation: ml-loyalty-rise .7s cubic-bezier(.22, 1, .36, 1) .12s both;
}

.ml-loyalty__button {
  min-width: min(100%, 310px);
  margin-top: clamp(18px, 2.3vw, 30px);
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--ml-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--ml-text);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease;
  animation: ml-loyalty-rise .7s cubic-bezier(.22, 1, .36, 1) .22s both;
}

.ml-loyalty__button:hover, .ml-loyalty__button:focus-visible {
  background: var(--ml-accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(139, 0, 30, .16);
  transform: translateY(-2px);
}

.ml-loyalty__button:focus-visible {
  outline: 2px solid var(--ml-accent);
  outline-offset: 4px;
}

.ml-loyalty__arrow {
  font-size: 1.2em;
  transition: transform .25s ease;
}

.ml-loyalty__button:hover .ml-loyalty__arrow, .ml-loyalty__button:focus-visible .ml-loyalty__arrow {
  transform: translateX(4px);
}

@keyframes ml-loyalty-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ml-loyalty-line {
  to { transform: scaleX(1); }
}

@keyframes ml-loyalty-accent {
  0%, 88%, 100% { transform: scale(1); }
  93% { transform: scale(1.045); }
}

@media (max-width: 640px) {
  .ml-loyalty__inner {
    min-height: 210px;
    padding: 34px 16px 38px;
  }

  .ml-loyalty__title {
    max-width: 330px;
    gap: 0 .2em;
    font-size: clamp(26px, 8.4vw, 38px);
  }

  .ml-loyalty__title span:first-child {
    flex-basis: 100%;
  }

  .ml-loyalty__button {
    min-width: 230px;
    padding: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-loyalty__title, .ml-loyalty__title strong, .ml-loyalty__title strong::after, .ml-loyalty__note, .ml-loyalty__button {
    animation: none;
  }

  .ml-loyalty__title strong::after {
    transform: scaleX(1);
  }
}