/* ==========================================================================
   心希望 0.0.3 视觉方向 B 低像素原型
   暖色摄影 + 手绘点缀 + 冷色科学区
   - 零外部请求：无远程样式导入、无 Web 字体、无远程图片
   - 无 JS 依赖：导航折叠用 checkbox，FAQ 用 details/summary
   - 本文件仅服务 prototype/，不参与正式站构建
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* 品牌 */
  --c-brand: #2a5e90;
  --c-brand-deep: #1e4a73;
  --c-brand-soft: #d6e8f0;
  --c-cream: #fff8ec;
  --c-cream-deep: #fbeedc;
  --c-surface: #ffffff;

  /* 暖色 */
  --c-accent: #b4552a;
  --c-accent-deep: #963f19;
  --c-sunset: #d97742;
  --c-apricot: #f8d7b0;
  --c-coral: #d9534f;
  --c-leaf: #3d6e48;

  /* 中性 */
  --c-ink: #2c2622;
  --c-ink-muted: #63564c;
  --c-line: #f0dfc9;
  --c-footer: #1e3a52;
  --c-footer-text: #dce7f1;

  /* 科学区 */
  --c-sky-1: #eef7fc;
  --c-sky-2: #d6e8f0;
  --c-sky-line: #b7d3e2;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* 阴影：暖棕，不用纯黑 */
  --sh-1: 0 1px 2px rgba(74, 47, 26, 0.05), 0 10px 24px -14px rgba(74, 47, 26, 0.18);
  --sh-2: 0 2px 4px rgba(74, 47, 26, 0.05), 0 22px 48px -26px rgba(74, 47, 26, 0.38);

  /* 间距（4px 基准） */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* 字体：纯系统栈，零请求 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC",
    "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  /* 字号 */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.45rem, 1.05rem + 1vw, 1.85rem);
  --fs-2xl: clamp(1.85rem, 1.2rem + 1.8vw, 2.5rem);
  --fs-3xl: clamp(2.15rem, 1.1rem + 3vw, 3.35rem);

  /* 版式 */
  --wrap: 1120px;
  --gutter: 20px;
  --header-h: 72px;
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--c-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--c-accent);
}

:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--s-4);
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-3xl);
  letter-spacing: 0.02em;
}

h2 {
  font-size: var(--fs-2xl);
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

p {
  margin: 0 0 var(--s-4);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 var(--s-4);
  padding-left: 1.25em;
}

strong {
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  padding: var(--s-2) var(--s-4);
  background: var(--c-brand);
  color: #fff;
  border-radius: var(--r-sm);
}

.skip-link:focus {
  top: var(--s-3);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 6.5vw, 100px);
}

.section--cream {
  background: var(--c-cream);
}

.section--tint {
  background: var(--c-cream-deep);
}

.section--surface {
  background: var(--c-surface);
}

.section--cool {
  background: linear-gradient(180deg, var(--c-sky-1), var(--c-sky-2));
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__lead {
  color: var(--c-ink-muted);
  font-size: 1.0625rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  color: var(--c-brand-deep);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-sunset);
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: var(--s-5);
}

.grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

/* 4. 原型提示条 ------------------------------------------------------------ */
.p-bar {
  position: relative;
  z-index: 40;
  background: var(--c-brand-deep);
  color: #fff;
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.p-bar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  padding-block: var(--s-2);
}

.p-bar strong {
  color: #ffe4c9;
  letter-spacing: 0.04em;
}

.p-bar a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.p-bar a:hover {
  color: #ffe4c9;
}

.p-bar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
}

/* 5. Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 248, 236, 0.94);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: saturate(1.2) blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--c-ink);
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand__en {
  color: var(--c-ink-muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

/* CSS-only 折叠导航 */
.nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle::before {
  content: "";
  width: 16px;
  height: 10px;
  border-block: 2px solid currentColor;
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
}

.site-nav a:not(.btn) {
  display: inline-block;
  padding: 8px 2px;
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--c-brand-deep);
  border-bottom-color: var(--c-sunset);
}

.site-nav .btn {
  margin-left: var(--s-2);
}

