:root {
  --brand: #004080;
  --brand-deep: #052b52;
  --brand-soft: #e7f0f9;
  --ink: #17212b;
  --muted: #66727f;
  --paper: #fbf7ef;
  --warm: #c89954;
  --warm-soft: #f4eadc;
  --line: rgba(0, 64, 128, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 38, 70, 0.14);
  --radius: 8px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 240, 249, 0.74), rgba(251, 247, 239, 0.3) 620px),
    var(--paper);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0, 64, 128, 0.1);
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-deep);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  border: 2px solid rgba(0, 64, 128, 0.16);
  background: var(--brand-soft);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #31475f;
  font-size: 14px;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.section,
.hero,
.apply {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 92px;
}

.quiet-line {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  color: var(--brand-deep);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  color: var(--brand-deep);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  color: var(--brand-deep);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: #344558;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 64, 128, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--brand-deep);
}

.button.full {
  width: 100%;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.hero-proof div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-proof dt {
  color: var(--brand);
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 900;
  line-height: 1.18;
}

.hero-proof dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
}

.monetization-map {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(22px, 2.8vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 240, 249, 0.72)),
    #fffdf8;
  border: 1px solid rgba(0, 64, 128, 0.13);
  box-shadow: var(--shadow);
}

.monetization-map::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(0, 64, 128, 0), rgba(0, 64, 128, 0.08));
  pointer-events: none;
}

.map-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.map-flow article {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 64, 128, 0.12);
  box-shadow: 0 12px 30px rgba(15, 38, 70, 0.08);
}

.map-flow span {
  color: var(--brand);
  font-size: 15px;
  font-weight: 900;
  flex: 0 0 auto;
}

.map-flow h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: clamp(24px, 1.8vw, 31px);
  line-height: 1.15;
}

.map-flow p {
  margin: 0;
  color: #56687a;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.45;
}

.agent-base {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  padding: 24px;
  background: var(--brand-deep);
  color: var(--white);
}

.agent-base strong {
  display: block;
  font-size: clamp(27px, 2.4vw, 40px);
  line-height: 1.1;
}

.agent-base p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 790px;
}

.section-heading.centered {
  margin: 0 auto 44px;
  text-align: center;
}

.section-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.section-sub.centered {
  text-align: center;
}

.section-kicker-title {
  text-align: center;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 100px max(20px, calc((100% - 1180px) / 2));
  background: #f4f8fc;
}

.about-card {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 920px;
  margin-top: 40px;
}

.about-avatar img {
  width: 250px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  border: 4px solid var(--brand-soft);
  box-shadow: 0 10px 30px rgba(15, 38, 70, 0.1);
}

.about-body h3 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--brand-deep);
}

.about-body p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
}

.about-stat strong {
  color: var(--warm);
  font-size: 28px;
  line-height: 1.1;
}

.about-stat span {
  margin-top: 6px;
  color: var(--warm);
  font-size: 13px;
}

.timeline {
  width: 100%;
  max-width: 900px;
  margin-top: 48px;
  position: relative;
  padding-bottom: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 20px;
  left: 50%;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

.timeline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--warm);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 12px 0;
}

.timeline-item:nth-child(odd) {
  padding-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 40px;
  text-align: left;
}

.t-dot {
  position: absolute;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand);
  z-index: 1;
}

.timeline-item:nth-child(odd) .t-dot {
  right: -7px;
}

.timeline-item:nth-child(even) .t-dot {
  left: -7px;
}

.timeline-item.highlight .t-dot {
  background: var(--warm);
  border-color: var(--warm);
  width: 18px;
  height: 18px;
}

.timeline-item:nth-child(odd).highlight .t-dot {
  right: -9px;
}

.timeline-item:nth-child(even).highlight .t-dot {
  left: -9px;
}

