/* 如来佛如是说 · 视觉基调
   宣纸、月光、静水。让页面先慢下来，再开口说话。 */

:root {
  --paper: #f7f4ec;
  --paper-2: #fcfaf5;
  --ink: #2b2924;
  --ink-soft: #4c4840;
  --muted: #777166;
  --soft: #9a9486;
  --line: #e3dbca;
  --line-soft: #eee8da;
  --gold: #b08d4f;
  --gold-soft: #cdb58e;
  --calm: #819d94;
  --calm-soft: #afc3ba;
  --seal: #a6483e;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", STSong, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--paper);
  background-image:
    radial-gradient(980px 620px at 50% -14%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 64%),
    radial-gradient(720px 560px at 6% 24%, rgba(129, 157, 148, .11) 0%, rgba(129, 157, 148, 0) 70%),
    radial-gradient(760px 600px at 98% 76%, rgba(176, 141, 79, .10) 0%, rgba(176, 141, 79, 0) 72%),
    linear-gradient(180deg, #faf8f2 0%, #f6f2e8 58%, #f3efe4 100%);
  background-attachment: fixed;
}

/* 纸的纤维：极淡，只在近处看得见 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 一轮缓慢的环境光，像窗前的日光 */
body::after {
  content: "";
  position: fixed;
  left: 50%;
  top: -34vmax;
  width: 78vmax;
  height: 78vmax;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, 0) 66%);
  animation: ambient 16s ease-in-out infinite alternate;
}
@keyframes ambient {
  from { opacity: .55; transform: translateX(-50%) scale(.94); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.06); }
}

.site-head, #main, .site-foot { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

::selection { background: rgba(176, 141, 79, .22); color: var(--ink); }

.wrap { width: min(100% - 40px, 720px); margin: 0 auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 80;
  background: var(--ink); color: #fbf8f0; padding: 8px 14px; border-radius: 3px;
}
.skip-link:focus { left: 12px; }

/* ---------- 头部 ---------- */
.site-head { padding: 30px 0 18px; }
.head-inner { display: flex; align-items: baseline; justify-content: space-between; }
.brand {
  display: inline-flex; align-items: center; gap: 13px;
  font-family: var(--serif); font-size: 21px; font-weight: 500;
  letter-spacing: .3em; color: var(--ink);
  position: relative;
}
/* 一枚小印，算是落款 */
.brand::before {
  content: "如"; flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-soft); border-radius: 2px;
  font-family: var(--serif); font-size: 12px; font-weight: 400; letter-spacing: 0;
  color: var(--gold);
  background: rgba(176, 141, 79, .06);
  box-shadow: 0 1px 4px rgba(176, 141, 79, .08);
}
.brand::after {
  content: ""; position: absolute; left: 37px; right: .3em; bottom: -5px; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(176, 141, 79, 0));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.brand:hover::after { transform: scaleX(1); }
.site-nav { font-size: 13px; letter-spacing: .06em; }
.site-nav a { color: var(--soft); }
.site-nav a:hover { color: var(--ink); }

/* ---------- 首页 ---------- */
#main > section:not([hidden]) { animation: view-in .36s ease both; }
@keyframes view-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.hero { position: relative; padding: 58px 0 8px; }
.hero > :not(.enso) { position: relative; z-index: 1; }

.enso {
  position: absolute; top: -18px; right: -58px; z-index: 0;
  width: 264px; height: 264px; pointer-events: none;
}
/* 外圈：若隐若现的细环，缓缓逆行 */
.enso::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px dashed rgba(176, 141, 79, .22);
  animation: enso-drift 46s linear infinite;
}
/* 圆心的一团柔光 */
.enso::after {
  content: ""; position: absolute; inset: 26px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .72) 0%, rgba(205, 181, 142, .07) 58%, rgba(205, 181, 142, 0) 72%);
  animation: enso-glow 9s ease-in-out infinite alternate;
}
.enso circle {
  position: relative; z-index: 1;
  fill: none; stroke: #c4ab7d; stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 540 88; transform: rotate(-38deg); transform-origin: 130px 130px;
  filter: drop-shadow(0 2px 10px rgba(176, 141, 79, .16));
  animation: enso-in 2.2s cubic-bezier(.2, .7, .2, 1) both, enso-breathe 11s ease-in-out 2.2s infinite alternate;
}
@keyframes enso-in {
  from { opacity: 0; stroke-dashoffset: 140; }
  to   { opacity: .88; stroke-dashoffset: 0; }
}
@keyframes enso-breathe {
  from { opacity: .72; }
  to   { opacity: 1; }
}
@keyframes enso-drift { to { transform: rotate(360deg); } }
@keyframes enso-glow {
  from { transform: scale(.94); opacity: .6; }
  to   { transform: scale(1.04); opacity: 1; }
}

