/* ==========================================================================
   qingxi.ai119.cn — Care Grid Design System
   智慧养老硬件选型平台 / AEO + SEO + GEO
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F8F6F1;
  --paper-2: #FFFFFF;
  --paper-3: #F1EEE7;
  --ink: #121E1C;
  --ink-2: #3B4C48;
  --ink-3: #6B7C77;
  --teal: #0B6B60;
  --teal-2: #108C7D;
  --teal-soft: #E3F0EB;
  --amber: #C2661A;
  --amber-soft: #FBECDC;
  --red: #B5372A;
  --line: #E4DFD5;
  --line-2: #D2CBBD;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-1: 0 1px 2px rgba(18,30,28,.05);
  --shadow-2: 0 14px 40px -18px rgba(18,30,28,.28);
  --shadow-3: 0 26px 70px -30px rgba(18,30,28,.35);
  --maxw: 1220px;
  --gutter: 24px;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.022em; line-height: 1.15; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.85rem); line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.3; }
h4 { font-size: 1.05rem; }
p { color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55;
}
.lead { font-size: clamp(1rem, 1.35vw, 1.14rem); color: var(--ink-2); line-height: 1.85; }
.muted { color: var(--ink-3); font-size: .92rem; }
.accent { color: var(--teal); }
.hl {
  background: linear-gradient(180deg, transparent 62%, var(--teal-soft) 62%);
  padding: 0 .1em;
}
.num { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,246,241,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-head.is-stuck { border-bottom-color: var(--line); background: rgba(248,246,241,.94); }
.head-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(145deg, var(--teal-2), var(--teal));
  display: grid; place-items: center; box-shadow: 0 4px 14px -4px rgba(11,107,96,.5);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; }
.brand-sub { display: block; font-family: var(--mono); font-size: .62rem; letterspacing: .12em; color: var(--ink-3); font-weight: 500; margin-top: -3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav .nav-cta { display: none; }
.nav a {
  position: relative; padding: 8px 13px; border-radius: 8px;
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--teal); background: var(--teal-soft); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 700; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--teal);
}
.head-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s, border-color .18s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 26px -14px rgba(18,30,28,.9); }
.btn-primary:hover { background: var(--teal); transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(11,107,96,.75); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--paper-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.btn-sm { padding: 9px 17px; font-size: .87rem; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: #A85512; transform: translateY(-1px); }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; position: relative; }
.section-tight { padding: clamp(40px, 5vw, 68px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { margin: 14px 0 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.rule-top { border-top: 1px solid var(--line); }
.bg-white { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-ink p, .bg-ink li { color: rgba(255,255,255,.74); }
.bg-ink .eyebrow { color: #7FD4C6; }
.bg-ink .muted { color: rgba(255,255,255,.55); }
.bg-teal-soft { background: var(--teal-soft); }

/* 栅格纹理 */
.grid-lines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(18,30,28,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18,30,28,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; z-index: 0;
  width: 640px; height: 640px; right: -160px; top: -260px;
  background: radial-gradient(circle, rgba(16,140,125,.16), rgba(16,140,125,0) 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; align-items: baseline; gap: 8px; font-size: .86rem; color: var(--ink-3); }
.hero-facts b { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); font-weight: 700; }

