/* ========== Hero Section ========== */

.hero {
  background: var(--athena-hero-bg);
  color: var(--c-cream);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 3.75rem;
}

.hero__content {
  order: 2;
}

.hero__visual {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--bg-cream-20);
  background: var(--bg-cream-10);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--c-gold);
  animation: hero-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes hero-pulse {
  50% {
    opacity: 0.5;
  }
}

.hero__badge-text {
  font-family: var(--font-body);
  font-size: var(--fs-body-14);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body-14);
  color: var(--tx-cream-95);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: var(--fs-head-30);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-30);
  color: var(--c-cream);
}

.hero__title-line {
  display: block;
}

.hero__title-line--credit {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  margin-top: 0.25rem;
  white-space: nowrap;
}

.hero__title-line:last-child {
  margin-top: 0.25rem;
}

.hero__gradient {
  background: var(--bd-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__word {
  position: relative;
  display: inline-block;
  margin-left: 0.3em;
  overflow: hidden;
  vertical-align: baseline;
  transition: width 0.50s ease;
}

.hero__word + .hero__gradient {
  margin-left: 0.12em;
}

.hero__word::after {
  content: "\200b";
}

.hero__word-inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  line-height: inherit;
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(1.2em);
  animation: hero-word-cycle 8s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero__word-inner:nth-child(1) {
  animation-delay: 0s;
}

.hero__word-inner:nth-child(2) {
  animation-delay: 4s;
}

@keyframes hero-word-cycle {
  0% {
    opacity: 0;
    transform: translateY(1.2em);
  }

  8% {
    opacity: 1;
    transform: none;
  }

  42% {
    opacity: 1;
    transform: none;
  }

  50% {
    opacity: 0;
    transform: translateY(-1.2em);
  }

  50.01%,
  99.99% {
    opacity: 0;
    transform: translateY(-1.2em);
  }

  100% {
    opacity: 0;
    transform: translateY(1.2em);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__word-inner {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero__word-inner:first-child {
    opacity: 1;
    transform: none;
  }
}

.hero__desc {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-16);
  line-height: var(--lh-body-16);
  color: var(--tx-cream-85);
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: var(--fs-head-14);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-14);
  transition: all 0.3s ease;
}

.hero__btn--primary {
  background: var(--c-gold);
  color: var(--c-void);
  box-shadow: var(--athena-shadow-amber);
}

.hero__btn--primary svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.hero__btn--primary:hover,
.hero__btn--primary:focus-visible {
  transform: scale(1.03);
  box-shadow: var(--athena-shadow-amber-hover);
}

.hero__btn--primary:hover svg,
.hero__btn--primary:focus-visible svg {
  transform: translateX(4px);
}

.hero__gauge {
  position: relative;
  width: 16rem;
  overflow: visible;
}

.hero-gauge {
  --gauge-stroke: 6.2cqw;
  --gauge-track-stroke: 7.4cqw;
  --gauge-arc-size: 79.4%;
  --gauge-rating-color: var(--c-green);
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  container-type: inline-size;
  container-name: hero-gauge;
}

.hero-gauge[data-tone="excellent"] {
  --gauge-rating-color: var(--c-green);
}

.hero-gauge[data-tone="good"] {
  --gauge-rating-color: var(--c-gold);
}

.hero-gauge[data-tone="fair"] {
  --gauge-rating-color: var(--c-orange);
}

.hero-gauge[data-tone="poor"] {
  --gauge-rating-color: var(--c-red);
}

.hero-gauge__face {
  position: absolute;
  inset: 0;
}

.hero-gauge__track,
.hero-gauge__arc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--gauge-arc-size);
  height: var(--gauge-arc-size);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-gauge__track {
  width: 81.4%;
  height: 81.4%;
  background: conic-gradient(
    from 225deg,
    var(--bg-white-04) 0deg 270deg,
    transparent 270deg 360deg
  );
  -webkit-mask-image: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--gauge-track-stroke)),
    #000 calc(100% - var(--gauge-track-stroke) + 0.35cqw)
  );
  mask-image: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--gauge-track-stroke)),
    #000 calc(100% - var(--gauge-track-stroke) + 0.35cqw)
  );
}