.eyebrow {
  display: flex; align-items: center; gap: 11px;
  font-size: 11px; letter-spacing: .34em; color: var(--gold);
  margin: 0 0 20px; text-transform: uppercase;
}
/* 香头：一点极缓的明灭 */
.eyebrow::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 141, 79, .08);
  animation: ember 7s ease-in-out infinite alternate;
}
@keyframes ember { from { opacity: .55; } to { opacity: 1; } }
.eyebrow.center { justify-content: center; margin: 44px 0 6px; }

h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(31px, 5.6vw, 46px);
  line-height: 1.55; letter-spacing: .015em;
  margin: 0 0 22px;
  color: #26241f;
}

.lead { color: var(--muted); font-size: 15px; line-height: 2.05; margin: 0; max-width: 36em; }

.cta-row { display: flex; align-items: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; }
.meta { font-size: 12px; color: var(--soft); letter-spacing: .08em; }
.home-alt { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.home-alt span { font-size: 11px; color: var(--soft); letter-spacing: .04em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  font-family: var(--sans); font-size: 15px; letter-spacing: .07em;
  color: var(--ink); background: rgba(255, 255, 255, .34);
  border: 1px solid var(--line); border-radius: 3px;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
  -webkit-appearance: none;
}
.btn:hover {
  border-color: var(--gold-soft); color: var(--ink);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 6px 18px rgba(43, 41, 36, .06);
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--ink); border-color: var(--ink); color: #fbf8f0;
  box-shadow: 0 3px 10px rgba(43, 41, 36, .14), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn.primary:hover {
  background: #3a3730; border-color: #3a3730; color: #fff;
  box-shadow: 0 10px 24px rgba(43, 41, 36, .2);
}
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); box-shadow: none; }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(43, 41, 36, .1); }
.btn:focus-visible, .chip:focus-visible, .link-btn:focus-visible, a:focus-visible,
input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

.link-btn {
  border: 0; background: none; padding: 2px 0;
  font-family: var(--sans); font-size: 13px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--line);
  cursor: pointer; transition: color .2s ease, text-decoration-color .2s ease;
}
.link-btn:hover { color: var(--ink); text-decoration-color: var(--gold); }

.resume {
  margin-top: 34px; padding: 22px 26px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .52);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(43, 41, 36, .04), inset 3px 0 0 var(--gold-soft);
}
.resume-kicker { font-size: 11px; letter-spacing: .24em; color: var(--gold); margin: 0; }
.resume-text {
  font-family: var(--serif); font-size: 17px; line-height: 1.9;
  margin: 8px 0 16px; word-break: break-word;
}
.resume-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.preview { list-style: none; margin: 66px 0 0; padding: 0; border-top: 1px solid var(--line); }
.preview li {
  position: relative;
  display: grid; grid-template-columns: 42px 60px 1fr; align-items: baseline;
  padding: 16px 0 16px 20px; border-bottom: 1px solid var(--line-soft); font-size: 14px;
  transition: background .25s ease;
}
/* 一串念珠：每问前一枚小圆点 */
.preview li::before {
  content: ""; position: absolute; left: 3px; top: 50%;
  width: 5px; height: 5px; margin-top: -2.5px;
  border: 1px solid var(--gold-soft); border-radius: 50%;
  transition: background .25s ease, border-color .25s ease;
}
.preview li:hover { background: rgba(255, 255, 255, .28); }
.preview li:hover::before { background: var(--gold); border-color: var(--gold); }
.preview .num { font-size: 11px; letter-spacing: .1em; color: var(--gold); }
.preview b { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.preview em { font-style: normal; color: var(--muted); }

/* 一缕香：两侧渐隐的细线 */
.promise {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--soft); font-size: 11px; letter-spacing: .34em;
  margin: 48px 0 0;
}
.promise::before, .promise::after {
  content: ""; width: 52px; height: 1px; flex: none;
}
.promise::before { background: linear-gradient(90deg, transparent, var(--line)); }
.promise::after { background: linear-gradient(90deg, var(--line), transparent); }