/* 6. 按钮与标签 ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 20px -14px rgba(150, 63, 25, 0.7);
}

.btn:hover {
  background: var(--c-accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--c-brand-soft);
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.btn--light {
  background: var(--c-surface);
  color: var(--c-brand-deep);
  box-shadow: var(--sh-1);
}

.btn--light:hover {
  background: #fff;
  color: var(--c-brand);
}

.btn--sm {
  min-height: 42px;
  padding: 8px 18px;
  font-size: var(--fs-sm);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--c-apricot);
  color: #4a2c18;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tag--brand {
  background: var(--c-brand-soft);
  color: var(--c-brand-deep);
}

.tag--leaf {
  background: #e4efdf;
  color: #2f5a38;
}

.tag--quiet {
  background: var(--c-cream-deep);
  color: var(--c-ink-muted);
}

/* 7. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -12%, #ffe9c7 0%, rgba(255, 233, 199, 0) 62%),
    radial-gradient(820px 420px at 4% 8%, #fff3d8 0%, rgba(255, 243, 216, 0) 58%),
    linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-deep) 100%);
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(48px, 6vw, 88px) clamp(36px, 4vw, 56px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  padding: 7px 14px;
  border: 1px solid #e9c69b;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.6);
  color: #7a4522;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.hero__eyebrow svg {
  width: 16px;
  height: 16px;
  color: var(--c-coral);
}

.hero h1 {
  margin-bottom: var(--s-4);
}

.hero h1 em {
  color: var(--c-accent);
  font-style: normal;
}

.hero__lead {
  max-width: 34em;
  color: var(--c-ink-muted);
  font-size: var(--fs-lg);
  line-height: 1.8;
}

.hero__lead strong {
  color: var(--c-brand-deep);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.hero__note {
  margin-top: var(--s-4);
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

.hero__media {
  position: relative;
}

.photo-frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: var(--sh-2);
  transform: rotate(-1.2deg);
}

.photo-frame img {
  width: 100%;
  border-radius: calc(var(--r-xl) - 8px);
  object-fit: cover;
}

.photo-frame figcaption {
  padding: 10px 6px 2px;
  color: var(--c-ink-muted);
  font-size: var(--fs-xs);
  text-align: center;
}

.photo-frame--tilt-r {
  transform: rotate(1.1deg);
}

.hero__pill {
  position: absolute;
  z-index: 2;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-brand-deep);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--sh-1);
}

.hero__pill--l {
  left: -10px;
  top: 16%;
}

.hero__pill--r {
  right: -6px;
  bottom: calc(14% + 48px);
  background: var(--c-accent);
  color: #fff;
}

/* 手绘母题 */
.doodle {
  position: absolute;
  color: var(--c-sunset);
  opacity: 0.7;
  pointer-events: none;
}

.doodle--heart {
  width: 34px;
  height: 34px;
  left: 46%;
  top: 10%;
  transform: rotate(12deg);
}

.doodle--star {
  width: 22px;
  height: 22px;
  right: 6%;
  top: 8%;
  color: var(--c-coral);
}

.doodle--leaf {
  width: 42px;
  height: 42px;
  left: 3%;
  bottom: 12%;
  color: var(--c-leaf);
  opacity: 0.45;
}

.wave {
  display: block;
  width: 100%;
  height: 44px;
  margin-bottom: -1px;
}

