:root {
  --bg: #f5f7f4;
  --ink: #20242d;
  --muted: #667085;
  --line: #e2e7df;
  --brand: #177a60;
  --brand-dark: #11523f;
  --accent: #c4552d;
  --gold: #d5a14f;
  --paper: #fffffc;
  --soft: #eaf6ef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 10%, rgba(213, 161, 79, 0.18), transparent 280px),
    linear-gradient(180deg, rgba(23, 122, 96, 0.12), transparent 360px),
    var(--bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 231, 223, 0.9);
  background: rgba(255, 255, 252, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fffffc;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.plan-switch a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #344054;
  font-size: 14px;
}

.nav-links a[aria-current="page"],
.nav-links a:hover,
.plan-switch a[aria-current],
.plan-switch a:hover {
  color: var(--brand-dark);
  background: var(--soft);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px 44px;
}

.hero {
  min-height: 430px;
  padding: 54px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.96fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(34px, 6.8vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 4.5vw, 36px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 670px;
  color: #475467;
  font-size: 18px;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #344054;
  background: var(--paper);
  font-weight: 800;
}

.button.primary {
  border-color: var(--brand);
  color: #fffffc;
  background: var(--brand);
}

.trust-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  padding: 6px 10px;
  border: 1px solid rgba(23, 122, 96, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.72);
  color: #31594c;
  font-size: 13px;
  font-weight: 700;
}

.visual-panel {
  border: 1px solid rgba(17, 82, 63, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(17, 82, 63, 0.14);
}

.product-visual {
  min-height: 420px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 18px;
  align-items: end;
}

.cover-stack {
  display: grid;
  gap: 12px;
}

.cover-stack img,
.plan-card img,
.course-card img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
}

.cover-stack img {
  aspect-ratio: 16 / 9;
}

.order-preview {
  padding: 18px;
  border: 1px solid rgba(23, 122, 96, 0.18);
  border-radius: 8px;
  background: #fbfff9;
}

.order-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.order-preview strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.order-preview p {
  margin: 6px 0 10px;
  color: var(--brand-dark);
  font-weight: 800;
}

.order-preview ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 30px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.card p,
.list li,
.note {
  color: var(--muted);
}

.media-card img,
.contact-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.step {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--paper);
}

.step strong {
  display: inline-flex;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #fffffc;
  background: var(--brand);
}

.course-showcase {
  display: grid;
  gap: 16px;
}

.course-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
}

.course-card img {
  aspect-ratio: 16 / 9;
}

.pricing-grid {
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card img {
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.price {
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 900;
  color: var(--brand-dark);
}

.price small {
  font-size: 15px;
  color: var(--muted);
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.list li {
  margin: 8px 0;
}

.plan-card .button {
  margin-top: auto;
}

.highlight {
  border-color: rgba(23, 122, 96, 0.32);
  background: linear-gradient(180deg, #fffffc, var(--soft));
}

.info-band {
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  background: #fff8e8;
  color: #7a4b00;
}

.cashier-layout {
  max-width: 760px;
  margin: 0 auto;
}

.plan-switch {
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.cashier {
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

.cashier-head {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 16px;
  align-items: center;
  color: #fffffc;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.cashier-head p {
  margin-bottom: 8px;
  color: rgba(255, 255, 252, 0.84);
}

.cashier-head img {
  width: 150px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.cashier-body {
  padding: 24px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row span:first-child {
  flex: 0 0 auto;
  color: var(--muted);
}

.detail-row strong {
  text-align: right;
}

.agreement-line {
  margin-top: 16px;
  color: #475467;
  font-size: 14px;
}

.pay-action {
  width: 100%;
  margin-top: 22px;
  border: 0;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  color: #667085;
  font-size: 14px;
}

.footer strong {
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .product-visual {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .course-card {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.two,
  .steps,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .card,
  .step,
  .course-card {
    padding: 16px;
  }

  .cashier-head {
    grid-template-columns: 1fr;
  }

  .cashier-head img {
    width: 100%;
  }

  .detail-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .detail-row strong {
    text-align: left;
  }
}