/* 页脚：半开的圆相，与首页那一笔呼应 */
.foot-enso {
  width: 42px; height: 42px; margin: 0 auto 22px;
  border: 1px solid var(--gold-soft); border-radius: 50%;
  border-top-color: transparent;
  border-right-color: rgba(176, 141, 79, .18);
  transform: rotate(-38deg);
  opacity: .62;
}

/* ---------- 四问流程 ---------- */
.flow-top { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 16px; }
.flow-right { display: flex; align-items: center; gap: 16px; }
.flow-count { margin: 0; font-family: var(--serif); font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.flow-count .slash { margin: 0 4px; color: var(--line); }
.progress { display: flex; gap: 8px; margin-bottom: 42px; }
.progress i {
  flex: 1; height: 3px; border-radius: 3px;
  background: var(--line); transition: background .4s ease, box-shadow .4s ease;
}
.progress i.on { background: linear-gradient(90deg, var(--calm), var(--gold)); box-shadow: 0 0 10px rgba(176, 141, 79, .22); }

.step { padding-bottom: 30px; }
.step:not([hidden]) { animation: step-in .32s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .26em; color: var(--gold); margin: 0 0 14px;
}
.kicker::before {
  content: ""; flex: none;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-soft);
}
.ask {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(27px, 4.8vw, 38px); line-height: 1.52;
  margin: 0 0 14px; letter-spacing: .01em;
}
.ask:focus { outline: none; }
.step > .lead { margin: 0 0 26px; }

.why {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 12px 0; margin-bottom: 26px;
}
.why summary {
  cursor: pointer; font-size: 13px; color: var(--muted);
  list-style: none; display: flex; align-items: center; gap: 10px;
}
.why summary::-webkit-details-marker { display: none; }
.why summary::before {
  content: "?"; flex: none;
  width: 18px; height: 18px; border: 1px solid var(--gold-soft); border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; color: var(--gold);
}
.why p { font-size: 13px; color: var(--muted); line-height: 2; margin: 13px 0 3px; }

