/* =========================================================
   护糖使者 hutangshizhe.com — Global Stylesheet
   Warm community companionship · cream / terracotta / sage
   ========================================================= */

:root {
  --cream: #faf5ec;
  --cream-deep: #f2e8d8;
  --paper: #fffcf6;
  --ink: #2b251e;
  --ink-soft: #4a4137;
  --muted: #7a6f61;
  --orange: #d9714e;
  --orange-deep: #bf5a38;
  --orange-soft: #f7e2d7;
  --green: #3f6b55;
  --green-deep: #2e5342;
  --green-soft: #e3ede4;
  --sage: #cfdfd0;
  --sand: #efe3d1;
  --line: rgba(43, 37, 30, 0.12);
  --line-strong: rgba(43, 37, 30, 0.22);
  --shadow-sm: 0 6px 18px rgba(74, 55, 36, 0.06);
  --shadow-md: 0 18px 40px rgba(74, 55, 36, 0.09);
  --shadow-lg: 0 34px 70px rgba(74, 55, 36, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image: radial-gradient(
      circle at 12% 0%,
      rgba(217, 113, 78, 0.08),
      transparent 42%
    ),
    radial-gradient(circle at 92% 18%, rgba(63, 107, 85, 0.08), transparent 38%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--orange-soft);
  color: var(--ink);
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
  position: relative;
}

[id] {
  scroll-margin-top: 96px;
}

.section--tight {
  padding: 64px 0;
}

.section--paper {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(250, 245, 236, 0.5));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--green {
  background: var(--green);
  color: #f4f1e7;
}

.section--green h2,
.section--green h3,
.section--green h4 {
  color: #fdfaf2;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--orange);
}

.section--green .eyebrow {
  color: #f0c9b7;
}

.section--green .eyebrow::before {
  background: #f0c9b7;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.section--green .section-head p {
  color: rgba(253, 250, 242, 0.72);
}

.lede {
  font-size: 17px;
  color: var(--ink-soft);
}

.muted {
  color: var(--muted);
}

.hand-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  isolation: isolate;
}

.hand-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-6 90-8 196-3' fill='none' stroke='%23d9714e' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  opacity: 0.55;
  z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  max-width: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--orange);
  color: #fff9f4;
  box-shadow: 0 12px 24px rgba(191, 90, 56, 0.22);
}

.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(191, 90, 56, 0.28);
}

.btn-dark {
  background: var(--green-deep);
  color: #fbf8ef;
}

.btn-dark:hover {
  background: #244435;
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.btn-soft {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.btn-soft:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--orange-deep);
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(191, 90, 56, 0.35);
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  border-color: var(--orange-deep);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 245, 236, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 245, 236, 0.94);
  box-shadow: 0 8px 24px rgba(74, 55, 36, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--green);
  display: grid;
  place-items: center;
  color: #fdf9ef;
  box-shadow: 0 8px 18px rgba(46, 83, 66, 0.22);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-text em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 9px 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.nav a.is-active {
  color: var(--orange-deep);
  font-weight: 600;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 84px;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.28;
  letter-spacing: 0.005em;
}

.hero-sub {
  margin-top: 24px;
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 480px;
}

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

.hero-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--green);
}

.hero-visual {
  position: relative;
}

.hero-photo {
  position: relative;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 252, 246, 0.9);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 37, 30, 0) 55%, rgba(43, 37, 30, 0.28));
}

.hero-badge {
  position: absolute;
  left: -26px;
  bottom: 46px;
  background: var(--paper);
  border-radius: 18px;
  padding: 15px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 274px;
}

.hero-badge .ring {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
}

.hero-badge .ring svg {
  width: 20px;
  height: 20px;
}

.hero-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
}

.hero-badge span {
  display: block;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-stamp {
  position: absolute;
  right: -14px;
  top: 34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff7f1;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  transform: rotate(8deg);
  box-shadow: 0 14px 30px rgba(191, 90, 56, 0.3);
}

.hero-stamp b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.04em;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 64px;
}

.stat-item {
  background: var(--paper);
  padding: 28px 30px;
}

.stat-item .num {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--orange-deep);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-item .num small {
  font-size: 0.5em;
  margin-left: 2px;
}

.stat-item p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.stat-item .src {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(122, 111, 97, 0.75);
}

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 113, 78, 0.28);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
}

.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 20px;
}

.card .icon.orange {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--green-soft);
  color: var(--green-deep);
}

.tag--orange {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.tag--sand {
  background: var(--sand);
  color: #8a6a3f;
}

/* ---------- Spectrum ---------- */
.spectrum {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.spectrum-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
}

.spectrum-tab {
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

.spectrum-tab b {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 4px;
}

.spectrum-tab span {
  font-size: 12px;
  color: var(--muted);
}

.spectrum-tab:hover {
  border-color: var(--orange);
}

.spectrum-tab.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fdfaf1;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(46, 83, 66, 0.22);
}

.spectrum-tab.is-active span {
  color: rgba(253, 250, 241, 0.75);
}

.spectrum-panel {
  display: none;
  margin-top: 30px;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.spectrum-panel.is-active {
  display: grid;
  animation: fadeUp 0.45s var(--ease) both;
}

.spectrum-panel h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.spectrum-panel .desc {
  color: var(--muted);
  font-size: 14.5px;
}

.metric-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 12px;
  font-size: 14px;
}

.metric-row span {
  color: var(--muted);
}

.metric-row b {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.side-note {
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 24px;
}

.side-note h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--green-deep);
}

