/* =========================================================
   Flusso 桥水心理 — Redesign · "Deep Water Trust"
   方向：深水青（信任锚）+ 暖象牙白（人味底）+ 墨黑（编辑）
        + 笃定的赤陶点缀。权威感来自对比、笃定与透明，
        而非冷蓝或 corporate 厚重。
   —— 仅重做排版与视觉系统，文字内容沿用原站。
   ========================================================= */

/* ---------- 字体：自托管为主，强系统回退（未放置字体也不破样式） ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-VariableFont.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Italic-VariableFont.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/NotoSerifSC-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/NotoSerifSC-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  /* ---------- 颜色 ---------- */
  --flusso-bg: #F7F5EF;
  --flusso-surface: #FCFBF7;
  --flusso-surface-soft: #F0ECE3;
  --flusso-text: #1B1B18;
  --flusso-text-soft: #403D38;
  --flusso-muted: #6F6A62;
  --flusso-line: #D8D1C5;
  --flusso-green: #0F4A43;
  --flusso-green-dark: #0A332E;
  --flusso-green-soft: #E6EEE9;
  --flusso-signal: #B08A45;
  --flusso-signal-soft: #F4EBD8;

  --paper:      var(--flusso-bg);
  --paper-2:    var(--flusso-surface-soft);
  --surface:    var(--flusso-surface);

  --ink:        var(--flusso-text);
  --ink-soft:   var(--flusso-text-soft);
  --muted:      var(--flusso-muted);
  --line:       var(--flusso-line);
  --line-2:     #C7BFB2;

  --teal:       var(--flusso-green);
  --teal-strong:var(--flusso-green-dark);
  --teal-deep:  var(--flusso-green-dark);
  --teal-mid:   #285D55;
  --teal-soft:  var(--flusso-green-soft);

  --clay:       var(--flusso-green);
  --clay-2:     var(--flusso-green-soft);
  --clay-soft:  var(--flusso-green-soft);

  --paper-on-dark: #F7F5EF;
  --muted-on-dark: rgba(247, 245, 239, 0.68);
  --line-on-dark:  rgba(247, 245, 239, 0.16);

  /* ---------- 字体栈 ---------- */
  --serif:    "Fraunces", "Iowan Old Style", "Iowan Old Style Italic",
              "Palatino Linotype", Palatino, Charter, Georgia, "Times New Roman", serif;
  --sans:     Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC",
              "Hiragino Sans GB", "Source Han Sans SC", Arial, sans-serif;
  --cn-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --brand-cn: "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC",
              "Source Han Serif CN", "Songti SC", "STSong",
              "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;

  /* ---------- 形 / 影 / 节奏 ---------- */
  --focus:   0 0 0 3px rgba(15, 74, 67, 0.28);
  --sh-sm:   0 1px 2px rgba(27, 27, 24, 0.04);
  --sh-md:   0 10px 30px -12px rgba(27, 27, 24, 0.16);
  --sh-lg:   0 24px 60px -24px rgba(10, 51, 46, 0.36);
  --max:     1140px;
  --gutter:  24px;
  --mobile-header-height: 62px;
  --r:       12px;
  --r-sm:    7px;
  --t-fast:  130ms ease;
  --t:       240ms cubic-bezier(.2,.6,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--teal); color: var(--paper); }

img, svg, picture, video { max-width: 100%; height: auto; display: block; }

/* ---------- 链接 ---------- */
a { color: var(--teal); text-decoration: none; text-underline-offset: 3px; transition: color var(--t-fast); }
a:hover { color: var(--teal-strong); text-decoration: underline; }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }

/* ---------- 跳过导航 ---------- */
.skip-link {
  position: absolute; left: 14px; top: -48px; z-index: 100;
  background: var(--teal); color: var(--paper);
  padding: 9px 16px; border-radius: var(--r-sm); font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 14px; text-decoration: none; }

/* ---------- 容器 ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* =========================================================
   头部
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
  background: rgba(247, 245, 239, 0.96);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 24px; position: relative;
}

/* Brand 文字标 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand .lat {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  display: inline-block;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand .cn {
  font-family: var(--brand-cn); font-weight: 600;
  display: inline-block;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--ink);
  transform: translateY(0);
}
.brand-sep {
  display: inline-block;
  margin-left: 6px;
  color: var(--teal-deep);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1;
  opacity: 0.78;
  transform: translateY(1px);
}
.brand-aux {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--brand-cn);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(64, 61, 56, 0.64);
  transform: translateY(0);
  white-space: nowrap;
}

/* 导航 */
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; transform: translateY(-0.5px); }
.site-nav a { position: relative; color: var(--ink-soft); padding: 6px 1px; letter-spacing: 0.02em; }
.site-nav a:hover { color: var(--teal); text-decoration: none; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.site-nav .nav-cta {
  color: var(--teal); border: 1px solid var(--teal); border-radius: 999px;
  padding: 7px 16px; font-weight: 600;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--teal); color: var(--paper); }

.nav-toggle {
  display: none; align-items: center; gap: 7px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  border-radius: var(--r-sm); padding: 9px 15px; font: inherit; cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.nav-toggle:hover { background: var(--paper-2); }
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(12, 32, 27, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    visibility 0s;
}
.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 200ms ease,
    visibility 0s;
}
.mobile-menu-overlay.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 0s linear 180ms;
}

