/* 经营本 · DESIGN.md ink_pine_brass · 跨屏跨系统 */
:root {
  --ink: #0a1210;
  --ink-2: #121c18;
  --pine: #1a3028;
  --pine-mid: #2a4a3c;
  --mist: #e8f0ea;
  --paper: #eef2ee;
  --paper-2: #f7faf7;
  --brass: #c4a35a;
  --brass-hot: #dcb86a;
  --brass-dim: #8a7340;
  --muted: #5a6b62;
  --line: rgba(26, 48, 40, 0.12);
  --danger: #8b3535;
  --ok: #2d5a45;
  --shadow: 0 24px 60px rgba(10, 18, 16, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* iOS / Android / Windows / Linux / Harmony 字体兜底 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong",
    "PingFang SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Segoe UI", "Noto Sans CJK SC", "WenQuanYi Micro Hei",
    "Source Han Sans SC", sans-serif;
  --max: 880px;
  --gutter: clamp(16px, 4vw, 32px);
  --sticky-h: 72px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --vvh: 1vh; /* JS 用 visualViewport 覆写，兼容安卓/iOS 动态工具栏 */
  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  hanging-punctuation: first last;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__photo { animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15.5px, 0.35vw + 15px, 17px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(var(--sticky-h) + var(--safe-b));
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  word-break: break-word;
}
body.is-keyboard-open .sticky,
body.is-keyboard-open .jyb-agent__fab {
  visibility: hidden;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-dim); }
button, input, textarea, select { font-family: inherit; font-size: 16px; }
/* 避免 iOS 聚焦输入框强制放大 */
.jyb-agent__form input { font-size: 16px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }
.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;
}

