:root {
  --ink: #17211b;
  --muted: #5c665f;
  --paper: #f7f3ea;
  --white: #fffdf8;
  --jade: #2f6b57;
  --leaf: #7c9b5f;
  --red: #9f3d32;
  --gold: #c28a3a;
  --line: rgba(23, 33, 27, 0.14);
  --shadow: 0 18px 45px rgba(23, 33, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 243, 234, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--red);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

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

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

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 16, 0.82) 0%, rgba(10, 22, 16, 0.58) 38%, rgba(10, 22, 16, 0.1) 78%),
    linear-gradient(0deg, rgba(247, 243, 234, 1) 0%, rgba(247, 243, 234, 0) 20%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 90px clamp(22px, 7vw, 96px) 120px;
  color: var(--white);
}

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

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

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

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--jade);
}

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

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-head h2,
.mirror-copy h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

.principles,
.heart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.principles article,
.heart-grid article,
.progress-box,
.quote-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.principles article {
  padding: 28px;
}

.principles span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--jade);
  border-radius: 50%;
  font-weight: 900;
}

.principles h3,
.heart-grid h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.principles p,
.heart-grid p,
.quote-text p,
.progress-box p,
.footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.classic {
  background: #eff2e7;
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
}

blockquote {
  margin-bottom: 18px;
  color: var(--jade);
  font-family: "KaiTi", "STKaiti", serif;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.25;
}

.quote-controls {
  display: grid;
  align-content: center;
  gap: 10px;
}

.quote-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbf8f1;
  cursor: pointer;
}

.quote-tab.active {
  color: var(--white);
  border-color: var(--jade);
  background: var(--jade);
  font-weight: 800;
}

.heart {
  background: linear-gradient(180deg, var(--paper), #f8fbf1);
}

.heart-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
}

.heart-grid article {
  min-height: 190px;
  padding: 26px;
}

.heart-grid .wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1f3f35;
  color: var(--white);
}

.heart-grid .wide p {
  color: rgba(255, 253, 248, 0.78);
}

.practice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.checklist {
  display: grid;
  gap: 10px;
}

.checklist label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.checklist input {
  width: 20px;
  height: 20px;
  accent-color: var(--jade);
  flex: 0 0 auto;
}

.progress-box {
  display: grid;
  align-content: center;
  padding: 24px;
  text-align: center;
}

.progress-number {
  color: var(--red);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.mirror {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 24px;
  background: #e8eee8;
}

.mirror-copy {
  max-width: 520px;
}

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

.question-card {
  width: 100%;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 107, 87, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  text-align: left;
}

.question-card:hover,
.question-card.active {
  color: var(--white);
  border-color: var(--jade);
  background: var(--jade);
}

.answer {
  grid-column: 2;
  margin: -6px 0 0;
  color: var(--muted);
}

.promise {
  background: var(--white);
}

.promise-form,
.promise-result {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.promise-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
}

.promise-row {
  align-items: stretch;
}

.promise-row input {
  flex: 1 1 320px;
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbf8f1;
}

.promise-result {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  color: var(--muted);
  background: #f7f3ea;
}

.footer {
  padding: 26px 18px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #17211b;
}

.footer p {
  color: rgba(255, 253, 248, 0.82);
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 760px;
  }

  .hero img {
    object-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 22, 16, 0.86), rgba(10, 22, 16, 0.4)),
      linear-gradient(0deg, rgba(247, 243, 234, 1) 0%, rgba(247, 243, 234, 0) 24%);
  }

  .principles,
  .heart-grid,
  .practice-layout,
  .mirror,
  .quote-panel {
    grid-template-columns: 1fr;
  }

  .heart-grid .wide {
    grid-row: auto;
  }

  .answer {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 8px;
    font-size: 14px;
  }

  .hero-content {
    padding: 86px 18px 110px;
  }

  h1 {
    font-size: 42px;
  }

  .button,
  .promise-row button {
    width: 100%;
  }

  .quote-panel,
  .principles article,
  .heart-grid article {
    padding: 22px;
  }
}