/* 信号面板 */
.signal-panel {
  position: relative; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-3);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-title { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 0 rgba(16,140,125,.6); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,140,125,.55); }
  70% { box-shadow: 0 0 0 9px rgba(16,140,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,140,125,0); }
}
.panel-time { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.signal {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px; background: linear-gradient(180deg, #fff, var(--paper));
  transition: border-color .2s, transform .2s;
}
.signal:hover { border-color: var(--line-2); transform: translateY(-2px); }
.signal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.signal-name { font-size: .84rem; font-weight: 700; }
.signal-state { font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: .02em; }
.s-ok { background: var(--teal-soft); color: var(--teal); }
.s-warn { background: var(--amber-soft); color: var(--amber); }
.signal-val { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.signal-val small { font-family: var(--sans); font-size: .66rem; font-weight: 600; color: var(--ink-3); margin-left: 3px; }
.signal-bar { height: 3px; border-radius: 3px; background: var(--paper-3); margin-top: 10px; overflow: hidden; }
.signal-bar i { display: block; height: 100%; border-radius: 3px; background: var(--teal-2); }
.signal-bar i.warn { background: var(--amber); }
.panel-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--line);
  font-size: .72rem; color: var(--ink-3);
}
.panel-foot strong { color: var(--ink); font-weight: 700; }

/* ---------- 决策路径 ---------- */
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.path-item { position: relative; padding: 30px 26px 30px 0; }
.path-item::before {
  content: ""; position: absolute; left: 0; right: 0; top: 46px; height: 1px;
  background: linear-gradient(90deg, var(--line-2), var(--line));
}
.path-item:last-child::before { background: linear-gradient(90deg, var(--line-2), transparent); }
.path-num {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: .76rem; font-weight: 700; color: var(--teal);
  margin-bottom: 20px;
}
.path-item h3 { font-size: 1.06rem; margin-bottom: 8px; }
.path-item p { font-size: .88rem; line-height: 1.7; }
.path-item .path-out {
  display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700;
  color: var(--teal); border-bottom: 1px solid currentColor; padding-bottom: 1px;
}

/* ---------- 场景卡 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.scene {
  position: relative; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; min-height: 250px;
}
.scene:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.scene::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--teal-soft), transparent 70%);
  opacity: .8; transition: transform .4s;
}
.scene:hover::after { transform: scale(1.25); }
.scene-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); margin-bottom: 20px;
}
.scene-icon svg { width: 21px; height: 21px; }
.scene h3 { margin-bottom: 10px; }
.scene p { font-size: .9rem; line-height: 1.75; max-width: 34em; }
.scene-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.tag {
  font-size: .72rem; font-weight: 600; color: var(--ink-2);
  background: var(--paper-3); padding: 4px 10px; border-radius: 999px;
}
.scene-link { margin-top: 18px; font-size: .85rem; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 产品 Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento-item {
  position: relative; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.bento-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.bento-item.is-feature { grid-column: span 2; grid-row: span 2; background: var(--ink); border-color: var(--ink); }
.bento-item.is-feature h3, .bento-item.is-feature .bento-idx { color: #fff; }
.bento-item.is-feature p { color: rgba(255,255,255,.72); }
.bento-item.is-feature .bento-list li { color: rgba(255,255,255,.8); }
.bento-item.is-feature .bento-list li::before { background: #7FD4C6; }
.bento-idx { font-family: var(--mono); font-size: .68rem; font-weight: 700; color: var(--ink-3); letter-spacing: .1em; margin-bottom: 14px; }
.bento-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.bento-item p { font-size: .85rem; line-height: 1.7; }
.bento-list { margin-top: 14px; display: grid; gap: 6px; }
.bento-list li { position: relative; padding-left: 14px; font-size: .8rem; color: var(--ink-2); }
.bento-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--teal-2); }
.bento-arrow { margin-top: auto; padding-top: 16px; font-size: .78rem; font-weight: 700; color: var(--teal); }
.bento-item.is-feature .bento-arrow { color: #7FD4C6; }

/* ---------- 直答 / Q&A ---------- */
.answer-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-left: 3px solid var(--teal); border-radius: 0 var(--r) var(--r) 0;
  padding: 26px 30px; margin-bottom: 14px;
}
.answer-card h2, .answer-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.answer-card p { font-size: .95rem; line-height: 1.9; }
.answer-card .answer-label {
  font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 10px;
}