/* —— HERO —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: calc(var(--vvh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding:
    calc(clamp(20px, 5vw, 48px) + var(--safe-t))
    max(var(--gutter), var(--safe-r))
    clamp(36px, 6vw, 64px)
    max(var(--gutter), var(--safe-l));
  color: var(--mist);
  overflow: hidden;
  background: #060c0a;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  animation: heroDrift 18s var(--ease) infinite alternate;
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.28;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 12, 10, 0.55) 0%, rgba(6, 12, 10, 0.35) 35%, rgba(6, 12, 10, 0.82) 100%),
    radial-gradient(90% 70% at 85% -10%, rgba(196, 163, 90, 0.18), transparent 55%);
}
@keyframes heroDrift {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 3.5rem;
}
@media (min-width: 900px) {
  .hero {
    justify-content: center;
    min-height: 92svh;
    min-height: calc(var(--vvh, 1vh) * 92);
  }
  .hero__inner { padding-top: 2rem; }
}
/* 手机横屏：压矮 hero，避免只见标题不见 CTA */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    justify-content: flex-end;
    padding-top: calc(12px + var(--safe-t));
    padding-bottom: 20px;
  }
  .brand { margin-bottom: 0.5rem; }
  .brand__zh { font-size: clamp(1.85rem, 9vw, 2.6rem) !important; }
  .logo-mark--hero { width: 48px; height: 48px; }
  .hero h1 { font-size: 1.15rem !important; }
  .hero__sub { margin-bottom: 0.9rem; font-size: 0.92rem; }
  .hero__meta { margin-top: 0.75rem; }
}
.logo-mark {
  display: block;
  flex-shrink: 0;
  border-radius: 22%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.logo-mark--nav {
  width: 28px;
  height: 28px;
  box-shadow: none;
  border-radius: 6px;
}
.logo-mark--hero {
  width: clamp(56px, 12vw, 80px);
  height: clamp(56px, 12vw, 80px);
}
.brand {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 3vw, 1.35rem);
  margin: 0 0 1.1rem;
  animation: rise 1s var(--ease) both;
}
.brand__text {
  min-width: 0;
}
.brand__zh {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 11vw, 5.25rem);
  letter-spacing: 0.14em;
  line-height: 0.95;
  color: var(--mist);
}
.brand::after {
  content: none;
}
.brand__text::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-top: 0.85rem;
  background: linear-gradient(90deg, var(--brass), transparent);
}
.brand__en {
  display: block;
  font-size: clamp(0.62rem, 1.6vw, 0.78rem);
  letter-spacing: 0.42em;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 0.4em;
  font-family: var(--font-body);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  line-height: 1.35;
  margin: 0 0 0.75rem;
  max-width: 16em;
  animation: rise 1s var(--ease) 0.08s both;
}
.hero__sub {
  margin: 0 0 1.75rem;
  max-width: 28em;
  color: rgba(232, 240, 234, 0.78);
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
  animation: rise 1s var(--ease) 0.16s both;
}
.hero__cat {
  margin: 0 0 0.9rem;
  font-size: clamp(0.82rem, 2.2vw, 0.98rem);
  letter-spacing: 0.18em;
  color: var(--brass);
  font-weight: 600;
  animation: rise 1s var(--ease) 0.04s both;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: rise 1s var(--ease) 0.24s both;
}
.hero__meta {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(232, 240, 234, 0.55);
  letter-spacing: 0.04em;
  animation: rise 1s var(--ease) 0.32s both;
}
.hero__path {
  margin: -0.85rem 0 1.25rem;
  max-width: 32em;
  font-size: 0.88rem;
  color: rgba(232, 240, 234, 0.62);
  animation: rise 1s var(--ease) 0.2s both;
}
.cta-row--center { justify-content: center; }
.trust-bar {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: color-mix(in srgb, var(--ok) 8%, var(--paper-2));
  border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line));
}
.trust-bar p { margin: 0; font-size: 0.95rem; color: var(--ink); }
.trust-bar p + p { margin-top: 0.35rem; font-size: 0.88rem; color: var(--muted); }
.after-add {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.after-add li { margin: 0.25rem 0; }
.member-seed {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.member-seed summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--pine);
  list-style: none;
}
.member-seed summary::-webkit-details-marker { display: none; }
.member-seed p { margin: 0.65rem 0 0; line-height: 1.65; }
.ref-points {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--muted);
}
.ref-points li { margin: 0.35rem 0; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— BUTTONS —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--brass);
  color: #1a1408;
}
.btn--ghost {
  background: transparent;
  color: var(--mist);
  border-color: rgba(232, 240, 234, 0.35);
}
.btn--solid {
  background: var(--pine);
  color: var(--mist);
}
.btn--line {
  background: transparent;
  color: var(--pine);
  border-color: var(--line);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--brass-hot); }
  .btn--ghost:hover { border-color: var(--brass); color: #fff; }
  .btn--solid:hover { background: var(--pine-mid); }
  .btn--line:hover { border-color: var(--brass-dim); color: var(--ink); }
}

/* —— LAYOUT —— */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 0 auto;
  padding: 0 0 2rem;
}
.section {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  border-bottom: 1px solid var(--line);
}
.section:last-of-type { border-bottom: 0; }
.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--brass-dim);
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: var(--pine);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}
.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 36em;
}