/* 8. 信任条 --------------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--c-line);
  background: var(--c-surface);
}

.trust__in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4) var(--s-6);
  padding-block: var(--s-5);
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
}

.trust__item svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  color: var(--c-brand);
}

.trust__item b {
  display: block;
  font-size: var(--fs-sm);
}

.trust__item span {
  color: var(--c-ink-muted);
  font-size: var(--fs-xs);
}

/* 9. 对比区 --------------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--s-5);
  align-items: stretch;
}

.compare__card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  box-shadow: var(--sh-1);
}

.compare__card--old {
  background: #f6f2ec;
  border-style: dashed;
  color: var(--c-ink-muted);
}

.compare__card--new {
  border-color: #d9bfa2;
  background: linear-gradient(180deg, #fffdf8, #fff6e6);
  box-shadow: var(--sh-2);
}

.compare__kicker {
  display: inline-block;
  margin-bottom: var(--s-3);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: rgba(99, 86, 76, 0.1);
  color: var(--c-ink-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.compare__card--new .compare__kicker {
  background: var(--c-brand-soft);
  color: var(--c-brand-deep);
}

.compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare__list li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-top: 1px solid rgba(99, 86, 76, 0.14);
}

.compare__list li:first-child {
  border-top: 0;
}

.compare__list li::before {
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 700;
}

.compare__card--old .compare__list li::before {
  content: "—";
  color: #9a8b7d;
}

.compare__card--new .compare__list li::before {
  content: "❤";
  color: var(--c-coral);
  font-size: 0.8em;
}

.compare__vs {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--c-ink-muted);
}

.compare__vs span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-cream-deep);
  border: 1px solid var(--c-line);
  font-size: var(--fs-sm);
}

/* 10. 承诺区 -------------------------------------------------------------- */
.promise {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.promise__list {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}

.promise__list li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  font-weight: 600;
}

.promise__list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--c-coral);
}

.quote {
  margin: var(--s-6) 0 0;
  padding: 22px 24px;
  border-left: 4px solid var(--c-sunset);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--c-cream-deep);
  color: var(--c-brand-deep);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.7;
}

.quote cite {
  display: block;
  margin-top: var(--s-2);
  color: var(--c-ink-muted);
  font-size: var(--fs-xs);
  font-style: normal;
  font-weight: 600;
}

/* 11. 五步路径（冷色区） -------------------------------------------------- */
.path {
  position: relative;
}

.path__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
  counter-reset: step;
}

.path__step {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--c-sky-line);
  box-shadow: 0 14px 30px -26px rgba(30, 74, 115, 0.6);
}

.path__step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: var(--s-3);
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.path__step h3 {
  margin-bottom: var(--s-2);
  color: var(--c-brand-deep);
  font-size: 1.125rem;
}

.path__step p {
  color: #3c5568;
  font-size: var(--fs-sm);
}

.path__note {
  margin-top: var(--s-5);
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px dashed var(--c-sky-line);
  color: #3c5568;
  font-size: var(--fs-sm);
}

/* 12. 课程预览 ------------------------------------------------------------ */
.groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--s-5);
}

.group {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
}