/* =========================================================
   编号 kicker（编辑式信号）  01 — 标签
   ========================================================= */
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.kicker__num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--clay); }
.kicker__rule { width: 34px; height: 1px; background: var(--clay); opacity: 0.5; }
.kicker__label {
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.section--dark .kicker__num { color: var(--clay-2); }
.section--dark .kicker__rule { background: var(--clay-2); }
.section--dark .kicker__label { color: var(--muted-on-dark); }

/* eyebrow 简版 */
.eyebrow {
  margin: 0 0 14px; color: var(--clay); font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}

/* =========================================================
   标题层级（更强对比、更笃定）
   ========================================================= */
h1, h2, h3, h4 { color: var(--ink); letter-spacing: 0; }

h1 {
  margin: 0; font-family: var(--cn-serif); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 58px); line-height: 1.2; letter-spacing: 0.01em;
}
h1 .lat {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(46px, 8.2vw, 92px); line-height: 1.02; letter-spacing: -0.015em;
  color: var(--ink);
}
h1 .cn {
  display: block; font-family: var(--cn-serif); font-weight: 500;
  font-size: clamp(22px, 3vw, 32px); letter-spacing: 0.12em; color: var(--ink); margin-top: 10px;
}

h2 {
  margin: 0 0 20px; font-family: var(--cn-serif); font-weight: 500;
  font-size: clamp(25px, 3.2vw, 36px); line-height: 1.32; letter-spacing: 0.01em;
}
h2 .lat { font-family: var(--serif); font-style: italic; }

h3 {
  margin: 0 0 9px; font-family: var(--cn-serif); font-weight: 500;
  font-size: 20px; line-height: 1.45; letter-spacing: 0.01em; color: var(--ink);
}

p { margin: 0 0 16px; }
strong { color: var(--ink); font-weight: 600; }

.lead {
  max-width: 60ch; margin: 0; color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.78;
}

/* =========================================================
   按钮
   ========================================================= */
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 26px;
  background: var(--teal); color: var(--paper-on-dark);
  border: 1px solid var(--teal); border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  cursor: pointer; transition: background var(--t), border-color var(--t), transform var(--t-fast), box-shadow var(--t);
}
.btn:hover { background: var(--teal-strong); border-color: var(--teal-strong); color: var(--paper-on-dark); text-decoration: none; box-shadow: var(--sh-md); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); color: var(--teal-strong); border-color: var(--teal); box-shadow: none; transform: none; }
.btn--disabled,
.btn--disabled:hover {
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
  box-shadow: none;
  transform: none;
}
.btn--on-dark { background: var(--paper-on-dark); color: var(--teal-deep); border-color: var(--paper-on-dark); }
.btn--on-dark:hover { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn--on-dark.btn--ghost { background: transparent; color: var(--paper-on-dark); border-color: var(--line-on-dark); }
.btn--on-dark.btn--ghost:hover { background: rgba(238,241,233,0.08); color: #fff; border-color: var(--paper-on-dark); }
.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(3px); }
/* .btn sets display:inline-flex, which would override the native [hidden] attribute;
   this guarantees a button with [hidden] (e.g. 下一步 on the last step) is actually hidden. */
.btn[hidden] { display: none !important; }
.actions--tiered {
  align-items: center;
}
.actions--tiered .btn {
  min-width: 178px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: clamp(40px, 5.5vw, 76px) 0 clamp(38px, 5vw, 64px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(42px, 5.4vw, 82px); align-items: center; }

/* 品牌锁定 + 双语描述（建立 psi = psicologia 映射 + 在地合法性信号） */
.lockup { margin: 0 0 20px; }
.lockup .lat {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(48px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.02em; color: var(--ink);
}
.lockup .cn {
  display: inline-block; font-family: var(--cn-serif); font-weight: 500;
  font-size: clamp(23px, 3.2vw, 34px); letter-spacing: 0.14em; color: var(--ink); margin-top: 12px;
}
.descriptor {
  margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 15px; color: var(--muted);
}
.descriptor .it { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--teal); letter-spacing: 0.01em; }
.descriptor .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.descriptor .cn-tag { font-family: var(--cn-serif); letter-spacing: 0.06em; color: var(--ink-soft); }
.hero .lead { margin-top: 26px; }
.home-lead-secondary { margin-top: 14px !important; color: var(--muted); }
.hero .actions { margin-top: 32px; }

/* 信任微行：在地 / 语言 / 边界 */
.hero-marks { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--muted); }
.hero-marks span { display: inline-flex; align-items: center; gap: 7px; }
.hero-marks span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); opacity: 0.75; }

/* 右侧视觉块 — 深水青 + 流线 motif */
.hero-art {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r);
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(15,74,67,0.12), transparent 55%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: var(--sh-lg); overflow: hidden; isolation: isolate;
}
.hero-art .flow {
  position: absolute;
  inset: clamp(18px, 3vw, 34px);
  width: calc(100% - 2 * clamp(18px, 3vw, 34px));
  height: calc(100% - 2 * clamp(18px, 3vw, 34px));
  opacity: 0.9;
}
.hero-art__cap {
  position: absolute; left: 22px; bottom: 20px; z-index: 2;
  color: var(--paper-on-dark); max-width: 76%;
}
.hero-art__cap .it { font-family: var(--serif); font-style: italic; font-size: 19px; }
.hero-art__cap small { display: block; margin-top: 4px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted-on-dark); text-transform: uppercase; }
.home-page .hero {
  padding: clamp(38px, 5vw, 70px) 0 clamp(30px, 4.2vw, 56px);
}
.home-page .hero-art {
  aspect-ratio: 15 / 11;
}
.start-page .hero {
  padding: clamp(34px, 4.8vw, 64px) 0 clamp(34px, 4.8vw, 60px);
}
.start-page .hero-art {
  aspect-ratio: 16 / 12;
}

/* =========================================================
   区块
   ========================================================= */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section--compact { padding: clamp(36px, 4.8vw, 62px) 0; }
.section--about {
  border-top: 0 !important;
  padding-top: clamp(22px, 3.4vw, 42px);
}
.section + .section { border-top: 1px solid var(--line); }