/* 自缚边界一行（预约前信任锚，非长章） */
#bound {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.bound-close {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--pine);
  line-height: 1.45;
}
.bound-grid .panel ul {
  margin: 0;
  padding-left: 1.1rem;
}
.bound-grid .panel li { margin: 0.35rem 0; color: var(--muted); }
.bound-grid .panel--accent li { color: var(--ink); }
.zero-seat {
  margin: 1.5rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.paper-sample {
  margin: 0 0 1.75rem;
}
.paper-sample__cap {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.paper-sample__sheet {
  background:
    linear-gradient(165deg, #faf6ee 0%, #f3ebe0 60%, #efe6d6 100%);
  border: 1px solid rgba(139, 105, 20, 0.28);
  box-shadow: 0 16px 40px rgba(10, 18, 16, 0.08);
  padding: 1.35rem 1.25rem 1.1rem;
  max-width: 28rem;
  animation: paperIn 0.9s var(--ease) both;
}
.paper-sample__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pine);
}
.paper-sample__sheet ul,
.paper-sample__sheet ol {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 0.92rem;
}
.paper-sample__sheet em {
  font-style: normal;
  color: var(--brass-dim);
  font-weight: 600;
}
.paper-sample__week {
  margin: 0.5rem 0 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.paper-sample__foot {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(26, 48, 40, 0.12);
  font-size: 0.78rem;
  color: var(--muted);
}
@keyframes paperIn {
  from { opacity: 0; transform: translateY(12px) rotate(-0.4deg); }
  to { opacity: 1; transform: none; }
}
.arrive-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: arrive;
}
.arrive-list li {
  counter-increment: arrive;
  position: relative;
  padding: 0.85rem 0 0.85rem 2.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.arrive-list li::before {
  content: counter(arrive);
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--pine);
  color: var(--mist);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}
.arrive-list strong {
  color: var(--ink);
  margin-right: 0.35rem;
}
.book-wechat {
  margin-top: 1.5rem;
  text-align: center;
}
.book-wechat__id {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--pine);
  margin: 0.5rem 0;
  letter-spacing: 0.04em;
}
.fine--promise { margin-top: 1.25rem; }
.center-btns { text-align: center; margin-top: 1.25rem; }
.site-foot { border-bottom: 0; padding-top: 1rem; }
.site-foot__inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-foot__inner p { margin: 0 0 0.5rem; }
.site-foot__brand {
  font-weight: 600;
  color: var(--pine) !important;
}
.bound-line {
  margin: 0;
  padding: 1rem 1.15rem;
  max-width: 40em;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  background: color-mix(in srgb, var(--brass) 12%, transparent);
  border-left: 3px solid var(--brass);
}
.bound-line strong { font-weight: 600; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* —— PAIN —— */
.pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pain-list li {
  position: relative;
  padding: 1.1rem 0 1.1rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.pain-list li:first-child { border-top: 0; }
.pain-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.pain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 8px;
  height: 8px;
  background: var(--brass);
}

/* —— SCENES（宽触达 · 非卡片墙） —— */
.scene-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.scene-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}
.scene-list li:first-child { border-top: 0; }
.scene-list strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--pine);
  letter-spacing: 0.02em;
}
.scene-list span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* —— STEPS —— */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.steps li:first-child { border-top: 0; }
.steps__n {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--pine);
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.steps strong { display: block; color: var(--ink); margin-bottom: 0.15rem; }
.steps span { color: var(--muted); font-size: 0.95rem; }

/* —— CHECK —— */
.check-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 0.25rem 1rem 1.25rem;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
}
.check-list li:first-child { border-top: 0; }
.check-list input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--pine);
  flex-shrink: 0;
}
.check-result {
  display: none;
  margin-top: 1rem;
  padding: 1.1rem 1.15rem;
  background: var(--mist);
  border-left: 3px solid var(--brass);
}
.check-result.is-on { display: block; animation: rise 0.45s var(--ease); }
.check-result p { margin: 0 0 0.9rem; }

/* —— SPLIT —— */
.split {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .split--2 { grid-template-columns: 1fr 1fr; }
}
.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.15rem 1.1rem;
}
.panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--pine);
  font-family: var(--font-display);
}
.panel ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
}
.panel ul li + li { margin-top: 0.35rem; }
.panel--no { border-color: rgba(139, 53, 53, 0.28); }
.panel--no h3 { color: var(--danger); }
.panel--accent {
  border-color: rgba(196, 163, 90, 0.55);
  background: linear-gradient(165deg, #f7faf7 0%, #eef5ef 55%, #f4efe3 100%);
  box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.12);
}
.panel--accent h3 { color: var(--brass-dim); }

