/* ============================================================
   绷住的奶龙 · 家庭就医信息核验与执行助手 — 站点样式
   纯静态、无外部依赖（不引用任何 CDN / 外部字体）
   ============================================================ */

:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #23201b;
  --muted: #6f6a61;
  --line: #e6e1d7;
  --brand: #14665a;
  --brand-deep: #0d4d44;
  --brand-soft: #eaf3f0;
  --radius: 16px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-soft); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip:focus { top: 0; color: #fff; }

.wrap {
  width: min(1080px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand .mark {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand);
  display: grid;
  place-items: center;
}
.brand .mark svg { width: 20px; height: 20px; display: block; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.brand-text strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .01em;
}
.brand-text small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.site-header nav a {
  display: inline-block;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

/* ---------- 首屏 ---------- */

.hero { padding: 76px 0 46px; }

.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.22;
  letter-spacing: .01em;
  font-weight: 700;
}

.lede {
  max-width: 40em;
  margin: 0 0 24px;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.7;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s ease;
}
.btn:hover { background: var(--brand-deep); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-deep); }

/* ---------- 章节 ---------- */

.section { padding: 60px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }

.section-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}

.section h2 {
  margin: 0 0 26px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: .01em;
}

.section h3 {
  margin: 34px 0 10px;
  font-size: 18px;
  line-height: 1.5;
}

.prose { max-width: 44em; }
.prose p { margin: 0 0 1.05em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- 团队 ---------- */

.team-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
}
.team-name strong {
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: .02em;
}
.team-name span { color: var(--muted); font-size: 14px; }

.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.members li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 550;
}
.avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 16px;
  font-weight: 600;
}

/* ---------- 提案 ---------- */

.callout {
  margin: 30px 0 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 15px;
  max-width: 44em;
}

/* ---------- 数据收集 ---------- */

.plan-intro { max-width: 44em; }

.goals {
  margin: 14px 0 0;
  padding-left: 1.2em;
}
.goals li { margin: 6px 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { margin: 0 0 4px; font-size: 19px; }
.card .tagline { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 14px;
  margin: 0 0 20px;
  padding: 0;
  font-size: 14.5px;
}
.card dt { color: var(--muted); white-space: nowrap; }
.card dd { margin: 0; }
.card .more {
  margin-top: auto;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
}
.card .more::after { content: " →"; }

.ethics {
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .5);
}
.ethics h3 { margin: 0 0 8px; font-size: 16px; }
.ethics ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
  margin: 0;
  padding: 0 0 0 1.2em;
  font-size: 14.5px;
  color: var(--muted);
}
.ethics li { line-height: 1.6; }

@media (max-width: 720px) {
  .ethics ul { grid-template-columns: 1fr; }
}

/* ---------- 内页（访谈脚本 / 问卷） ---------- */

.page-head { padding: 64px 0 10px; }
.page-head h1 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.3;
}
.page-head .lede { margin-bottom: 10px; }

.article { padding-bottom: 10px; }

.meta-box {
  margin: 26px 0 6px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14.5px;
}
.meta-box dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
}
.meta-box dt { color: var(--muted); white-space: nowrap; }
.meta-box dd { margin: 0; }

details {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 600;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--brand);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
}
details[open] summary::after { content: "–"; }
summary:hover { background: rgba(20, 102, 90, .04); }

.details-body {
  padding: 6px 20px 20px;
  border-top: 1px solid var(--line);
}

.qa {
  margin: 0;
  padding: 0;
  list-style: none;
}
.qa > li { margin: 18px 0; }
.qa > li:first-child { margin-top: 8px; }
.q { margin: 0; font-weight: 600; }
.qa .q-prefix { color: var(--brand); margin-right: .4em; }
.probe {
  margin: 6px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}
.probe + .probe { margin-top: 4px; }

.opts {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}
.opts .dot { color: var(--brand); margin: 0 .3em; }

.note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.backlink {
  display: inline-block;
  margin-top: 34px;
  font-size: 15px;
  text-decoration: none;
  font-weight: 550;
}
.backlink::before { content: "← "; }

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer p { margin: 0 0 4px; }

/* ---------- 响应式 ---------- */

@media (max-width: 860px) {
  html { scroll-padding-top: 150px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-header nav ul { gap: 2px 16px; font-size: 13.5px; }
  .hero { padding-top: 52px; }
  .section { padding: 46px 0; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .brand-text strong { font-size: 14px; }
  .chip { font-size: 12.5px; }
  .card dl { grid-template-columns: 1fr; gap: 2px; }
  .card dt { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
