/* ===========================================
   中科为来 / 为来AI  —  站点样式 v2
   深色科技风 · 细线 + 单色标签 + 光晕
   =========================================== */

:root {
  --bg: #04060e;
  --bg-2: #070c18;
  --panel: rgba(11, 18, 34, 0.82);
  --panel-solid: #0a1120;
  --line: rgba(120, 160, 255, 0.16);
  --line-strong: rgba(120, 160, 255, 0.34);
  --tx: #e8eefc;
  --tx-2: #a6b6d4;
  --tx-3: #6f81a3;
  --cy: #35e0f5;
  --bl: #4c7dff;
  --warm: #ff7a45;
  --ok: #2ee6a8;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -12%, rgba(53, 224, 245, 0.16), transparent 62%),
    radial-gradient(900px 560px at 6% 8%, rgba(76, 125, 255, 0.18), transparent 60%),
    radial-gradient(700px 500px at 88% 92%, rgba(255, 122, 69, 0.09), transparent 62%),
    linear-gradient(180deg, #04060e, #060a14 46%, #04060e);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 22%, #000 12%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 12%, transparent 76%);
}

a { color: inherit; }

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

.wrap { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 6, 14, 0.78);
  backdrop-filter: blur(14px) saturate(150%);
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 68px;
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 132px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-txt b { font-size: .95rem; letter-spacing: .02em; }
.brand-txt span { font-family: var(--mono); font-size: .62rem; color: var(--tx-3); letter-spacing: .16em; }

.topnav { margin-left: auto; display: flex; align-items: center; gap: .1rem; flex-wrap: wrap; }

.topnav a {
  font-size: .875rem;
  color: var(--tx-2);
  text-decoration: none;
  padding: .42rem .68rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .18s, background .18s;
}

.topnav a:hover { color: #fff; background: rgba(76, 125, 255, 0.16); }
.topnav a.is-current { color: #fff; background: rgba(76, 125, 255, 0.2); }
.topnav a.ext::after { content: " ↗"; font-size: .72em; color: var(--cy); }

.topnav .nav-cta {
  color: #060a14;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cy), #8fb4ff);
  margin-left: .45rem;
  padding: .48rem .95rem;
}
.topnav .nav-cta:hover { background: linear-gradient(135deg, #63eaff, #a7c4ff); color: #060a14; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.25rem;
  border-radius: 10px;
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
  white-space: nowrap;
}

.btn-primary {
  color: #04060e;
  background: linear-gradient(135deg, var(--cy), #9ab9ff);
  box-shadow: 0 10px 26px rgba(53, 224, 245, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(53, 224, 245, 0.3); }

.btn-ghost {
  color: var(--tx);
  border: 1px solid var(--line-strong);
  background: rgba(10, 17, 32, 0.66);
}
.btn-ghost:hover { border-color: var(--cy); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ---------- 首屏 ---------- */
.hero { padding: 3.4rem 0 2.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 2.6rem;
  align-items: center;
}

.kicker {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--cy);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--cy); }

h1 {
  font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  font-weight: 800;
  text-wrap: balance;
  margin-bottom: 1.1rem;
}

h1 em { font-style: normal; color: var(--cy); }

.lead { font-size: 1.03rem; color: var(--tx-2); max-width: 44em; }
.lead strong { color: var(--tx); font-weight: 600; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.tag {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--tx-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28rem .62rem;
  background: rgba(10, 17, 32, 0.6);
}
.tag b { color: var(--cy); font-weight: 600; }

/* ---------- 终端面板（AI 回答示意） ---------- */
.term {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(12, 20, 40, 0.94), rgba(6, 10, 20, 0.94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.term::before,
.term::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--cy);
  opacity: .7;
}
.term::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.term::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.term-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 26, 0.9);
}
.term-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(120, 160, 255, .35); }
.term-bar i:nth-child(2) { background: rgba(53, 224, 245, .55); }
.term-bar i:nth-child(3) { background: rgba(255, 122, 69, .55); }
.term-bar span {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--tx-3);
  letter-spacing: .1em;
  margin-left: .35rem;
}

.term-body { padding: 1.1rem 1.15rem 1.3rem; }

.term-q {
  font-size: .92rem;
  color: var(--tx-2);
  padding: .55rem .7rem;
  border-left: 2px solid var(--bl);
  background: rgba(76, 125, 255, 0.09);
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
}
.term-q::before { content: "问 · "; font-family: var(--mono); font-size: .74rem; color: var(--bl); }

.term-a { font-size: .9rem; color: var(--tx-2); }
.term-a p { margin-bottom: .7rem; }
.term-a p:last-child { margin-bottom: 0; }
.term-a .who {
  color: var(--cy);
  font-weight: 700;
  border-bottom: 1px dashed rgba(53, 224, 245, 0.5);
}
.term-a .dim { color: var(--tx-3); }

.term-foot {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--tx-3);
  letter-spacing: .06em;
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}
.term-foot b { color: var(--warm); font-weight: 600; }

/* ---------- TL;DR 要点框 ---------- */
.tldr {
  margin-top: 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(9, 15, 28, 0.72);
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: .55rem;
}
.tldr h2 {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--cy);
  text-transform: uppercase;
  font-weight: 600;
}
.tldr ul { list-style: none; display: grid; gap: .42rem; }
.tldr li {
  font-size: .93rem;
  color: var(--tx-2);
  padding-left: 1.1rem;
  position: relative;
}
.tldr li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--cy);
  font-size: .8em;
  top: .18em;
}
.tldr li b { color: var(--tx); font-weight: 600; }