.hero-gauge__arc {
  background: conic-gradient(
    from 225deg,
    var(--c-red) 0deg,
    var(--c-red) 48deg,
    var(--c-orange) 67.5deg,
    var(--c-orange) 118deg,
    var(--c-gold) 135deg,
    var(--c-gold) 186deg,
    var(--c-green) 202.5deg,
    var(--c-green) 270deg,
    transparent 270.2deg 360deg
  );
  -webkit-mask-image: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--gauge-stroke)),
    #000 calc(100% - var(--gauge-stroke) + 0.35cqw)
  );
  mask-image: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--gauge-stroke)),
    #000 calc(100% - var(--gauge-stroke) + 0.35cqw)
  );
}

.hero-gauge__cap-wrap {
  position: absolute;
  inset: 0;
  transform: rotate(var(--mark-angle));
  pointer-events: none;
}

.hero-gauge__cap {
  position: absolute;
  left: 50%;
  top: 13.4%;
  width: var(--gauge-stroke);
  height: var(--gauge-stroke);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-gauge__cap--start {
  background: var(--c-red);
  color: var(--c-red);
}

.hero-gauge__cap--end {
  background: var(--c-green);
  color: var(--c-green);
}

.hero-gauge__mark {
  position: absolute;
  inset: 0;
  transform: rotate(var(--mark-angle));
  pointer-events: none;
}

.hero-gauge__tick {
  position: absolute;
  left: 50%;
  top: 9.6%;
  width: 0.5cqw;
  min-width: 1.5px;
  height: 3.4cqw;
  background: var(--tx-cream-55);
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.hero-gauge__label {
  position: absolute;
  left: 50%;
  top: 3.8%;
  color: var(--tx-cream-55);
  font-family: var(--font-body);
  font-size: max(0.625rem, 3.35cqw);
  font-weight: var(--fw-medium);
  line-height: 1;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--mark-angle)));
}

.hero-gauge__disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54.6%;
  height: 54.6%;
  border-radius: 50%;
  border: 1px solid var(--bg-cream-10);
  background: radial-gradient(
    circle at 50% 44%,
    var(--bg-cream-20) 0%,
    var(--bg-white-04) 50%,
    var(--bg-slate-70) 100%
  );
  transform: translate(-50%, -50%);
}

.hero-gauge__needle {
  position: absolute;
  inset: 0;
  transform: rotate(var(--gauge-angle, -135deg));
  transform-origin: 50% 50%;
  transition: transform 4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
  pointer-events: none;
  z-index: 2;
}

.hero-gauge__needle-shaft,
.hero-gauge__needle-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -86%);
  border-radius: 999px;
}

.hero-gauge__needle-shaft {
  width: 1.35cqw;
  min-width: 3px;
  height: 34cqw;
  background: var(--c-gold);
}

.hero-gauge__needle-core {
  width: 0.4cqw;
  min-width: 1px;
  height: 32cqw;
  background: var(--tx-cream-55);
}

.hero-gauge__needle-tip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.7cqw;
  height: 2.7cqw;
  min-width: 7px;
  min-height: 7px;
  border-radius: 50%;
  background: var(--c-cream);
  transform: translate(-50%, -50%) translateY(-29.3cqw);
}

.hero-gauge__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8cqw;
  height: 8cqw;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50%;
  background: var(--c-gold);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hero-gauge__hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: var(--c-navy);
  transform: translate(-50%, -50%);
}

.hero-gauge__readout {
  position: absolute;
  left: 50%;
  top: 64%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  pointer-events: none;
}

.hero-gauge__score {
  color: var(--c-cream);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 11.3cqw, 2.65rem);
  font-weight: var(--fw-bold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-gauge__rating {
  color: var(--gauge-rating-color);
  font-family: var(--font-body);
  font-size: clamp(0.625rem, 3.35cqw, 0.8rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.28em;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-gauge__needle {
    transition: none;
  }
}

.hero__gauge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 20rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  background: var(--c-gold);
  color: var(--c-void);
  font-family: var(--font-heading);
  font-size: var(--fs-head-12);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-12);
  box-shadow: var(--athena-shadow-amber);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__gauge-btn[hidden] {
  display: none;
}

.hero__gauge-btn:hover,
.hero__gauge-btn:focus-visible {
  transform: scale(1.03);
  box-shadow: var(--athena-shadow-amber-hover);
}

.hero-gauge.is-fetching .hero-gauge__score {
  animation: hero-gauge-score-pulse 1s ease-in-out infinite;
}

@keyframes hero-gauge-score-pulse {
  50% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gauge.is-fetching .hero-gauge__score {
    animation: none;
  }
}

.hero__gauge-tip {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 20rem;
}

.hero__gauge-tip__row {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  max-width: 100%;
}

.hero__gauge-tip__icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--tx-gold-80);
}