textarea, input[type="text"] {
  width: 100%; display: block;
  font-family: var(--sans); font-size: 16px; line-height: 1.9; color: var(--ink);
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 15px 17px; resize: vertical;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  -webkit-appearance: none;
}
textarea:focus, input[type="text"]:focus {
  outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .86);
  box-shadow: 0 0 0 4px rgba(176, 141, 79, .1), 0 6px 18px rgba(43, 41, 36, .04);
}
::placeholder { color: #b4ad9c; opacity: 1; }

.under {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 11px; color: var(--soft); margin-top: 9px; letter-spacing: .04em;
}
.local::before { content: "· "; color: var(--calm); }

.zen {
  font-family: var(--serif); font-size: 14px; color: #7b7768; line-height: 2;
  margin: 30px 0 0; padding: 2px 0 2px 16px;
  border-left: 2px solid var(--gold-soft);
}
.zen:empty { display: none; }

.hint-inline { font-size: 13px; color: #9a6a2f; line-height: 1.9; margin: 16px 0 0; }

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

.copy-helper {
  position: fixed; top: 0; left: 0;
  width: 1px; height: 1px; padding: 0; border: 0;
  opacity: 0; font-size: 12px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 4px; }
.panel {
  border: 1px solid var(--line); background: rgba(255, 255, 255, .36);
  padding: 20px; border-radius: 4px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.panel:focus-within { border-color: var(--gold-soft); box-shadow: 0 8px 24px rgba(43, 41, 36, .05); }
.panel h3 { font-family: var(--serif); font-weight: 500; font-size: 17px; margin: 0 0 5px; }
.panel-sub { font-size: 11px; color: var(--soft); margin: 0 0 16px; letter-spacing: .04em; }
.panel input { margin-top: 12px; font-size: 16px; padding: 11px 13px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips-wide { margin-bottom: 18px; }
.chip {
  font-family: var(--sans); font-size: 13px; line-height: 1.5; text-align: left;
  color: #5f5b50; background: rgba(255, 255, 255, .42);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
  -webkit-appearance: none;
}
.chip:hover {
  border-color: var(--gold-soft); color: var(--ink); background: #fff;
  box-shadow: 0 3px 10px rgba(43, 41, 36, .05); transform: translateY(-1px);
}
.chip[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: #fbf8f0;
  box-shadow: 0 4px 12px rgba(43, 41, 36, .16);
}

.breath-cta {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 24px; padding: 10px 16px;
  font-family: var(--sans); font-size: 13px; color: var(--muted);
  background: rgba(255, 255, 255, .5); border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.breath-cta span { color: var(--gold); }
.breath-cta:hover { border-color: var(--gold-soft); color: var(--ink); background: #fff; }
.fill-label { font-size: 12px; color: var(--soft); margin: 0 0 10px; }

/* ---------- 情绪温度计 ---------- */
.thermo { padding-top: 10px; }
.thermo .lead { margin-bottom: 0; }
.thermo-num {
  font-family: var(--serif); font-size: 76px; line-height: 1;
  display: flex; align-items: baseline; gap: 10px;
  margin: 42px 0 26px; color: var(--ink);
}
.thermo-num small {
  font-family: var(--sans); font-size: 12px; color: var(--soft); letter-spacing: .14em;
}

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 30px;
  margin: 0; padding: 0; border: 0; background: transparent;
  --p: 44%;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background:
    linear-gradient(90deg, var(--calm) 0%, var(--gold) 100%) left center / var(--p) 100% no-repeat,
    var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; margin-top: -10px;
  border-radius: 50%; background: #fdfbf5;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(176, 141, 79, .1), 0 2px 8px rgba(43, 41, 36, .14);
  transition: box-shadow .2s ease, transform .2s ease;
}
input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.1); box-shadow: 0 0 0 9px rgba(176, 141, 79, .13), 0 2px 8px rgba(43, 41, 36, .16);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--calm), var(--gold));
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fdfbf5; border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(176, 141, 79, .1);
}
.thermo-scale {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--soft); letter-spacing: .12em; margin-top: 6px;
}
.warn {
  margin-top: 26px; padding: 15px 18px;
  border: 1px solid #e4cdaa; border-left: 3px solid var(--gold);
  background: rgba(250, 243, 230, .85);
  font-size: 13px; line-height: 1.95; color: #7a5a2f; border-radius: 3px;
}
.warn p { margin: 0; }
.warn a { text-decoration: underline; text-underline-offset: 3px; }
.thermo-note { font-size: 11px; color: var(--soft); margin: 22px 0 0; line-height: 1.8; }

/* ---------- 结果卡 ---------- */
.card-title {
  font-family: var(--serif); font-weight: 500; text-align: center;
  font-size: 30px; letter-spacing: .08em; margin: 6px 0 24px;
}
.card-settings {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin: 0 0 18px;
}
.seg {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; background: rgba(255, 255, 255, .5); padding: 3px;
}
.seg-btn {
  border: 0; background: transparent; padding: 7px 18px; border-radius: 999px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em;
  color: var(--muted); cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.seg-btn + .seg-btn { margin-left: 2px; }
.seg-btn[aria-pressed="true"] {
  background: var(--ink); color: #fbf8f0; box-shadow: 0 2px 8px rgba(43, 41, 36, .16);
}
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--gold); }

