.site-page::before {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 490px;
  background: linear-gradient(180deg, #fff, #fff6e8 102.04%);
  clip-path: ellipse(96% 100% at 50% 0);
  pointer-events: none;
  content: "";
}

.site-hero {
  position: relative;
  z-index: 2;
  margin-bottom: -16px;
  padding-top: 67px;
  text-align: center;
}

.hero-title {
  margin: 0 48px 0 0;
  font-size: 46px;
  line-height: 61px;
}

.hero-description {
  margin: 32px auto 0;
  color: var(--color-secondary);
  font-size: 16px;
  line-height: 24px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 34px 0 0;
  color: var(--color-secondary);
  font-size: 16px;
  line-height: 50px;
}

.hero-stats strong {
  color: var(--color-accent);
  font-size: 28px;
  line-height: 1;
}

.hero-play {
  display: inline-grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-play img {
  width: 19px;
  height: 19px;
}

.hero-action {
  display: flex;
  width: fit-content;
  min-width: 180px;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  margin-inline: auto;
  padding: 12px 24px;
  border-radius: 54px;
  background: var(--color-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.hero-action:hover {
  background: #e69700;
}

.hero-action img {
  display: block;
  width: 19px;
  height: 19px;
}

.showcase {
  padding-block: 80px 100px;
}

.showcase-items {
  display: grid;
  gap: 200px;
  margin-top: 100px;
}

.showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 13fr) minmax(0, 15fr);
  align-items: start;
  column-gap: clamp(36px, 100vw - 1144px, 160px);
}

.showcase-item--reversed {
  grid-template-columns: minmax(0, 15fr) minmax(0, 13fr);
}

.showcase-item--reversed .showcase-media {
  grid-area: 1 / 1;
}

.showcase-heading {
  width: max-content;
  max-width: calc(100% + 28px);
  margin: 0;
  font-size: 32px;
  line-height: 42px;
}

.showcase-points {
  display: grid;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  color: var(--color-secondary);
  font-size: 20px;
  line-height: 36px;
  list-style: none;
  counter-reset: showcase-point;
}

.showcase-points li {
  counter-increment: showcase-point;
}

.showcase-option {
  display: flex;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.showcase-option::before {
  flex: none;
  content: counter(showcase-point) "、";
}

.showcase-option:hover,
.showcase-option[aria-pressed="true"] {
  color: var(--color-ink);
}

.showcase-option[aria-pressed="true"] {
  background: var(--color-panel);
}

.showcase-media {
  display: grid;
  min-width: 0;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  margin: 0;
  aspect-ratio: 1;
}

.showcase-media > * {
  grid-area: 1 / 1;
  align-self: start;
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease-in-out, visibility 280ms;
}

.showcase-media img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-media > [aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-media > * {
    transition: none;
  }
}

.showcase-certificates {
  width: 98%;
  margin: 4% auto 0;
}

.showcase-certificates figcaption {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 0 0 16px 16px;
  background: #97c3f1;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.intro-video {
  width: min(880px, 100% - 32px);
  max-height: calc(100% - 32px);
  padding: 20px;
  border: 0;
  border-radius: 16px;
}

.intro-video::backdrop {
  background: rgb(0 0 0 / 72%);
}

.intro-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.intro-video-header h2 {
  margin: 0;
  font-size: 20px;
}

.intro-video-close {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
}

.intro-video video {
  display: block;
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #111;
}

@media (max-width: 1327px) {
  .showcase-heading {
    width: auto;
    max-width: none;
  }

  .showcase-items {
    gap: clamp(64px, 14vw, 180px);
  }
}

@media (max-width: 840px) {
  .site-hero {
    padding-top: 58px;
  }

  .hero-title {
    margin-right: 0;
    font-size: clamp(30px, 6vw, 46px);
    line-height: 1.3;
  }

  .hero-description {
    max-width: 560px;
    margin-top: 20px;
  }

  .hero-stats {
    margin-right: 0;
    font-size: 14px;
    line-height: 38px;
  }

  .hero-stats strong {
    font-size: 24px;
  }

  .hero-action {
    min-height: 52px;
    margin-top: 26px;
    font-size: 18px;
  }

  .site-page::before {
    height: 415px;
    clip-path: ellipse(110% 100% at 50% 0);
  }

  .showcase {
    padding-block: 64px;
  }

  .showcase-items {
    gap: 68px;
    margin-top: 48px;
  }

  .showcase-item,
  .showcase-item--reversed {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 24px;
  }

  .showcase-copy,
  .showcase-media {
    width: min(100%, 600px);
  }

  .showcase-item--reversed .showcase-media {
    grid-area: auto;
  }

  .showcase-heading {
    font-size: clamp(23px, 4.6vw, 30px);
    line-height: 1.4;
  }

  .showcase-points {
    margin-top: 16px;
    font-size: 16px;
    line-height: 26px;
  }

  .showcase-option {
    padding: 10px 12px;
  }
}

@media (max-width: 460px) {
  .site-hero {
    padding-top: 42px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 23px;
  }

  .showcase-certificates figcaption {
    min-height: 56px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 20px;
  }
}