.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 700; color: var(--ink);
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--teal); }
.qa summary .q-idx { font-family: var(--mono); font-size: .72rem; color: var(--teal); padding-top: .28em; flex-shrink: 0; }
.qa summary .q-toggle {
  margin-left: auto; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  position: relative; transition: transform .25s, background .2s, border-color .2s;
}
.qa summary .q-toggle::before, .qa summary .q-toggle::after {
  content: ""; position: absolute; background: var(--ink-3); border-radius: 2px;
}
.qa summary .q-toggle::before { width: 10px; height: 1.5px; }
.qa summary .q-toggle::after { width: 1.5px; height: 10px; transition: transform .25s; }
.qa details[open] summary .q-toggle { background: var(--teal); border-color: var(--teal); transform: rotate(180deg); }
.qa details[open] summary .q-toggle::before, .qa details[open] summary .q-toggle::after { background: #fff; }
.qa details[open] summary .q-toggle::after { transform: scaleY(0); }
.qa-body { padding: 0 4px 26px 44px; }
.qa-body p { font-size: .93rem; line-height: 1.9; margin-bottom: 12px; }
.qa-body p:last-child { margin-bottom: 0; }
.qa-body ul { display: grid; gap: 7px; margin: 10px 0 14px; }
.qa-body li { position: relative; padding-left: 16px; font-size: .9rem; color: var(--ink-2); }
.qa-body li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 1.5px; background: var(--teal-2); }

/* ---------- 数据条 ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.stat { background: var(--paper-2); padding: 30px 26px; }
.stat-n { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.stat-n small { font-family: var(--sans); font-size: .8rem; font-weight: 700; color: var(--ink-3); margin-left: 4px; }
.stat-l { margin-top: 10px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.stat-d { margin-top: 4px; font-size: .76rem; color: var(--ink-3); line-height: 1.6; }
.bg-ink .stat-row { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.bg-ink .stat { background: transparent; }
.bg-ink .stat-n { color: #fff; }
.bg-ink .stat-l { color: rgba(255,255,255,.9); }
.bg-ink .stat-d { color: rgba(255,255,255,.5); }

/* ---------- 双栏协同 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  background: var(--paper-2);
}
.panel-dark { background: var(--ink); border-color: var(--ink); }
.panel-dark h3, .panel-dark h4 { color: #fff; }
.panel-dark p, .panel-dark li { color: rgba(255,255,255,.75); }
.panel-tag { display: inline-block; font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--paper-3); color: var(--ink-2); margin-bottom: 16px; }
.panel-dark .panel-tag { background: rgba(255,255,255,.12); color: #7FD4C6; }
.check-list { display: grid; gap: 11px; margin-top: 18px; }
.check-list li { position: relative; padding-left: 26px; font-size: .89rem; line-height: 1.65; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230B6B60' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.panel-dark .check-list li::before { background-color: rgba(127,212,198,.18); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 620px; }
thead th {
  text-align: left; padding: 15px 18px; font-weight: 700; font-size: .8rem; letter-spacing: .02em;
  color: var(--ink); background: var(--paper-3); border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; line-height: 1.65; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #FCFBF8; }
td strong { color: var(--ink); font-weight: 700; }
tbody th[scope="row"] {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line);
  background: transparent; white-space: nowrap; font-size: .88rem;
}
tbody th[scope="row"] a { color: var(--teal); font-weight: 700; text-decoration: none; }
tbody th[scope="row"] a:hover { text-decoration: underline; }
tbody tr:last-child th[scope="row"] { border-bottom: 0; }
.tbl-cap {
  caption-side: top; text-align: left; padding: 14px 18px 0; font-family: var(--mono);
  font-size: .72rem; letter-spacing: .04em; color: var(--ink-3); line-height: 1.6;
}
.tbl-note { margin-top: 14px; font-size: .86rem; line-height: 1.75; color: var(--ink-2); }
.tbl-src {
  margin-top: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .02em;
  color: var(--ink-3); line-height: 1.7;
}
.tbl-src a { color: var(--teal); text-decoration: none; border-bottom: 1px solid currentColor; }

td .nw { white-space: nowrap; }
td.c-comm, td.c-alarm { word-break: keep-all; overflow-wrap: break-word; }

/* ---------- 表单反馈 ---------- */
.form-msg {
  margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; line-height: 1.7;
  border: 1px solid var(--line-2); background: var(--paper);
}
.form-msg.is-ok { border-color: #9ECFA8; background: #EDF7EF; color: #1F5A2E; }
.form-msg.is-err { border-color: #E3B4A8; background: #FDF1ED; color: #8A3524; }

/* ---------- 引用格式块 ---------- */
.cite-box {
  margin-top: 34px; padding: 18px 22px; border-left: 3px solid var(--teal);
  background: var(--paper); border-radius: 0 var(--r) var(--r) 0;
}
.cite-label {
  display: block; font-family: var(--mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; color: var(--teal); margin-bottom: 8px;
}
.cite-text { font-size: .9rem; line-height: 1.8; color: var(--ink); }
.cite-src {
  margin-top: 4px; font-family: var(--mono); font-size: .78rem; line-height: 1.9;
  color: var(--ink-2); word-break: break-word;
}
.cite-src a { color: var(--teal); text-decoration: none; }
.cite-src a:hover { text-decoration: underline; }
.cite-note { margin-top: 8px; font-size: .8rem; line-height: 1.75; color: var(--ink-3); }

/* ---------- 文章内上一篇/下一篇 ---------- */
.art-nav {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem;
}
.art-nav-l {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); flex: 0 0 auto;
}
.art-nav a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid transparent; }
.art-nav a:hover { color: var(--teal); border-bottom-color: currentColor; }

/* ---------- 最近更新 ---------- */
.latest-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.latest-list li {
  display: grid; grid-template-columns: 96px 1fr; gap: 6px 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.latest-list time {
  grid-row: span 2; font-family: var(--mono); font-size: .74rem; letter-spacing: .02em;
  color: var(--ink-3); white-space: nowrap;
}
.latest-list a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: .98rem; }
.latest-list a:hover { color: var(--teal); }
.latest-list p { font-size: .86rem; line-height: 1.7; color: var(--ink-2); }

/* ---------- 时间线 ---------- */
.timeline { display: grid; gap: 0; }
.tl-item { position: relative; padding: 0 0 32px 40px; border-left: 1px solid var(--line); margin-left: 12px; }
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -9px; top: 2px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--teal); display: grid; place-items: center;
}
.tl-dot::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.tl-idx { font-family: var(--mono); font-size: .7rem; font-weight: 700; color: var(--teal); letter-spacing: .1em; }
.tl-item h3 { font-size: 1.02rem; margin: 6px 0 6px; }
.tl-item p { font-size: .88rem; line-height: 1.7; }

