:root {
  color-scheme: light;
  --white: #ffffff;
  --soft: #f4f5f7;
  --ink: #1d1d1f;
  --muted: #5c5c62;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: #edf5ff;
  --red: #d93829;
  --green: #1d8348;
  --green-soft: #e9f7ef;
  --amber: #c8521b;
  --amber-soft: #fff5eb;
  --amber-text: #854014;
  --purple: #5850a8;
  --purple-soft: #f2f0fb;
  --sec-accent: #0071e3;
  --sec-soft: #edf5ff;
  --radius: 24px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.045);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --font-size: 16.5px;
}

html[data-font="large"] { --font-size: 19.5px; }

/* 四大章节独立主题色 */
.theme-medical { --sec-accent: #0071e3; --sec-soft: #edf5ff; }
.theme-pension { --sec-accent: #1d8348; --sec-soft: #e9f7ef; }
.theme-insurance { --sec-accent: #c8521b; --sec-soft: #fdf1e8; }
.theme-care { --sec-accent: #5850a8; --sec-soft: #f2f0fb; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--font-size);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sec-accent); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2.5px solid var(--sec-accent); outline-offset: 2px; }

.container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: 8px; transform: translateY(-160%); background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 40; }
.skip:focus { transform: none; }

/* 定制精致 Checkbox */
.chk {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 7px;
  border: 1.5px solid #cfd3da;
  background: var(--white);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
}
.chk:hover {
  border-color: var(--sec-accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08);
}
.chk:checked {
  background-color: var(--green);
  border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.4 8.3 6.5 11.4 12.8 4.8' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transform: scale(1.03);
}

/* 悬浮毛玻璃导航 */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.nav-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 8px;
}
.brand {
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 6px;
  padding: 2px 8px;
  background: var(--soft);
  border-radius: 99px;
}
.brand:hover { text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s;
}
.nav-links a:hover { color: var(--ink); background: var(--soft); text-decoration: none; }
.nav-links a[aria-current="step"] { background: var(--ink); color: #fff; }
.nav-links a[data-done="true"]::after { content: " ✓"; color: var(--green); }
.nav-links a[aria-current="step"][data-done="true"]::after { color: #7ef2a9; }

.nav-right { display: flex; align-items: center; gap: 8px; }
.pill-btn {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  background: var(--soft);
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.15s;
}
.pill-btn:hover { background: #e8eaee; }
.pill-btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
.pill-btn.is-ink { background: var(--ink); color: #fff; }
.pill-btn.is-ink:hover { background: #333336; }

/* 首屏 Hero：柔光艺术背景图 + 4 张可点击跳转互动卡 */
.hero {
  padding: clamp(54px, 7.5vw, 92px) 0 clamp(44px, 6vw, 68px);
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.45) 68%, #f4f6fa 100%),
    url("assets/cover-hero.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-meta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(36px, 5.8vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.hero-sub {
  max-width: 37em;
  margin-inline: auto;
  font-size: clamp(16.5px, 1.9vw, 19.5px);
  color: #48484d;
  margin-bottom: 40px;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.055);
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  text-decoration: none;
}
.pillar-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pillar-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.pillar-card.is-blue .pillar-num { background: var(--blue); }
.pillar-card.is-green .pillar-num { background: var(--green); }
.pillar-card.is-amber .pillar-num { background: var(--amber); }
.pillar-card.is-purple .pillar-num { background: var(--purple); }

.pillar-top strong { font-size: 17px; letter-spacing: -0.015em; }
.pillar-arrow {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f3f5f8;
  color: var(--muted);
  font-size: 13px;
  display: grid;
  place-items: center;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.pillar-card:hover .pillar-arrow {
  background: var(--ink);
  color: #fff;
  transform: translateY(2px);
}
.pillar-card[data-done="true"] .pillar-arrow {
  background: var(--green-soft);
  color: var(--green);
}
.pillar-card[data-done="true"] .pillar-arrow::before { content: "✓"; font-weight: 800; }
.pillar-card[data-done="true"] .pillar-arrow { font-size: 0; }
.pillar-card[data-done="true"] .pillar-arrow::before { font-size: 13px; }

.pillar-tag {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pillar-card.is-blue .pillar-tag { color: var(--blue); }
.pillar-card.is-green .pillar-tag { color: var(--green); }
.pillar-card.is-amber .pillar-tag { color: var(--amber); }
.pillar-card.is-purple .pillar-tag { color: var(--purple); }
.pillar-card p { font-size: 13.5px; color: var(--muted); line-height: 1.62; }

/* 各步骤柔和浅色背景自然无缝过渡（内里统一纯净白卡片！） */
.band { padding: clamp(28px, 3.2vw, 40px) 0; scroll-margin-top: 64px; }
.band .container > :last-child { margin-bottom: 0; }
.band-quiz {
  background: linear-gradient(180deg, #f4f6fa 0%, #f3f6fb 82%, #eef5ff 100%);
}
.band-medical {
  background: linear-gradient(180deg, #eef5ff 0%, #f2f7ff 82%, #edf8f2 100%);
}
.band-pension {
  background: linear-gradient(180deg, #edf8f2 0%, #f2faf5 82%, #fdf5ed 100%);
}
.band-insurance {
  background: linear-gradient(180deg, #fdf5ed 0%, #fef8f2 82%, #f3f2fb 100%);
}
.band-care {
  background: linear-gradient(180deg, #f3f2fb 0%, #f7f6fc 86%, #ffffff 100%);
}

.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.step-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--sec-accent); margin-bottom: 8px; }
.band-head h2 { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.18; letter-spacing: -0.025em; margin-bottom: 10px; }
.band-lead { color: var(--muted); max-width: 44em; font-size: 1.02em; }

/* 章节艺术背景封面横幅（去硬边框，纯柔阴影融合） */
.chapter-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(24px, 3.4vw, 38px) clamp(24px, 4vw, 40px);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
}
.banner-medical {
  background-image:
    linear-gradient(95deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 250, 255, 0.86) 54%, rgba(235, 245, 255, 0.22) 100%),
    url("assets/cover-medical.jpg");
}
.banner-pension {
  background-image:
    linear-gradient(95deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 251, 247, 0.86) 54%, rgba(232, 246, 238, 0.22) 100%),
    url("assets/cover-pension.jpg");
}
.banner-insurance {
  background-image:
    linear-gradient(95deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 249, 244, 0.86) 54%, rgba(252, 238, 226, 0.22) 100%),
    url("assets/cover-insurance.jpg");
}
.banner-care {
  background-image:
    linear-gradient(95deg, rgba(255, 255, 255, 0.94) 0%, rgba(249, 248, 254, 0.86) 54%, rgba(238, 236, 250, 0.22) 100%),
    url("assets/cover-care.jpg");
}

.banner-copy { max-width: 39em; position: relative; z-index: 1; }
.banner-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sec-accent);
  background: var(--sec-soft);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.banner-copy h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 10px;
}
.banner-copy p { color: #3a3a3d; font-size: 1.02em; }
.banner-copy strong { color: var(--ink); }

.done-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.done-pill:has(input:checked) { background: var(--green-soft); color: var(--green); }

/* 10秒自测器（宽屏上下排布：上方3行横排选项 + 下方3列并排建议卡，彻底消除左侧大片留白） */
.quiz-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.quiz-controls { display: grid; gap: 14px; }
.q-group {
  display: grid;
  grid-template-columns: 236px 1fr;
  align-items: center;
  gap: 10px 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.055);
}
.q-group:last-child { padding-bottom: 0; border-bottom: 0; }
.q-label { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.q-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.q-pills button {
  min-height: 40px;
  padding: 7px 15px;
  border-radius: 99px;
  border: 0;
  background: #f2f4f8;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.q-pills button:hover { background: #e6ebf4; }
.q-pills button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
}

.quiz-output { background: #f6f8fb; border-radius: 20px; padding: 20px 22px 22px; }
.quiz-output h3 { font-size: 17px; margin-bottom: 14px; }
.quiz-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quiz-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.qs-head { display: flex; align-items: center; gap: 9px; }
.qs-num { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 13.5px; display: grid; place-items: center; }
.qs-head small { font-size: 13px; font-weight: 700; color: var(--blue); line-height: 1.3; }
.quiz-step p { font-size: 14px; color: var(--ink); line-height: 1.65; }
.quiz-step a { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--blue); }

/* 统一纯净白卡片系统 */
.card {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-wide { margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.grid-2-asym { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; margin-top: 20px; }

.card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.card h3 { font-size: 20.5px; letter-spacing: -0.02em; line-height: 1.32; margin-bottom: 6px; }
.mini-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--sec-accent); margin-bottom: 6px; }
.muted { color: var(--muted); }
.small-note { font-size: 14px; color: var(--muted); line-height: 1.65; }
.footnote { font-size: 13px; color: var(--muted); margin-top: 16px; line-height: 1.65; }
.ext-link { font-size: 13.5px; font-weight: 600; white-space: nowrap; }

/* 截图与内嵌色块（全部无粗糙 border） */
.media-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shot-tile { background: #f6f8fa; border-radius: 18px; overflow: hidden; }
.shot-trigger { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.shot-tile figcaption { padding: 12px 15px; font-size: 14px; color: var(--muted); }
.shot-tile figcaption strong { color: var(--ink); margin-right: 6px; }

.big-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.big-stats > div { background: #f5f8fc; border-radius: 16px; padding: 14px 16px; }
.big-stats small { display: block; font-size: 12.5px; color: var(--muted); }
.big-stats strong { display: block; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.25; font-variant-numeric: tabular-nums; margin-top: 2px; }
.big-stats strong span { font-size: 14px; font-weight: 600; }
.accent-red { color: var(--red); }

.plain-tip { background: var(--amber-soft); border-radius: 16px; padding: 14px 16px; font-size: 14px; color: var(--amber-text); margin-top: 8px; }
.plain-tip > strong { display: block; margin-bottom: 4px; color: #6e350d; }
.plain-tip p strong { color: #6e350d; }

.clean-steps { padding-left: 1.3em; margin-top: 14px; font-size: 0.96em; }
.clean-steps li + li { margin-top: 7px; }
.channel-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f4f8fe;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.62;
  display: grid;
  gap: 6px;
}
.channel-box > strong { color: var(--ink); font-size: 14px; }
.channel-box p strong { color: var(--ink); }

.info-stack { display: grid; gap: 12px; margin-top: 8px; }
.info-pill-card { background: #f6f7f9; border-radius: 16px; padding: 14px 16px; }
.info-pill-card > strong { display: block; font-size: 15px; margin-bottom: 4px; }
.info-pill-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.info-pill-card p strong { color: var(--ink); }

/* 住院报销滑块 */
.hosp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.seg-control { display: inline-flex; flex-wrap: wrap; max-width: 100%; background: #f2f4f7; padding: 4px; border-radius: 20px; gap: 3px; }
.seg-control button { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 16px; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.seg-control button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); }

.hosp-slider-row { margin-bottom: 18px; }
.slider-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.slider-meta span { font-size: 14.5px; color: var(--muted); }
.slider-meta strong { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--sec-accent); height: 6px; cursor: pointer; }

.stacked-bar { display: flex; height: 22px; border-radius: 99px; overflow: hidden; background: #e8eaef; gap: 2px; margin-bottom: 16px; }
.stacked-bar span { transition: width 0.2s ease; }
.sb-ded { background: #8e94a0; }
.sb-cov { background: var(--blue); }
.sb-copay { background: #cfd5df; }

.hosp-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; margin-bottom: 14px; }
.hosp-legend > div { display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-ded { background: #8e94a0; }
.dot-cov { background: var(--blue); }
.dot-copay { background: #cfd5df; }

.formula-pill { display: inline-block; padding: 9px 16px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }

/* 养老金公式响应式图解 & iPhone 画廊 */
.pension-formula {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 0.82fr;
  gap: 12px;
  align-items: stretch;
}
.pf-box {
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pf-box.is-base { background: #eef6ff; }
.pf-box.is-acct { background: #eefaf2; }
.pf-box.is-total { background: #141416; color: #ffffff; }
.pf-kicker { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.pf-box.is-base .pf-kicker { color: var(--blue); }
.pf-box.is-acct .pf-kicker { color: var(--green); }
.pf-box.is-total .pf-kicker { color: #5ce195; }
.pf-box strong { display: block; font-size: 19px; line-height: 1.25; margin-bottom: 8px; letter-spacing: -0.02em; }
.pf-box p { font-size: 13.5px; color: #515154; line-height: 1.6; }
.pf-box.is-acct b { color: var(--green); }
.pf-box.is-total p { color: #a8abb2; }
.pf-op {
  align-self: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2f4f6;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.phone-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.phone-gallery.is-4 { grid-template-columns: repeat(4, minmax(0, 210px)); justify-content: start; gap: 14px; margin-top: 14px; }
.phone-gallery.is-3 { grid-template-columns: repeat(3, minmax(0, 210px)); justify-content: start; gap: 16px; margin-top: 14px; }
.phone-gallery.is-2 { grid-template-columns: repeat(2, minmax(0, 200px)); justify-content: start; gap: 14px; margin-top: 14px; }
.phone-gallery.is-1 { grid-template-columns: minmax(0, 200px); justify-content: start; margin-top: 14px; }
.ins-gallery-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(15, 23, 42, 0.06); }
.iphone-card { border: 0; padding: 0; background: transparent; text-align: center; cursor: zoom-in; transition: transform 0.2s; }
.iphone-card:hover { transform: translateY(-4px); }
.iphone-bezel { display: block; padding: 5px; background: #1d1d1f; border-radius: 18px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.iphone-bezel img { border-radius: 13px; width: 100%; }
.iphone-cap { display: block; margin-top: 9px; font-size: 13px; font-weight: 600; color: var(--ink); }
.iphone-cap em { font-style: normal; color: var(--sec-accent); margin-right: 3px; }

.marked-shot { position: relative; display: block; }
.iphone-bezel.marked-shot::after {
  left: calc(5px + var(--box-left) * 0.94);
  top: calc(5px + var(--box-top) * 0.96);
  width: calc(var(--box-width) * 0.94);
  height: calc(var(--box-height) * 0.96);
}
[data-highlight] .marked-shot::after {
  content: "";
  position: absolute;
  left: var(--box-left);
  top: var(--box-top);
  width: var(--box-width);
  height: var(--box-height);
  border: 2.5px solid #e11d48;
  border-radius: 4px;
  pointer-events: none;
}
[data-highlight="account"] { --box-left: 5%; --box-top: 54%; --box-width: 45%; --box-height: 8%; }
[data-highlight="query"] { --box-left: 3%; --box-top: 46%; --box-width: 94%; --box-height: 6%; }
[data-highlight="sponsor-entry"] { --box-left: 8%; --box-top: 75.8%; --box-width: 40.4%; --box-height: 7.4%; }
[data-highlight="tax-sponsor"] { --box-left: 3%; --box-top: 46.2%; --box-width: 94%; --box-height: 6.5%; }
[data-highlight="tax-medical"] { --box-left: 3%; --box-top: 52.8%; --box-width: 94%; --box-height: 6.5%; }
[data-highlight="ghb-tiers"] { --box-left: 5.2%; --box-top: 55.5%; --box-width: 89.6%; --box-height: 10.5%; }
[data-highlight="yb-home"] { --box-left: 4%; --box-top: 67.5%; --box-width: 62%; --box-height: 8.5%; }
[data-highlight="yb-status-row"] { --box-left: 4%; --box-top: 60%; --box-width: 92%; --box-height: 5%; }
[data-highlight="yb-year"] { --box-left: 66%; --box-top: 10.6%; --box-width: 30%; --box-height: 4%; }
[data-highlight="ins-clauses"] { --box-left: 5%; --box-top: 78%; --box-width: 90%; --box-height: 6.5%; }

/* 养老试算舱 ①（精致无粗边框表单控件！） */
.calc-showcase { display: grid; grid-template-columns: 1fr 1.08fr; border-radius: 28px; overflow: hidden; box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07); }
.calc-left { background: var(--white); padding: clamp(22px, 3.2vw, 34px); }
.calc-left-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.calc-left-head h3 { font-size: 21px; }
.text-action { border: 0; background: transparent; color: var(--sec-accent); font-size: 13.5px; font-weight: 600; white-space: nowrap; }

.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calc-fields label span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.calc-fields select, .calc-fields input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  background: #f5f7f6;
  color: var(--ink);
  font-size: 15px;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.calc-fields select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 6.5 8 10l3.5-3.5' stroke='%235c5c62' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.calc-fields select:hover, .calc-fields input[type="number"]:hover { background-color: #eef2f0; }
.calc-fields select:focus, .calc-fields input[type="number"]:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 3.5px rgba(29, 131, 72, 0.14);
}
.span-2 { grid-column: 1 / -1; }
.slider-field { background: #f5f7f6; border-radius: 16px; padding: 14px 16px; }
.slider-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.slider-top label { font-size: 14px; font-weight: 600; }
.inline-num { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.inline-num input { width: 66px; min-height: 36px !important; text-align: center; font-weight: 700; background: var(--white) !important; }

.calc-right { background: #132119; color: #f4f7f5; padding: clamp(22px, 3.2vw, 34px); display: flex; flex-direction: column; justify-content: space-between; }
.calc-right-top { font-size: 12.5px; color: #9eb5a8; }
.delta-hero { margin: 18px 0 20px; }
.delta-hero small { display: block; font-size: 13.5px; color: #9eb5a8; margin-bottom: 4px; }
.delta-figure { display: flex; align-items: baseline; gap: 8px; }
.delta-figure strong { font-size: clamp(36px, 4.8vw, 52px); line-height: 1.05; letter-spacing: -0.04em; color: #5ce195; font-variant-numeric: tabular-nums; }
.delta-figure span { font-size: 16px; color: #9eb5a8; }

.bar-compare { display: grid; gap: 15px; margin-bottom: 16px; }
.bar-row-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 6px; }
.bar-row-head em { font-style: normal; color: #9eb5a8; }
.bar-row-head strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.bar-track { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 99px; background: #889b90; transition: width 0.25s ease; }
.bar-row.is-b .bar-track i { background: #5ce195; }
.bar-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: #9eb5a8; margin-top: 4px; }
.calc-summary { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.6; margin-bottom: 8px; }
.calc-error { color: #ffcf5c; font-weight: 600; font-size: 14px; }
.calc-fine { font-size: 12px; color: #839a8d; line-height: 1.6; }

/* 试算器 ② + 个人资助 3 步实操 */
.lump-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.preset-row button {
  min-height: 40px;
  padding: 6px 16px;
  border-radius: 99px;
  border: 0;
  background: #f1f4f2;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.preset-row button:hover { background: #e3ece6; }
.preset-row button[aria-pressed="true"] {
  background: var(--sec-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 131, 72, 0.22);
}
.theme-care .preset-row button { background: #f2f1f9; }
.theme-care .preset-row button:hover { background: #e7e5f5; }
.theme-care .preset-row button[aria-pressed="true"] { background: var(--purple); color: #fff; box-shadow: 0 4px 12px rgba(88, 80, 168, 0.22); }

.lump-right { background: var(--green-soft); border-radius: 20px; padding: 22px; }
.lump-label { display: block; font-size: 13.5px; color: #2b5a3d; font-weight: 600; }
.lump-big { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 14px; }
.lump-big strong { font-size: clamp(36px, 4.5vw, 48px); line-height: 1.05; color: var(--green); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.lump-big span { font-size: 15px; color: #2b5a3d; }
.lump-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lump-facts > div { background: var(--white); border-radius: 14px; padding: 12px 14px; }
.lump-facts small { display: block; font-size: 12px; color: var(--muted); }
.lump-facts strong { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }

.sponsor-howto {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.sponsor-howto h4 { font-size: 17px; margin-bottom: 14px; color: var(--ink); }
.howto-steps-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.howto-steps-3 > div { background: #f5f9f6; border-radius: 18px; padding: 16px; }
.hs-n { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--green); background: var(--white); padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }
.howto-steps-3 p { font-size: 13.8px; color: var(--muted); line-height: 1.65; }
.howto-steps-3 strong { color: var(--ink); }

/* 14档矩阵 */
.tier-bars-head { display: grid; grid-template-columns: 68px 1fr 76px 74px; gap: 8px; font-size: 12px; color: var(--muted); padding: 0 8px 6px; }
.tier-bars { display: grid; gap: 4px; }
.tier-bar-row {
  display: grid;
  grid-template-columns: 68px 1fr 76px 74px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: #f5f7f6;
  color: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: left;
  transition: background 0.15s;
}
.tier-bar-row:hover { background: var(--green-soft); }
.tier-bar-row[data-selected="b"] { background: var(--green); color: #fff; }
.tier-bar-row[data-selected="a"] { background: #e4ebe7; }
.tier-live-box {
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 16px;
  background: var(--green-soft);
  color: #1f4d32;
  font-size: 13.5px;
  line-height: 1.55;
}
.tier-live-head {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.tier-live-head strong { color: var(--green); }
.tier-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tier-live-grid > div {
  background: var(--white);
  border-radius: 12px;
  padding: 9px 11px;
}
.tier-live-grid small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}
.tier-live-grid strong {
  display: block;
  font-size: 15px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.tier-live-grid span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.tb-track { display: block; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, 0.06); overflow: hidden; }
.tb-track i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.tier-bar-row[data-selected="b"] .tb-track { background: rgba(255, 255, 255, 0.25); }
.tier-bar-row[data-selected="b"] .tb-track i { background: #fff; }
.tb-sub { color: var(--muted); font-size: 12px; }
.tier-bar-row[data-selected="b"] .tb-sub { color: rgba(255, 255, 255, 0.88); }
.tb-total { text-align: right; }

.rule-cards { display: grid; gap: 10px; margin-top: 12px; }
.rule-cards > div { background: #f5f8f6; border-radius: 16px; padding: 13px 15px; }
.rule-cards > div > strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.rule-cards p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* 县市差异三栏 */
.county-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.county-item { background: #f5f8f6; border-radius: 18px; padding: 16px 18px; }
.county-item > strong { display: block; font-size: 15.5px; margin-bottom: 6px; color: var(--ink); }
.county-item p { font-size: 13.8px; color: var(--muted); line-height: 1.65; }

/* 商业险 5 类全览表 + 入口 */
.ins-matrix { display: grid; gap: 10px; margin-top: 14px; }
.ins-row {
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 16px;
  align-items: start;
  background: #faf8f6;
  border-radius: 18px;
  padding: 16px 18px;
}
.ins-name strong { display: block; font-size: 16px; margin-bottom: 6px; }
.tag-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--white); color: var(--ink); }
.tag-pill.is-warm { background: var(--amber-soft); color: var(--amber); }
.ins-row p { font-size: 14.3px; color: var(--muted); line-height: 1.7; }
.ins-row p strong, .ins-row p b { color: var(--ink); }
.entry-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 1px 8px;
  border-radius: 6px;
  margin-right: 4px;
  margin-top: 4px;
}

.dual-callouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.callout-soft { border-radius: 18px; padding: 16px 18px; font-size: 14px; line-height: 1.65; }
.callout-soft > strong { display: block; margin-bottom: 6px; font-size: 15px; }
.callout-soft.is-blue { background: var(--blue-soft); color: #16447a; }
.callout-soft.is-amber { background: var(--amber-soft); color: var(--amber-text); }

/* 赣惠保（三张卡视觉完全平等，无误导黑色高亮！） */
.region-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.advice-pill { padding: 14px 18px; border-radius: 16px; background: var(--amber-soft); color: var(--amber-text); font-weight: 600; margin-bottom: 20px; }
.plan-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.plan-tile { background: #faf7f4; border-radius: 20px; padding: 22px; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.plan-sub-tag { font-size: 12px; font-weight: 600; color: var(--amber); background: var(--white); padding: 2px 9px; border-radius: 99px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 10px; }
.plan-price strong { font-size: 38px; line-height: 1.05; letter-spacing: -0.04em; color: var(--amber); font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 14px; color: var(--muted); }
.plan-tile p { font-size: 14px; color: var(--muted); }

.timeline-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.timeline-2 > div { background: #faf7f4; border-radius: 16px; padding: 14px 18px; }
.timeline-2 small { display: block; font-size: 12.5px; color: var(--muted); }
.timeline-2 strong { display: inline-block; margin-right: 8px; font-size: 16px; }
.timeline-2 span { color: var(--amber); font-weight: 700; font-size: 13.5px; }

.point-list { padding-left: 1.2em; margin-top: 8px; font-size: 0.94em; }
.point-list li + li { margin-top: 8px; }

/* 3款意外险横评 */
.compare-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-card { background: #faf8f6; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; }
.cmp-head { margin-bottom: 12px; }
.cmp-head strong { display: block; font-size: 17px; }
.cmp-head span { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--amber); background: var(--white); padding: 2px 10px; border-radius: 99px; }
.cmp-list { padding-left: 1.15em; font-size: 13.8px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.cmp-list li + li { margin-top: 8px; }
.cmp-list b, .cmp-list strong { color: var(--ink); }

/* 照护、三本账与接地气缺口试算器 */
.care-num { font-size: 30px; font-weight: 800; color: var(--purple); letter-spacing: -0.02em; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.care-num span { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; }

.ledger-list { display: grid; gap: 12px; margin-top: 12px; }
.ledger-item { background: #f6f5fb; border-radius: 16px; padding: 14px 16px; }
.li-badge { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-bottom: 6px; }
.li-badge.is-1 { background: var(--blue-soft); color: var(--blue); }
.li-badge.is-2 { background: var(--green-soft); color: var(--green); }
.li-badge.is-3 { background: var(--purple-soft); color: var(--purple); }
.ledger-item p { font-size: 14px; color: var(--muted); }

.budget-sliders { display: grid; gap: 14px; margin-bottom: 16px; }
.bs-item { background: #f6f5fb; border-radius: 16px; padding: 12px 14px; }
.bs-item .slider-meta { margin-bottom: 6px; }
.bs-item .slider-meta strong { font-size: 18px; color: var(--purple); }
.budget-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.budget-result > div { background: var(--purple-soft); border-radius: 16px; padding: 14px 16px; }
.budget-result small { display: block; font-size: 12.5px; color: #544d8a; }
.budget-result strong { display: block; font-size: 22px; color: var(--purple); font-variant-numeric: tabular-nums; margin-top: 2px; }

/* 1分钟收尾行动总结 */
.final-grid { list-style: none; padding: 0; display: grid; gap: 10px; }
.final-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6f6fa;
  font-size: 15px;
  line-height: 1.6;
}
.fi-num {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* 页脚 */
.site-footer { background: var(--white); padding: 34px 0 46px; font-size: 13.5px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner strong { display: block; color: var(--ink); margin-bottom: 4px; }
.footer-right { display: flex; align-items: center; gap: 14px; }

/* Toast & Dialog */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(29, 29, 31, 0.94); color: #fff; padding: 11px 20px; border-radius: 99px; font-size: 14px; z-index: 40; max-width: calc(100% - 32px); text-align: center; }
dialog { width: min(680px, calc(100% - 24px)); max-height: 92dvh; padding: 0; border: 0; border-radius: 24px; background: var(--white); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25); }
dialog::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.dialog-title-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dialog-title-wrap strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; }
.zoom-counter { flex: none; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 2px 9px; border-radius: 99px; font-variant-numeric: tabular-nums; }
.zoom-body {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  max-height: calc(92dvh - 122px);
  overflow: auto;
}
.zoom-stage { display: grid; place-items: center; min-width: 0; }
.zoom-body .marked-shot { width: fit-content; max-width: 100%; margin: auto; }
.zoom-body img { margin: auto; max-height: calc(92dvh - 156px); border-radius: 12px; }
.zoom-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #f2f4f7;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.15s, color 0.15s, transform 0.14s, opacity 0.15s;
}
.zoom-nav:hover:not(:disabled) { background: var(--ink); color: #fff; transform: scale(1.06); }
.zoom-nav:disabled { opacity: 0.28; cursor: not-allowed; }
.zoom-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.zoom-hint { font-size: 12px; color: var(--muted); }
.zoom-foot .pill-btn:disabled { opacity: 0.35; cursor: not-allowed; }
@media (max-width: 560px) {
  .zoom-body { grid-template-columns: 1fr; padding: 10px; }
  .zoom-nav { display: none !important; }
  .zoom-hint { display: none; }
}

/* 小问号产品速览按钮与浮层卡片 */
.q-tip-btn {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 4px;
  margin-right: 2px;
  vertical-align: text-bottom;
  border-radius: 50%;
  border: 0;
  background: #efe6de;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.q-tip-btn:hover, .q-tip-btn[aria-expanded="true"] {
  background: var(--amber);
  color: #fff;
  transform: scale(1.08);
}

.popover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.product-popover {
  position: fixed;
  z-index: 50;
  background: var(--white);
  border-radius: 20px;
  padding: 18px 20px 16px;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
  max-height: 78dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.product-popover.is-sheet {
  left: 10px;
  right: 10px;
  bottom: 10px;
  top: auto;
  width: auto !important;
  border-radius: 22px;
  padding: 18px 18px calc(16px + env(safe-area-inset-bottom, 0px));
}
.pop-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}
.pop-head strong { display: block; font-size: 16px; line-height: 1.3; color: var(--ink); }
.pop-head small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.pop-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--soft);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  flex: none;
  display: grid;
  place-items: center;
}
.pop-close:hover { background: #e4e6eb; color: var(--ink); }
.pop-dl { margin: 0; display: grid; gap: 8px; }
.pop-dl dt { font-size: 12px; font-weight: 700; color: var(--amber); margin-top: 2px; }
.pop-dl dd { margin: 0; font-size: 13.5px; color: var(--ink); line-height: 1.6; }
.pop-dl dd.is-warn { background: var(--amber-soft); color: var(--amber-text); padding: 8px 10px; border-radius: 10px; }
.pop-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(15, 23, 42, 0.06); font-size: 11.5px; color: var(--muted); }

/* 官方公众号/小程序 扫码直达 + 一键复制 轻胶囊按钮与弹卡 */
.portal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px 2px 9px;
  margin: 0 2px;
  border: 0;
  border-radius: 99px;
  background: var(--sec-soft);
  color: var(--sec-accent);
  font-size: 0.92em;
  font-weight: 700;
  line-height: 1.45;
  vertical-align: baseline;
  transition: background 0.15s, color 0.15s, transform 0.14s;
}
.portal-chip span {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
  background: var(--white);
  color: var(--sec-accent);
}
.portal-chip:hover, .portal-chip[aria-expanded="true"] {
  background: var(--sec-accent);
  color: #fff;
}
.portal-chip:hover span, .portal-chip[aria-expanded="true"] span {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.pop-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f7f8fa;
  border-radius: 16px;
  padding: 16px 14px 12px;
  margin-bottom: 12px;
}
.pop-qr-wrap img {
  width: 172px;
  height: 172px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.pop-qr-hint {
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.pop-portal-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 12px;
}
.pop-copy-btn {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s, transform 0.14s;
}
.pop-copy-btn:hover { background: #333336; }
.pop-copy-btn:active { transform: scale(0.99); }

/* 桌面端左侧悬浮目录与阅读进度导航 */
[data-toc-sub] { scroll-margin-top: 82px; }
#main { position: relative; }
.side-toc-rail { display: none; }

@media (min-width: 1180px) {
  .side-toc-rail {
    display: block;
    position: absolute;
    top: 44px;
    bottom: 44px;
    left: 18px;
    width: 220px;
    z-index: 20;
    pointer-events: none;
  }
  .side-toc {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 80px;
    width: 220px;
    max-height: calc(100vh - 100px);
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-radius: 20px;
    padding: 12px 10px 10px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.045);
    transition: width 0.2s ease, padding 0.2s ease, box-shadow 0.2s ease;
  }
  .side-toc.is-collapsed {
    width: fit-content;
    padding: 6px;
    border-radius: 99px;
  }
  .side-toc.is-collapsed .stoc-body,
  .side-toc.is-collapsed .stoc-foot {
    display: none;
  }
  .side-toc.is-collapsed .stoc-head {
    margin-bottom: 0;
    padding: 0;
  }
  .side-toc.is-collapsed .stoc-title { display: none; }

  /* 为左侧悬浮目录留出舒适且不重叠的正文空间（Hero 首屏保持全宽居中） */
  body:not(.toc-collapsed) main .container {
    width: min(1080px, calc(100vw - 282px));
    margin-left: 260px;
    margin-right: 22px;
  }

  .stoc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 6px;
    margin-bottom: 8px;
  }
  .stoc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .stoc-toggle {
    border: 0;
    background: #f2f4f7;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 99px;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
  }
  .stoc-toggle:hover { background: #e5e8ee; color: var(--ink); }

  .stoc-body {
    overflow-y: auto;
    scrollbar-width: thin;
    display: grid;
    gap: 2px;
    padding-right: 2px;
  }
  .stoc-group {
    --g-accent: var(--blue);
    --g-soft: var(--blue-soft);
  }
  .stoc-group.is-start { --g-accent: #1d1d1f; --g-soft: #f2f4f8; }
  .stoc-group.is-medical { --g-accent: var(--blue); --g-soft: var(--blue-soft); }
  .stoc-group.is-pension { --g-accent: var(--green); --g-soft: var(--green-soft); }
  .stoc-group.is-insurance { --g-accent: var(--amber); --g-soft: var(--amber-soft); }
  .stoc-group.is-care { --g-accent: var(--purple); --g-soft: var(--purple-soft); }

  .stoc-chap {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5.5px 8px;
    border-radius: 9px;
    color: #3d3d42;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
  }
  .stoc-chap:hover {
    background: #f4f5f7;
    color: var(--ink);
    text-decoration: none;
  }
  .stoc-group.is-active > .stoc-chap {
    background: var(--g-soft);
    color: var(--g-accent);
  }
  .stoc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: none;
    background: #d2d6de;
    transition: background 0.18s, transform 0.18s;
  }
  .stoc-group.is-active > .stoc-chap .stoc-dot {
    background: var(--g-accent);
    transform: scale(1.2);
  }
  .stoc-chap-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .stoc-lock {
    font-size: 10.5px;
    color: #8c919c;
    flex: none;
  }
  .stoc-group.is-locked > .stoc-chap {
    color: #8c919c;
  }

  .stoc-subs {
    display: grid;
    margin: 2px 0 6px 11px;
    padding-left: 9px;
    border-left: 1.5px solid #e8ebf0;
    gap: 1px;
  }
  .stoc-sub {
    display: block;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #6a6d76;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.14s, color 0.14s;
  }
  .stoc-sub:hover {
    background: #f4f5f7;
    color: var(--ink);
    text-decoration: none;
  }
  .stoc-sub.is-active {
    background: var(--g-soft);
    color: var(--g-accent);
    font-weight: 700;
  }

  .stoc-foot {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-inline: 6px;
  }
  .stoc-foot a {
    display: inline-block;
    padding: 2px 2px;
    font-size: 11.5px;
    font-weight: 600;
    color: #7c808b;
    text-decoration: none;
  }
  .stoc-foot a:hover {
    color: var(--ink);
    text-decoration: none;
  }
}

@media (min-width: 1380px) {
  .side-toc-rail {
    left: calc((100vw - 1326px) / 2);
  }
  body:not(.toc-collapsed) main .container {
    width: 1080px;
    margin-left: calc((100vw - 1326px) / 2 + 246px);
    margin-right: auto;
  }
}

@media (min-width: 1600px) {
  .side-toc-rail {
    left: calc((100vw - 1080px) / 2 - 246px);
  }
  body:not(.toc-collapsed) main .container {
    width: 1080px;
    margin-inline: auto;
  }
}

/* 响应式 */
@media (max-width: 960px) {
  .hero-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pension-formula { grid-template-columns: 1fr; gap: 8px; }
  .pf-op { justify-self: center; width: 28px; height: 28px; font-size: 16px; }
  .quiz-box, .quiz-steps, .calc-showcase, .lump-grid, .grid-2-asym, .compare-3, .county-grid, .howto-steps-3, .dual-callouts { grid-template-columns: 1fr; }
  .q-group { grid-template-columns: 1fr; gap: 8px; padding-bottom: 12px; }
  .phone-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chapter-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 740px) {
  :root { --font-size: 15.5px; }
  html[data-font="large"] { --font-size: 18.5px; }
  .container { width: calc(100% - 24px); }

  /* 手机端紧凑双行毛玻璃顶栏，不挤不裁切 */
  .nav-inner { flex-wrap: wrap; min-height: 0; gap: 6px; padding-block: 7px 6px; }
  .brand { font-size: 15px; }
  .brand span { font-size: 11px; padding: 1px 7px; }
  .pill-btn { min-height: 30px; padding: 4px 11px; font-size: 12px; }
  .nav-links {
    order: 3;
    width: 100%;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: space-between;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 12.5px; padding: 5px 8px; }

  /* 锚点跳转留出手机双行顶栏高度 */
  .band { padding: 38px 0; scroll-margin-top: 88px; }
  .band-head { flex-direction: column; align-items: flex-start; margin-bottom: 18px; gap: 10px; }
  .band-head h2, .banner-copy h2 { font-size: 24px; line-height: 1.24; }
  .card h3 { font-size: 18.5px; }

  /* 首屏手机端一屏看全标题 + 2x2 互动跳转卡片 */
  .hero { padding: 28px 0 30px; }
  .hero-meta { font-size: 12px; padding: 4px 12px; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(28px, 7.6vw, 36px); line-height: 1.16; margin-bottom: 12px; }
  .hero-sub { font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
  .hero-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pillar-card { padding: 13px 12px 14px; border-radius: 18px; }
  .pillar-top { gap: 6px; margin-bottom: 8px; }
  .pillar-num { width: 22px; height: 22px; font-size: 11.5px; }
  .pillar-top strong { font-size: 13.5px; line-height: 1.2; white-space: nowrap; }
  .pillar-arrow { width: 18px; height: 18px; font-size: 10px; flex: none; }
  .pillar-tag { font-size: 12px; margin-bottom: 4px; }
  .pillar-card p { font-size: 12px; line-height: 1.5; }

  /* 卡片与横幅节奏更贴合小屏 */
  .chapter-banner { padding: 22px 18px; border-radius: 22px; gap: 16px; margin-bottom: 16px; }
  .done-pill { padding: 8px 14px 8px 10px; font-size: 13px; }
  .card, .quiz-box { padding: 20px 16px; border-radius: 20px; }
  .calc-left, .calc-right { padding: 20px 16px; }
  .calc-showcase { border-radius: 22px; }
  .quiz-output { padding: 16px; border-radius: 16px; }
  .quiz-step { padding: 12px 13px; gap: 10px; }

  /* 手机端按钮组更工整不落单 */
  .q-pills { gap: 7px; }
  .q-pills button { min-height: 38px; padding: 7px 13px; font-size: 13px; }
  .seg-control {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    border-radius: 16px;
    padding: 3px;
  }
  .seg-control button {
    white-space: normal;
    line-height: 1.3;
    padding: 8px 6px;
    font-size: 12px;
    border-radius: 13px;
  }
  .preset-row { gap: 6px; }
  .preset-row button { min-height: 36px; padding: 6px 12px; font-size: 13px; }

  .grid-2, .media-grid-2, .plan-grid-3, .timeline-2, .calc-fields, .ins-row { grid-template-columns: 1fr; gap: 14px; }
  .card-wide, .grid-2 { margin-bottom: 14px; }
  .phone-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .phone-gallery.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .phone-gallery.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .phone-gallery.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .phone-gallery.is-1 { grid-template-columns: minmax(0, 180px); }
  .big-stats > div, .lump-facts > div, .budget-result > div { padding: 12px; }
  .budget-result strong { font-size: 19px; }
  .lump-facts strong { font-size: 15px; }
  .q-tip-btn { width: 22px; height: 22px; font-size: 12.5px; }
  .formula-pill { font-size: 13.5px; line-height: 1.55; padding: 10px 13px; }
  .footer-inner { gap: 12px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 20px); }
  .tier-bars-head, .tier-bar-row { grid-template-columns: 52px 1fr 58px 58px; gap: 5px; font-size: 11.5px; padding-inline: 5px; }
}
@media (max-width: 350px) {
  .hero-pillars, .lump-facts, .budget-result, .big-stats { grid-template-columns: 1fr; }
  .seg-control { grid-template-columns: 1fr; }
}
@media print {
  .glass-nav, .side-toc, .pill-btn, dialog, .toast, .product-popover, .popover-backdrop, .q-tip-btn, .portal-chip span { display: none !important; }
  .band { background: #ffffff !important; padding: 24px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* ==================== 付费激活门禁 & 备案页脚样式 ==================== */
.band-gate {
  background: linear-gradient(180deg, #eef5ff 0%, #f5f7fb 65%, #ffffff 100%);
  padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 76px);
}
.gate-card {
  max-width: 820px;
  margin-inline: auto;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  text-align: center;
}
.gate-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.gate-card h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.gate-lead {
  color: var(--muted);
  max-width: 38em;
  margin: 0 auto 24px;
  font-size: 15px;
}
.gate-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
  margin-bottom: 26px;
}
.gp-item {
  background: #f6f8fb;
  border-radius: 16px;
  padding: 14px 16px;
}
.gp-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.gp-item span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.gate-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 12px;
}
.gate-input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1.5px solid #dce2ec;
  background: #f8fafc;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.gate-input::placeholder {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #8e94a0;
  font-size: 14px;
}
.gate-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}
.gate-submit {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s, transform 0.14s;
}
.gate-submit:hover { background: #333336; }
.gate-submit:disabled { opacity: 0.6; cursor: wait; }
.gate-status {
  max-width: 560px;
  margin: 0 auto 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  background: #fef2f2;
  color: #b91c1c;
}
.gate-status.is-info {
  background: var(--blue-soft);
  color: var(--blue);
}
.gate-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 12.5px;
  color: var(--muted);
}

.unlock-bar-wrap {
  background: #eef5ff;
  padding: 14px 0 0;
}
.unlock-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.unlock-switch-btn {
  border: 0;
  background: #f2f4f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 99px;
}
.unlock-switch-btn:hover { background: #e5e8ee; color: var(--ink); }

.footer-beian {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-beian a { color: var(--muted); }
.footer-beian a:hover { color: var(--ink); }
.police-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.police-link img { width: 16px; height: 18px; object-fit: contain; }

@media (max-width: 740px) {
  .gate-card { padding: 22px 16px; border-radius: 22px; }
  .gate-preview-grid { grid-template-columns: 1fr; gap: 10px; }
  .gate-form { flex-direction: column; }
  .gate-submit { width: 100%; }
  .gate-notes { flex-direction: column; gap: 6px; }
}
