/* Shared visual guardrails for the public site. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.52);
  outline-offset: 3px;
}

/* 首屏视频容器的底色：用深色科技感渐变，不再用课堂照片当底，
   否则视频加载的那一两秒会露出与视频画面完全不符的封面，看起来像「播错了视频」 */
.wy-home-hero-media {
  background: radial-gradient(circle at 50% 42%, #1b2a4a 0%, #0b1220 55%, #070b14 100%);
}

/* 视频用绝对定位 + z-index:1 盖在官网自带的 5 张图片轮播之上。
   图片是 position:absolute，若只靠「把图片变透明」来让位，
   一旦页面重绘重新生成了图片（丢了透明标记），视频又会被图片盖住 —— 加上定位这一层保险。 */
.wy-home-hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 74% center;
  transform: scale(1.035);
  filter: saturate(0.86) contrast(1.07);
}

/* 首屏视频播放期间，先藏起官网自带的图片轮播；视频加载失败时脚本会移走视频并去掉这个类，轮播自动恢复 */
.wy-home-hero-media .wy-home-hero-fallback-frame {
  opacity: 0 !important;
}

.wy-home-hero-poster {
  background: #0f172a url('/assets/real-campus-wide.jpg') center / cover no-repeat;
}

@media (min-width: 1024px) {
  #hero {
    min-height: 700px !important;
    height: min(82vh, 780px) !important;
  }

  #hero > div.relative.z-10 {
    min-height: 700px;
    height: min(82vh, 780px);
  }

  #hero h1 {
    max-width: 820px;
    font-size: clamp(52px, 4.35vw, 64px) !important;
    line-height: 1.08 !important;
    text-wrap: nowrap;
  }

  #hero h1 > span {
    display: block;
    width: max-content;
    max-width: 100%;
  }

  #hero h1 .wy-hero-accent {
    color: #60a5fa;
  }

  #hero > div.relative.z-10 {
    position: relative;
  }

  #hero > div.relative.z-10::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    width: min(68vw, 980px);
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.78) 58%, rgba(2, 6, 23, 0) 100%);
    pointer-events: none;
  }

  #hero .wy-real-hero-video + div {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.64) 0%, rgba(2, 6, 23, 0.34) 48%, rgba(2, 6, 23, 0.06) 100%);
  }

  #hero p {
    max-width: 620px;
    font-size: 18px;
  }
}

.wy-home-trust-band {
  width: 100%;
  padding: 88px clamp(24px, 6vw, 96px);
  background: #f7f9fc;
  border-top: 1px solid #e8edf4;
  border-bottom: 1px solid #e8edf4;
}

.wy-home-trust-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto 36px;
}

.wy-home-eyebrow {
  margin: 0 0 12px;
  color: #2563eb;
  font: 600 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.wy-home-trust-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

.wy-home-trust-lead {
  max-width: 420px;
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.75;
}

.wy-home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.wy-home-trust-item {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.wy-home-trust-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.wy-home-trust-index {
  color: #2563eb;
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-home-trust-symbol {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 22px;
  font-weight: 800;
}

.wy-home-trust-item strong {
  color: #0f172a;
  font-size: 22px;
}

.wy-home-trust-item span:last-child {
  color: #64748b;
  font-size: 15px;
  line-height: 1.75;
}

.wy-home-trust-note {
  max-width: 1240px;
  margin: 24px auto 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.7;
}

.wy-home-partner-note {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.6;
}

.wy-beginner-guide {
  width: 100%;
  padding: 60px clamp(24px, 6vw, 96px);
  background: #f8fafc;
  border-top: 1px solid #e8edf4;
  border-bottom: 1px solid #e8edf4;
}

.wy-beginner-head,
.wy-beginner-grid,
.wy-beginner-cta {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.wy-beginner-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 30px;
}

.wy-beginner-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.18;
}

.wy-beginner-head > p {
  max-width: 460px;
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
}

.wy-beginner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wy-beginner-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wy-beginner-grid article:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.wy-beginner-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8edf4;
}

.wy-beginner-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 500ms ease;
}

.wy-beginner-grid article:hover .wy-beginner-media img {
  transform: scale(1.025);
}

.wy-beginner-media > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.wy-beginner-copy {
  min-height: 192px;
  padding: 24px 26px 28px;
}

.wy-beginner-copy > span {
  display: block;
  margin-bottom: 18px;
  color: #2563eb;
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-beginner-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 20px;
}

.wy-beginner-grid p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.75;
}

.wy-beginner-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 24px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: #0f172a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.wy-learning-map {
  max-width: 1300px;
  margin: -26px auto 42px;
  padding: 34px 34px 32px;
  overflow: hidden;
  border: 1px solid #1e293b;
  border-radius: 8px;
  background: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wy-learning-map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.wy-learning-map-head span {
  color: #60a5fa;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.wy-learning-map-head h3 {
  margin: 8px 0 0;
  color: #f8fafc;
  font-size: 24px;
  line-height: 1.25;
}