/* ---------- 区块 ---------- */
.sec { padding: 3.6rem 0 1.2rem; }

.sec-head { margin-bottom: 1.9rem; }

.sec-num {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--cy);
  display: block;
  margin-bottom: .5rem;
}

h2.sec-title {
  font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -.005em;
  font-weight: 800;
  margin-bottom: .6rem;
  text-wrap: balance;
}

.sec-desc { color: var(--tx-2); max-width: 52em; font-size: .99rem; }

/* ---------- 业务卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.biz {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(12, 20, 38, 0.78), rgba(7, 11, 22, 0.78));
  padding: 1.25rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  transition: transform .28s, border-color .28s, box-shadow .28s;
}

.biz:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 224, 245, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.biz-num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--tx-3);
  margin-bottom: .85rem;
}

.biz-icon { width: 40px; height: 40px; margin-bottom: .85rem; opacity: .95; }

.biz h3 { font-size: 1.06rem; margin-bottom: .5rem; font-weight: 700; letter-spacing: .01em; }

.biz p { font-size: .89rem; color: var(--tx-2); flex: 1; }

.biz-links { margin-top: 1.05rem; display: flex; flex-direction: column; gap: .38rem; }

.biz-links a {
  font-size: .84rem;
  text-decoration: none;
  color: var(--cy);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.biz-links a::after { content: "→"; transition: transform .2s; }
.biz-links a:hover::after { transform: translateX(3px); }
.biz-links a.weak { color: var(--tx-2); font-family: var(--mono); font-size: .78rem; }
.biz-links a.weak::after { content: "↗"; }

/* ---------- 系统入口 ---------- */
.sys-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.sys {
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.3rem 1.3rem 1.2rem;
  background:
    radial-gradient(520px 200px at 88% -30%, rgba(53, 224, 245, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(12, 20, 38, 0.86), rgba(7, 11, 22, 0.86));
  transition: border-color .25s, transform .25s, box-shadow .25s;
  overflow: hidden;
}
.sys:hover { border-color: rgba(53, 224, 245, 0.55); transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.44); }

.sys-domain {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--cy);
  margin-bottom: .55rem;
}
.sys h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.sys-badge {
  display: inline-block;
  vertical-align: 2px;
  margin-left: .4rem;
  padding: .1rem .42rem;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--cy);
  border: 1px solid rgba(53, 224, 245, 0.42);
  border-radius: 4px;
  background: rgba(53, 224, 245, 0.08);
}
.sys p { font-size: .89rem; color: var(--tx-2); }
.sys .sys-go {
  margin-top: 1rem;
  font-size: .84rem;
  font-weight: 700;
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.sys .sys-go::after { content: "↗"; color: var(--cy); }

/* ---------- 流程 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }

.step {
  padding: 1.35rem 1.15rem 1.5rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; }

.step-n {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--cy);
  letter-spacing: .14em;
  display: block;
  margin-bottom: .7rem;
}
.step h3 { font-size: 1rem; margin-bottom: .45rem; }
.step p { font-size: .87rem; color: var(--tx-2); }

.note {
  margin-top: 1.6rem;
  padding: .95rem 1.1rem;
  border: 1px solid rgba(255, 122, 69, 0.32);
  border-left: 2px solid var(--warm);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 122, 69, 0.07);
  color: #ffd8c7;
  font-size: .9rem;
}

/* ---------- 表格 ---------- */
.tbl { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: rgba(9, 15, 28, 0.7); }

.row { display: grid; grid-template-columns: 15em 1fr 6.5em; gap: 1rem; padding: .9rem 1.15rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--tx-2); }
.row:first-child { border-top: 0; }
.row > span:first-child { color: var(--tx); font-weight: 600; }
.row > span:last-child { font-family: var(--mono); font-size: .8rem; color: var(--cy); white-space: nowrap; }