.hero__gauge-tip__track {
  position: relative;
  height: 1.25rem;
  overflow: hidden;
  transition: width 0.25s ease;
}

.hero__gauge-tip__text {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-11);
  line-height: 1.25rem;
  color: var(--tx-cream-75);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: hero-gauge-tip-cycle 24s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero__gauge-tip__text:nth-child(1) {
  animation-delay: 0s;
}

.hero__gauge-tip__text:nth-child(2) {
  animation-delay: 4s;
}

.hero__gauge-tip__text:nth-child(3) {
  animation-delay: 8s;
}

.hero__gauge-tip__text:nth-child(4) {
  animation-delay: 12s;
}

.hero__gauge-tip__text:nth-child(5) {
  animation-delay: 16s;
}

.hero__gauge-tip__text:nth-child(6) {
  animation-delay: 20s;
}

@keyframes hero-gauge-tip-cycle {
  0% {
    opacity: 0;
    transform: translateY(1.2rem);
  }

  3% {
    opacity: 1;
    transform: none;
  }

  13% {
    opacity: 1;
    transform: none;
  }

  16.67% {
    opacity: 0;
    transform: translateY(-1.2rem);
  }

  16.68%,
  99.99% {
    opacity: 0;
    transform: translateY(-1.2rem);
  }

  100% {
    opacity: 0;
    transform: translateY(1.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__gauge-tip__text {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero__gauge-tip__text:first-child {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .hero__ctas {
    flex-direction: row;
  }

  .hero__gauge {
    width: 20rem;
  }

  .hero__gauge-btn {
    max-width: 20rem;
    font-size: var(--fs-head-14);
    line-height: var(--lh-head-14);
  }

  .hero__gauge-tip__text {
    font-size: var(--fs-body-12);
    line-height: 1.25rem;
  }

  .hero__gauge-tip__track {
    height: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--fs-head-36);
    line-height: var(--lh-head-36);
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem 4.5rem;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  .hero__title {
    font-size: var(--fs-head-52);
    line-height: var(--lh-head-52);
  }

  .hero__desc {
    font-size: var(--fs-body-18);
    line-height: var(--lh-body-18);
  }

  .hero__gauge {
    width: 24rem;
  }

  .hero__gauge-btn {
    max-width: 24rem;
  }

  .hero__gauge-tip {
    max-width: 24rem;
  }
}

/* ========== Credit score check modal ========== */

html.score-modal-open {
  overflow: hidden;
}

.score-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.score-modal.is-open {
  display: flex;
}

.score-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg-ink-90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.score-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 1.25rem;
  background: var(--c-cream);
  color: var(--c-navy);
  box-shadow: var(--athena-shadow-card);
}

html.athena-dark .score-modal__dialog {
  background: var(--c-ink);
  color: var(--c-cream);
  border: 1px solid var(--bd-white-10);
}

.score-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  color: var(--c-taupe);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.score-modal__close[hidden] {
  display: none;
}

.score-modal__close:hover,
.score-modal__close:focus-visible {
  background: var(--bg-gold-10);
  color: var(--c-navy);
}

html.athena-dark .score-modal__close:hover,
html.athena-dark .score-modal__close:focus-visible {
  color: var(--c-cream);
}

.score-modal__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 1.5rem 1rem 0;
}

.score-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--bg-gold-15);
  color: var(--c-gold);
}

.score-modal__kicker {
  margin: 0 0 0.15rem;
  font-family: var(--font-heading);
  font-size: var(--fs-head-10);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-10);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.score-modal__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--fs-head-18);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-18);
}