.wy-learning-map-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

.wy-map-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wy-map-track::before,
.wy-map-track::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 23px;
  right: 8%;
  left: 8%;
  height: 2px;
}

.wy-map-track::before {
  background: #334155;
}

.wy-map-track::after {
  background: linear-gradient(90deg, #2563eb, #38bdf8, #f59e0b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1100ms cubic-bezier(.22, .8, .3, 1) 180ms;
}

.wy-learning-map.is-visible .wy-map-track::after {
  transform: scaleX(1);
}

.wy-map-track li {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.wy-learning-map.is-visible .wy-map-track li {
  opacity: 1;
  transform: translateY(0);
}

.wy-learning-map.is-visible .wy-map-track li:nth-child(1) { transition-delay: 140ms; }
.wy-learning-map.is-visible .wy-map-track li:nth-child(2) { transition-delay: 230ms; }
.wy-learning-map.is-visible .wy-map-track li:nth-child(3) { transition-delay: 320ms; }
.wy-learning-map.is-visible .wy-map-track li:nth-child(4) { transition-delay: 410ms; }
.wy-learning-map.is-visible .wy-map-track li:nth-child(5) { transition-delay: 500ms; }
.wy-learning-map.is-visible .wy-map-track li:nth-child(6) { transition-delay: 590ms; }

.wy-map-step {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 5px solid #0f172a;
  border-radius: 50%;
  color: #0f172a;
  background: #f8fafc;
  box-shadow: 0 0 0 1px #475569;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-map-track li:nth-child(3) .wy-map-step,
.wy-map-track li:nth-child(6) .wy-map-step {
  color: #fff;
  background: #2563eb;
}

.wy-map-track strong,
.wy-map-track small {
  display: block;
}

.wy-map-track strong {
  margin-top: 13px;
  color: #f8fafc;
  font-size: 15px;
}

.wy-map-track small {
  margin-top: 5px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
}

.wy-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 580ms ease var(--wy-reveal-delay, 0ms), transform 580ms cubic-bezier(.22, .8, .3, 1) var(--wy-reveal-delay, 0ms);
}

.wy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#six-in-one,
#campus {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.wy-hero-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 700;
}

.wy-hero-keywords span {
  animation: wy-keyword-focus 6.4s ease-in-out infinite;
}

.wy-hero-keywords span:nth-of-type(2) { animation-delay: 1.6s; }
.wy-hero-keywords span:nth-of-type(3) { animation-delay: 3.2s; }
.wy-hero-keywords span:nth-of-type(4) { animation-delay: 4.8s; }

.wy-hero-keywords i {
  color: rgba(255, 255, 255, 0.32);
  font-style: normal;
}

#hero h1 > span {
  animation: wy-hero-line-in 620ms cubic-bezier(.22, .8, .3, 1) both;
}

#hero h1 > span:nth-child(2) { animation-delay: 90ms; }
#hero h1 > span:nth-child(3) { animation-delay: 180ms; }

@keyframes wy-keyword-focus {
  0%, 18%, 100% { color: rgba(255, 255, 255, 0.52); }
  5%, 13% { color: #fff; }
}

@keyframes wy-hero-line-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wy-stage-details {
  max-width: 1300px;
  margin: -20px auto 0;
}

.wy-stage-details > summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: max-content;
  margin: 0 auto;
  padding: 0 22px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #0f172a;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.wy-stage-details > summary::-webkit-details-marker {
  display: none;
}

.wy-stage-details > summary b {
  font-size: 20px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.wy-stage-details[open] > summary {
  margin-bottom: 28px;
}

.wy-stage-details[open] > summary b {
  transform: rotate(45deg);
}

.wy-page-visual {
  width: min(1300px, 100%);
  margin: -12px auto 42px;
  padding: 28px 0;
  border-top: 1px solid #dbe3ee;
  border-bottom: 1px solid #dbe3ee;
}

.wy-page-visual > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  text-align: left;
}

.wy-page-visual > header > span {
  color: #2563eb;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.wy-page-visual h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(22px, 2.5vw, 30px);
}

.wy-goal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.wy-goal-grid article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 18px 22px;
  border-left: 1px solid #e2e8f0;
}

.wy-goal-grid article:first-child {
  border-left: 0;
}

.wy-goal-grid b {
  grid-row: 1 / 3;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #0f172a;
  font-size: 18px;
}

.wy-goal-grid strong,
.wy-goal-grid small {
  display: block;
}

.wy-goal-grid strong {
  color: #0f172a;
  font-size: 17px;
}

.wy-goal-grid small {
  color: #64748b;
  font-size: 13px;
}

.wy-competition-loop {
  padding: 30px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #0f172a;
}

.wy-competition-loop h2 {
  color: #fff;
}

.wy-competition-loop > header > span {
  color: #60a5fa;
}