.row-head { background: rgba(76, 125, 255, 0.1); font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--tx-3); text-transform: uppercase; }
.row-head > span { color: var(--tx-3) !important; font-weight: 600 !important; }

/* ---------- 规则清单 ---------- */
.rules { list-style: none; display: grid; gap: .7rem; }

.rules li {
  border: 1px solid var(--line);
  border-left: 2px solid var(--warm);
  border-radius: 0 10px 10px 0;
  background: rgba(9, 15, 28, 0.66);
  padding: .85rem 1.05rem;
  font-size: .9rem;
  color: var(--tx-2);
}
.rules b { display: block; color: #ffd8c7; font-size: .95rem; margin-bottom: .22rem; }

/* ---------- 免费工具 ---------- */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.tool {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(9, 15, 28, 0.7);
  padding: 1.15rem;
  transition: border-color .22s, transform .22s;
}
.tool:hover { border-color: rgba(53, 224, 245, 0.5); transform: translateY(-3px); }
.tool-k { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--cy); margin-bottom: .5rem; display: block; }
.tool h3 { font-size: .98rem; margin-bottom: .35rem; }
.tool p { font-size: .85rem; color: var(--tx-2); }
.tool .tool-go { margin-top: .7rem; font-size: .8rem; font-family: var(--mono); color: var(--tx-3); }
.tool:hover .tool-go { color: var(--cy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(9, 15, 28, 0.66);
  padding: 0 1.05rem;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  font-weight: 600;
  font-size: .96rem;
  color: var(--tx);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--cy); font-size: 1.1rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }

.faq .a { padding-bottom: .95rem; font-size: .9rem; color: var(--tx-2); }

/* ---------- 工商信息 ---------- */
.facts { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; align-items: start; }

.facts-solo { grid-template-columns: 1fr; }
.facts-solo dl { max-width: 860px; }

.facts dl { display: grid; gap: .1rem; border: 1px solid var(--line); border-radius: var(--r); background: rgba(9, 15, 28, 0.7); overflow: hidden; }
.facts .f { display: grid; grid-template-columns: 9.5em 1fr; gap: .8rem; padding: .72rem 1.05rem; border-top: 1px solid var(--line); font-size: .89rem; }
.facts .f:first-child { border-top: 0; }
.facts .f dt { color: var(--tx-3); }
.facts .f dd { color: var(--tx); margin: 0; }
.facts .f dd.mono { font-family: var(--mono); font-size: .84rem; letter-spacing: .02em; }

.side-note {
  border: 1px solid rgba(255, 122, 69, 0.28);
  border-radius: var(--r);
  background: rgba(255, 122, 69, 0.06);
  padding: 1.1rem 1.15rem;
}
.side-note h3 { font-size: .96rem; color: #ffd8c7; margin-bottom: .5rem; }
.side-note p { font-size: .86rem; color: var(--tx-2); margin-bottom: .55rem; }
.side-note p:last-child { margin-bottom: 0; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1rem; align-items: stretch; }

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    radial-gradient(620px 260px at 12% -20%, rgba(76, 125, 255, 0.18), transparent 68%),
    linear-gradient(180deg, rgba(11, 18, 34, 0.9), rgba(6, 10, 20, 0.9));
  padding: 1.35rem;
}

.contact-card h3 { font-size: 1.06rem; margin-bottom: 1rem; }

.clist { list-style: none; display: grid; gap: .62rem; }
.clist li { display: grid; grid-template-columns: 6.2em 1fr; gap: .7rem; font-size: .91rem; color: var(--tx); align-items: baseline; }
.clist li span { color: var(--tx-3); font-size: .84rem; }
.clist a { color: var(--cy); text-decoration: none; border-bottom: 1px solid rgba(53, 224, 245, 0.35); }

.qr-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(9, 15, 28, 0.72);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}
.qr-card h3 { font-size: .96rem; margin-bottom: .8rem; color: var(--tx-2); }
.qr-card img { border-radius: 10px; border: 1px solid var(--line); width: 100%; max-width: 220px; margin-inline: auto; }
.qr-card p { font-size: .8rem; color: var(--tx-3); text-align: center; margin-top: .75rem; }

/* ---------- 页脚 ---------- */
footer { margin-top: 3.4rem; border-top: 1px solid var(--line); padding: 1.6rem 0 2.4rem; }

.foot-in { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: flex-start; }

.foot-brand { max-width: 30em; }
.foot-brand b { font-size: .95rem; display: block; margin-bottom: .35rem; }
.foot-brand p { font-size: .82rem; color: var(--tx-3); line-height: 1.7; }