/* 柔绿区块（首页第二屏，比深色区轻、浅底深字保证可读性） */
.section--soft { background: var(--flusso-green-soft); border: 0 !important; }
.section--soft + .section { border-top: 0; }
/* trust-grid 默认为深底设计；在柔绿浅底上改用深字深点保证可读 */
.section--soft .trust-item .dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(15, 74, 67, 0.10); }
.section--soft .trust-item .body { color: var(--ink-soft); }
.section--soft .trust-item .body strong { color: var(--ink); }

/* 内页第一屏：靠左、与页眉同一左边距（对齐资源指南页） */
.hero > .wrap.narrow { max-width: var(--max); }
.section-head { max-width: 64ch; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }
.section.narrow .wrap, .wrap.narrow { max-width: 800px; }

/* 深色权威区（深水青）— 给页面"分量"的对比锚 */
.section--dark { background: var(--teal-deep); color: var(--paper-on-dark); border: 0 !important; position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(80% 60% at 12% 0%, rgba(45,106,96,0.5), transparent 60%);
}
.section--dark > .wrap { position: relative; z-index: 1; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark strong { color: var(--paper-on-dark); }
.section--dark .section-head p { color: var(--muted-on-dark); }
.section--dark a { color: var(--clay-2); }
.section--dark a.btn--on-dark { color: var(--teal-deep); }
.section--dark a.btn--on-dark.btn--ghost { color: var(--paper-on-dark); }
.section--dark a.btn--on-dark.btn--ghost:hover { color: #fff; }

/* 首屏「从哪里开始」改深绿背景时，路由卡 / 内容适配深底 */
.section--dark .route-card {
  background: rgba(247, 245, 239, 0.06);
  border-color: var(--line-on-dark);
  color: var(--paper-on-dark);
}
.section--dark .route-card:hover {
  border-color: rgba(247, 245, 239, 0.34);
  box-shadow: none;
}
.section--dark .route-card::before { background: var(--clay-2); }
.section--dark .route-num { color: rgba(247, 245, 239, 0.34); }
.section--dark .route-card p { color: var(--muted-on-dark); }
.section--dark .route-card .btn--ghost {
  background: transparent;
  color: var(--paper-on-dark);
  border-color: var(--line-on-dark);
}
.section--dark .route-card .btn--ghost:hover {
  background: rgba(247, 245, 239, 0.08);
  color: #fff;
  border-color: var(--paper-on-dark);
}

/* =========================================================
   网格 + 卡片（分轻重）
   ========================================================= */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 26px 24px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.panel:hover { border-color: var(--line-2); box-shadow: var(--sh-md); transform: translateY(-2px); }
.panel p:last-child { margin-bottom: 0; }
.panel .idx { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--clay); display: block; margin-bottom: 10px; }
.panel--soft { background: var(--paper-2); border-color: transparent; }
.panel--soft:hover { box-shadow: none; transform: none; border-color: var(--line-2); }
.panel--plain { background: transparent; border-color: var(--line); }
.route-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  border-color: rgba(15, 74, 67, 0.28);
}
.route-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}
.route-card--tools::before,
.route-card--consulting::before,
.route-card--resources::before { background: var(--teal); }
.route-card:hover {
  border-color: rgba(15, 74, 67, 0.52);
  box-shadow: 0 18px 38px -24px rgba(10, 51, 46, 0.34);
}
.route-num {
  display: block;
  margin: 8px 0 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 0.9;
  color: rgba(15, 74, 67, 0.24);
}
.route-card .btn {
  align-self: flex-start;
  margin-top: auto;
}
.route-card--consulting .route-num,
.route-card--resources .route-num { color: rgba(15, 74, 67, 0.24); }

/* 深底上的卡片 */
.section--dark .panel { background: rgba(238,241,233,0.05); border-color: var(--line-on-dark); color: var(--paper-on-dark); }
.section--dark .panel:hover { border-color: rgba(238,241,233,0.34); box-shadow: none; transform: translateY(-2px); }
.section--dark .panel p { color: var(--muted-on-dark); }

/* =========================================================
   信任区 — 用于深色权威区
   ========================================================= */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 36px; }
.trust-item { display: flex; gap: 13px; }
.trust-item .dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 9px; border-radius: 50%; background: var(--clay-2); box-shadow: 0 0 0 4px rgba(15,74,67,0.16); }
.trust-item .body { color: var(--muted-on-dark); font-size: 15px; line-height: 1.68; }
.trust-item .body strong { display: block; color: var(--paper-on-dark); font-weight: 600; margin-bottom: 3px; letter-spacing: 0.01em; }
.trust-foot {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-on-dark);
  color: var(--muted-on-dark); font-size: 13.5px; line-height: 1.7; max-width: 78ch;
}

/* =========================================================
   设置 / 价格 meta 列表
   ========================================================= */
.meta-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.meta-item {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--teal); border-radius: var(--r-sm); padding: 17px 19px;
}
.meta-item strong {
  display: block; font-family: var(--sans); color: var(--teal); font-size: 11.5px;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
}
.meta-item .v { color: var(--ink); font-size: 16px; }
.meta-item .v a { font-weight: 600; }

/* =========================================================
   分层定价（锚高：标准档为深色 feature 卡）
   ========================================================= */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.price-card:hover { border-color: var(--line-2); box-shadow: var(--sh-md); transform: translateY(-2px); }