.wy-competition-loop ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wy-competition-loop li {
  position: relative;
  padding: 20px;
  border: 1px solid #334155;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.wy-competition-loop li:not(:last-child)::after {
  content: '→';
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -19px;
  color: #60a5fa;
  transform: translateY(-50%);
}

.wy-competition-loop li b,
.wy-competition-loop li strong {
  display: block;
}

.wy-competition-loop li b {
  margin-bottom: 20px;
  color: #60a5fa;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-career-evidence > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.wy-career-evidence article {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: #f8fafc;
}

.wy-career-evidence article b {
  color: #2563eb;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-career-evidence article strong {
  color: #0f172a;
  font-size: 18px;
}

.wy-course-details {
  margin-top: 4px;
  border-top: 1px solid #e2e8f0;
}

.wy-course-toggle {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  color: #0f172a;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.wy-course-toggle b {
  color: #2563eb;
  font-size: 22px;
  transition: transform 180ms ease;
}

.wy-course-details.is-open .wy-course-toggle b {
  transform: rotate(45deg);
}

.wy-course-details > .grid {
  padding-top: 4px;
}

.wy-course-details > .grid[hidden] {
  display: none !important;
}

.wy-advanced-course[hidden] {
  display: none !important;
}

.wy-more-courses {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #0f172a;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.wy-more-courses b {
  color: #2563eb;
  font-size: 22px;
  transition: transform 180ms ease;
}

.wy-more-courses.is-open b {
  transform: rotate(45deg);
}

.wy-campus-path ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.wy-campus-path li {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: space-between;
  padding: 20px;
  border-left: 1px solid #dbe3ee;
  background: #f8fafc;
}

.wy-campus-path li:last-child {
  border-right: 1px solid #dbe3ee;
}

.wy-campus-path li:not(:last-child)::after {
  content: '→';
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -10px;
  width: 20px;
  color: #2563eb;
  background: #f8fafc;
  text-align: center;
  transform: translateY(-50%);
}

.wy-campus-path li b,
.wy-campus-path li strong,
.wy-campus-path li small {
  display: block;
}

.wy-campus-path li b {
  color: #2563eb;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-campus-path li strong {
  color: #0f172a;
  font-size: 19px;
}

.wy-campus-path li small {
  color: #64748b;
  font-size: 13px;
}

.wy-about-visualized .wy-about-long-copy {
  display: none;
}

.wy-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.wy-principle-grid article {
  min-height: 150px;
  padding: 24px;
  border-top: 3px solid #2563eb;
  background: #f8fafc;
}

.wy-principle-grid b,
.wy-principle-grid span {
  display: block;
}

.wy-principle-grid b {
  color: #0f172a;
  font-size: 26px;
}

.wy-principle-grid span {
  margin-top: 34px;
  color: #64748b;
  font-size: 14px;
}

.wy-about-team-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.wy-about-team-map article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 5px 12px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.wy-about-team-map b {
  grid-row: 1 / 3;
  color: #2563eb;
  font: 700 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-about-team-map strong,
.wy-about-team-map span {
  display: block;
}

.wy-about-team-map strong {
  color: #0f172a;
  font-size: 15px;
}

.wy-about-team-map span {
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 767px) {
  #hero {
    min-height: min(760px, 94svh) !important;
  }

  #hero h1 {
    font-size: clamp(36px, 10.4vw, 44px) !important;
    line-height: 1.08 !important;
    max-width: 100%;
  }

  #hero h1 > span {
    display: block;
  }

  #hero h1 .wy-hero-accent {
    color: #60a5fa;
  }

  #hero p {
    font-size: 16px;
    line-height: 1.75;
  }

  #hero .wy-real-hero-video + div {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.56));
  }

  #hero > div.relative.z-10 {
    min-height: min(760px, 94svh) !important;
    padding-bottom: 88px;
  }

  #hero .wy-home-hero-video {
    object-position: 62% center;
    transform: scale(1.02);
  }

  #hero .wy-hero-tour-button {
    display: none !important;
  }

  footer .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .wy-home-trust-band {
    padding: 60px 20px;
  }

  .wy-home-trust-head {
    display: block;
    margin-bottom: 24px;
  }

  .wy-home-trust-lead {
    margin-top: 16px;
    font-size: 15px;
  }

  .wy-home-trust-grid {
    grid-template-columns: 1fr;
  }

  .wy-home-trust-item {
    min-height: auto;
    padding: 24px;
  }

  .wy-beginner-guide {
    padding: 58px 20px;
  }

  .wy-beginner-head {
    display: block;
    margin-bottom: 24px;
  }

  .wy-beginner-head > p {
    margin-top: 16px;
    font-size: 15px;
  }

  .wy-beginner-grid {
    grid-template-columns: 1fr;
  }

  .wy-learning-map {
    margin: -12px auto 32px;
    padding: 24px 20px;
  }

  .wy-learning-map-head {
    display: block;
    margin-bottom: 22px;
  }

  .wy-learning-map-head p {
    margin-top: 8px;
  }

  .wy-map-track {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wy-map-track::before,
  .wy-map-track::after {
    top: 23px;
    right: auto;
    bottom: 23px;
    left: 23px;
    width: 2px;
    height: auto;
  }

  .wy-map-track::after {
    transform: scaleY(0);
    transform-origin: top;
  }

  .wy-learning-map.is-visible .wy-map-track::after {
    transform: scaleY(1);
  }

  .wy-map-track li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    text-align: left;
  }

  .wy-map-track strong {
    margin-top: 0;
  }
}