.side-note p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 45px;
  top: 42px;
  bottom: 0;
  width: 1px;
  border-left: 1px dashed rgba(63, 107, 85, 0.35);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-step {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-step b {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--orange-deep);
  line-height: 1;
}

.timeline-step span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.timeline-body {
  padding-top: 10px;
}

.timeline-body h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.timeline-body p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Image cards / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media.tall img {
  aspect-ratio: 3 / 4;
}

.split-copy h2 {
  font-size: clamp(25px, 3vw, 36px);
  margin-bottom: 20px;
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy .btn {
  margin-top: 26px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6b55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}

/* ---------- Evidence cards ---------- */
.evidence-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.evidence-card .num {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.evidence-card .num em {
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
  margin-left: 4px;
}

.evidence-card b {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.evidence-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Quiz ---------- */
.quiz {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
}

.quiz-form {
  display: grid;
  gap: 12px;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  cursor: pointer;
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.quiz-option:hover {
  border-color: rgba(217, 113, 78, 0.5);
}

.quiz-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.quiz-option input:checked {
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat;
  border-color: var(--orange);
}

.quiz-option:has(input:checked) {
  border-color: var(--orange);
  background: #fdf3ec;
}

.quiz-side {
  background: var(--green);
  color: #fdfaf1;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.quiz-side h3 {
  color: #fdfaf1;
  font-size: 21px;
}

.quiz-side p {
  color: rgba(253, 250, 241, 0.78);
  font-size: 13.5px;
  margin-top: 10px;
}

.risk-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(253, 250, 241, 0.18);
  overflow: hidden;
  margin-bottom: 16px;
}

.risk-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: #f0c9b7;
  transition: width 0.45s var(--ease);
}

.quiz-result {
  border-top: 1px solid rgba(253, 250, 241, 0.22);
  padding-top: 20px;
}

.quiz-result .score {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.quiz-result .score small {
  font-size: 13px;
  color: rgba(253, 250, 241, 0.6);
}

.quiz-result .verdict {
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.quiz-result .advice {
  font-size: 13px;
  color: rgba(253, 250, 241, 0.72);
  margin-top: 4px;
}

.quiz-side .btn {
  background: #fdfaf1;
  color: var(--green-deep);
  width: 100%;
}

/* ---------- Program cards ---------- */
.plan-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-card.featured {
  background: var(--green-deep);
  color: #f7f3e7;
  border-color: var(--green-deep);
  position: relative;
  overflow: hidden;
}

.plan-card.featured::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.plan-card.featured h3,
.plan-card.featured .price {
  color: #fdfaf1;
}

.plan-card.featured p,
.plan-card.featured li {
  color: rgba(253, 250, 241, 0.78);
}

.plan-card .plan-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--orange-deep);
  margin-bottom: 10px;
}

.plan-card.featured .plan-label {
  color: #f0c9b7;
}

.plan-card h3 {
  font-size: 24px;
}

.plan-card .plan-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
  min-height: 44px;
}

.plan-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.plan-card.featured ul {
  border-top-color: rgba(253, 250, 241, 0.18);
}

.plan-card li {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
}

.plan-card li::before {
  content: "·";
  color: var(--orange);
  font-weight: 700;
}

.plan-card.featured li::before {
  color: #f0c9b7;
}

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

/* ---------- Story cards ---------- */
.story-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.story-card .story-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.story-card .story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.story-card:hover .story-img img {
  transform: scale(1.04);
}

.story-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.story-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.story-body blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.story-data {
  display: flex;
  gap: 22px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.story-data div {
  font-size: 12px;
  color: var(--muted);
}

.story-data b {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--green);
  line-height: 1.4;
}

/* ---------- Articles ---------- */
.article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  align-items: center;
}

.article-card:hover {
  border-color: rgba(217, 113, 78, 0.4);
  transform: translateY(-2px);
}

.article-card .thumb {
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
}

.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card h3 {
  font-size: 19px;
  margin: 10px 0 8px;
}

.article-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Product figure ---------- */
.product-figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.product-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-figure figcaption {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.product-figure .figure-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green-deep);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

/* ---------- Filter chips ---------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}

.chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fdfaf1;
}

/* ---------- Accordion ---------- */
.accordion {
  border-top: 1px solid var(--line);
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-trigger {
  width: 100%;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}

.acc-trigger .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.acc-trigger .plus::before,
.acc-trigger .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.25s var(--ease);
}

.acc-trigger .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.acc-item.is-open .acc-trigger .plus {
  background: var(--orange);
  border-color: var(--orange);
}

.acc-item.is-open .acc-trigger .plus::before,
.acc-item.is-open .acc-trigger .plus::after {
  background: #fff;
}