.price-card--feature {
  background: linear-gradient(165deg, var(--teal), var(--teal-deep));
  border-color: transparent; color: var(--paper-on-dark); box-shadow: var(--sh-md);
}
.price-card--feature:hover { box-shadow: var(--sh-lg); }
.price-card--intro { border-style: dashed; background: transparent; }
.pc-label { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.price-card--feature .pc-label { color: #f1c9af; }
.pc-amt { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 44px; line-height: 1; margin: 14px 0 5px; color: var(--ink); }
.price-card--feature .pc-amt { color: var(--paper-on-dark); }
.pc-amt .cur { font-size: 22px; vertical-align: super; margin-right: 1px; }
.pc-unit { font-size: 13px; color: var(--muted); }
.price-card--feature .pc-unit { color: var(--muted-on-dark); }
.pc-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.price-card--feature .pc-note { color: var(--muted-on-dark); }

/* 操作性设置行 */
.spec-row { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 36px; }
.spec-row li { font-size: 14.5px; color: var(--ink-soft); }
.spec-row li span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 3px; }

/* =========================================================
   透明度模块（资质 / 受训）— 护城河，结构化呈现
   ========================================================= */
.transparency {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(26px, 4vw, 40px); position: relative;
}
.transparency .status {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: var(--teal-soft); color: var(--teal-strong);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.transparency .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.tp-rows { display: grid; gap: 0; margin-top: 6px; }
.tp-row { display: grid; grid-template-columns: 168px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.tp-row:first-child { border-top: 0; }
.tp-row dt { margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); padding-top: 2px; }
.tp-row dd { margin: 0; color: var(--ink-soft); }
.tp-row dd p:last-child { margin-bottom: 0; }

/* =========================================================
   Q&A
   ========================================================= */
.qa-item { padding: 22px 0; border-top: 1px solid var(--line); }
.qa-item:first-of-type { border-top: 0; padding-top: 4px; }
.qa-item h3 { margin: 0 0 8px; display: flex; gap: 10px; }
.qa-item h3 .q { color: var(--clay); font-family: var(--serif); font-style: italic; flex: 0 0 auto; }
.qa-item p { color: var(--ink-soft); margin-bottom: 0; }

/* =========================================================
   提示 / callout
   ========================================================= */
.note {
  border-left: 3px solid var(--clay); background: var(--clay-soft);
  padding: 16px 20px; margin: 22px 0; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-soft); font-size: 15px;
}
.note p:last-child { margin-bottom: 0; }
.note--teal { border-left-color: var(--teal); background: var(--teal-soft); }

/* 法律说明等页面：次要/补充行（安静、无边框） */
.note-line { color: var(--muted); font-size: 14px; }
.legal-updated { margin-top: 30px; color: var(--muted); font-size: 13px; }

/* 联系前辅助资源 */
.section--resource {
  padding: clamp(28px, 4vw, 46px) 0;
}
.resource-strip {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(22px, 4vw, 54px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r);
  background: rgba(252, 251, 247, 0.64);
  padding: clamp(24px, 3.2vw, 38px);
}
.resource-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.3vw, 26px);
}
.resource-strip p {
  max-width: 78ch;
  margin-bottom: 8px;
}
.resource-strip .eyebrow {
  margin-bottom: 8px;
  color: var(--teal);
}
.resource-strip__note {
  color: var(--muted);
  font-size: 14px;
}
.resource-strip .btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 20px;
}

/* 心理求助资源页 */
.resources-hero {
  padding: clamp(26px, 3vw, 40px) 0 clamp(24px, 3.2vw, 42px);
}
.resources-hero h1 {
  max-width: 760px;
  font-size: clamp(31px, 4.2vw, 49px);
  line-height: 1.18;
}
.resources-hero .descriptor {
  margin-bottom: 12px;
}
.resources-hero .lead {
  max-width: 64ch;
  margin-top: 16px;
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.65;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13.5px;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--teal);
}
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}
.anchor-nav a:hover {
  border-color: var(--teal);
  text-decoration: none;
}
.resource-sections {
  display: grid;
  gap: clamp(44px, 5vw, 68px);
  margin-top: clamp(42px, 5vw, 62px);
}
.resource-section {
  min-width: 0;
}
.resource-section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.4fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(30, 55, 48, 0.16);
}
.resource-section-head h2 {
  margin: 0;
  color: var(--teal-deep);
  font-family: var(--cn-serif);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.resource-section-head p {
  margin: 0;
  color: rgba(38, 48, 44, 0.62);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  text-align: right;
}
.resource-entry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.resource-entry-card {
  display: block;
  min-width: 0;
  min-height: 164px;
  padding: 26px 28px;
  border: 1px solid rgba(60, 55, 45, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.resource-entry-card:hover {
  border-color: rgba(18, 82, 69, 0.36);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  text-decoration: none;
  transform: translateY(-2px);
}
.resource-entry-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}
.resource-entry-card .card-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.resource-entry-card p {
  margin: 0;
  color: rgba(38, 48, 44, 0.74);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
.resources-page .resource-sections {
  display: grid;
  gap: clamp(44px, 5vw, 68px);
  margin-top: clamp(42px, 5vw, 62px);
}
.resources-page .resource-section {
  min-width: 0;
  margin-top: 0;
}
.resources-page .resource-section + .resource-section {
  margin-top: 0;
}
.resources-page .resource-section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.4fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(30, 55, 48, 0.16);
}
.resources-page .resource-entry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.resources-page .resource-entry-card {
  display: block;
  min-width: 0;
  min-height: 164px;
  padding: 26px 28px;
  border: 1px solid rgba(60, 55, 45, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink-soft);
  text-decoration: none;
}
.resources-page .resource-entry-card h3 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 500;
}
.resources-page .resource-entry-card .card-kicker {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--teal-deep);
}
.resources-page .resource-entry-card p {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
.resource-safety-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(176, 138, 69, 0.26);
  border-left: 3px solid var(--flusso-signal);
  border-radius: var(--r-sm);
  background: rgba(244, 235, 216, 0.42);
}
.resource-safety-strip span {
  flex: 0 0 auto;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.resource-safety-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}