.path-card {
  --card-bg: #fcfaf4;
  --card-ink: #2b2924;
  --card-muted: #777166;
  --card-label: #a09883;
  --card-line: #e8dfce;
  --card-gold: var(--gold);
  --card-seal: var(--seal);
  position: relative;
  background: var(--card-bg);
  background-image: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 60%);
  border: 1px solid #e4dac6;
  padding: 38px 34px 28px;
  color: var(--card-ink);
  border-radius: 3px;
  box-shadow: 0 22px 60px rgba(43, 41, 36, .09), 0 2px 8px rgba(43, 41, 36, .04);
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.path-card::before {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 1px solid rgba(176, 141, 79, .13); border-radius: 2px;
}
.path-card.night {
  --card-bg: #202320;
  --card-ink: #f2ece0;
  --card-muted: #b6ad9b;
  --card-label: #8e8877;
  --card-line: #3c403a;
  --card-gold: #c9a45c;
  --card-seal: #c46b5d;
  background-image: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 60%);
  border-color: #3c403a;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .34), 0 2px 8px rgba(0, 0, 0, .2);
}
.path-card > * { position: relative; z-index: 1; }
.pc-brand {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 11px; letter-spacing: .2em; color: var(--card-gold);
  margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--card-line);
}
.pc-brand > span:first-child {
  font-family: var(--serif); font-size: 13px; letter-spacing: .3em;
}
.pc-brand-r { color: var(--card-label); letter-spacing: .12em; }
.pc-label { font-size: 11px; letter-spacing: .18em; color: var(--card-label); margin: 0 0 9px; }
.pc-hero { padding: 6px 0 24px; border-bottom: 1px solid var(--card-line); }
.pc-hero-text {
  font-family: var(--serif); font-size: 25px; line-height: 1.68; font-weight: 500;
  margin: 0; white-space: pre-line; word-break: break-word; color: var(--card-ink);
}
.pc-block { padding: 20px 0 0; }
.pc-block.muted .pc-text { color: var(--card-muted); font-size: 13px; }
.pc-text { font-size: 14px; line-height: 1.95; margin: 0; white-space: pre-line; word-break: break-word; }
.pc-quote {
  font-family: var(--serif); font-size: 13px; line-height: 1.9; color: var(--card-muted);
  margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--card-line);
  word-break: break-word;
}
.pc-quote::before { content: "我怕的是 · "; letter-spacing: .12em; font-size: 10px; color: var(--card-label); }
.pc-delta { padding-top: 18px; margin-top: 20px; border-top: 1px dashed var(--card-line); }
.pc-delta b { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--card-gold); }
.pc-note { font-size: 11px; color: var(--card-label); margin: 7px 0 0; line-height: 1.8; }
.pc-seal {
  width: 46px; height: 46px; margin: 28px 0 0 auto;
  border: 1px solid var(--card-seal); border-radius: 3px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 13px; letter-spacing: .1em; color: var(--card-seal);
  writing-mode: vertical-rl; opacity: .9;
}
.pc-foot {
  font-size: 10px; line-height: 1.95; color: var(--card-label);
  margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--card-line);
}

.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.card-actions .btn { flex: 1 1 130px; }

