:root {
  --paper: #fdf6f0;
  --surface: #fffaf5;
  --ink: #2c2622;
  --muted: #6b5d54;
  --line: #eadfd2;
  --coral: #e07a5f;
  --coral-dark: #bd5c45;
  --teal: #2a9d8f;
  --gold: #e2b25f;
  --sage: #7d9b76;
  --shadow: 0 18px 48px rgba(44, 38, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eee9e0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  background: rgba(253, 246, 240, 0.92);
  border-bottom: 1px solid rgba(234, 223, 210, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
}

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

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 4px;
  color: #9a8c7e;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 0.18s ease;
}

.site-nav a:hover {
  color: var(--coral-dark);
}

.nav-cta,
.primary-action,
.secondary-action,
.closing-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta {
  padding: 0 20px;
  background: var(--coral);
  color: #fff;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 1px 6px rgba(44, 38, 34, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 38px;
  align-items: center;
  padding: 74px 44px 52px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-action {
  padding: 0 30px;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 24px rgba(224, 122, 95, 0.28);
}

.secondary-action {
  padding: 0 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: 1px solid #efe1d3;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-chip {
  position: absolute;
  padding: 10px 16px;
  border: 1px solid rgba(234, 223, 210, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(44, 38, 34, 0.12);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.chip-one {
  top: 26px;
  left: -12px;
}

.chip-two {
  top: 92px;
  right: -10px;
}

.chip-three {
  bottom: 68px;
  left: 22px;
}

.chip-four {
  right: 28px;
  bottom: 22px;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: #fff;
}

.metrics-strip div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  min-height: 108px;
  border-right: 1px solid var(--line);
}

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

.metrics-strip strong {
  font-size: 34px;
  color: var(--coral);
}

.metrics-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 64px 44px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0 0 30px;
  text-align: left;
}

.section-heading h2,
.closing-cta h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.dimension-card,
.service-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.dimension-card {
  padding: 24px;
}

.dimension-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--coral);
}

.dimension-icon::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
}

.icon-ring::before {
  border: 5px solid #fff;
  border-radius: 50%;
  background: transparent;
}

.icon-diamond {
  background: var(--gold);
}

.icon-diamond::before {
  transform: rotate(45deg);
}

.icon-square {
  background: var(--teal);
}

.icon-square::before {
  border-radius: 5px;
}

.icon-triangle {
  background: var(--sage);
}

.icon-triangle::before {
  width: 0;
  height: 0;
  border-right: 11px solid transparent;
  border-bottom: 20px solid #fff;
  border-left: 11px solid transparent;
  background: transparent;
}

.dimension-card h3,
.service-item h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.dimension-card p,
.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.quiz-section {
  padding: 66px 24px;
  background: #f6ece2;
}

.quiz-panel {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quiz-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.quiz-topline p {
  margin: 0;
  color: var(--coral-dark);
  font-size: 14px;
  font-weight: 800;
}

.quiz-topline span {
  color: #9a8c7e;
  font-size: 12px;
  font-weight: 800;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1e6d9;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
  transition: width 0.28s ease;
}

.quiz-content {
  margin-top: 24px;
}

.quiz-content h3 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.45;
}

.answer-list {
  display: grid;
  gap: 12px;
}

.answer-button {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 1.5px solid #f0e2d4;
  border-radius: 8px;
  background: #fdf9f5;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.answer-button:hover {
  border-color: var(--coral);
  background: #fff;
  transform: translateY(-1px);
}

.result-box {
  text-align: center;
}

.result-label {
  margin: 0 0 8px;
  color: #9a8c7e;
  font-size: 13px;
}

.result-tags {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.result-box p {
  color: var(--muted);
  line-height: 1.75;
}

.purchase-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
  text-align: left;
}

.purchase-box strong {
  font-size: 16px;
}

.purchase-box span {
  color: var(--coral-dark);
  font-weight: 900;
}

.pay-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--coral-dark) !important;
  font-size: 13px;
  font-weight: 800;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.result-actions button,
.result-actions a {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}

.result-actions a,
.unlock-button {
  display: inline-flex;
  align-items: center;
  background: var(--coral);
  color: #fff;
  cursor: pointer;
}

.result-actions button:not(.unlock-button) {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.result-actions button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.service-section {
  background: #fff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-item {
  padding: 26px;
}

.service-item span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.closing-cta {
  padding: 68px 34px;
  background: var(--coral);
  color: #fff;
  text-align: center;
}

.closing-cta p {
  margin: 0;
  color: #ffe7dd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.closing-cta a {
  margin-top: 28px;
  padding: 0 34px;
  background: #fff;
  color: var(--coral-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px 32px;
  background: var(--coral);
  color: #ffd9cc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pay-page {
  min-height: 100vh;
  background: #eee9e0;
}

.pay-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: #eee9e0;
  box-shadow: none;
}

.pay-card {
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pay-card h1 {
  margin: 12px 0 14px;
  font-size: 32px;
  line-height: 1.2;
}

.pay-card p {
  color: var(--muted);
  line-height: 1.75;
}

.pay-card .primary-action,
.pay-card .secondary-action {
  margin-top: 18px;
  padding: 0 26px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.pay-hint {
  min-height: 24px;
  margin-bottom: 0;
  color: var(--coral-dark) !important;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 54px 24px 42px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 340px;
    height: 340px;
  }

  .dimension-grid,
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .brand {
    min-width: auto;
  }

  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding: 42px 18px 34px;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
    height: 300px;
  }

  .floating-chip {
    display: none;
  }

  .metrics-strip,
  .dimension-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding: 52px 18px;
  }

  .quiz-panel {
    padding: 24px 18px;
  }

  .purchase-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .quiz-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
    padding-inline: 18px;
  }
}