/* —— META —— */
.meta {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 420px) {
  .meta { grid-template-columns: 1fr 1fr; }
}
.meta__item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1rem;
}
.meta__item--wide { grid-column: 1 / -1; }
.meta__item dt {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.meta__item dd {
  margin: 0;
  font-weight: 600;
  color: var(--pine);
  font-size: 1.02rem;
}

/* —— JOURNEY —— */
.journey {
  display: grid;
  gap: 0;
}
.journey__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.journey__item:first-child { border-top: 0; }
.journey__dot {
  width: 12px;
  height: 12px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.18);
}
.journey__item strong { display: block; color: var(--ink); }
.journey__item span { color: var(--muted); font-size: 0.93rem; }

/* —— FAQ —— */
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq details:first-of-type { border-top: 0; }
.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--pine);
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--brass-dim);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.fine {
  margin: 2rem 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
}

/* —— STICKY —— */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding:
    10px
    max(14px, var(--safe-r))
    calc(10px + var(--safe-b))
    max(14px, var(--safe-l));
  background: rgba(238, 242, 238, 0.94);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-top: 1px solid var(--line);
}
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .sticky { background: #eef2ee; }
}
.sticky .btn {
  flex: 1;
  max-width: 280px;
  min-height: 46px;
}
/* 极窄屏只留主 CTA，避免两钮挤扁 */
@media (max-width: 380px) {
  .sticky .btn--solid { display: none; }
  .sticky .btn--primary { max-width: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--sticky-h) + 16px + var(--safe-b));
  transform: translateX(-50%) translateY(10px);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 50;
  max-width: min(92vw, 360px);
  text-align: center;
}
.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-mini {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding:
    calc(0.85rem + var(--safe-t))
    max(var(--gutter), var(--safe-r))
    0.85rem
    max(var(--gutter), var(--safe-l));
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  width: 100%;
}
.nav-mini a {
  color: rgba(232, 240, 234, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .nav-mini a:hover { color: var(--brass); }
}
.nav-mini__brand {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  color: var(--mist) !important;
  gap: 0.5rem;
}
.nav-mini__brand .logo-mark { display: inline-block; }

/* —— 咨询智能体 —— */
.jyb-agent { position: relative; z-index: 60; }
.jyb-agent__fab {
  position: fixed;
  right: max(16px, var(--safe-r));
  bottom: calc(var(--sticky-h) + 16px + var(--safe-b));
  z-index: 61;
  border: 0;
  border-radius: 999px;
  min-height: var(--tap);
  padding: 0.55rem 1.15rem 0.55rem 0.55rem;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.jyb-agent__fab-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .jyb-agent__fab:hover { background: var(--brass-hot); }
}
.jyb-agent__panel {
  position: fixed;
  right: max(16px, var(--safe-r));
  bottom: calc(var(--sticky-h) + 72px + var(--safe-b));
  width: min(380px, calc(100vw - 24px - var(--safe-l) - var(--safe-r)));
  max-height: min(70dvh, 560px);
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 62;
  overflow: hidden;
}
.jyb-agent__panel[hidden] { display: none !important; }
.jyb-agent__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--ink);
  color: var(--mist);
}
.jyb-agent__head-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}
.jyb-agent__head > div { flex: 1; min-width: 0; }
.jyb-agent__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}
.jyb-agent__head span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.2rem;
}
.jyb-agent__x {
  border: 0;
  background: transparent;
  color: var(--mist);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.jyb-agent__msgs {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--paper);
}
.jyb-agent__msg {
  max-width: 92%;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
}
.jyb-agent__msg--assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.jyb-agent__msg--user {
  align-self: flex-end;
  background: var(--pine);
  color: var(--mist);
}
.jyb-agent__hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.jyb-agent__chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  color: var(--pine-mid);
  cursor: pointer;
}
.jyb-agent__chip:hover { border-color: var(--brass); color: var(--ink); }
.jyb-agent__form {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.jyb-agent__form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
}
.jyb-agent__form .btn { padding: 0.55rem 0.85rem; font-size: 0.85rem; }
.jyb-agent__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0.85rem 0.5rem;
  background: #fff;
}
.jyb-agent__chips .btn {
  font-size: 0.8rem;
  min-height: 40px;
  padding: 0.4rem 0.75rem;
}
.jyb-agent__foot {
  margin: 0;
  padding: 0.35rem 0.85rem 0.65rem;
  font-size: 0.7rem;
  color: var(--muted);
  background: #fff;
}
.jyb-agent__cta { align-self: stretch; }
.jyb-agent__cta .btn { width: 100%; font-size: 0.85rem; }
.jyb-agent__fb {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted, #6b6358);
}
.jyb-agent__fb .btn {
  flex: 1;
  min-width: 5.5rem;
  font-size: 0.78rem;
  padding: 0.35rem 0.6rem;
}
@media (max-width: 640px) {
  .jyb-agent__fab {
    right: max(12px, var(--safe-r));
    bottom: calc(var(--sticky-h) + 12px + var(--safe-b));
  }
  /* 手机：面板贴近全屏，适配安卓/iOS 动态视口 */
  .jyb-agent__panel {
    top: var(--safe-t);
    right: 0;
    left: 0;
    bottom: calc(var(--sticky-h) + var(--safe-b));
    width: 100%;
    max-height: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

/* —— 平板 / 桌面加宽节奏 —— */
@media (min-width: 768px) {
  :root { --max: 820px; }
  .cta-row .btn { min-width: 9.5rem; }
}
@media (min-width: 1024px) {
  :root { --max: 880px; }
  .journey {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }
}
@media (min-width: 1280px) {
  .hero__inner { max-width: 920px; }
}

/* 大触控 / 粗指针（多数平板） */
@media (pointer: coarse) {
  .faq summary { min-height: 48px; }
  .check-list li { min-height: 48px; }
}

/* Windows 高对比 / 强制色 */
@media (forced-colors: active) {
  .btn--primary, .btn--solid, .jyb-agent__fab {
    border: 2px solid CanvasText;
  }
  .hero {
    background: Canvas;
    color: CanvasText;
  }
}

/* 打印：去 sticky / 智能体，保留约茶信息 */
@media print {
  .sticky, .jyb-agent, .nav-mini, .skip { display: none !important; }
  body { padding: 0; background: #fff; color: #000; font-size: 12pt; }
  .hero {
    min-height: 0;
    color: #000;
    background: #fff;
    padding: 0 0 1rem;
  }
  .brand__zh, .hero h1, .section h2 { color: #000; }
  a { color: #000; text-decoration: underline; }
}


/* ========================================
   V2 专业 UI 升级（2026-07-27）
   视觉表现层增强 · 保留所有现有 class/逻辑/响应式
   ======================================== */

/* 1. 首屏退费徽章系统化 */
.hero__pledge {
  margin-top: 1.25rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(196,163,90,0.55);
  border-left: 3px solid var(--brass);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(196,163,90,0.14), rgba(0,0,0,0.28));
  font-size: 0.92rem;
  line-height: 1.7;
  animation: rise 1s var(--ease) 0.36s both;
}
.hero__pledge strong { display:block; color:#e8d9b0; font-weight:700; }
.hero__pledge span { display:block; margin-top:0.2rem; color:rgba(248,245,240,0.72); font-size:0.82rem; }

/* 2. 章节序号节奏 */
main { counter-reset: sec; }
.section { counter-increment: sec; }
.section .eyebrow::before {
  content: counter(sec, decimal-leading-zero);
  display: inline-block;
  margin-right: 0.55em;
  padding: 0.05em 0.5em;
  border: 1px solid var(--brass-dim);
  border-radius: 4px;
  color: var(--brass);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  vertical-align: 0.12em;
  font-weight: 600;
}

/* 3. 边界墙强化 */
.bound-grid .panel--accent { border-left: 3px solid var(--brass); }
.bound-grid .panel--no { border-left: 3px solid var(--danger); }
.bound-grid .panel--accent h3::before { content: "\2713  "; color: var(--brass); }
.bound-grid .panel--no h3::before { content: "\2717  "; color: var(--danger); }
.bound-close {
  padding: 1rem 1.15rem;
  background: color-mix(in srgb, var(--brass) 10%, transparent);
  border-left: 3px solid var(--brass);
  margin-top: 1.5rem;
}

/* 4. 样例纸真实感 */
.paper-sample__sheet {
  position: relative;
  box-shadow: 0 20px 50px rgba(10,18,16,0.12), 0 2px 4px rgba(0,0,0,0.06);
}
.paper-sample__sheet::after {
  content: "样例";
  position: absolute;
  top: 10px; right: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: rgba(138,115,64,0.35);
  font-family: var(--font-body);
}

/* 5. CTA 强化 */
.btn--primary {
  background: linear-gradient(180deg, var(--brass-hot), var(--brass));
  box-shadow: 0 6px 18px rgba(196,163,90,0.32);
}
.btn--primary:active { box-shadow: 0 2px 8px rgba(196,163,90,0.28); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: linear-gradient(180deg, #e8c97a, var(--brass-hot));
    box-shadow: 0 8px 22px rgba(196,163,90,0.42);
  }
  .panel:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10,18,16,0.08); }
  .pain-list li:hover, .scene-list li:hover, .steps li:hover { background: rgba(196,163,90,0.04); }
}
.sticky { box-shadow: 0 -8px 24px rgba(10,18,16,0.08); }

/* 6. 关于模块系统化 */
.keeper-grid { align-items: start; gap: 1.6rem; }
.keeper__bio p { margin: 0 0 0.85rem; }
.keeper__bio p:last-child { margin-bottom: 0; }
.keeper__photo { text-align: center; }
.keeper__img {
  width: 100%; max-width: 240px;
  border-radius: 12px;
  display: block; margin: 0 auto;
  box-shadow: 0 12px 30px rgba(10,18,16,0.12);
}
.keeper__ph {
  display: none;
  min-height: 240px;
  align-items: center; justify-content: center;
  border: 1px dashed #c9b88a;
  border-radius: 12px;
  color: #9a8a6a;
  font-size: 0.88rem;
  text-align: center;
  background: #f8f5f0;
  margin: 0;
}

/* 7. 字号触控（50岁老板手机端） */
body { font-size: clamp(16.5px, 0.35vw + 16px, 17.5px); }
.section .lead { font-size: 1.02rem; }
.check-list input { width: 22px; height: 22px; }
.check-list li:has(input:checked) { opacity: 0.5; }
.check-list li:has(input:checked) label { text-decoration: line-through; text-decoration-color: var(--brass-dim); }

/* 8. 微交互 */
.panel { transition: transform 0.2s var(--ease), box-shadow 0.2s; }


/* === 借鉴零一万物（2026-07-27）·4点落地 === */

/* ① 价值升级句 */
.value-upgrade {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  background: color-mix(in srgb, var(--brass) 10%, transparent);
  border-left: 3px solid var(--brass);
  font-size: 0.98rem;
  line-height: 1.7;
}
.value-upgrade strong { color: var(--pine); }

/* ② 信任四徽章 */
.trust-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 560px) {
  .trust-badges { grid-template-columns: 1fr 1fr; }
}
.trust-badges li {
  padding: 1rem 1.1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.trust-badges strong {
  display: block;
  color: var(--pine);
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}
.trust-badges span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
@media (hover: hover) and (pointer: fine) {
  .trust-badges li:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,18,16,0.06); }
}

/* ③ vs 对比模块 */
.vs-grid { align-items: start; }
.vs-grid .panel--no h3::before { content: "\2717  "; color: var(--danger); }
.vs-grid .panel--accent h3::before { content: "\2713  "; color: var(--brass); }
