.fold-launch {
  --fold-gutter: var(--bot-layout-gutter, 24px);
  width: min(1440px, calc(100% - 2 * var(--fold-gutter)));
  margin-inline: auto;
  padding-block: clamp(44px, 6.2vw, 96px) 0;
}

.fold-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: end;
  gap: 22px clamp(32px, 7vw, 110px);
  margin-block-end: clamp(30px, 4.1vw, 58px);
}

.fold-heading h1 {
  margin: 4px 0 0;
  font-size: clamp(3rem, 8.2vw, 7.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.075em;
  text-wrap: balance;
}

.fold-heading:lang(zh) h1 { letter-spacing: -.065em; }
.fold-heading .fold-intro { padding-block: 0 4px; }
.fold-intro p { margin: 0; color: var(--text-2); }
.fold-intro .fold-tagline {
  margin-block-end: 8px;
  color: var(--text);
  font-size: clamp(1.38rem, 2.9vw, 2.5rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.fold-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px clamp(14px, 2.1vw, 30px);
  margin-block-start: 20px;
}

.fold-cast {
  --fold-spot: #688bee;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.fold-cast:has(#fold-weho:checked) { --fold-spot: #42a996; }
.fold-cast:has(#fold-qingluai:checked) { --fold-spot: #d66296; }
.fold-cast:has(#fold-qelvant:checked) { --fold-spot: #a386e7; }

.fold-cast legend {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.fold-stage {
  position: relative;
  display: grid;
  isolation: isolate;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0px, 1vw, 18px);
  padding: clamp(52px, 7vw, 105px) clamp(8px, 6vw, 102px) clamp(14px, 3vw, 40px);
  overflow: hidden;
  border-radius: clamp(19px, 3vw, 42px);
  background:
    radial-gradient(ellipse 43% 76% at var(--fold-spot-x) 67%, color-mix(in srgb, var(--fold-spot) 29%, transparent), transparent),
    radial-gradient(ellipse 72% 115% at 96% 14%, #27323d, transparent 79%),
    linear-gradient(148deg, #182236, #141827 52%, #171625);
  color: #f9f8ff;
}

.fold-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 46% 11% at 50% 70%, #d6d2fb33, transparent 99%);
  content: "";
}

.fold-choice {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  min-inline-size: 0;
  padding-block: 6px;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fold-choice:has(input:focus-visible) {
  outline: 2px solid #e2eafa;
  outline-offset: -2px;
}

.fold-choice input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.fold-choice img {
  display: block;
  width: 100%;
  max-width: 256px;
  height: auto;
  filter: drop-shadow(0 13px 20px #0d0e203d);
  transform: translateY(0);
  transition: transform .32s ease;
}

.fold-choice:has(input:checked) img,
.fold-choice:hover img { transform: translateY(clamp(-13px, -1vw, -4px)); }

.fold-choice span {
  display: grid;
  min-block-size: 38px;
  place-items: center;
  padding: 4px clamp(5px, 1.5vw, 18px);
  border: 1px solid transparent;
  border-radius: 999px;
  color: #eeeefd;
  font-size: clamp(.76rem, 1.3vw, .96rem);
  font-weight: 650;
  white-space: nowrap;
}

.fold-choice:has(input:checked) span {
  border-color: #ffffff42;
  background: #ffffff1c;
  color: #fff;
}

.fold-line {
  display: none;
  max-inline-size: 58ch;
  margin: 0 auto;
  padding: 17px 0 0;
  color: var(--text-2);
  text-align: center;
  text-wrap: pretty;
}

.fold-cast:has(#fold-karmen:checked) [data-fold-line="karmen"],
.fold-cast:has(#fold-weho:checked) [data-fold-line="weho"],
.fold-cast:has(#fold-qingluai:checked) [data-fold-line="qingluai"],
.fold-cast:has(#fold-qelvant:checked) [data-fold-line="qelvant"] { display: block; }

.fold-stage-note {
  margin: 8px auto 0;
  color: var(--text-2);
  text-align: center;
  font-size: .88rem;
  text-wrap: pretty;
}

.fold-product-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px clamp(16px, 3vw, 48px);
  margin-block-start: clamp(35px, 6vw, 82px);
  padding: 8px 5px;
  border-block: 1px solid var(--line);
}

.fold-product-nav a {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 4px;
  color: var(--text);
  font-size: .91rem;
  font-weight: 650;
  text-align: center;
  text-underline-offset: .24em;
}

.fold-product-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.fold-workspace { padding-block: clamp(48px, 7vw, 102px) clamp(2px, 1.5vw, 16px); }
.fold-workspace h2 {
  max-inline-size: 16ch;
  margin: 12px auto 0;
  font-size: clamp(2.35rem, 5.6vw, 5.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.fold-workspace:lang(zh) h2 { max-inline-size: 14em; }

@media (max-width: 800px) {
  .fold-heading { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .fold-launch { --fold-gutter: 16px; }
  .fold-stage { padding-block-start: 50px; }
  .fold-product-nav { gap: 3px 12px; }
  .fold-product-nav a { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fold-choice img { transition: none; }
  .fold-choice:has(input:checked) img, .fold-choice:hover img { transform: none; }
}

.fold-cast { --fold-spot-x: 17%; }
.fold-cast:has(#fold-weho:checked) { --fold-spot-x: 39%; }
.fold-cast:has(#fold-qingluai:checked) { --fold-spot-x: 61%; }
.fold-cast:has(#fold-qelvant:checked) { --fold-spot-x: 83%; }

.fold-player {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 15px;
  margin-block-start: 8px;
  text-align: center;
}

.fold-player [hidden] { display: none; }

.fold-player button {
  min-block-size: 44px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
}

.fold-player button:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.fold-player button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.fold-player .fold-stage-note { margin: 0; }

.fold-team-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2.5vw, 24px);
  margin-block-end: clamp(22px, 3.4vw, 40px);
}

.fold-team-cards > div {
  padding: clamp(17px, 2.7vw, 36px);
  border: 1px solid var(--line);
  border-radius: clamp(12px, 1.5vw, 21px);
  background: color-mix(in srgb, var(--text) 3%, transparent);
}

.fold-team-cards h3 { margin: 0 0 8px; font-size: clamp(1.2rem, 2.4vw, 2rem); }
.fold-team-cards p { margin: 0; color: var(--text-2); line-height: 1.65; }

@media (max-width: 640px) {
  .fold-team-cards { grid-template-columns: 1fr; }
}