.group__no {
  color: var(--c-accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.group h3 {
  margin: 0;
  font-size: 1.2rem;
}

.group__desc {
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

.group--cta {
  justify-content: center;
  background: linear-gradient(180deg, #fffdf7, #ffeccd);
  border-color: #eed3b2;
}

.group--cta .group__no {
  color: var(--c-accent-deep);
}

.group--cta .btn {
  align-self: flex-start;
  margin-top: var(--s-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips a {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--c-cream-deep);
  color: var(--c-brand-deep);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.chips a:hover {
  border-color: var(--c-apricot);
  background: #fff;
  color: var(--c-accent);
}

.chips--quiet a {
  background: transparent;
  border: 1px dashed #d9c7b2;
  color: var(--c-ink-muted);
}

/* 13. 底部 CTA ------------------------------------------------------------ */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(620px 300px at 88% 0%, rgba(255, 226, 178, 0.55), rgba(255, 226, 178, 0) 70%),
    linear-gradient(135deg, #fff4e0 0%, #ffe3c2 48%, #f8cfa6 100%);
  border: 1px solid #eed3b2;
  box-shadow: var(--sh-2);
}

.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
}

.cta h2 {
  margin-bottom: var(--s-3);
  color: #40291a;
}

.cta p {
  color: #6b4a33;
}

.cta__qr {
  display: grid;
  justify-items: center;
  gap: var(--s-3);
}

.qr-box {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: var(--r-md);
  border: 2px dashed #b98a5f;
  background: rgba(255, 255, 255, 0.55);
  color: #8a5a34;
  font-size: var(--fs-xs);
  line-height: 1.5;
  text-align: center;
}

.cta__qr small {
  color: #7a5436;
  font-size: var(--fs-xs);
}

/* 14. Footer -------------------------------------------------------------- */
.site-footer {
  margin-top: 0;
  background: var(--c-footer);
  color: var(--c-footer-text);
  font-size: var(--fs-sm);
}

.site-footer .wrap {
  padding-block: clamp(36px, 5vw, 56px) var(--s-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--s-6);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: var(--s-3);
  color: #fff;
  font-size: var(--fs-base);
}

.site-footer p {
  color: var(--c-footer-text);
  margin-bottom: var(--s-2);
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.site-footer a:hover {
  color: #ffe4c9;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-3);
}

.footer-brand .brand__mark {
  width: 36px;
  height: 36px;
}

.footer-brand b {
  color: #fff;
  font-size: var(--fs-base);
  letter-spacing: 0.05em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b9c9d8;
  font-size: var(--fs-xs);
}

.footer-bottom p {
  margin: 0;
  color: #b9c9d8;
}

/* 15. 服务页 -------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 360px at 90% 0%, #ffe9c7 0%, rgba(255, 233, 199, 0) 64%),
    linear-gradient(180deg, var(--c-cream), var(--c-cream-deep));
  border-bottom: 1px solid var(--c-line);
}

.page-hero .wrap {
  padding-block: clamp(44px, 5.5vw, 76px) clamp(36px, 4vw, 56px);
}

.page-hero h1 {
  max-width: 18em;
}

.page-hero__lead {
  max-width: 40em;
  color: var(--c-ink-muted);
  font-size: var(--fs-lg);
}

/* 怎么选 3 步 */
.pick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--s-4);
  margin-top: var(--s-5);
  counter-reset: pick;
}

.pick__item {
  position: relative;
  padding: 22px 22px 20px 62px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
}

.pick__item::before {
  counter-increment: pick;
  content: counter(pick);
  position: absolute;
  left: 20px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-brand-soft);
  color: var(--c-brand-deep);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.pick__item b {
  display: block;
  margin-bottom: var(--s-1);
}

.pick__item span {
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

/* 方向导航 */
.dir-nav {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: 20;
  background: rgba(255, 248, 236, 0.96);
  border-block: 1px solid var(--c-line);
  backdrop-filter: blur(8px);
}

.dir-nav ul {
  display: flex;
  gap: var(--s-2);
  margin: 0;
  padding: 10px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dir-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  color: var(--c-brand-deep);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.dir-nav a:hover {
  border-color: var(--c-apricot);
  background: #fff;
  color: var(--c-accent);
}

.dir-nav a span {
  color: var(--c-accent-deep);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* 方向分组 */
.dir {
  /* html 已有 scroll-padding-top（header+16），此处补足到「header + sticky 方向导航 + 16」 */
  scroll-margin-top: 61px;
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--c-line);
}

/* 课程锚点（首页课程胶囊跳转 services.html#s1…s9 时，避免卡片被 sticky 方向导航遮住） */
.course {
  scroll-margin-top: 61px;
}

.dir:last-of-type {
  border-bottom: 0;
}

.dir__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2) var(--s-5);
  margin-bottom: var(--s-5);
}

.dir__head h2 {
  margin: 0;
  font-size: var(--fs-2xl);
}

.dir__head p {
  max-width: 44ch;
  margin: 0;
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--s-4);
}

.courses--2x2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

@media (min-width: 900px) {
  .courses--2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.course {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
}

.course__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}

.course h3 {
  margin: var(--s-2) 0 0;
  font-size: 1.3rem;
}

.course__how {
  margin: 0;
  color: var(--c-ink-muted);
}

.course__not {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--c-cream-deep);
  color: #59402e;
  font-size: var(--fs-sm);
}

.course__not b {
  color: var(--c-accent-deep);
}

.course dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px var(--s-3);
  margin: 0;
  font-size: var(--fs-sm);
}

.course dt {
  color: var(--c-ink-muted);
  font-weight: 600;
}

.course dd {
  margin: 0;
}

.course .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* 配套支持 */
.support {
  margin-top: var(--s-5);
  padding: 20px 24px;
  border-radius: var(--r-lg);
  border: 1px dashed #dcc7ac;
  background: rgba(255, 255, 255, 0.5);
}

.support h3 {
  margin-bottom: var(--s-2);
  font-size: var(--fs-lg);
}

.support p {
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

.support .chips {
  margin-top: var(--s-3);
}

/* 流程 */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--s-4);
  margin-top: var(--s-5);
  counter-reset: flow;
}