.wy-privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.65;
}

.wy-privacy-consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: #0f172a;
}

.wy-privacy-consent a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a[href*="beian"],
footer a[href="/privacy"],
footer a[href="/terms"] {
  color: #94a3b8;
  transition: color 160ms ease;
}

footer a[href*="beian"]:hover,
footer a[href="/privacy"]:hover,
footer a[href="/terms"]:hover {
  color: #475569;
}

.wy-home-evidence,
.wy-home-team,
.wy-home-activity {
  width: 100%;
}

.wy-home-team[hidden],
#campus [hidden],
.wy-home-trust-band[hidden],
#partners[hidden] {
  display: none !important;
}

.wy-beginner-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 820px;
  margin: 22px auto 0;
  padding: 15px 18px;
  border-left: 3px solid #2563eb;
  background: #f8fafc;
  color: #475569;
  text-align: left;
  font-size: 14px;
  line-height: 1.75;
}

.wy-beginner-note strong {
  flex: 0 0 auto;
  color: #0f172a;
  font-size: 13px;
}

@media (max-width: 640px) {
  .wy-campus-path ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wy-campus-path li {
    min-height: 116px;
    border-top: 1px solid #dbe3ee;
  }

  .wy-campus-path li:nth-child(odd) {
    border-left: 1px solid #dbe3ee;
  }

  .wy-campus-path li:nth-child(even) {
    border-right: 1px solid #dbe3ee;
  }

  .wy-campus-path li::after {
    display: none;
  }

  .wy-beginner-note {
    display: block;
    margin-top: 18px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .wy-beginner-note strong {
    display: block;
    margin-bottom: 4px;
  }
}

/* Keep the marketing pages scannable: the visual blocks carry the detail,
   so the surrounding sections should not create large empty pauses. */
.wy-beginner-guide {
  padding-top: 46px;
  padding-bottom: 46px;
}

.wy-learning-map {
  margin-bottom: 28px;
  padding-top: 28px;
  padding-bottom: 26px;
}

.wy-evidence-shell,
.wy-activity-shell {
  padding-top: 50px;
  padding-bottom: 50px;
}

.wy-section-heading {
  margin-bottom: 28px;
}

.wy-page-visual {
  margin-bottom: 28px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* 底部 CTA 背景视频由 content-overrides.js 的 applyCtaMedia() 控制：
   默认播放官网自带视频，后台把地址清空或视频加载失败时才加 wy-cta-static-media 退回静态背景。
   注意：不要再用样式规则强制隐藏 CTA 里的视频，那会让官网自带的背景视频永远看不见。 */
#cta.wy-cta-static-media {
  background-image: linear-gradient(90deg, rgba(2, 6, 23, .88), rgba(2, 6, 23, .58)), url('/assets/real-campus-wide.jpg');
  background-position: center;
  background-size: cover;
}

.wy-plain-callout-hidden {
  display: none !important;
}

.wy-photo-strip {
  width: min(1300px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 28px;
}

.wy-photo-strip figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #0f172a;
  aspect-ratio: 16 / 7;
}

.wy-photo-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.03);
  transition: transform 400ms ease;
}

.wy-photo-strip figure:hover img {
  transform: scale(1.035);
}

.wy-photo-strip figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  color: #fff;
  background: linear-gradient(90deg, rgba(2, 6, 23, .78), rgba(2, 6, 23, .12));
  font-size: 14px;
  font-weight: 700;
}

.wy-course-map + .wy-photo-strip {
  margin-top: -12px;
}

