:root {
  color-scheme: light;
  --epic-black: #231f20;
  --epic-orange: #d37757;
  --epic-orange-dark: #bc634b;
  --epic-gray: #7f7e7f;
  --epic-focus: #ffffff;
}

html {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000000;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  color: var(--epic-black);
  background: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
[role='button']:focus-visible,
[role='tab']:focus-visible {
  outline: 3px solid var(--epic-focus);
  outline-offset: 4px;
}

.whiteBG a:focus-visible,
.grayBG a:focus-visible,
.whiteBG [role='button']:focus-visible,
.grayBG [role='button']:focus-visible {
  outline-color: var(--epic-black);
}

.nav-button,
.mobile-menu > .close,
.feature-cats > li,
.feature-cat .details > li,
.accordion-title {
  cursor: pointer;
}

.mobile-menu:not(.active) {
  pointer-events: none;
}

.button[aria-disabled='true'],
a.is-placeholder {
  cursor: not-allowed;
}

#typewriterText {
  border-right: 3px solid #fff;
  color: #fff;
  animation: blink-caret 1s step-end infinite;
}

#typewriterWrapper {
  display: inline-block;
  min-width: 200px;
  text-align: left;
}

.typewriter-line {
  display: block;
  white-space: nowrap;
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #fff;
  }
}

.rounded-lg,
img.rounded-lg,
.ics-rounded-lg,
img.ics-rounded-lg {
  border-radius: 16px !important;
}

.shadow-lg,
img.shadow-lg,
.ics-shadow-lg,
img.ics-shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%) !important;
}

.shadow-xl,
img.shadow-xl,
.ics-shadow-xl,
img.ics-shadow-xl {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 10%) !important;
}

.motion-poster {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.thank-you-card {
  width: min(760px, 100%);
  padding: clamp(2.5rem, 8vw, 6rem);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 16px;
  text-align: center;
  background: #2a2728;
  box-shadow: 0 28px 80px rgb(0 0 0 / 25%);
}

.thank-you-logo {
  width: min(360px, 85%);
  height: auto;
  margin: 0 auto 4rem;
}

.thank-you-card .eyebrow {
  margin-bottom: 1rem;
  color: var(--epic-orange);
  font-family: stratum-1-web, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thank-you-card h1 {
  margin-bottom: 1rem;
}

.thank-you-card p.gray {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
}

@media (max-width: 767px) {
  h1 {
    white-space: normal !important;
  }

  .desktop-only {
    display: none !important;
  }

  .word-protect::after {
    content: '\A';
    white-space: pre;
  }

  .word-time {
    display: block;
  }

  .typewriter-line {
    margin-left: -10px !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  #typewriterWrapper {
    min-width: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  #typewriterText {
    border-right: 0;
    animation: none !important;
  }

  .stat[data-target],
  .stat-item[data-target] {
    opacity: 1 !important;
    transform: none !important;
  }

  .slick-track,
  .slick-slide {
    transition: none !important;
  }

  #flodesk-slide-prompt,
  #flodesk-popup-wrapper,
  #flodesk-popup-container,
  #flodesk-popup-close {
    transition: none !important;
    animation: none !important;
  }
}