/* ---------- 面包屑 ---------- */
.crumb { padding: 18px 0 0; font-size: .8rem; color: var(--ink-3); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.crumb li { display: flex; align-items: center; gap: 7px; }
.crumb li + li::before { content: "/"; color: var(--line-2); }
.crumb a { color: var(--ink-3); transition: color .2s; }
.crumb a:hover { color: var(--teal); }
.crumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- 页面头 ---------- */
.page-head { padding: clamp(30px, 4vw, 56px) 0 clamp(26px, 3vw, 40px); position: relative; }
.page-head h1 { margin: 16px 0 18px; max-width: 20em; }
.page-head .lead { max-width: 46em; }
.page-head-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .8rem; color: var(--ink-3); }
.page-head-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 联系/CTA 块 ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 64px);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -100px; top: -100px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(16,140,125,.35), transparent 68%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 12px; position: relative; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; }
.cta-band .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); color: #fff; }

/* ---------- 内部链接组 ---------- */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.link-card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  background: var(--paper-2); transition: transform .2s, border-color .2s, box-shadow .2s;
  min-height: 172px;
}
.link-card:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: var(--shadow-1); }
.link-card h3 { font-size: .98rem; }
.link-card p { font-size: .82rem; line-height: 1.65; }
.link-card .more { margin-top: auto; padding-top: 10px; font-size: .78rem; font-weight: 700; color: var(--teal); }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(48px, 6vw, 76px) 0 30px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot-brand .brand-mark { background: rgba(255,255,255,.1); box-shadow: none; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: rgba(255,255,255,.45); }
.site-foot p { color: rgba(255,255,255,.6); font-size: .86rem; line-height: 1.75; }
.site-foot p.foot-contact { margin-top: 12px; color: rgba(255,255,255,.72); font-size: .84rem; }
.site-foot p.foot-contact a { color: #7FD4C6; font-weight: 700; }
.foot-col h4, .foot-col .foot-h { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: .86rem; color: rgba(255,255,255,.62); transition: color .2s; }
.foot-col a:hover { color: #7FD4C6; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem; color: rgba(255,255,255,.42);
}
.foot-bottom a { color: rgba(255,255,255,.55); }
.foot-bottom a:hover { color: #7FD4C6; }

/* ---------- 动画 ---------- */
/* 仅在 JS 可用时才启用入场动画，保证无 JS 环境（含爬虫）内容完全可见 */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: .07s; }
html.js .reveal-d2 { transition-delay: .14s; }
html.js .reveal-d3 { transition-delay: .21s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-item.is-feature { grid-column: span 2; grid-row: auto; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .path-item:nth-child(2)::before { background: linear-gradient(90deg, var(--line-2), transparent); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .signal-panel { max-width: 460px; }
  .scene-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .link-cards { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  }
  .head-cta .btn { display: none; }
  .site-head.is-open .nav {
    display: grid; position: absolute; left: 0; right: 0; top: 72px;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px; gap: 2px;
  }
  .site-head.is-open .nav a { padding: 12px 10px; font-size: 1rem; }
  .nav-cta { display: none; }
  .site-head.is-open .nav .nav-cta {
    display: block; margin-top: 10px; padding: 13px 10px; text-align: center;
    background: var(--teal); color: #fff; border-radius: 10px; font-weight: 700;
  }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .path-item::before { display: none; }
  .stat-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .qa-body { padding-left: 0; }
  .hero-facts { gap: 10px 18px; }
  table { min-width: 540px; font-size: .8rem; }
  .table-wrap { border-radius: 10px; }
  .latest-list li { grid-template-columns: 1fr; gap: 4px; }
  .latest-list time { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 长文正文（资讯/指南详情） ---------- */
.prose { max-width: 46em; }
.prose h2 {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  margin: 40px 0 14px; padding-top: 8px;
  display: flex; align-items: baseline; gap: 10px;
}
.prose h2::before {
  content: ""; flex-shrink: 0; width: 4px; height: 1.05em; border-radius: 2px;
  background: var(--teal); transform: translateY(.12em);
}
.prose h3 { font-size: 1.08rem; margin: 28px 0 10px; }
.prose p { font-size: 1rem; line-height: 1.95; margin: 0 0 16px; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 20px; display: grid; gap: 9px; }
.prose li { position: relative; padding-left: 22px; font-size: .96rem; line-height: 1.8; color: var(--ink-2); }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-2);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .12em;
  font-family: var(--mono); font-size: .74rem; font-weight: 700; color: var(--teal);
}
.prose a { color: var(--teal); border-bottom: 1px solid rgba(11,107,96,.3); }
.prose a:hover { border-bottom-color: var(--teal); }
.prose blockquote {
  margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--teal);
  background: var(--teal-soft); border-radius: 0 var(--r) var(--r) 0;
}
.prose blockquote p { margin: 0; font-size: .95rem; }
.prose table { margin: 20px 0; }
.prose img { border-radius: var(--r); margin: 20px 0; }

/* 文章头信息条 */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--ink-3);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

/* 文章列表 */
.article-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.article-item {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: background .2s, padding-left .2s;
}
.article-item:hover { background: #FCFBF8; padding-left: 12px; }
.article-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.article-item p { font-size: .9rem; line-height: 1.7; max-width: 44em; }
.article-item time { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); white-space: nowrap; }

/* 长标题降字号，避免在词中断行 */
h1.h1-long { font-size: clamp(1.55rem, 2.7vw, 2.35rem); line-height: 1.28; max-width: 26em; }
