/* Home page: video player (es-player) and related */
:root {
  --plyr-color-main: #36c67e;
}

.es-player {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
  background: #000;
}

.es-player #player,
.es-player .plyr {
  width: 100%;
  height: 100%;
}

.es-player__overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.06)),
    url("../677b18af52ef9af1e37e0c75/69a32108b67f8ccc6c1754e0_esim.yt.still.avif")
      center / cover no-repeat;
}

.es-player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  background: rgba(255, 0, 0, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.es-player__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.es-player .plyr__video-embed,
.es-player .plyr,
.es-player iframe {
  border-radius: 15px;
}

.es-player .plyr__video-embed {
  position: relative;
  overflow: hidden;
}

.es-player .plyr__video-embed iframe {
  top: -50%;
  height: 200%;
}

.es-player .plyr__video-wrapper iframe {
  pointer-events: none;
}

@media (hover: none) and (pointer: coarse) {
  .es-player .plyr__video-wrapper iframe {
    pointer-events: auto;
  }
}

.es-player__end-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: #202938;
}

.es-player__end-overlay[hidden] {
  display: none !important;
}

.es-player__end-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: clamp(20px, 4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-player__end-center {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.es-player__end-text {
  margin: 0;
  max-width: 760px;
  color: #f9fafc;
  line-height: 1.25;
}

.es-player__end-text strong {
  color: #f9fafc;
}

.es-player__end-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.es-player__end-cta-wrap .w-inline-block {
  margin: 0;
}

.es-player__replay {
  position: absolute;
  left: clamp(18px, 2.5vw, 28px);
  bottom: clamp(18px, 2.5vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  appearance: none;
  border: 0;
  background: transparent;
  color: #f9fafc;
  padding: 8px 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}

.es-player__replay:hover {
  background: rgba(255, 255, 255, 0.08);
}

.es-player__replay:focus-visible {
  outline: 2px solid rgba(249, 250, 252, 0.7);
  outline-offset: 2px;
}

.es-player__replay-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}

.es-player__replay-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.es-player .plyr--youtube .plyr__poster,
.es-player .plyr--youtube .plyr__control--overlaid,
.es-player .plyr--youtube .ytp-chrome-top,
.es-player .plyr--youtube .ytp-title-channel,
.es-player .plyr--youtube .ytp-title-text,
.es-player .plyr--youtube .ytp-share-button,
.es-player .plyr--youtube .ytp-more-button,
.es-player .plyr--youtube .ytp-pause-overlay,
.es-player .plyr--youtube .ytp-ce-element,
.es-player .plyr--youtube .ytp-cards-button,
.es-player .plyr--youtube .ytp-watermark,
.es-player .plyr--youtube .ytp-youtube-button,
.es-player .plyr--youtube .ytp-large-play-button {
  display: none !important;
}

@media (max-width: 767px) {
  .es-player__end-center {
    gap: 18px;
    max-width: 92%;
  }

  .es-player__end-text {
    font-size: 16px;
  }

  .es-player__replay {
    font-size: 14px;
    gap: 8px;
    padding: 8px;
  }
}

/* Home page FAQ section */
.home-faq-list {
  margin-top: 64px;
  display: grid;
  gap: 16px;
}

.home-faq-item {
  opacity: 1;
  overflow: hidden;
}

.home-faq-item.faq5_accordion {
  background-color: var(--background-color-graymodern800, #202939);
  background-image: none;
  border: none;
  color: var(--background-color-graymodern25, #fcfcfd);
}

.home-faq-question {
  list-style: none;
  min-height: 88px;
  margin: 0;
  padding: 1.25rem 1.5rem;
  align-items: center;
  color: var(--background-color-graymodern25, #fcfcfd);
}

.home-faq-question::-webkit-details-marker {
  display: none;
}

.home-faq-question::marker {
  content: "";
}

.home-faq-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.home-faq-chevron {
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.home-faq-item[open] .home-faq-chevron {
  transform: rotate(-135deg);
}

.home-faq-answer {
  padding: 0 1.5rem 1.5rem;
}

.home-faq-answer .margin-bottom.margin-small {
  margin-bottom: 0;
}

.home-faq-answer .paragraph {
  margin-bottom: 0;
  color: var(--background-color-graymodern200, #e3e8ef);
}

.home-faq-section.reveal-init .content {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.home-faq-section.reveal-init .home-faq-item {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.home-faq-section.reveal-init.is-visible .content,
.home-faq-section.reveal-init.is-visible .home-faq-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-faq-section.reveal-init.is-visible .home-faq-item:nth-child(1) {
  transition-delay: 0.08s;
}

.home-faq-section.reveal-init.is-visible .home-faq-item:nth-child(2) {
  transition-delay: 0.14s;
}

.home-faq-section.reveal-init.is-visible .home-faq-item:nth-child(3) {
  transition-delay: 0.2s;
}

.home-faq-section.reveal-init.is-visible .home-faq-item:nth-child(4) {
  transition-delay: 0.26s;
}

.home-faq-section.reveal-init.is-visible .home-faq-item:nth-child(5) {
  transition-delay: 0.32s;
}

@media (max-width: 991px) {
  .home-faq-list {
    margin-top: 48px;
  }

  .home-faq-question {
    min-height: 76px;
    padding: 1rem 1.25rem;
  }

  .home-faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}

@media (max-width: 767px) {
  .home-faq-list {
    margin-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-faq-section.reveal-init .content,
  .home-faq-section.reveal-init .home-faq-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero feature bar */
.feature-bar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 40px;
  background: #0b3d2e;
  color: #e6f4ea;
  padding: 14px 20px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