.flow__item {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}

.flow__item::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  margin-bottom: var(--s-2);
  color: var(--c-accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.flow__item b {
  display: block;
  margin-bottom: var(--s-1);
}

.flow__item p {
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

/* FAQ */
.faq {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

.faq details {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  padding: 4px 20px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: 14px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-cream-deep);
  color: var(--c-accent-deep);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding-bottom: 16px;
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

/* 16. 响应式 -------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__in {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    max-width: 560px;
  }

  .hero__lead {
    font-size: var(--fs-base);
  }

  .promise {
    grid-template-columns: 1fr;
  }

  .cta__in {
    grid-template-columns: 1fr;
  }

  .cta__qr {
    justify-items: start;
  }

  .path__steps {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
    --header-h: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-3) var(--gutter) var(--s-5);
    background: var(--c-cream);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-2);
  }

  .nav-check:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--c-line);
    font-size: var(--fs-base);
  }

  .site-nav .btn {
    margin: var(--s-4) 0 0;
  }

  .nav-check:focus-visible + .nav-toggle {
    outline: 3px solid var(--c-brand);
    outline-offset: 3px;
  }

  h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  }

  .photo-frame {
    transform: none;
  }

  .photo-frame--tilt-r {
    transform: none;
  }

  /* 窄屏：两枚浮签都贴图片上缘，避免压住 figcaption 说明文字 */
  .hero__pill--l {
    left: 8px;
    top: 8px;
  }

  .hero__pill--r {
    right: 8px;
    top: 8px;
    bottom: auto;
    left: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .compare__vs {
    display: none;
  }

  .dir-nav ul {
    padding-block: 8px;
  }

  .dir__head {
    display: block;
  }

  .dir__head p {
    margin-top: var(--s-2);
  }
}

/* 17. 动效与可访问性 ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover {
    transform: none;
  }
}

@media print {
  .p-bar,
  .site-header,
  .dir-nav,
  .cta__qr {
    display: none;
  }

  body {
    background: #fff;
  }
}

/* ==========================================================================
   18. 补充页面组件（0.0.3 第二轮：5 个内页 + 首页配图）
   ========================================================================== */

/* 18.1 首屏小标语 */
.hero__kicker {
  margin: -6px 0 16px;
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
}

/* 18.2 两栏图文：文字 + 图片 */
.split {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split--intro {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.split--reverse > :first-child {
  order: 2;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }
}

/* 18.3 圆角图 + 说明 */
.shot {
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  background: var(--c-cream-deep);
}

.shot figcaption {
  margin-top: 10px;
  color: var(--c-ink-muted);
  font-size: var(--fs-xs);
  text-align: center;
}

/* 18.4 时间线（发展历程占位） */
.timeline {
  margin: 0;
  padding: 0 0 0 6px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline li {
  display: grid;
  gap: 4px 16px;
  grid-template-columns: 96px 1fr;
  padding: 16px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-apricot);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.timeline b {
  color: var(--c-accent-deep);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
}

.timeline span {
  color: var(--c-ink-muted);
}

@media (max-width: 560px) {
  .timeline li {
    grid-template-columns: 1fr;
  }
}

/* 18.5 团队成员卡（不露脸，头像为占位） */
.member {
  padding: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  text-align: center;
}

.avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-brand-soft);
  color: var(--c-brand-deep);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.member h3 {
  margin: 0 0 4px;
  font-size: var(--fs-lg);
}

.member p {
  margin: 0;
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

.member__role {
  display: inline-block;
  margin: 10px 0 0;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: var(--c-cream-deep);
  color: var(--c-accent-deep);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* 18.6 地图 / 环境占位块 */
.map-box,
.ph-box {
  min-height: 148px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  border: 1px dashed #dcc7ac;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

.map-box {
  min-height: 280px;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(42, 94, 144, 0.07) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(42, 94, 144, 0.07) 27px 28px),
    var(--c-surface);
}

/* 18.7 联系信息卡 */
.info-card {
  padding: 22px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

.info-card h3 {
  margin: 0 0 6px;
  font-size: var(--fs-lg);
}

.info-card p {
  margin: 0;
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

.info-card a {
  color: var(--c-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 18.8 长文（隐私政策） */
.prose {
  max-width: 46em;
}

.prose h2 {
  margin-top: var(--s-7);
  font-size: var(--fs-xl);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: var(--s-5);
  font-size: var(--fs-lg);
}

.prose p,
.prose li {
  color: var(--c-ink-muted);
}

.prose ul {
  padding-left: 1.2em;
}

.prose .note-box {
  margin: var(--s-4) 0;
  padding: 14px 18px;
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--c-cream-deep);
  color: var(--c-ink);
  font-size: var(--fs-sm);
}

/* 18.9 404 */
.not-found {
  padding-block: clamp(56px, 9vw, 120px);
  text-align: center;
}

.not-found h1 {
  margin-inline: auto;
}

.not-found p {
  max-width: 34em;
  margin-inline: auto;
  color: var(--c-ink-muted);
}

.not-found .doodle {
  position: static;
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--c-sunset);
}

.not-found .btn-row {
  justify-content: center;
}

/* 18.10 窄屏标题：保证语义断行后每行不折 */
@media (max-width: 760px) {
  h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .page-hero__lead,
  .section__lead {
    font-size: 1rem;
  }
}

/* 18.11 更窄屏（≤420px）：首屏身份标签单行不折字 */
@media (max-width: 420px) {
  .hero__eyebrow {
    padding: 7px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
}

/* 18.12 原型提示条：窄屏把版本信息另起一行，避免句中折字 */
@media (max-width: 520px) {
  .p-bar__ver {
    display: block;
  }
}

/* 18.13 章节横图（五步成长示意）：白卡片承托透明插画，冷色区不显突兀 */
.shot--wide {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 18px 22px 12px;
  box-shadow: var(--sh-2);
  margin: 0 0 clamp(24px, 3vw, 40px);
}

.shot--wide img {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 520px) {
  .shot--wide {
    padding: 12px 12px 8px;
  }
}

/* 18.14 内页首屏双栏（联系我们：文案 + 配图） */
.page-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

/* ==========================================================================
   19. 0.0.5 首页情感化（画面先行 · 少字 · 更暖）
   仅被 prototype/index.html 使用；其余原型页保持 0.0.3 版式不变
   ========================================================================== */

/* 19.1 首屏：大图 + 一句心里话 ------------------------------------------- */
.warm-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 5vw, 64px) 0;
  background:
    radial-gradient(900px 420px at 50% -10%, #ffeacb 0%, rgba(255, 234, 203, 0) 65%),
    radial-gradient(700px 360px at 100% 20%, #fde4c6 0%, rgba(253, 228, 198, 0) 60%),
    linear-gradient(180deg, #fffaf0 0%, var(--c-cream) 45%, var(--c-cream-deep) 100%);
}

.warm-hero__in {
  max-width: 860px;
  text-align: center;
}

.warm-hero__kicker {
  margin: 4px 0 0;
  color: #8a5a34;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.warm-hero h1 {
  margin: var(--s-5) 0 0;
  font-size: clamp(2.6rem, 1.4rem + 5.6vw, 4.6rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.warm-hero h1 em {
  color: var(--c-accent);
  font-style: normal;
}

.warm-hero__sub {
  margin: var(--s-5) auto 0;
  max-width: 26em;
  color: var(--c-ink-muted);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  line-height: 2;
}

.warm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.warm-hero__figure {
  margin: clamp(32px, 4.5vw, 60px) 0 0;
}

.warm-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: clamp(24px, 3vw, 40px);
  box-shadow: 0 30px 60px -38px rgba(74, 47, 26, 0.45);
}

.warm-hero__figure figcaption {
  margin-top: var(--s-3);
  color: var(--c-ink-muted);
  font-size: var(--fs-xs);
  text-align: center;
}

.arc {
  display: block;
  width: 100%;
  height: clamp(28px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 72px);
  margin-bottom: -1px;
}

/* 19.2 认出瞬间 ---------------------------------------------------------- */
.moment {
  background: var(--c-cream-deep);
}

.moment__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.moment h2 {
  margin-bottom: var(--s-5);
}

.moment__lines {
  margin: 0 0 var(--s-6);
  padding: 0;
  list-style: none;
}

.moment__lines li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px dashed rgba(150, 63, 25, 0.22);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.15rem);
  line-height: 1.7;
}

.moment__lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5em;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-sunset);
  transform: rotate(-4deg);
}

.moment__turn {
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  font-size: clamp(1.4rem, 1.05rem + 1.7vw, 2.1rem);
  line-height: 1.7;
  color: var(--c-ink);
}

.moment__turn strong {
  color: var(--c-accent);
  font-weight: 600;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M2 7c18-3 36-4 54-2s40 2 62-1' fill='none' stroke='%23d97742' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 100% / 120px 9px;
  padding-bottom: 6px;
}

.moment__figure {
  margin: 0;
}

/* 19.3 关系先于技能 ------------------------------------------------------ */
.relation {
  background: var(--c-surface);
}

.relation__grid {
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.relation__figure {
  margin: 0;
}

.relation__text h2 {
  margin-bottom: var(--s-5);
}

.relation__text > p {
  color: var(--c-ink-muted);
  font-size: var(--fs-lg);
  line-height: 1.9;
}

.relation__plain {
  margin-top: var(--s-6);
  margin-bottom: var(--s-3) !important;
  color: var(--c-ink) !important;
  font-size: var(--fs-base) !important;
  font-weight: 600;
}

.nos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nos li {
  padding: 7px 16px;
  border: 1px dashed #e3bf96;
  border-radius: var(--r-pill);
  background: #fff6e8;
  color: #7a4522;
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* 19.4 五步：一图 + 一句话 ----------------------------------------------- */
.path--light {
  background: linear-gradient(180deg, #f8fcfe 0%, #eef6fb 100%);
}

.path--light .section__head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.path__figure {
  margin: 0 auto;
}

.path__figure img {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.path__line {
  margin: var(--s-6) auto 0;
  max-width: 40em;
  color: var(--c-brand-deep);
  font-size: clamp(1.02rem, 0.96rem + 0.5vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 2;
  text-align: center;
}

.path__note {
  margin: var(--s-3) auto 0;
  color: var(--c-ink-muted);
  text-align: center;
}

/* 19.5 课程：一句话带过 -------------------------------------------------- */
.courses {
  background: var(--c-cream);
}

.courses__head {
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.courses__head .section__head {
  margin-bottom: 0;
}

.groups {
  margin-top: var(--s-2);
}

.group {
  background: rgba(255, 255, 255, 0.72);
  border-color: #f2e2cd;
  box-shadow: 0 16px 34px -30px rgba(74, 47, 26, 0.4);
}

/* 19.6 团队：一句 -------------------------------------------------------- */
.team {
  background: var(--c-surface);
}

.team__grid {
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.team__text .btn-row {
  margin-top: var(--s-5);
}

/* 19.7 温柔邀请 ---------------------------------------------------------- */
.invite {
  background: var(--c-cream-deep);
}

.invite__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid #f0d9bf;
  border-radius: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, #fde4c6 0%, #fff6e7 58%, #fff8ec 100%);
  box-shadow: 0 26px 60px -44px rgba(74, 47, 26, 0.5);
}

.invite__text h2 {
  margin-bottom: var(--s-4);
}

.invite__text > p {
  color: #7a4522;
  font-size: var(--fs-lg);
  line-height: 1.8;
}

.invite__text .btn-row {
  margin-top: var(--s-5);
}

.invite__note {
  margin-top: var(--s-4);
  color: #8a5a34 !important;
  font-size: var(--fs-sm) !important;
}

.invite__qr {
  text-align: center;
}

.invite__qr small {
  display: block;
  margin-top: var(--s-2);
  color: #8a5a34;
}

/* 19.8 窄屏 -------------------------------------------------------------- */
@media (max-width: 900px) {
  .moment__grid,
  .relation__grid,
  .team__grid,
  .invite__card {
    grid-template-columns: 1fr;
  }

  .moment__figure,
  .relation__figure {
    order: -1;
  }

  .invite__card {
    text-align: left;
    gap: var(--s-6);
  }

  .invite__qr {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .warm-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }

  .warm-hero__figure img {
    aspect-ratio: 3 / 2;
  }

  .nos li {
    padding: 6px 13px;
  }
}


/* 19.9 课程改为「一条一条」的清单式，减少卡片框、留白更松 */
@media (min-width: 760px) {
  .groups {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--c-line);
  }

  .groups .group {
    display: grid;
    grid-template-columns: 92px minmax(140px, 190px) minmax(0, 1fr);
    align-items: center;
    gap: var(--s-3) var(--s-5);
    padding: 16px 6px;
    border: 0;
    border-bottom: 1px dashed rgba(150, 63, 25, 0.18);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .groups .group__no {
    margin: 0;
  }

  .groups .group h3 {
    margin: 0;
    font-size: 1.06rem;
  }

  .groups .group .chips {
    margin: 0;
    justify-content: flex-start;
  }
}


/* 19.10 五步路径：每个词不被拆行 */
.path__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 0;
  max-width: 44em;
}

.path__line span {
  display: inline-block;
  white-space: nowrap;
}

.path__line span + span::before {
  content: "·";
  margin: 0 0.55em;
  color: var(--c-sunset);
  font-weight: 400;
}


/* 19.11 分隔符不落到行首；团队窄屏先图后文 */
.path__line span + span::before {
  content: none;
}

.path__line span:not(:last-child)::after {
  content: "·";
  margin-left: 0.55em;
  color: var(--c-sunset);
  font-weight: 400;
}

@media (max-width: 900px) {
  .team__grid .shot {
    order: -1;
  }
}

/* ===== 生产站导航（JS 控制，替代原 CSS checkbox 方案） ===== */
.nav-check {
  display: none;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-3) var(--gutter) var(--s-5);
    background: var(--c-cream);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-2);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--c-line);
    font-size: var(--fs-base);
  }

  .site-nav .btn {
    margin: var(--s-4) 0 0;
  }
}

@media (min-width: 761px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }
}

/* ===== 生产站工具类（替代原型内联样式） ===== */
.u-mt-16 { margin-top: 16px; }
.u-mt-28 { margin-top: 28px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-8 { margin-top: 8px; }
.u-mt-14 { margin-top: 14px; }
.u-mt-18 { margin-top: 18px; }
.u-center-row { display: flex; justify-content: center; }

/* 0.0.8 新增：正文二维码图片、机构介绍方向标签放大 */
.qr-img {
  display: block;
  width: 132px;
  height: auto;
  border-radius: 12px;
  background: #fff;
}
.invite__qr .qr-img {
  width: 180px;
  max-width: 100%;
  margin-inline: auto;
}
.chips--lg .tag {
  font-size: 15px;
  padding: 8px 16px;
}

/* 0.0.9 手机适配 ---------------------------------------------------------- */
/* 中文断行：标题避免孤字，正文避免行尾孤字 */
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

/* 引号内短词不拆行 */
.keep {
  white-space: nowrap;
}

/* 联系页信息卡：二维码居中 */
.info-card .qr-img {
  margin-inline: auto;
}

/* 课程页吸顶方向导航：小屏横向滚动，右侧渐隐提示 */
@media (max-width: 560px) {
  .dir-nav ul {
    gap: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
  }

  .dir-nav li {
    scroll-snap-align: start;
  }

  .dir-nav a {
    padding: 7px 10px;
    font-size: 12px;
    gap: 4px;
  }

  .dir-nav a span {
    font-size: 11px;
  }
}

/* 小屏正文与按钮：保证长按钮不折行 */
@media (max-width: 400px) {
  .relation__plain {
    font-size: 15px !important;
  }

  .hero__actions .btn,
  .btn-row .btn {
    font-size: 15px;
    padding-inline: 18px;
  }
}

/* 0.0.10 页脚公众号二维码：显示约 4cm 见方，白底便于手机扫码 */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.footer-social p {
  margin: 0;
}

/* 桌面端给联系方式列多留一点宽度，让「公众号」文字与二维码并排 */
@media (min-width: 961px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 1.3fr;
  }
}

.footer-qr {
  display: block;
  width: 150px;
  height: 150px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
}

@media (max-width: 560px) {
  .footer-qr {
    width: 132px;
    height: 132px;
  }
}