.wy-course-glossary {
  width: min(1300px, 100%);
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  align-items: center;
  margin: -8px auto 22px;
  padding: 16px 20px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #f7faff;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.wy-course-glossary strong,
.wy-course-glossary b {
  color: #0f172a;
}

.wy-course-glossary span {
  min-width: 0;
}

@media (max-width: 640px) {
  .wy-photo-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .wy-photo-strip figure {
    aspect-ratio: 16 / 8;
  }
}

@media (min-width: 641px) {
  #hero + section {
    margin-top: 0;
  }

  .wy-beginner-head {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .wy-beginner-guide {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .wy-evidence-shell,
  .wy-activity-shell {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .wy-page-visual {
    margin-bottom: 22px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

.wy-home-evidence {
  background: #ffffff;
}

.wy-evidence-shell,
.wy-activity-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 70px clamp(24px, 5vw, 72px);
}

.wy-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}

.wy-section-heading > div > p,
.wy-cooperation-panel > p {
  margin: 0 0 10px;
  color: #2563eb;
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.wy-section-heading h2,
.wy-team-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.wy-section-heading > p,
.wy-team-lead {
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
}

.wy-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wy-project-grid article {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 0 0 26px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wy-project-grid article:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.wy-project-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wy-project-grid article > span,
.wy-project-grid h3,
.wy-project-grid article > p {
  margin-right: 24px;
  margin-left: 24px;
}

.wy-project-grid article > span {
  display: block;
  margin-top: 22px;
  color: #2563eb;
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-project-grid h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 22px;
}

.wy-project-grid article > p {
  margin-top: 0;
  margin-bottom: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.75;
}

.wy-outcome-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 24px;
  padding: 22px 26px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 14px;
}

.wy-outcome-strip strong {
  color: #0f172a;
}

.wy-outcome-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.wy-outcome-strip span b {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 12px;
}

.wy-home-team {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 420px;
  background: #0f172a;
}

.wy-team-photo {
  min-height: 420px;
  overflow: hidden;
}

.wy-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wy-team-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px clamp(32px, 6vw, 76px);
}

.wy-team-copy h2,
.wy-team-copy .wy-team-lead {
  color: #ffffff;
}

.wy-team-copy .wy-team-lead {
  margin-top: 20px;
  color: #cbd5e1;
}

.wy-team-roles {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid #334155;
}

.wy-team-roles article {
  display: grid;
  grid-template-columns: 42px minmax(130px, 0.65fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #334155;
}

.wy-team-roles article > b {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #475569;
  border-radius: 50%;
  color: #60a5fa;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-team-roles strong {
  color: #f8fafc;
  font-size: 16px;
}

.wy-team-roles span {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

.wy-home-activity {
  background: #f6f8fb;
}

.wy-activity-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.wy-activity-list,
.wy-cooperation-panel {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.wy-activity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wy-activity-list article {
  display: block;
  min-width: 0;
  padding: 0;
  border-right: 1px solid #e2e8f0;
}

.wy-activity-list article:last-child {
  border-right: 0;
}

.wy-activity-list article > img {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 0;
}

.wy-activity-list article > div {
  padding: 20px 22px 24px;
}

.wy-activity-list article > div > span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}

.wy-activity-list h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 19px;
}

.wy-activity-list p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.wy-section-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #0f172a;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.wy-cooperation-panel {
  padding: 32px;
  color: #fff;
  background: #111827;
}

.wy-cooperation-panel h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}

.wy-cooperation-panel ol {
  margin: 26px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #334155;
}

.wy-cooperation-panel li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #334155;
  color: #cbd5e1;
  font-size: 14px;
}

.wy-cooperation-panel li b {
  color: #60a5fa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wy-cooperation-panel > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

.wy-legal-body {
  margin: 0;
  color: #1e293b;
  background: #f8fafc;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.wy-legal-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.wy-legal-header img {
  display: block;
  width: 172px;
  height: auto;
}

.wy-legal-header nav {
  display: flex;
  gap: 26px;
}

.wy-legal-header nav a,
.wy-legal-main a,
.wy-legal-footer a {
  color: #2563eb;
  text-decoration: none;
}

.wy-legal-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 88px 28px 110px;
}

.wy-legal-eyebrow {
  margin: 0 0 12px;
  color: #2563eb;
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.wy-legal-main h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
}

.wy-legal-meta {
  margin: 18px 0 32px;
  color: #94a3b8;
  font-size: 13px;
}

.wy-legal-lead {
  margin: 0 0 54px;
  color: #475569;
  font-size: 19px;
  line-height: 1.9;
}

.wy-legal-main section {
  padding: 30px 0;
  border-top: 1px solid #e2e8f0;
}

.wy-legal-main h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 22px;
}

.wy-legal-main section p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
}

.wy-legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding: 34px 24px;
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  background: #fff;
  font-size: 12px;
}