.acc-item.is-open .acc-trigger .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.acc-panel p {
  padding: 0 48px 24px 4px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Quote / disclaimer ---------- */
.quote-band {
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 24px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink);
}

.disclaimer {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  background: rgba(239, 227, 209, 0.45);
  border: 1px solid rgba(43, 37, 30, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
}

.disclaimer svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--orange-deep);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green);
  border-radius: var(--radius-xl);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  color: #fdfaf1;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  right: -80px;
  top: -140px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  right: 40px;
  bottom: -160px;
}

.cta-band h2 {
  color: #fdfaf1;
  font-size: clamp(24px, 3vw, 34px);
}

.cta-band p {
  color: rgba(253, 250, 241, 0.75);
  margin-top: 14px;
  font-size: 14.5px;
}

.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.cta-band .btn-ghost {
  border-color: rgba(253, 250, 241, 0.4);
  color: #fdfaf1;
}

.cta-band .btn-ghost:hover {
  background: rgba(253, 250, 241, 0.1);
  border-color: #fdfaf1;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(217, 113, 78, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.form-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.form-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
  animation: fadeUp 0.4s var(--ease) both;
}

/* ---------- Page hero ---------- */
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.55), transparent);
}

.page-hero .breadcrumb {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.page-hero .breadcrumb a:hover {
  color: var(--orange-deep);
}

.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  max-width: 800px;
}

.page-hero p {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
}

.page-hero .hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #24372e;
  color: rgba(250, 246, 237, 0.72);
  padding: 68px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr);
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand {
  color: #fdfaf1;
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.9;
  max-width: 300px;
  color: rgba(250, 246, 237, 0.6);
}

.footer-brand .hotline {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 22px;
  color: #fdfaf1;
  letter-spacing: 0.02em;
}

.footer-brand .hotline span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(250, 246, 237, 0.45);
  margin-bottom: 4px;
}

.footer-col h4 {
  color: #fdfaf1;
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-weight: 600;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(250, 246, 237, 0.6);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: #fdfaf1;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: rgba(250, 246, 237, 0.45);
  line-height: 1.9;
}

.footer-bottom .legal {
  max-width: 760px;
}

/* ---------- Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 24px);
  background: var(--green-deep);
  color: #fdfaf1;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 200;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 80;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a {
    padding: 9px 8px;
    font-size: 14px;
  }
  .header-actions .btn-ghost {
    display: none;
  }
  .hero-grid {
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 68px 0;
  }
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    padding: 15px 6px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
  }
  .nav a.is-active::after {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-grid,
  .split,
  .quiz,
  .cta-band,
  .spectrum-panel.is-active,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-visual {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }
  .hero-photo {
    aspect-ratio: 4 / 4;
  }
  .stat-strip,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .split {
    gap: 34px;
  }
  .spectrum-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band {
    padding: 40px 32px;
  }
  .cta-band .actions {
    justify-content: flex-start;
  }
  .footer-grid {
    gap: 32px;
  }
  .timeline-item {
    grid-template-columns: 68px 1fr;
    gap: 20px;
  }
  .timeline-step {
    width: 68px;
    height: 68px;
  }
  .timeline-step b {
    font-size: 18px;
  }
  .timeline-item::before {
    left: 33px;
    top: 34px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
  .section {
    padding: 56px 0;
  }
  .header-inner {
    height: 70px;
  }
  .nav {
    top: 70px;
  }
  .brand-text em {
    display: none;
  }
  .brand-text strong {
    font-size: 18px;
  }
  .header-actions .btn-primary {
    padding: 10px 16px;
    font-size: 13px;
  }
  .hero {
    padding: 32px 0 56px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-photo {
    border-radius: 120px 120px 24px 24px;
  }
  .hero-badge {
    left: 4px;
    bottom: 10px;
    padding: 10px 14px;
    gap: 10px;
    max-width: 210px;
  }
  .hero-badge .ring {
    width: 38px;
    height: 38px;
  }
  .hero-badge strong {
    font-size: 14px;
  }
  .hero-badge span {
    font-size: 10.5px;
  }
  .hero-stamp {
    width: 78px;
    height: 78px;
    font-size: 9px;
    right: 0;
    top: 16px;
  }
  .hero-stamp b {
    font-size: 16px;
  }
  .stat-strip,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .stat-item {
    padding: 22px 24px;
  }
  .spectrum {
    padding: 24px;
  }
  .spectrum-tabs {
    grid-template-columns: 1fr;
  }
  .quiz {
    padding: 24px;
  }
  .cta-band {
    padding: 34px 24px;
    border-radius: var(--radius-lg);
  }
  .article-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .article-card .thumb {
    aspect-ratio: 16 / 9;
  }
  .featured-article {
    grid-template-columns: 1fr !important;
  }
  .featured-article > div:first-child {
    padding: 28px !important;
  }
  .featured-article > div:last-child {
    min-height: 220px !important;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 40px 0 36px;
  }
  .page-hero h1 {
    font-size: 29px;
  }
  [id] {
    scroll-margin-top: 84px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .to-top {
    right: 16px;
    bottom: 16px;
  }
  .acc-panel p {
    padding-right: 10px;
  }
}