.t-year {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.timeline-item.highlight .t-year {
  color: var(--warm);
  font-size: 14px;
}

.t-text {
  display: block;
  color: var(--brand-deep);
  font-size: 17px;
  font-weight: 700;
  margin-top: 2px;
}

.t-desc {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.timeline-item.highlight .t-desc {
  color: var(--warm);
}

.timeline-item.highlight .t-text {
  font-weight: 800;
  color: var(--warm);
  font-size: 18px;
}

.intro-grid {
  display: block;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.problem-list article,
.outcome-grid article,
.delivery-panel,
.price-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.problem-list article {
  min-height: 300px;
  padding: 26px;
}

.problem-list span,
.panel-number {
  color: var(--warm);
  font-size: 14px;
  font-weight: 900;
}

.problem-list p,
.delivery-panel p,
.outcome-grid p,
.price-copy p,
.price-card p,
.faq-list p,
.definition-card p {
  color: var(--muted);
}

.gains {
  width: 100%;
  max-width: none;
  padding: 100px max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(231, 240, 249, 0.72)),
    #f4f8fc;
}

.gains-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 26px;
  align-items: stretch;
}

.gain-primary {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  padding: 34px;
  background: var(--brand-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.gain-primary > span {
  color: var(--warm);
  font-size: 14px;
  font-weight: 900;
}

.gain-primary h3 {
  margin: 18px 0 16px;
  color: var(--white);
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.18;
}

.gain-primary p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.gain-primary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gain-primary-metrics div {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
  text-align: center;
}

.gain-primary-metrics strong,
.gain-primary-metrics em {
  display: block;
  font-style: normal;
}

.gain-primary-metrics strong {
  color: var(--warm);
  font-size: 30px;
  line-height: 1;
}

.gain-primary-metrics em {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  font-weight: 700;
}

.gain-list {
  display: grid;
  gap: 14px;
}

.gain-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(15, 38, 70, 0.07);
}

.gain-list article span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.gain-list h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.gain-list p {
  margin: 0;
  color: var(--muted);
}

.definition {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.definition-card {
  border-radius: var(--radius);
  padding: 44px;
  background: var(--brand-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.definition-card h2,
.definition-card .quiet-line {
  color: var(--white);
}

.definition-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.loop {
  display: grid;
  gap: 14px;
}

.loop div {
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  background: var(--white);
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(15, 38, 70, 0.08);
}

.delivery {
  width: 100%;
  max-width: none;
  padding: 100px max(20px, calc((100% - 1180px) / 2));
  background: #f4f8fc;
}

.delivery-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.delivery-panel {
  padding: 34px;
}

.delivery-panel.warm {
  background: linear-gradient(180deg, #fffaf2, #ffffff);
}

.delivery-panel ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.delivery-panel li {
  position: relative;
  padding-left: 22px;
  color: #31475f;
}

.delivery-panel li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm);
}

.curriculum-intro {
  max-width: 760px;
  margin: 64px auto 0;
  text-align: center;
}

.curriculum-intro span {
  color: var(--warm);
  font-size: 14px;
  font-weight: 900;
}

.curriculum-intro h3 {
  margin: 10px 0 0;
  color: var(--brand-deep);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.25;
}

.curriculum {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.curriculum-day {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.curriculum-day.warm .day-header {
  background: linear-gradient(180deg, #fff7e8, #ffffff);
  color: var(--brand-deep);
}

.curriculum-day.warm .day-header h3 {
  color: var(--brand-deep);
}

.curriculum-day.warm .day-header p {
  color: var(--muted);
}

.day-header {
  padding: 26px 30px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--brand-deep);
  color: var(--white);
}

.day-tag {
  display: inline-block;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 2px 12px;
  background: var(--warm);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.day-header h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 22px;
}

.day-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.course-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 15px 24px;
}

.course-list li:last-child {
  border-bottom: none;
}

.course-list span {
  color: var(--warm);
  font-size: 13px;
  font-weight: 900;
}

.course-list p {
  margin: 0;
  color: #31475f;
  font-size: 15px;
  line-height: 1.55;
}

.day-sessions {
  display: grid;
  gap: 0;
}

.session {
  display: grid;
  grid-template-columns: 72px 1fr;
  border-bottom: 1px solid var(--line);
}

.session:last-child {
  border-bottom: none;
}

.session-time {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 12px;
  background: rgba(0, 64, 128, 0.04);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.session-body {
  padding: 24px 26px;
}

.session-body h4 {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-size: 16px;
  line-height: 1.4;
}

.session-body ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-body li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.session-body li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
}

.outcomes {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

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

.outcome-grid article {
  padding: 28px;
}

.fit {
  display: block;
}

.fit-board {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.fit-feature {
  order: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 64, 128, 0.18);
  padding: 34px;
  background:
    radial-gradient(circle at 86% 18%, rgba(200, 153, 84, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%),
    var(--brand-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.fit-feature::before {
  content: "";
  position: absolute;
  right: 24px;
  top: 24px;
  width: 58px;
  height: 58px;
  border-top: 2px solid rgba(200, 153, 84, 0.62);
  border-right: 2px solid rgba(200, 153, 84, 0.62);
}

.fit-feature::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.16);
  border-left: 2px solid rgba(255, 255, 255, 0.16);
}

.fit-feature-label {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.fit-feature h3 {
  position: relative;
  z-index: 1;
  margin: 30px 0 18px;
  color: var(--white);
  font-size: clamp(25px, 2.45vw, 35px);
  line-height: 1.22;
}

.fit-feature p {
  position: relative;
  z-index: 1;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.85;
}

.fit-checks {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.fit-checks div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.fit-checks span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--warm);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.fit-checks strong {
  color: var(--white);
  font-size: 16px;
  line-height: 1.35;
}

.fit-list {
  order: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fit-list article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(15, 38, 70, 0.07);
}

.fit-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--warm);
  opacity: 0.72;
}

.fit-list article span {
  display: block;
  margin-bottom: 12px;
  color: var(--warm);
  font-size: 14px;
  font-weight: 900;
}

.fit-list h3 {
  margin: 0 0 8px;
  color: var(--brand-deep);
  font-size: 20px;
}

.fit-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.case-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.case-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-deep);
  cursor: pointer;
}

.case-tabs button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}

.case-grid {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}

.case-grid.is-visible {
  display: grid;
}

.case-gallery-wrapper {
  overflow: hidden;
  display: none;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.case-gallery-wrapper.is-visible {
  display: block;
}

.case-gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(15, 38, 70, 0.12);
  color: var(--brand-deep);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery-btn:hover {
  background: var(--white);
  box-shadow: 0 8px 28px rgba(15, 38, 70, 0.18);
  transform: translateY(-50%) scale(1.06);
}

.gallery-btn-prev {
  left: 8px;
}

.gallery-btn-next {
  right: 8px;
}

.case-gallery-track .case-card {
  flex: 0 0 280px;
  height: 230px;
}

.case-gallery-track .case-card.large,
.case-gallery-track .case-card.tall {
  grid-column: auto;
  grid-row: auto;
}

.case-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(15, 38, 70, 0.1);
  cursor: pointer;
}

.case-card.large {
  grid-column: span 2;
}

.case-card.tall {
  grid-row: span 2;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-card span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(5, 43, 82, 0.82);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 54px;
}

.price-card {
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 42px;
  line-height: 1.1;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-list details {
  padding: 22px 26px;
}

.faq-list summary {
  color: var(--brand-deep);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
}

.apply {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: 42px;
  margin-bottom: 50px;
  border-radius: var(--radius);
  padding: 54px;
  background: var(--brand-deep);
  color: var(--white);
}

.apply h2,
.apply .quiet-line {
  color: var(--white);
}

.wechat-box {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.wechat-box span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
}

.wechat-box .wechat-qr {
  display: block;
  width: 160px;
  height: 160px;
  margin: 14px auto;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.wechat-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 22, 41, 0.82);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .intro-grid,
  .definition,
  .outcomes,
  .fit,
  .pricing,
  .apply {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .about-avatar img {
    width: 200px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gains-layout {
    grid-template-columns: 1fr;
  }

  .fit-board {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .problem-list,
  .outcome-grid,
  .delivery-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curriculum {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-gallery-track .case-card {
    flex: 0 0 240px;
    height: 210px;
  }

}

@media (max-width: 640px) {
  .nav-shell,
  .section,
  .hero,
  .apply {
    width: min(100% - 28px, 1180px);
  }

  .brand span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    padding: 0 14px;
  }

  .hero {
    gap: 30px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .problem-list,
  .outcome-grid,
  .delivery-layout,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .problem-list article {
    min-height: 220px;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: auto;
  }

  .monetization-map {
    padding: 20px;
  }

  .map-flow {
    gap: 12px;
  }

  .map-flow article {
    min-height: 120px;
    padding: 18px 14px;
  }

  .map-flow h3 {
    gap: 6px;
    font-size: 21px;
  }

  .map-flow span {
    font-size: 13px;
  }

  .map-flow p {
    font-size: 14px;
  }

  .section {
    padding: 70px 0;
  }

  .definition-card,
  .delivery-panel,
  .price-card,
  .apply {
    padding: 28px;
  }

  .delivery {
    padding: 74px 14px;
  }

  .gains {
    width: 100%;
    padding: 74px 14px;
  }

  .gain-primary {
    padding: 28px;
  }

  .gain-primary-metrics {
    grid-template-columns: 1fr;
  }

  .gain-list article {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .gain-list h3 {
    font-size: 19px;
  }

  .fit-feature {
    padding: 28px;
  }

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

  .curriculum {
    grid-template-columns: 1fr;
  }

  .curriculum-intro {
    margin-top: 48px;
  }

  .day-header {
    padding: 24px;
  }

  .course-list li {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 14px 18px;
  }

  .case-grid {
    grid-auto-rows: 240px;
  }

  .case-gallery-track .case-card {
    flex: 0 0 240px;
    height: 200px;
  }

  .gallery-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .gallery-btn-prev { left: 4px; }
  .gallery-btn-next { right: 4px; }

  .case-card.large,
  .case-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .case-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .wechat-box .wechat-qr {
    width: 140px;
    height: 140px;
  }

  .about {
    padding: 74px 14px;
  }

  .about-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 32px;
  }

  .about-avatar img {
    width: 160px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat strong {
    font-size: 22px;
  }

  .timeline-item {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 40px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline::before {
    left: 16px;
    transform: none;
  }

  .t-dot {
    left: 9px !important;
    right: auto !important;
  }

  .timeline-item.highlight .t-dot {
    left: 7px !important;
  }

  .lightbox {
    padding: 18px;
  }
}