@media (max-width: 900px) {
  .wy-section-heading {
    grid-template-columns: 1fr;
  }

  .wy-home-team {
    min-height: auto;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wy-goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wy-goal-grid article:nth-child(3) {
    border-left: 0;
  }

  .wy-goal-grid article:nth-child(n + 3) {
    border-top: 1px solid #e2e8f0;
  }

  .wy-career-evidence > div {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

@media (max-width: 767px) {
  .wy-course-glossary {
    grid-template-columns: 1fr;
    margin: -4px 20px 20px;
    width: auto;
    gap: 8px;
    padding: 14px 16px;
  }

  .wy-evidence-shell,
  .wy-activity-shell {
    padding: 62px 20px;
  }

  .wy-section-heading {
    gap: 18px;
    margin-bottom: 26px;
  }

  .wy-project-grid {
    grid-template-columns: 1fr;
  }

  .wy-section-heading > p,
  .wy-team-lead {
    font-size: 15px;
  }

  .wy-outcome-strip {
    gap: 10px 16px;
    padding: 20px;
  }

  .wy-team-photo {
    min-height: 300px;
  }

  .wy-home-team {
    grid-template-columns: 1fr;
  }

  .wy-team-copy {
    padding: 54px 22px;
  }

  .wy-team-roles article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .wy-team-roles article > span {
    grid-column: 2;
  }

  .wy-activity-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wy-page-visual {
    margin-top: -4px;
    margin-bottom: 30px;
    padding: 24px 0;
  }

  .wy-page-visual > header {
    display: block;
  }

  .wy-page-visual > header > span {
    display: block;
    margin-bottom: 8px;
  }

  .wy-goal-grid,
  .wy-competition-loop ol,
  .wy-career-evidence > div,
  .wy-principle-grid,
  .wy-about-team-map {
    grid-template-columns: 1fr;
  }

  .wy-goal-grid article {
    border-top: 1px solid #e2e8f0;
    border-left: 0;
  }

  .wy-goal-grid article:first-child {
    border-top: 0;
  }

  .wy-competition-loop {
    padding: 24px 20px;
  }

  .wy-competition-loop li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -20px;
    transform: translateX(50%) rotate(90deg);
  }

  .wy-career-evidence article,
  .wy-principle-grid article {
    min-height: 110px;
  }

  .wy-principle-grid span {
    margin-top: 18px;
  }

  .wy-activity-list article {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .wy-activity-list article > img {
    width: 108px;
    height: 86px;
    border-radius: 6px;
  }

  .wy-activity-list article > div {
    padding: 0;
  }

  .wy-activity-list article:last-child {
    border-bottom: 0;
  }

  .wy-activity-list {
    grid-template-columns: 1fr;
  }

  .wy-cooperation-panel {
    padding: 26px 22px;
  }

  .wy-legal-header {
    min-height: 68px;
  }

  .wy-legal-header img {
    width: 132px;
  }

  .wy-legal-header nav {
    gap: 14px;
    font-size: 13px;
  }

  .wy-legal-main {
    padding: 58px 20px 80px;
  }

  .wy-legal-lead {
    font-size: 17px;
  }

  .wy-has-mobile-action-bar footer {
    padding-bottom: 110px !important;
  }
}

/* Tablet windows are common for first-time visitors and need the same deliberate hero line breaks. */
@media (min-width: 768px) and (max-width: 1023px) {
  header {
    background: #fff !important;
    border-bottom: 1px solid #e8edf4 !important;
  }

  header img.wy-brand-logo {
    content: url('/assets/logo-weiyuan-horizontal-dark.svg?v=20260927-mobile-logo');
  }

  header button[aria-label="打开菜单"] {
    color: #0f172a !important;
  }

  #hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 6vw, 48px) !important;
    line-height: 1.12 !important;
  }

  #hero h1 > span {
    display: block !important;
  }

  .wy-beginner-head {
    display: block;
  }

  .wy-beginner-head > p {
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  header {
    background: #fff !important;
    border-bottom: 1px solid #e8edf4 !important;
  }

  header img.wy-brand-logo {
    content: url('/assets/logo-weiyuan-horizontal-dark.svg?v=20260927-mobile-logo');
  }

  header button[aria-label="打开菜单"] {
    color: #0f172a !important;
  }

  #hero h1 > span {
    display: block !important;
  }

  #hero h1 {
    font-size: clamp(30px, 8.2vw, 40px) !important;
    line-height: 1.14 !important;
  }

  .wy-beginner-media {
    aspect-ratio: 16 / 9;
  }

  .wy-beginner-copy {
    min-height: auto;
    padding: 22px 22px 24px;
  }

  .wy-beginner-grid article:hover {
    box-shadow: none;
    transform: none;
  }

  .wy-beginner-grid article:hover .wy-beginner-media img {
    transform: none;
  }
}

@media (max-width: 480px) {
  #hero h1 {
    font-size: clamp(28px, 8.1vw, 34px) !important;
  }
}

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

/* The cooperation page is a focused B2B doorway, while the home page stays enrollment-led. */
.wy-enterprise-page {
  padding: 116px clamp(24px, 6vw, 96px) 80px;
  background: #f8fafc;
  color: #0f172a;
}

.wy-legacy-enterprise-content {
  display: none !important;
}