.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.foot-links a { font-size: .84rem; color: var(--tx-2); text-decoration: none; }
.foot-links a:hover { color: var(--cy); }

.foot-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  font-size: .78rem;
  color: var(--tx-3);
  font-family: var(--mono);
}
.foot-bottom a { color: var(--tx-3); }

/* ---------- 内页头部 ---------- */
.page-head { padding: 2.6rem 0 1rem; }

.crumb {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--tx-3);
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.4rem;
}
.crumb a { color: var(--tx-3); text-decoration: none; }
.crumb a:hover { color: var(--cy); }

.page-head h1 { margin-bottom: .9rem; }

/* ---------- 动效 ---------- */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0ms); }
.rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step { border-bottom: 1px solid var(--line); }
  .facts, .contact-grid { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .sys-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  body { font-size: 15.5px; }
  .topbar-in { min-height: 0; padding: .7rem 0; flex-wrap: wrap; gap: .5rem; }
  .brand img { width: 112px; }
  .topnav { width: 100%; margin-left: 0; gap: 0; justify-content: flex-start; }
  .topnav a { font-size: .82rem; padding: .34rem .5rem; }
  .topnav .nav-cta { margin-left: 0; }
  .hero { padding-top: 2.2rem; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; }
  .row { grid-template-columns: 1fr; gap: .25rem; }
  .row-head { display: none; }
  .facts .f { grid-template-columns: 1fr; gap: .12rem; }
  .clist li { grid-template-columns: 1fr; gap: .1rem; }
  .sec { padding-top: 2.6rem; }
}

/* ---------- 诊断申请表 /check/ ---------- */
.check-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: start; }

.form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.5rem 1.3rem;
  backdrop-filter: blur(8px);
}
.form h2 { font-size: 1.06rem; margin-bottom: .3rem; }
.form .form-sub { font-size: .84rem; color: var(--tx-3); margin-bottom: 1.2rem; }

.field { margin-bottom: .95rem; }
.field label {
  display: block;
  font-size: .78rem;
  color: var(--tx-2);
  letter-spacing: .04em;
  margin-bottom: .32rem;
}
.field label .req { color: var(--warm); margin-left: .18rem; }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--tx);
  background: rgba(4, 8, 18, 0.72);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .62rem .72rem;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 74px; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: var(--tx-3); opacity: .75; }
.field input:focus,
.field textarea:focus {
  border-color: rgba(53, 224, 245, 0.6);
  box-shadow: 0 0 0 3px rgba(53, 224, 245, 0.1);
}
.field .hint { font-size: .74rem; color: var(--tx-3); margin-top: .28rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-foot { margin-top: 1.1rem; }
.form-foot .btn { width: 100%; justify-content: center; }
.form-note { font-size: .74rem; color: var(--tx-3); margin-top: .7rem; line-height: 1.6; }
.form-msg { font-size: .84rem; margin-top: .8rem; display: none; }
.form-msg.err { display: block; color: #ff8a63; }
.form-msg.ok { display: block; color: var(--ok); }

.form-done { display: none; }
.form-done.on { display: block; }
.form-done h2 { color: var(--ok); }
.form-done p { font-size: .9rem; color: var(--tx-2); margin-top: .5rem; }
.form-done .done-list { list-style: none; margin-top: .9rem; border-top: 1px solid var(--line); }
.form-done .done-list li {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: .6rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
}
.form-done .done-list li span:first-child { color: var(--tx-3); font-size: .78rem; }

.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.3rem 1.35rem;
  margin-bottom: 1rem;
}
.side-card h3 { font-size: .95rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.side-card h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 10px var(--cy); }
.side-card ol, .side-card ul { list-style: none; }
.side-card li {
  font-size: .85rem;
  color: var(--tx-2);
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(120, 160, 255, 0.12);
}
.side-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-card li b { color: var(--tx); font-weight: 600; }
.side-card .qr { width: 100%; max-width: 190px; border-radius: 10px; display: block; margin: .5rem auto .3rem; }
.side-card .qr-cap { text-align: center; font-size: .78rem; color: var(--tx-3); }
.side-card .mini-note { font-size: .76rem; color: var(--tx-3); margin-top: .5rem; }

@media (max-width: 960px) {
  .check-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .form { padding: 1.15rem 1.05rem; }
  .form-row { grid-template-columns: 1fr; gap: .95rem; }
}

/* ---------- 文章 / 洞察 ---------- */
.post-head { padding-top: 1.2rem; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
  color: var(--tx-3); text-transform: uppercase; margin: .9rem 0 0;
}
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--cy); display: inline-block; }

