:root {
  --font-sans: "Inter", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "Google Sans Code", "Noto Sans SC", ui-monospace, monospace;
  --font-mono-2: "Source Code Pro", "Noto Sans SC", ui-monospace, monospace;
}
/* Chinese reads better without the wide mono tracking on labels */
.eyebrow,
.hero-eyebrow,
.nav-link,
.lang-opt,
.price-tier,
.foot-col-h,
.trainer-role,
.trainer-badge,
.cover-num,
.take-num,
.sch-time {
  letter-spacing: 0.08em;
}
.section-h,
.hero-h1,
.price-h,
.cover-close,
.take-close {
  letter-spacing: -0.01em;
}

/* ===== Nav brand: SparkBytes + two-line powered-by beside it ===== */
.brand-lockup--stack {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.brand-poweredby {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.35;
  text-align: left;
  padding-left: 10px;
  border-left: 1px solid rgba(10, 10, 10, 0.18);
}
@media (max-width: 600px) {
  .brand-poweredby {
    font-size: 7.5px;
  }
}

/* ===== Centered orange-gradient hero ===== */
.hero--center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 92vh;
  padding: 150px 300px 55px;
  background: linear-gradient(
    160deg,
    #ffe2c6 0%,
    #ffc488 20%,
    #ff5b00 55%,
    #d73b00 100%
  );
  color: #fff;
  overflow: hidden;
}
.hero--center::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      60% 55% at 50% 0%,
      rgba(255, 255, 255, 0.22),
      transparent 60%
    ),
    radial-gradient(45% 40% at 88% 92%, rgba(0, 0, 0, 0.16), transparent 60%);
  pointer-events: none;
}
.hero--center::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(
    70% 70% at 50% 40%,
    #000,
    transparent 100%
  );
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 100%);
  pointer-events: none;
}
.hero-center-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero--center .hero-h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.12;
  max-width: 20ch;
}
.hero--center .hero-h1 .hero-h1-lead {
  display: block;
}
.hero--center .hero-h1 em {
  font-style: normal;
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  box-shadow: inset 0 -0.16em 0 #57d5d0;
}
.hero-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}
.hero-partner-label {
  font-family: var(--font-mono);
  font-size: clamp(9.5px, 0.9vw, 11px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.hero-partner-logo {
  height: clamp(43px, 6.4vw, 64px);
  width: auto;
}
@media (max-width: 600px) {
  .hero-partner {
    gap: 9px;
    margin-bottom: 24px;
  }
  .hero-partner-logo {
    height: 37px;
  }
}
.hero--center .hero-aside {
  display: block;
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
}
.hero--center .hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  max-width: 540px;
  margin: 24px auto 0;
}
.hero--center .hero-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-ondark {
  color: var(--orange);
  background: #fff;
}
.btn-ondark::before {
  background: var(--ink);
}
.btn-ondark:hover {
  color: #fff;
}
@media (max-width: 640px) {
  .hero--center {
    min-height: 0;
    padding: 130px 20px 64px;
  }
  .hero--center .hero-h1-b {
    display: block;
  }
  .hero--center .hero-h1 {
    font-size: 42px;
  }
}

/* ===== Hero collage photos ===== */
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hc {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(120, 30, 0, 0.55);
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
  will-change: transform;
}
.hc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hc-1 {
  left: 3%;
  top: 18%;
  width: 218px;
  height: 288px;
  --rot: -5deg;
  animation: hc-float-a 5.6s ease-in-out infinite;
}
.hc-2 {
  left: 7%;
  top: 55%;
  width: 184px;
  height: 230px;
  --rot: 4deg;
  animation: hc-float-b 6.8s ease-in-out infinite;
}
.hc-3 {
  right: 3%;
  top: 15%;
  width: 230px;
  height: 288px;
  --rot: 5deg;
  animation: hc-float-b 6.2s ease-in-out infinite;
}
.hc-4 {
  right: 6.5%;
  top: 54%;
  width: 190px;
  height: 242px;
  --rot: -4deg;
  animation: hc-float-a 7.4s ease-in-out infinite;
}
@keyframes hc-float-a {
  0%,
  100% {
    transform: rotate(var(--rot)) translateY(0);
  }
  50% {
    transform: rotate(var(--rot)) translateY(-16px);
  }
}
@keyframes hc-float-b {
  0%,
  100% {
    transform: rotate(var(--rot)) translateY(0);
  }
  50% {
    transform: rotate(var(--rot)) translateY(-22px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hc {
    animation: none !important;
    transform: rotate(var(--rot));
  }
}
@media (max-width: 1180px) {
  .hero--center {
    padding-left: 230px;
    padding-right: 230px;
  }
  .hc-1 {
    width: 172px;
    height: 230px;
    left: 1%;
  }
  .hc-2 {
    width: 147px;
    height: 184px;
    left: 3.5%;
  }
  .hc-3 {
    width: 184px;
    height: 230px;
    right: 1%;
  }
  .hc-4 {
    width: 152px;
    height: 193px;
    right: 3%;
  }
}
@media (max-width: 940px) {
  .hero--center {
    flex-direction: column;
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-center-inner {
    order: 1;
  }
  .hero-collage {
    order: 2;
    position: static;
    inset: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 52px;
    pointer-events: auto;
  }
  .hc {
    position: static;
    flex: 0 0 auto;
    width: 150px !important;
    height: 194px !important;
  }
  .hc-2,
  .hc-3,
  .hc-4 {
    margin-left: -22px;
  }
  .hc-1 {
    z-index: 4;
  }
  .hc-2 {
    z-index: 3;
  }
  .hc-3 {
    z-index: 2;
  }
  .hc-4 {
    z-index: 1;
  }
}
@media (max-width: 560px) {
  .hc {
    width: 116px !important;
    height: 150px !important;
  }
  .hc-2,
  .hc-3,
  .hc-4 {
    margin-left: -18px;
  }
}
@media (max-width: 400px) {
  .hc {
    width: 92px !important;
    height: 122px !important;
  }
  .hc-2,
  .hc-3,
  .hc-4 {
    margin-left: -14px;
  }
}

/* ===== WHO-as-checklist (painpoints) ===== */
.whocheck {
  background: var(--paper);
  padding: 128px 0;
}
.whocheck-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.whocheck-aside {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.whocheck-aside .section-h {
  color: var(--ink);
}
.whocheck-aside .section-h em {
  font-style: normal;
  background: linear-gradient(100deg, #008f86, #57d5d0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.whocheck-sub {
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #008f86;
}
.whocheck-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.whocheck-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: #dff4f4;
  border: 1px solid rgba(0, 143, 134, 0.18);
  transition:
    transform 0.3s var(--ease-soft),
    box-shadow 0.3s ease;
}
.whocheck-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(0, 143, 134, 0.45);
}
.wc-tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #008f86, #57d5d0);
  color: #fff;
  clip-path: polygon(
    6px 0,
    100% 0,
    100% calc(100% - 6px),
    calc(100% - 6px) 100%,
    0 100%,
    0 6px
  );
}
.wc-tick svg {
  width: 15px;
  height: 15px;
}
.wc-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 2px;
}
@media (max-width: 900px) {
  .whocheck {
    padding: 80px 0;
  }
  .whocheck-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .whocheck-aside {
    position: static;
  }
}

/* Why-section subtitle: keep on one row for desktop & tablet */
.why .section-lede {
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .why .section-lede {
    white-space: normal;
  }
}
.sch-desc {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}
/* Trainer checkpoints sit directly under the role, not pushed to card bottom */
.trainers-grid .trainer-points {
  margin-top: 20px;
}
@media (min-width: 981px) {
  .cover-h {
    white-space: nowrap;
  }
}
.hero--center .hero-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  max-width: 640px;
}
.hero--center .hero-labels li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 14px;
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
}