.score-modal__lead {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-14);
  line-height: var(--lh-body-14);
  color: var(--c-taupe);
}

html.athena-dark .score-modal__lead {
  color: var(--tx-cream-70);
}

.score-modal__lead strong {
  color: var(--c-navy);
  font-weight: var(--fw-semibold);
}

html.athena-dark .score-modal__lead strong {
  color: var(--c-cream);
}

.score-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.score-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: var(--fs-head-12);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-12);
  color: var(--c-navy);
}

html.athena-dark .score-modal__field {
  color: var(--c-cream);
}

.score-modal__field input,
.score-modal__tel {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid var(--bd-slate-30);
  background: var(--c-white);
}

html.athena-dark .score-modal__field input,
html.athena-dark .score-modal__tel {
  border-color: var(--bd-white-15);
  background: var(--bg-white-10);
  color: var(--c-cream);
}

.score-modal__field input {
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-14);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body-14);
  color: var(--c-navy);
}

html.athena-dark .score-modal__field input {
  color: var(--c-cream);
}

.score-modal__field input[name="pan"] {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.score-modal__field input::placeholder {
  color: var(--c-taupe);
  opacity: 0.7;
}

.score-modal__field input:focus,
.score-modal__tel:focus-within {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px var(--bg-gold-20);
}

.score-modal__tel {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.score-modal__tel-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border-right: 1px solid var(--bd-slate-30);
  font-family: var(--font-heading);
  font-size: var(--fs-head-12);
  font-weight: var(--fw-bold);
  color: var(--c-taupe);
  background: var(--c-beige);
}

html.athena-dark .score-modal__tel-prefix {
  border-right-color: var(--bd-white-15);
  background: var(--bg-white-05);
  color: var(--tx-cream-70);
}

.score-modal__tel input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.score-modal__tel input:focus {
  box-shadow: none;
}

.score-modal__error {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-12);
  line-height: var(--lh-body-12);
  color: var(--c-red);
}

.score-modal__error[hidden],
.score-modal__step[hidden] {
  display: none;
}

.score-modal__hint {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-12);
  line-height: var(--lh-body-12);
  color: var(--c-taupe);
  text-align: center;
}

.score-modal__hint strong {
  color: var(--c-gold-deep);
}

.score-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.8rem 1.25rem;
  border-radius: 9999px;
  background: var(--c-gold);
  color: var(--c-void);
  font-family: var(--font-heading);
  font-size: var(--fs-head-14);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-14);
  box-shadow: var(--athena-shadow-amber);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.score-modal__submit:hover,
.score-modal__submit:focus-visible {
  transform: scale(1.02);
  box-shadow: var(--athena-shadow-amber-hover);
}

.score-modal__submit:disabled,
.score-modal__submit.is-busy {
  opacity: 0.7;
  transform: none;
  cursor: wait;
}

.score-modal__otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.4rem;
}

.score-modal__otp input {
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 0.7rem;
  border: 1px solid var(--bd-slate-30);
  background: var(--c-white);
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--fs-head-18);
  font-weight: var(--fw-bold);
  color: var(--c-navy);
}

html.athena-dark .score-modal__otp input {
  border-color: var(--bd-white-15);
  background: var(--bg-white-10);
  color: var(--c-cream);
}

.score-modal__otp input:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px var(--bg-gold-20);
}

.score-modal__resend {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  font-family: var(--font-heading);
  font-size: var(--fs-head-12);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-12);
  color: var(--c-gold-deep);
  text-align: center;
}

.score-modal__resend:disabled {
  color: var(--c-taupe);
  cursor: default;
}

.score-modal__step--status {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0 0.5rem;
}

.score-modal__step--status[hidden] {
  display: none;
}

.score-modal__status-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: var(--fs-head-16);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-16);
}

.score-modal__spinner {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 3px solid var(--bg-gold-20);
  border-top-color: var(--c-gold);
  animation: score-modal-spin 0.8s linear infinite;
}

.score-modal__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--bg-gold-15);
  color: var(--c-green-fill);
}

@keyframes score-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .score-modal__spinner {
    animation: none;
  }

  .score-modal__submit:hover,
  .score-modal__submit:focus-visible {
    transform: none;
  }
}
