:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --surface: #ffffff;
  --soft: #f5f5f7;
  --champagne: #b9995c;
  --jade: #3f6f68;
  --blue: #0066cc;
  --nav-h: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.48;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body[data-lang="zh"] [data-en],
body[data-lang="en"] [data-zh] {
  display: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(251, 251, 253, 0.78);
  border-bottom: 1px solid rgba(210, 210, 215, 0.62);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 29, 31, 0.14);
  border-radius: 50%;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

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

.language-toggle {
  min-width: 40px;
  height: 30px;
  border: 1px solid rgba(29, 29, 31, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

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

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(30px, 4.8vw, 76px);
  padding: clamp(54px, 6vw, 86px) 0 clamp(34px, 4vw, 58px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

body[data-lang="zh"] h1 {
  max-width: 760px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.06;
}

body[data-lang="en"] h1 {
  max-width: none;
  font-size: clamp(32px, 3.3vw, 48px);
  white-space: nowrap;
  width: auto;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}

.button.primary {
  background: #0071e3;
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(0, 113, 227, 0.26);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 1% 4% 7%;
  background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(232,232,237,.92) 100%);
  border-radius: 30px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.hero-visual img {
  position: relative;
  width: min(720px, 100%);
  border-radius: 26px;
  filter: drop-shadow(0 32px 48px rgba(29, 29, 31, 0.18));
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(210, 210, 215, 0.72);
  border-bottom: 1px solid rgba(210, 210, 215, 0.72);
  background: rgba(255,255,255,.74);
}

.trust-strip div {
  min-height: 106px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px 8%;
  border-right: 1px solid rgba(210, 210, 215, 0.72);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  font-size: 24px;
}

.trust-strip span {
  color: var(--muted);
}

.problem,
.modules,
.difference,
.contact {
  padding: clamp(86px, 10vw, 144px) 0;
}

.section-intro {
  max-width: 790px;
  margin-bottom: 48px;
}

.section-intro p,
.solution p,
.philosophy-inner p,
.contact-copy p,
.wechat-panel p {
  color: var(--muted);
  font-size: 18px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  gap: 16px;
  background: transparent;
  border: 0;
}

.problem-grid article {
  min-height: 292px;
  padding: clamp(28px, 4vw, 42px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(29, 29, 31, 0.04);
}

.problem-grid article > span,
.module-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.problem-grid p,
.module p,
.compare p,
.leap-grid p {
  color: var(--muted);
}

.solution-band {
  background: #000;
  color: #fff;
}

.solution {
  padding: clamp(92px, 12vw, 156px) 0;
}

.solution .eyebrow {
  color: rgba(255, 255, 255, 0.56);
}

.solution p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
}

.module-list {
  display: grid;
  gap: 12px;
  background: transparent;
  border-top: 1px solid rgba(210, 210, 215, 0.8);
  border-bottom: 1px solid rgba(210, 210, 215, 0.8);
}

.module {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 34px 0;
  background: transparent;
}

.module-number {
  justify-content: center;
  margin: 5px 0 0;
}

.module p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 18px;
}

.leap-section {
  background: #fff;
}

.leap-section .section {
  padding: clamp(82px, 10vw, 136px) 0;
}

.leap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.leap-grid article {
  min-height: 248px;
  padding: 28px;
  background: var(--soft);
  border: 0;
  border-radius: 18px;
}

.leap-grid strong {
  display: block;
  margin-bottom: 52px;
  color: var(--ink);
  font-family: inherit;
  font-size: 46px;
  line-height: 1;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  background: transparent;
  border: 0;
}

.compare > div {
  padding: clamp(30px, 4vw, 48px);
  background: #fff;
  border-radius: 18px;
}

.compare .preferred {
  background: #1d1d1f;
  color: #fff;
}

.compare .preferred p {
  color: rgba(255,255,255,.72);
}

.outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.outcomes span {
  padding: 9px 13px;
  border: 1px solid rgba(210, 210, 215, 0.88);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.philosophy {
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.62)),
    url("assets/pathway-image.png") center/cover no-repeat,
    #111214;
}

.philosophy-inner {
  padding: clamp(110px, 14vw, 190px) 0;
}

blockquote {
  max-width: 980px;
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.12;
}

.philosophy-inner p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 390px);
  align-items: start;
  gap: clamp(34px, 7vw, 92px);
}

.wechat-panel {
  padding: 18px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(29,29,31,.08);
}

.qr-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  margin-bottom: 0;
  border: 1px solid rgba(210, 210, 215, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(17, 18, 20, 0.055) 1px, transparent 1px),
    #fff;
  background-size: 22px 22px;
}

.qr-placeholder span {
  font-size: 30px;
  font-weight: 700;
}

.qr-placeholder small {
  color: var(--muted);
}

.qr-placeholder.has-qr {
  display: block;
  padding: 10px;
  background: #fff;
}

.qr-placeholder.has-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(210, 210, 215, 0.72);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

  body[data-lang="en"] .hero-copy {
    width: auto;
  }

  body[data-lang="en"] h1 {
    white-space: normal;
    width: auto;
  }

  .hero-visual {
    min-height: 390px;
  }

  .trust-strip,
  .problem-grid,
  .leap-grid,
  .compare {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .module {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 0;
  }

  .module-number {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 18px;
  }

  .brand span:last-child {
    max-width: 142px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section {
    width: min(100% - 32px, 1160px);
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .problem-grid article {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}
