/* 兰蕊心理 · 站点样式 */

:root {
  --bg: #faf8f4;
  --paper: #ffffff;
  --ink: #23231f;
  --ink-soft: #55514a;
  --ink-light: #8a837a;
  --line: #e2dbd0;
  --green: #46604d;
  --green-soft: #6d8472;
  --clay: #8d6f56;
  --sand: #f2ede5;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Noto Serif SC", Georgia, "Songti SC", "SimSun", serif;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 0;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 顶部导航 */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--green-soft); font-size: 12px; letter-spacing: 0.16em; display: block; font-weight: 400; margin-top: -2px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 14px;
}
.nav a { color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--green); text-decoration: none; }
.nav a.on { color: var(--green); border-bottom: 1px solid var(--green-soft); }

/* 布局 */
.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1000px; }

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }

/* 首屏 */
.hero { padding: 72px 0 64px; }
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--ink-light);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(26px, 4.2vw, 38px);
  margin-bottom: 22px;
}
.hero .lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 14px; color: var(--ink-light);
  padding-top: 22px; border-top: 1px solid var(--line);
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}
.btn:hover { background: #3b5242; text-decoration: none; }
.btn-ghost {
  display: inline-block; padding: 11px 24px;
  border: 1px solid var(--green-soft); color: var(--green);
  font-size: 15px; border-radius: 2px;
}
.btn-ghost:hover { background: var(--sand); text-decoration: none; }

/* 卡片与列表 */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 26px 22px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.list { list-style: none; padding: 0; margin: 0; }
.list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  display: flex; gap: 14px; align-items: baseline;
}
.list li:last-child { border-bottom: none; }
.list .k { color: var(--ink); min-width: 7.5em; font-size: 14px; }

/* 标题块 */
.sec-head { margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(20px, 3vw, 25px); margin-bottom: 10px; }
.sec-head p { margin: 0; color: var(--ink-light); font-size: 14.5px; }

/* 正文 */
.prose p { margin: 0 0 18px; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 22px; margin: 42px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 28px 0 10px; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }

/* 提示框 */
.note {
  background: var(--sand);
  border-left: 3px solid var(--clay);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 26px 0 0;
}
.note strong { color: var(--ink); }

/* 问答 */
.qa { border-top: 1px solid var(--line); }
.qa details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.qa summary {
  cursor: pointer;
  font-weight: 600;
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 16.5px;
  color: var(--ink);
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "＋"; float: right; color: var(--ink-light); font-weight: 400; }
.qa details[open] summary::after { content: "－"; }
.qa .ans { margin: 14px 0 0; font-size: 15px; color: var(--ink-soft); }
.qa .ans p { margin: 0 0 10px; }
.qa .ans p:last-child { margin: 0; }

/* 信息表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info-table th, .info-table td {
  text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th { color: var(--ink-light); font-weight: 400; width: 8.5em; }
.info-table td { color: var(--ink-soft); }

/* 页脚 */
.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding: 44px 0 56px;
  font-size: 13.5px;
  color: var(--ink-light);
  line-height: 1.9;
}
.site-foot p { margin: 0 0 8px; }
.site-foot .fnav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 18px; }
.site-foot .fnav a { color: var(--ink-soft); }

/* 响应式 */
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .head-inner { padding: 12px 18px; }
  .nav { font-size: 13px; gap: 2px 12px; }
  .hero { padding: 48px 0 44px; }
  section { padding: 42px 0; }
  .wrap { padding: 0 18px; }
  .list .k { min-width: 6.5em; }
}
