:root {
  --ink: #17212b;
  --muted: #5d6b70;
  --paper: #f7f8f4;
  --white: #ffffff;
  --line: #d9e0db;
  --teal: #1f6f75;
  --deep-teal: #164c52;
  --mint: #dceee4;
  --blue: #263c78;
  --brick: #a85f4b;
  --gold: #d5a443;
  --rose: #f4dfd8;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(247, 248, 244, 0.92);
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: #35454b;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 26, 31, 0.88), rgba(15, 26, 31, 0.42) 56%, rgba(15, 26, 31, 0.1)),
    url("assets/hero-life.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 78px clamp(20px, 7vw, 96px) 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #c9f0de;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.2vw, 22px);
}

.hero-actions,
.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 16px 32px rgba(31, 111, 117, 0.28);
}

.button.primary:hover {
  background: var(--deep-teal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.safety-line {
  max-width: 700px;
  margin: 26px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  border-left: 4px solid var(--gold);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.section-head.compact {
  max-width: 680px;
}

.intro-grid,
.map-grid,
.case-grid,
.principles,
.apprentice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.intro-grid article,
.map-grid article,
.case-card,
.journey-grid article,
.principles article,
.course-lanes article,
.price-card,
.application-grid article,
.ambassador-layout article,
.offline-path article,
.apprentice-grid article {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-grid article {
  background: linear-gradient(180deg, var(--white), #edf5f0);
}

.number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brick);
  font-weight: 900;
}

.intro-grid p,
.map-grid p,
.case-grid p,
.journey-grid p,
.principles p,
.course-lanes p,
.pricing-grid p,
.application-grid p,
.ambassador-layout p,
.offline-path p,
.apprentice-grid p {
  color: var(--muted);
}

.wish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.wish-form,
.wish-board,
.buy-form,
.readiness-board {
  padding: clamp(20px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wish-form,
.buy-form {
  display: grid;
  gap: 18px;
}

.wish-more {
  overflow: hidden;
  border: 1px solid #cbd6d1;
  border-radius: var(--radius);
  background: var(--white);
}

.wish-more summary {
  padding: 14px;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.wish-more[open] summary {
  border-bottom: 1px solid var(--line);
}

.wish-more-grid {
  display: grid;
  gap: 16px;
  padding: 16px;
}

label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd6d1;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(213, 164, 67, 0.55);
  outline-offset: 2px;
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.check-row span {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.form-note {
  margin-bottom: 0;
  color: var(--brick);
  font-size: 14px;
}

.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 22px;
  align-items: start;
}

.confirm-list {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.readiness-result {
  min-height: 300px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.readiness-result h4 {
  margin: 0 0 10px;
  font-size: 22px;
}

.readiness-result p {
  color: var(--muted);
}

.readiness-result strong {
  color: var(--brick);
}

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

.refund-grid article {
  min-height: 190px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.refund-grid p {
  color: var(--muted);
}

.board-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.counter {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.wish-list {
  display: grid;
  gap: 12px;
  min-height: 260px;
}

.wish-item {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
}

.wish-item.risk {
  border-left-color: var(--brick);
}

.wish-item h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.wish-item p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: var(--deep-teal);
  background: var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.wish-item.risk .status-pill {
  color: #7b2f22;
  background: var(--rose);
}

.text-button {
  border: 0;
  padding: 0;
  color: var(--teal);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.text-button.danger {
  color: var(--brick);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.flow-steps article {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.flow-steps article:last-child {
  border-right: 0;
}

.flow-steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--brick);
  border-radius: 50%;
  font-weight: 900;
}

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

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

.journey-grid article {
  background: var(--paper);
}

.journey-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.journey-grid a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.map-grid article {
  background: var(--paper);
}

.map-grid a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

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

.principles article {
  background: linear-gradient(135deg, #fdfdfb, #edf5f4);
}

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

.case-card {
  min-height: 360px;
  background: var(--paper);
}

.case-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.case-safe {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--brick) !important;
}

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

.course-lanes article {
  background: var(--white);
}

.course-lanes span {
  display: block;
  margin-top: 18px;
  color: var(--deep-teal);
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  color: var(--white);
  background: linear-gradient(180deg, #121719, #0c0f11);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: rgba(213, 164, 67, 0.78);
  box-shadow: 0 24px 70px rgba(213, 164, 67, 0.2);
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.price-card p,
.price-card li {
  color: rgba(255, 255, 255, 0.72);
}

.price-top {
  min-height: 132px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.price-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--white);
  background: var(--brick);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.featured .price-badge {
  color: #1c1711;
  background: var(--gold);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0 8px;
}

.price span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 30px;
  font-weight: 900;
}

.price strong {
  color: var(--white);
  font-size: clamp(58px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

.price em {
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  font-weight: 800;
}

.price-note {
  min-height: 54px;
  margin-bottom: 24px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 28px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7dc8a7;
  font-weight: 900;
}

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

.application-grid article {
  min-height: 230px;
  background: var(--paper);
}

.application-grid a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.pricing-safe {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--brick);
  font-weight: 700;
}

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

.ambassador-layout article:first-child {
  background: linear-gradient(180deg, var(--white), #edf6f1);
}

.ambassador-layout article:last-child {
  color: var(--white);
  background: linear-gradient(180deg, #17212b, #101820);
  border-color: rgba(255, 255, 255, 0.16);
}

.ambassador-layout article:last-child p,
.ambassador-layout article:last-child li {
  color: rgba(255, 255, 255, 0.72);
}

.ambassador-layout ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding-left: 20px;
}

.button.secondary-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.media-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.media-strip span {
  padding: 12px 14px;
  background: var(--mint);
  border: 1px solid #c7dfd3;
  border-radius: 999px;
  color: var(--deep-teal);
  font-weight: 800;
}

.offline {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.offline-copy {
  position: sticky;
  top: 104px;
}

.offline-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.offline-path article:nth-child(1) {
  border-top: 5px solid var(--teal);
}

.offline-path article:nth-child(2) {
  border-top: 5px solid var(--gold);
}

.offline-path article:nth-child(3) {
  border-top: 5px solid var(--blue);
}

.offline-path article:nth-child(4) {
  border-top: 5px solid var(--brick);
}

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

.safety-box {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.safety-box .eyebrow {
  color: #c9f0de;
}

blockquote {
  margin: 0;
  padding: 22px;
  color: var(--ink);
  background: #f6e7d0;
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.28;
}

.safety-box p:last-child {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: #101820;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.legal-main {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto 72px;
}

.legal-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 58px);
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-note {
  padding: 16px 18px;
  color: var(--deep-teal);
  background: var(--mint);
  border-left: 4px solid var(--teal);
}

@media (max-width: 1100px) {
  .intro-grid,
  .journey-grid,
  .apprentice-grid,
  .flow-steps,
  .course-lanes,
  .pricing-grid,
  .refund-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-steps article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-steps article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(15, 26, 31, 0.88), rgba(15, 26, 31, 0.58)),
      url("assets/hero-life.png") center / cover no-repeat;
  }

  .wish-layout,
  .buy-layout,
  .offline,
  .application-grid,
  .ambassador-layout,
  .safety-box {
    grid-template-columns: 1fr;
  }

  .offline-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .section {
    padding-inline: 16px;
  }

  .hero-content {
    padding-inline: 18px;
  }

  .intro-grid,
  .map-grid,
  .case-grid,
  .journey-grid,
  .principles,
  .flow-steps,
  .course-lanes,
  .pricing-grid,
  .refund-grid,
  .offline-path,
  .apprentice-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .flow-steps article:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
  }
}