.img-holder { margin-top: 28px; text-align: center; }
.img-holder img {
  width: 100%; height: auto; display: block; border: 1px solid var(--line);
  border-radius: 3px; box-shadow: 0 14px 40px rgba(43, 41, 36, .1);
}
.tip { font-size: 12px; color: #9a6a2f; text-align: center; line-height: 1.9; margin: 12px 0 0; }

.feedback { margin: 46px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.feedback-q { font-family: var(--serif); font-size: 16px; margin: 0 0 16px; letter-spacing: .02em; }
.feedback-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.fb-opt {
  font-family: var(--sans); font-size: 13px; line-height: 1.5;
  color: #5f5b50; background: rgba(255, 255, 255, .42);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
  -webkit-appearance: none;
}
.fb-opt:hover { border-color: var(--gold-soft); color: var(--ink); background: #fff; transform: translateY(-1px); }
.fb-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fbf8f0; }
.fb-opt:disabled { cursor: default; opacity: .5; }
.fb-opt[aria-pressed="true"]:disabled { opacity: 1; }
.feedback-thanks { font-size: 12px; color: #9a6a2f; line-height: 1.9; margin: 14px 0 0; }

.after-card { margin: 52px 0 0; padding-top: 30px; border-top: 1px solid var(--line); text-align: center; }
.after-card p { font-size: 13px; color: var(--muted); line-height: 2; margin: 0 0 18px; }

/* ---------- 一炷香 ---------- */
body.no-scroll { overflow: hidden; }
.breath {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
  background:
    radial-gradient(900px 620px at 50% 32%, #fffdf8 0%, rgba(255, 253, 248, 0) 68%),
    radial-gradient(700px 500px at 10% 90%, rgba(129, 157, 148, .14), transparent 70%),
    #f2efe4;
  animation: view-in .36s ease both;
}
.breath::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.breath-close { position: absolute; top: 24px; right: 28px; font-size: 13px; z-index: 2; }
.breath-main { width: min(100%, 430px); text-align: center; position: relative; z-index: 1; }
.breath-kicker { font-size: 10px; letter-spacing: .44em; color: var(--gold); margin: 0 0 8px; text-indent: .44em; }
.breath-stage {
  position: relative; width: 280px; height: 280px;
  margin: 0 auto 22px; display: grid; place-items: center;
}
.breath-stage::before, .breath-stage::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.breath-stage::before {
  inset: 0; border: 1px solid rgba(176, 141, 79, .16);
}
.breath-stage::after {
  inset: 26px; border: 1px dashed rgba(129, 157, 148, .22);
  animation: enso-drift 60s linear infinite reverse;
}
.breath-halo {
  position: absolute; inset: 18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 79, .2) 0%, rgba(129, 157, 148, .1) 42%, rgba(129, 157, 148, 0) 70%);
  animation: halo-breathe 12s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%   { transform: scale(.82); opacity: .45; }
  33%  { transform: scale(1.1); opacity: .9; }
  50%  { transform: scale(1.1); opacity: .9; }
  100% { transform: scale(.82); opacity: .45; }
}
.breath-circle {
  position: relative; z-index: 1;
  width: 170px; height: 170px; border-radius: 50%;
  border: 1px solid rgba(176, 141, 79, .6);
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .95), rgba(205, 181, 142, .16) 72%, rgba(205, 181, 142, .05));
  box-shadow: 0 10px 36px rgba(43, 41, 36, .07), inset 0 0 30px rgba(255, 255, 255, .6);
  transform: scale(.86);
  transition: transform 4s ease-in-out;
}
.breath-phase {
  font-family: var(--serif); font-size: 24px; letter-spacing: .32em;
  margin: 0 0 8px; text-indent: .32em;
}
.breath-count { font-size: 12px; color: var(--soft); letter-spacing: .12em; margin: 0; min-height: 18px; }
.breath-tip { font-size: 12px; color: var(--soft); line-height: 1.9; margin: 30px 0 24px; }
.breath-bar { width: 190px; height: 2px; background: var(--line); margin: 0 auto; border-radius: 2px; overflow: hidden; }
.breath-bar i {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--calm), var(--gold)); transform-origin: left;
  animation: burn 30s linear forwards;
}
@keyframes burn { to { transform: scaleX(0); } }

/* ---------- 关于页 ---------- */
.prose { padding: 24px 0 44px; }
.prose h1 { margin-bottom: 18px; }
.prose h2 {
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  margin: 48px 0 14px; letter-spacing: .02em;
  padding-left: 14px; border-left: 2px solid var(--gold-soft);
}
.prose p { font-size: 14px; line-height: 2.1; color: var(--ink-soft); margin: 0 0 16px; }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose li { font-size: 14px; line-height: 2; color: var(--ink-soft); margin-bottom: 5px; }
.prose .note { font-size: 12px; color: var(--soft); }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em; background: rgba(176, 141, 79, .1);
  padding: 1px 6px; border-radius: 3px;
}
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-soft); }
.clear-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
#clear-status { font-size: 12px; color: #9a6a2f; }

/* ---------- 页脚 ---------- */
.site-foot {
  margin-top: 80px; padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--soft); line-height: 2;
}
.site-foot p { margin: 0 0 5px; }
.site-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* ---------- 适配 ---------- */
@media (max-width: 900px) {
  .enso { display: none; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 720px); }
  body { background-attachment: scroll; }
  .site-head { padding: 22px 0 14px; }
  .hero { padding-top: 38px; }
  .cta-row { margin-top: 30px; }
  .preview { margin-top: 50px; }
  .preview li { padding-left: 16px; }
  .promise { gap: 10px; }
  .promise::before, .promise::after { width: 26px; }
  .thermo-num { font-size: 62px; margin: 34px 0 22px; }
  .breath-stage { width: 242px; height: 242px; }
  .breath-circle { width: 152px; height: 152px; }
  .card-settings { gap: 12px; }
  .preview li { grid-template-columns: 34px 54px 1fr; }
  .split { grid-template-columns: 1fr; }
  .path-card { padding: 30px 22px 22px; }
  .path-card::before { inset: 6px; }
  .pc-hero-text { font-size: 21px; }
  .card-actions .btn { flex: 1 1 46%; padding: 0 12px; }
  .actions .btn { width: 100%; }
  .site-foot { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .breath-bar i { transform: none !important; }
  html { scroll-behavior: auto; }
}