.wy-enterprise-hero,
.wy-enterprise-grid,
.wy-enterprise-process,
.wy-enterprise-note {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.wy-enterprise-hero {
  padding: clamp(28px, 6vw, 72px) 0 64px;
}

.wy-enterprise-hero h1 {
  max-width: 780px;
  margin: 10px 0 18px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.wy-enterprise-hero > p:not(.wy-home-eyebrow) {
  max-width: 720px;
  color: #64748b;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.wy-enterprise-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.wy-enterprise-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.wy-enterprise-actions a:first-child {
  color: #fff;
  background: #0f172a;
}

.wy-enterprise-actions a:last-child {
  color: #0f172a;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.wy-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wy-enterprise-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.wy-enterprise-grid article > span {
  color: #2563eb;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}

.wy-enterprise-grid h2 {
  margin: 30px 0 12px;
  font-size: 23px;
}

.wy-enterprise-grid p,
.wy-enterprise-note {
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

.wy-enterprise-process {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
  gap: 48px;
  margin-top: 64px;
  padding: 42px 0;
  border-top: 1px solid #dbe3ee;
  border-bottom: 1px solid #dbe3ee;
}

.wy-enterprise-process h2 {
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.wy-enterprise-process ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wy-enterprise-process li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
}

.wy-enterprise-process b {
  color: #2563eb;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.wy-enterprise-note {
  margin-top: 24px;
  font-size: 13px;
}

@media (max-width: 767px) {
  .wy-enterprise-page {
    padding: 96px 20px 56px;
  }

  .wy-enterprise-hero {
    padding: 28px 0 42px;
  }

  .wy-enterprise-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .wy-enterprise-grid,
  .wy-enterprise-process,
  .wy-enterprise-process ol {
    grid-template-columns: 1fr;
  }

  .wy-enterprise-process {
    gap: 18px;
    margin-top: 42px;
    padding: 32px 0;
  }
}

.wy-mobile-action-bar {
  display: none;
}

.wy-course-price-note {
  display: flex;
  gap: 18px;
  align-items: baseline;
  width: min(1180px, 100%);
  margin: -26px auto 38px;
  padding: 18px 22px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #f6f9fd;
  color: #53657d;
  font-size: 14px;
  line-height: 1.7;
}

.wy-course-price-note strong {
  flex: 0 0 auto;
  color: #0f172a;
  font-size: 16px;
}

.wy-course-public-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: fit-content;
  margin: 12px 0 14px;
  color: #0f172a !important;
}

.wy-course-public-price span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.wy-course-public-price strong {
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.wy-course-card {
  padding: 28px !important;
}

.wy-course-card + .wy-course-card {
  margin-top: 28px !important;
}

.wy-course-card > div:first-child {
  gap: 18px !important;
  padding-bottom: 20px !important;
}

.wy-course-price-label {
  display: inline-block;
  margin-right: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  vertical-align: middle;
}

.wy-course-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid #e6edf6;
  border-radius: 12px;
  background: #fbfdff;
}

.wy-course-detail-facts > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.wy-course-detail-facts b {
  color: #0f172a;
  font-size: 13px;
}

.wy-course-detail-facts span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .wy-course-card {
    padding: 20px !important;
  }

  .wy-course-card + .wy-course-card {
    margin-top: 20px !important;
  }

  footer > div:last-child {
    align-items: flex-start !important;
  }

  footer > div:last-child > div {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px !important;
  }

  footer > div:last-child > div a {
    white-space: nowrap;
  }

  .wy-course-price-note {
    display: block;
    margin: -18px 20px 28px;
    width: auto;
  }

  .wy-course-price-note strong {
    display: block;
    margin-bottom: 4px;
  }

  .wy-course-detail-facts {
    grid-template-columns: 1fr;
    padding: 14px;
  }

}

@media (max-width: 767px) {
  .wy-mobile-action-bar {
    position: fixed;
    z-index: 45;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(14px);
  }

  .wy-mobile-action-bar a,
  .wy-mobile-action-bar button {
    min-height: 44px;
    flex: 1;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
  }

  .wy-mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0f172a;
  }

  .wy-mobile-action-bar button {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }
}

/* 页脚联系方式与二维码（二维码由后台「二维码管理」上传，未上传时显示占位） */
.wy-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.wy-footer-mail {
  font-size: 12px;
  color: #94a3b8;
  word-break: break-all;
}

.wy-footer-mail:hover {
  color: #0f172a;
}

.wy-footer-qr {
  width: 104px;
  height: 104px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 0 1px #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wy-footer-qr-img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.wy-footer-qr-img[hidden],
.wy-footer-qr-empty[hidden] {
  display: none;
}

.wy-footer-qr-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  padding: 0 8px;
}

.wy-footer-qr-note {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}

/* 「项目发展与创业支持」独立页 */
.wy-dev-body { background: #ffffff; color: #0f172a; }
.wy-dev-main { max-width: 1120px; margin: 0 auto; padding: 48px 24px 72px; }
.wy-dev-hero { border-bottom: 1px solid #e2e8f0; padding-bottom: 32px; margin-bottom: 40px; }
.wy-dev-eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #0066cc; margin: 0 0 10px; font-weight: 700; }
.wy-dev-title { font-size: 34px; line-height: 1.2; font-weight: 800; margin: 0 0 14px; }
.wy-dev-lead { font-size: 16px; line-height: 1.85; color: #475569; margin: 0; max-width: 820px; }
.wy-dev-section { margin-bottom: 44px; }
.wy-dev-section h2 { font-size: 22px; font-weight: 800; margin: 0 0 16px; }
.wy-dev-section-lead { font-size: 14px; color: #64748b; margin: -8px 0 18px; }
.wy-dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.wy-dev-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; }
.wy-dev-card span { display: inline-block; font-size: 12px; font-weight: 700; color: #0066cc; background: #e8f2ff; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.wy-dev-card strong { display: block; font-size: 15px; margin-bottom: 8px; }
.wy-dev-card p { font-size: 13px; line-height: 1.8; color: #64748b; margin: 0; }
.wy-dev-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wy-dev-stages li { display: grid; grid-template-columns: 110px 1fr; gap: 4px 18px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 18px; }
.wy-dev-stages b { font-size: 12px; color: #0066cc; font-weight: 700; grid-row: span 3; align-self: start; padding-top: 2px; }
.wy-dev-stages strong { font-size: 15px; }
.wy-dev-stages p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.8; }
.wy-dev-stages small { font-size: 12px; color: #94a3b8; }
.wy-dev-note { font-size: 13px; line-height: 1.9; color: #64748b; background: #f8fafc; border-left: 3px solid #0066cc; border-radius: 0 12px 12px 0; padding: 16px 18px; margin: 0 0 20px; }
.wy-dev-cta { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 999px; background: #0f172a; color: #ffffff; font-size: 14px; font-weight: 700; text-decoration: none; }
.wy-dev-cta:hover { background: #1e293b; }
@media (max-width: 640px) {
  .wy-dev-title { font-size: 26px; }
  .wy-dev-stages li { grid-template-columns: 1fr; }
  .wy-dev-stages b { grid-row: auto; }
}

/* 页脚邮箱改为容器 + 链接，便于后台整段编辑 */
.wy-footer-mail { font-size: 12px; color: #94a3b8; margin: 0; word-break: break-all; }
.wy-footer-mail a { color: inherit; text-decoration: none; }
.wy-footer-mail a:hover { color: #0f172a; }
.wy-footer-phone { font-size: 12px; color: #94a3b8; margin: 0; }
.wy-footer-phone[hidden] { display: none; }

/* 「我不知道选什么，先预约咨询」悬浮跟随按钮（仅桌面端，移动端已有底部操作条） */
.wy-float-consult {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .62);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .32s cubic-bezier(.22, .8, .3, 1), transform .32s cubic-bezier(.22, .8, .3, 1), box-shadow .32s;
}
.wy-float-consult.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wy-float-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -20px rgba(15, 23, 42, .72);
}
@media (max-width: 767px) {
  .wy-float-consult { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wy-float-consult { transition: none; }
}

/* 「学习成果」改为从入学到结业的成长时间轴 */
.wy-outcome-timeline {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.wy-outcome-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 2px;
  background: linear-gradient(90deg, #dbeafe, #bfdbfe 55%, #e2e8f0);
}
.wy-outcome-timeline li { position: relative; padding-top: 34px; }
.wy-outcome-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #1d4ed8;
  box-shadow: 0 0 0 4px #eff6ff;
}
.wy-outcome-timeline b {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: #1d4ed8;
  margin-bottom: 6px;
}
.wy-outcome-timeline strong { display: block; font-size: 15px; color: #0f172a; margin-bottom: 6px; }
.wy-outcome-timeline small { display: block; font-size: 12.5px; line-height: 1.75; color: #64748b; }
@media (max-width: 900px) {
  .wy-outcome-timeline { grid-template-columns: 1fr; gap: 0; }
  .wy-outcome-timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .wy-outcome-timeline li { padding: 0 0 20px 30px; }
  .wy-outcome-timeline li::before { top: 2px; }
}

/* /about 品牌内容：核心价值观五列网格（构建时未生成对应 Tailwind 类） */
.wy-about-values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1023px) {
  .wy-about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .wy-about-values { grid-template-columns: 1fr; }
}

/* 页脚品牌列文字放大加粗（原字号偏小、颜色偏浅，显得小气） */
footer .wy-brand-logo-footer { height: 38px; }
footer .col-span-2 > p {
  font-size: 15px !important;
  font-weight: 500;
  color: #475569 !important;
  line-height: 1.8;
}
footer .col-span-2 > div > p {
  font-size: 13.5px !important;
  font-weight: 500;
  color: #64748b !important;
  line-height: 1.8;
}
.wy-footer-mail {
  font-size: 13.5px !important;
  font-weight: 500;
  color: #64748b !important;
}
.wy-footer-mail a { color: inherit; }
.wy-footer-mail a:hover { color: #0f172a; }
.wy-footer-phone {
  font-size: 13.5px !important;
  font-weight: 600;
  color: #475569 !important;
}
.wy-footer-qr-note {
  font-size: 12.5px !important;
  font-weight: 500;
  color: #64748b !important;
}
.wy-footer-qr,
.wy-footer-qr-img {
  width: 116px;
  height: 116px;
}
.wy-footer-qr-empty { font-size: 12.5px !important; color: #94a3b8 !important; }