.resource-alert {
  max-width: 860px;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.resource-alert strong {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-deep);
}
.resource-alert p {
  margin-bottom: 0;
}
.resource-alert--urgent {
  border-left-color: var(--flusso-signal);
}
.resource-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.resource-category-grid--cities {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resource-category {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink-soft);
}
.resource-category:hover {
  border-color: rgba(15, 74, 67, 0.36);
  color: var(--ink-soft);
  text-decoration: none;
  transform: translateY(-1px);
}
.resource-category span {
  color: var(--teal);
  font-weight: 800;
}
.resource-category strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}
.resource-category small,
.resource-category em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}
.resource-category--planned {
  background: var(--paper-2);
  color: var(--muted);
}
.resource-category--planned .resource-tag {
  background: var(--surface);
  color: var(--muted);
}
.resource-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.resource-secondary-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}
.resource-secondary-links a:hover {
  border-color: var(--teal);
  text-decoration: none;
}
.resource-path-grid,
.resource-card-grid,
.template-grid {
  display: grid;
  gap: 16px;
}
.resource-path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resource-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.resource-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.resource-toolbar label {
  display: grid;
  gap: 6px;
  min-width: min(100%, 240px);
}
.resource-toolbar label:first-child {
  flex: 1 1 320px;
}
.resource-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.resource-toolbar input,
.resource-toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 8px 12px;
}
.resource-toolbar input:focus,
.resource-toolbar select:focus {
  border-color: var(--teal);
  box-shadow: var(--focus);
}
.resource-count {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.path-card,
.resource-card,
.template-card,
.resource-disclaimer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.path-card {
  display: flex;
  flex-direction: column;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 3px solid rgba(15, 74, 67, 0.28);
  transition: border-color var(--t-fast), box-shadow var(--t), transform var(--t-fast);
}
.path-card:hover {
  color: var(--ink-soft);
  border-color: rgba(15, 74, 67, 0.36);
  box-shadow: var(--sh-md);
  text-decoration: none;
  transform: translateY(-1px);
}
.path-card--urgent {
  border-left-color: var(--flusso-signal);
}
.path-card__label,
.resource-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(15, 74, 67, 0.16);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.path-card--urgent .path-card__label {
  border-color: rgba(176, 138, 69, 0.26);
  background: var(--flusso-signal-soft);
  color: var(--flusso-signal);
}
.path-card h3,
.resource-card h3 {
  margin-top: 14px;
}
.path-card p {
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.path-card__cta {
  display: inline-flex;
  margin-top: auto;
  padding-top: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}
.path-card:hover .path-card__cta {
  color: var(--teal-strong);
}
.path-card p:last-child,
.resource-card p:last-child,
.template-card p:last-child,
.resource-disclaimer p:last-child {
  margin-bottom: 0;
}
.resource-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.resource-date {
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
}
.resource-field {
  margin: 12px 0 0;
}
.resource-field span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.resource-field strong {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-weight: 500;
}
.resource-note {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.resource-source {
  margin-top: 18px;
  min-height: 42px;
  padding: 9px 17px;
  font-size: 14px;
}
.resource-source--pending {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  border: 1px dashed var(--line-2);
  border-radius: 999px;
}
.resource-page-note {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper-2);
}
.resource-page-note p {
  margin-bottom: 0;
  color: var(--ink-soft);
}
.template-scenario {
  color: var(--ink-soft);
}
.template-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.template-card__head h3 {
  margin-bottom: 0;
}
.copy-template {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.copy-template:hover {
  border-color: var(--teal);
  background: var(--surface);
}
.template-card pre {
  overflow-x: auto;
  white-space: pre-wrap;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.75;
}
.vocab-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.vocab-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) 1fr;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.vocab-list dt {
  color: var(--teal);
  font-weight: 700;
}
.vocab-list dd {
  margin: 0;
  color: var(--ink-soft);
}
.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.glossary-row {
  display: grid;
  grid-template-columns: minmax(132px, 0.56fr) 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(15, 74, 67, 0.18);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.glossary-row--urgent {
  border-left-color: var(--flusso-signal);
}
.glossary-row dt {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.glossary-row dd {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--ink-soft);
}
.glossary-row dd strong {
  color: var(--ink);
}
.glossary-row dd span,
.glossary-row dd small {
  color: var(--muted);
}
.glossary-row dd em {
  justify-self: start;
  margin-top: 4px;
  padding: 3px 9px;
  border: 1px solid rgba(176, 138, 69, 0.24);
  border-radius: 999px;
  background: var(--flusso-signal-soft);
  color: var(--flusso-signal);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.resource-disclaimer {
  border-left: 4px solid var(--teal);
}

/* =========================================================
   工具箱 / ToolShell 共享结构
   ========================================================= */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tool-grid--featured,
.start-grid {
  align-items: stretch;
}
.tool-grid--single {
  grid-template-columns: minmax(0, 520px);
}
.tool-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r);
  background: rgba(252, 251, 247, 0.66);
  padding: clamp(24px, 4vw, 42px) clamp(20px, 3.6vw, 42px);
}
.tool-entry h2 {
  max-width: 13em;
}
.tool-entry p {
  max-width: 58ch;
}
.tool-entry .actions {
  margin-top: 24px;
}
.tool-card--spotlight {
  background:
    linear-gradient(180deg, rgba(230, 238, 233, 0.48), rgba(252, 251, 247, 0.9)),
    var(--surface);
  border-left: 4px solid var(--teal);
}
.start-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink-soft);
  transition: border-color var(--t-fast), box-shadow var(--t), transform var(--t-fast);
}
.tool-card:hover {
  border-color: rgba(15, 74, 67, 0.34);
  box-shadow: var(--sh-md);
  transform: translateY(-1px);
}
.tool-card--disabled {
  background: var(--paper-2);
}
.tool-card--available {
  border-left: 4px solid var(--teal);
  background:
    linear-gradient(180deg, rgba(230, 238, 233, 0.42), rgba(252, 251, 247, 0.88)),
    var(--surface);
}
.tool-card--disabled:hover {
  box-shadow: none;
  transform: none;
}
.tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.tool-card__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper-on-dark);
  font-family: var(--serif);
  font-style: italic;
}
.tool-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(15, 74, 67, 0.16);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tool-status--soon {
  border-color: rgba(176, 138, 69, 0.24);
  background: var(--flusso-signal-soft);
  color: var(--flusso-signal);
}
.tool-card p {
  color: var(--ink-soft);
}
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 20px;
}
.tool-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.tool-card__cta {
  margin-top: auto;
}
.tool-shell {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--sh-md);
}
.tool-intro,
.tool-step-form,
.tool-result-card,
.tool-next-steps,
.tool-actions {
  margin-top: 22px;
}
.tool-privacy-notice {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 74, 67, 0.16);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-sm);
  background: var(--teal-soft);
  color: var(--ink-soft);
}
.tool-privacy-notice p:last-child {
  margin-bottom: 0;
}
.tool-next-steps {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   心理状态卡工具
   ========================================================= */
.state-card-hero {
  padding-top: clamp(20px, 2.6vw, 34px);
  padding-bottom: clamp(14px, 1.8vw, 24px);
}
.state-card-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.state-point {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.state-point span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper-on-dark);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
}
.state-point p {
  color: var(--muted);
}
.state-card-shell,
.state-result {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--sh-md);
}
.state-card-shell__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.state-card-shell__head p:last-child {
  margin-bottom: 0;
}
.state-card-privacy {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(15, 74, 67, 0.16);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.state-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.state-stepper li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.state-stepper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--teal);
  font-family: var(--serif);
  font-style: italic;
}
.state-stepper li.is-current {
  border-color: rgba(15, 74, 67, 0.36);
  background: var(--teal-soft);
  color: var(--teal);
}
.state-stepper li.is-complete span,
.state-stepper li.is-current span {
  background: var(--teal);
  color: var(--paper-on-dark);
}
.state-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.state-form legend {
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}
.state-question {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.state-question:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.state-question h3 {
  margin-bottom: 4px;
}
.state-question > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.choice-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choice-card {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-card span {
  display: block;
  line-height: 1.45;
  font-size: 14.5px;
  font-weight: 600;
}
.choice-card:hover,
.choice-card:focus-within {
  border-color: rgba(15, 74, 67, 0.32);
  background: var(--surface);
}
.choice-card.is-selected,
.choice-card:has(input:checked) {
  border-color: rgba(15, 74, 67, 0.52);
  background: var(--teal-soft);
  color: var(--teal);
}
.field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-weight: 700;
}
.field--hidden {
  display: none;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}
.field textarea {
  resize: vertical;
  min-height: 112px;
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(15, 74, 67, 0.44);
  box-shadow: var(--focus);
}
.range-field {
  display: grid;
  gap: 12px;
}
.range-field > span {
  color: var(--ink);
  font-weight: 700;
}
.range-field strong {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--paper-on-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
}
.range-field input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}
.range-field small {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12.5px;
}
.state-form-error {
  min-height: 28px;
  margin: 4px 0 0;
  color: #7a4d38;
  font-weight: 700;
}
.state-actions,
.state-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.state-result-section[hidden] {
  display: none;
}
.state-safety-notice,
.state-high-notice {
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(176, 138, 69, 0.28);
  border-left: 4px solid var(--flusso-signal);
  border-radius: var(--r-sm);
  background: var(--flusso-signal-soft);
  color: var(--ink-soft);
}
.state-safety-notice strong {
  display: block;
  margin-bottom: 6px;
}
.state-safety-notice p,
.state-high-notice p {
  margin-bottom: 0;
}
.state-card-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.state-result-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
}
.state-result-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.state-result-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}
.state-copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 700;
}
.state-helper-links {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.state-helper-links a {
  color: var(--muted);
  font-size: 14px;
}

/* 列表 */
.list { margin: 0; padding-left: 20px; }
.list li { margin: 9px 0; padding-left: 4px; }
.list li::marker { color: var(--clay); }

/* =========================================================
   最终 CTA
   ========================================================= */
.final {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(30px, 5vw, 52px); position: relative; overflow: hidden;
}
.final .accent-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--teal), var(--teal-mid)); }
.final h2 { margin-top: 0; }
.final p { max-width: 62ch; color: var(--ink-soft); }