.post-body { max-width: 46em; }
.post-body > p { color: var(--tx-2); margin: 1.05rem 0; font-size: 1rem; }
.post-body > p strong { color: var(--tx); font-weight: 600; }
.post-body h2 {
  font-size: 1.32rem; letter-spacing: -.01em; margin: 2.4rem 0 .9rem;
  padding-left: .85rem; position: relative; line-height: 1.45;
}
.post-body h2::before {
  content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 3px;
  background: linear-gradient(var(--cy), var(--bl)); border-radius: 2px;
}
.post-body h3 { font-size: 1.04rem; margin: 1.7rem 0 .55rem; color: var(--tx); }
.post-body ul, .post-body ol { margin: 1rem 0 1.1rem 0; list-style: none; }
.post-body ul li, .post-body ol li {
  color: var(--tx-2); font-size: .96rem; padding: .38rem 0 .38rem 1.4rem; position: relative;
}
.post-body ul li::before {
  content: ""; position: absolute; left: .18rem; top: 1.02em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cy); opacity: .8;
}
.post-body ol { counter-reset: po; }
.post-body ol li { counter-increment: po; padding-left: 1.9rem; }
.post-body ol li::before {
  content: counter(po); position: absolute; left: 0; top: .42rem;
  font-family: var(--mono); font-size: .72rem; color: var(--cy);
  width: 1.35rem; height: 1.35rem; border: 1px solid var(--line-strong);
  border-radius: 50%; display: grid; place-items: center;
}
.post-body li b { color: var(--tx); font-weight: 600; }
.post-body a { color: var(--cy); text-decoration: none; border-bottom: 1px solid rgba(53, 224, 245, .35); }
.post-body a:hover { border-bottom-color: var(--cy); }

.quote {
  border-left: 3px solid var(--warm); background: rgba(255, 122, 69, .06);
  padding: .95rem 1.15rem; margin: 1.4rem 0; border-radius: 0 10px 10px 0;
  font-size: .96rem; color: var(--tx-2);
}
.quote b { color: var(--tx); }

.evi {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  margin: 1.4rem 0; background: var(--panel);
}
.evi .row { grid-template-columns: 9.5em 1fr; }
.evi .row > span:last-child {
  font-family: var(--sans); font-size: .88rem; color: var(--tx-2); white-space: normal;
}
.evi .row > span:last-child b { color: var(--warm); font-weight: 600; }
.evi-cap {
  font-size: .76rem; color: var(--tx-3); margin: -.7rem 0 1.4rem;
  font-family: var(--mono); letter-spacing: .02em;
}

.kv3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1.3rem 0; }
.kv3 div {
  border: 1px solid var(--line); border-radius: 11px; padding: .85rem .95rem;
  background: rgba(10, 17, 32, .6);
}
.kv3 b { display: block; font-family: var(--mono); font-size: 1.45rem; color: var(--cy); line-height: 1.2; }
.kv3 span { font-size: .78rem; color: var(--tx-3); }

.checklist {
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem 1.25rem;
  background: var(--panel); margin: 1.4rem 0;
}
.checklist h3 { margin-top: 0; font-size: .95rem; color: var(--cy); font-family: var(--mono); letter-spacing: .06em; }
.checklist ol li { font-size: .92rem; }

.post-foot {
  margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
.post-foot .tags { display: flex; flex-wrap: wrap; gap: .4rem; }

.postlist { display: grid; gap: 1rem; }
.postcard {
  display: block; text-decoration: none; border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.35rem 1.5rem; background: var(--panel);
  transition: border-color .2s, transform .2s;
}
.postcard:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.postcard .pc-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--tx-3); }
.postcard h3 { font-size: 1.16rem; margin: .5rem 0 .55rem; letter-spacing: -.01em; }
.postcard p { font-size: .9rem; color: var(--tx-2); }
.postcard .pc-go {
  display: inline-block; margin-top: .9rem; font-size: .82rem; color: var(--cy);
  font-family: var(--mono);
}
.postcard .pc-go::after { content: " →"; }

@media (max-width: 760px) {
  .kv3 { grid-template-columns: 1fr; }
  .evi .row { grid-template-columns: 1fr; gap: .2rem; }
  .evi .row > span:first-child { font-size: .8rem; color: var(--cy); }
  .post-body h2 { font-size: 1.16rem; }
}

/* 全局等宽（域名、代码型片段） */
.mono { font-family: var(--mono); font-size: .88em; letter-spacing: .01em; color: var(--tx-3); }
.post-body .mono, .tldr .mono { color: #8fb2e0; }