/* =========================================================
   流线 / 桥水 motif 分隔
   ========================================================= */
.flow-divider { display: block; width: 100%; height: 26px; color: var(--line-2); margin: 0; }
.flow-divider svg { width: 100%; height: 100%; }

/* =========================================================
   媒体占位
   ========================================================= */
.media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.media--portrait { aspect-ratio: 3 / 4; }
.media--landscape { aspect-ratio: 16 / 10; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.home-about {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  max-width: 980px;
}
.about-identity {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}
.about-copy { max-width: 680px; }
.about-portrait {
  display: grid;
  min-height: 220px;
  place-items: center;
  background:
    radial-gradient(90% 70% at 65% 12%, rgba(15, 74, 67, 0.1), transparent 60%),
    var(--surface);
}
.about-portrait span {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  text-align: center;
}
.boundary-panel {
  max-width: 820px;
  padding: clamp(22px, 3vw, 32px);
  border-left: 4px solid var(--teal);
}
.boundary-panel h3 {
  margin-bottom: 8px;
}

/* =========================================================
   页脚 — 深水青锚（与中部深色区呼应，框住暖色正文）
   ========================================================= */
.site-footer {
  height: auto;
  min-height: auto;
  margin-top: clamp(56px, 7vw, 96px);
  background: var(--teal-deep);
  color: var(--muted-on-dark);
  position: relative;
  overflow: hidden;
}
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none; background: radial-gradient(70% 60% at 88% 110%, rgba(45,106,96,0.6), transparent 60%); }
.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 28px 50px;
  padding: clamp(32px, 4.6vw, 50px) 0 calc(clamp(32px, 4.6vw, 50px) - 9px);
}
.footer-brand { flex: 0 1 420px; }
.footer-inner > .footer-nav { flex: 0 0 auto; margin-top: 12px; }
.footer-nav[aria-label="服务说明"] { margin-left: auto; }
/* 页脚栏序：相关信息居中、联系最右 */
.footer-nav[aria-label="了解 Flusso"] { order: 1; }
.footer-nav[aria-label="联系"] { order: 2; }
.footer-brand .lat { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--paper-on-dark); font-size: 30px; line-height: 1.6; }
.footer-brand .cn { font-family: var(--cn-serif); color: var(--paper-on-dark); font-size: 17px; letter-spacing: 0.1em; margin-top: 3px; display: block; }
.footer-brand p { margin: 12px 0 0; max-width: 46ch; line-height: 1.7; font-size: 14.5px; color: var(--muted-on-dark); }
.footer-meta { margin-top: 18px; font-size: 13px; color: var(--muted-on-dark); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-meta a { color: var(--paper-on-dark); }
/* align-items:flex-start 让每个链接收缩到文字宽度（点击区不再拉满整栏）；
   gap 减小 + 链接上下 padding 抵消，整体视觉间距保持不变。 */
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-nav .h { font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: none; color: rgba(245, 250, 247, 0.82); margin-bottom: 8px; }
.footer-nav a { display: inline-flex; width: fit-content; max-width: max-content; padding: 2px 0; font-family: var(--sans); color: rgba(220, 232, 226, 0.82); font-size: 13px; font-weight: 400; line-height: 1.5; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-nav a[aria-current="page"] { color: #fff; }
.footer-nav span:not(.h) { color: var(--muted-on-dark); font-size: 14.5px; line-height: 1.5; }
/* 页脚链接栏：保持单行文字链接（hover 变亮） */
.footer-tools {
  gap: 2px;
}
.footer-base { position: relative; z-index: 1; border-top: 1px solid var(--line-on-dark); padding: 14px 0 20px; font-size: 12.5px; color: var(--muted-on-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* =========================================================
   滚动揭示（尊重 reduced-motion）
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 940px) {
  .brand-sep,
  .brand-aux { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .meta-list { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .tool-grid, .start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-category-grid--cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card-grid, .template-grid, .vocab-list, .glossary-list { grid-template-columns: 1fr; }
  .tool-entry { grid-template-columns: 1fr; }
  .state-card-points { grid-template-columns: 1fr; }
  .state-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state-card-output { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .resources-page .resource-entry-card-grid,
  .resource-entry-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resources-page .resource-section-head,
  .resource-section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .resources-page .resource-section-head p,
  .resource-section-head p {
    text-align: left;
  }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { aspect-ratio: 16 / 11; order: -1; }
  .media-split { grid-template-columns: 1fr; }
  .home-page .hero-grid { gap: 26px; }
  .about-identity { grid-template-columns: 140px 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .mobile-menu-overlay { inset: var(--mobile-header-height) 0 0; }
  .header-inner { min-height: 62px; gap: 12px; }
  .nav-toggle {
    display: inline-flex;
    padding: 7px 11px;
    border-color: rgba(15, 74, 67, 0.18);
    background: rgba(252, 251, 247, 0.72);
    color: var(--flusso-green);
    font-size: 14px;
  }
  .brand { gap: 6px; }
  .brand .lat { font-size: 20px; }
  .brand .cn { font-size: 16px; transform: translateY(0); }
  .brand-sep, .brand-aux { display: none; }

  .site-nav {
    display: flex; position: fixed; top: var(--mobile-header-height); left: 0; right: 0; width: auto;
    z-index: 31;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--mobile-header-height) - 12px);
    overflow-y: auto;
    background: rgba(247, 245, 239, 0.98);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid rgba(15, 74, 67, 0.12);
    border-radius: 0 0 24px 24px;
    padding: 30px clamp(32px, 8vw, 48px) 34px;
    box-shadow: 0 18px 40px rgba(20, 30, 26, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(0.985);
    transform-origin: top center;
    transition:
      opacity 240ms ease,
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
    will-change: opacity, transform;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
      opacity 220ms ease,
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }
  .site-nav.is-closing {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transition:
      opacity 190ms ease,
      transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 200ms;
  }
  .site-nav a {
    width: 100%;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 220ms ease,
      transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
      color var(--t-fast),
      background var(--t-fast),
      border-color var(--t-fast);
  }
  .site-nav.is-open a { opacity: 1; transform: translateY(0); }
  .site-nav.is-open a:nth-child(1) { transition-delay: 30ms; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 55ms; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 80ms; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 105ms; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 130ms; }
  .site-nav.is-open a:nth-child(6) { transition-delay: 155ms; }
  .site-nav.is-closing a { opacity: 0; transform: translateY(-2px); transition-delay: 0ms; transition-duration: 150ms; }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { border: 1px solid var(--teal); text-align: center; margin-top: 10px; padding: 12px; }
  .site-nav .nav-cta:last-child { border-bottom: 1px solid var(--teal); }

  .grid.cols-2, .grid.cols-3, .meta-list, .trust-grid, .pricing, .footer-inner, .resource-category-grid, .resource-path-grid, .tool-grid, .start-grid { grid-template-columns: 1fr; }
  .tp-row { grid-template-columns: 1fr; gap: 5px; }
  .actions .btn { width: 100%; }
  .state-card-shell__head { flex-direction: column; gap: 14px; }
  .state-stepper { grid-template-columns: 1fr; }
  .state-stepper li { min-height: 42px; }
  .choice-grid, .choice-grid--compact { grid-template-columns: 1fr; }
  .state-actions .btn, .state-result-actions .btn { width: 100%; }
  .range-field small { flex-direction: column; gap: 2px; }
  .resource-strip { align-items: flex-start; flex-direction: column; gap: 18px; padding: 22px; }
  .resource-strip .btn { width: 100%; }
  .resources-hero { padding-top: 22px; }
  .resource-safety-strip { flex-direction: column; gap: 4px; padding: 12px; }
  .anchor-nav a { width: calc(50% - 5px); justify-content: center; }
  .resource-category { min-height: 0; }
  .resource-toolbar { align-items: stretch; padding: 14px; }
  .resource-toolbar label { min-width: 100%; }
  .path-card, .resource-card, .template-card, .resource-disclaimer { padding: 20px; }
  .resource-card__top, .template-card__head { align-items: flex-start; flex-direction: column; }
  .copy-template { width: 100%; justify-content: center; }
  .vocab-list div { grid-template-columns: 1fr; gap: 4px; }
  .glossary-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-inner { gap: 28px; flex-direction: column; }
  .site-footer {
    height: auto;
    min-height: auto;
    margin-top: 52px;
  }
  .footer-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 22px;
    padding: 34px 0 24px;
  }
  .footer-brand {
    flex-basis: auto;
    margin-bottom: 0;
  }
  .footer-brand .lat {
    font-size: 26px;
    line-height: 1.18;
  }
  .footer-brand .cn {
    font-size: 15px;
    margin-top: 2px;
  }
  .footer-brand p {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.58;
  }
  .footer-meta {
    margin-top: 12px;
    line-height: 1.45;
  }
  .footer-nav {
    gap: 3px;
  }
  .footer-nav .h {
    margin-bottom: 5px;
    font-size: 13.5px;
  }
  .footer-nav a {
    padding: 1px 0;
    font-size: 12.5px;
    line-height: 1.45;
  }
  .footer-nav span:not(.h) {
    font-size: 13.5px;
    line-height: 1.45;
  }
  .footer-base {
    padding: 12px 0 16px;
    font-size: 12px;
    line-height: 1.5;
  }
  .footer-nav[aria-label="服务说明"] { margin-left: 0; }
  .footer-inner > .footer-nav { margin-top: 0; }
  .home-page .hero { padding-top: 24px; }
  .home-page .hero-art {
    display: block;
    aspect-ratio: 3 / 4;
    max-height: 54vh;
    width: 100%;
  }
  .home-page .hero-marks,
  .start-page .hero-art {
    display: none;
  }
  .home-page .hero + .section {
    padding-top: 24px;
  }
  .start-page .hero + .section {
    padding-top: 28px;
  }
  .route-card { min-height: 0; }
  .route-num { font-size: 42px; }
  .tool-entry {
    padding: 22px;
    border-left-width: 3px;
  }
  .about-identity {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about-portrait {
    min-height: 180px;
    max-width: 180px;
  }
  .boundary-panel {
    padding: 22px;
  }
}
@media (max-width: 720px) {
  body.nav-open { overflow: hidden; }
}
@media (max-width: 680px) {
  .resource-sections {
    gap: 38px;
    margin-top: 34px;
  }
  .resources-page .resource-entry-card-grid,
  .resource-entry-card-grid { grid-template-columns: 1fr; }
  .resources-page .resource-entry-card,
  .resource-entry-card {
    min-height: auto;
    padding: 22px;
  }
  .resources-page .resource-section-head,
  .resource-section-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }
}

/* =========================================================
   动效偏好
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .site-nav,
  .site-nav a,
  .mobile-menu-overlay {
    transform: none !important;
  }
}

/* =========================================================
   打印
   ========================================================= */
@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link, .actions, .hero-art, .flow-divider { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; line-height: 1.6; }
  .section--dark { background: #fff !important; color: #000 !important; }
  .section--dark h2, .section--dark h3, .section--dark strong, .section--dark .trust-item .body { color: #000 !important; }
  .panel, .meta-item, .note, .transparency, .final, .resource-strip { box-shadow: none; border-color: #999; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .section + .section { border-color: #ccc; }
}

/* 页脚联系方式：固定尺寸复制按钮，避免跨平台布局跳动 */
.footer-nav .footer-contact.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
}
.footer-nav .footer-contact > a {
  min-width: 0;
  padding: 2px 0;
  overflow-wrap: anywhere;
  font-family: var(--sans);
  font-size: inherit;
  line-height: inherit;
}
.footer-nav .copy-btn {
  all: unset;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  overflow: visible;
  border-radius: 5px;
  color: rgba(220, 238, 230, 0.62);
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  vertical-align: middle;
}
.footer-nav .copy-btn:hover {
  background: transparent;
  color: rgba(245, 250, 247, 0.92);
}
.footer-nav .copy-btn:focus-visible {
  box-shadow: var(--focus);
}
.footer-nav .copy-btn::before {
  content: "";
  position: absolute;
  inset: -5px;
}
.footer-nav .copy-btn .copy-i,
.footer-nav .copy-btn .check-i {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease, transform 180ms ease, color 180ms ease;
}
.footer-nav .copy-btn .copy-i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.footer-nav .copy-btn .check-i {
  color: rgba(154, 214, 173, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.65);
}
.footer-nav .copy-btn.is-copied .copy-i {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
}
.footer-nav .copy-btn.is-copied .check-i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: copyPop 280ms ease;
}
@keyframes copyPop {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  60% {
    transform: translate(-50%, -50%) scale(1.16);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 760px) {
  .footer-nav .footer-contact.footer-contact-item {
    flex-wrap: wrap;
    row-gap: 6px;
    font-size: 12.5px;
    line-height: 1.6;
  }
}
