/* A11yPass 第三版视觉：石灰白 + 墨蓝 + 盲道黄。盲文点阵是贯穿全站的图形母题。 */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }

:root {
  --ink: #0e1a2b;
  --ink-2: #16243a;
  --text: #3a4658;
  --muted: #5e6a7b;
  --paper: #ffffff;
  --stone: #f2f3f1;
  --dot: #d6dad7;
  --line: #d9dde2;
  --amber: #f2b705;
  --amber-soft: #fff6d6;
  --on-ink: #eef1f6;
  --on-ink-muted: #a9b4c5;
  --good: #1e7a52;
  --warn: #8a5a00;
  --bad: #b42318;
  --bad-on-ink: #ff8a78;
  --good-on-ink: #6fd3a2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 18px 40px -18px rgba(14, 26, 43, .28);
  --sans: "IBM Plex Sans", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* 也给旧类名用 */
  --alarm: var(--bad);
  --tape: var(--amber);
  --body: var(--text);
  --wash: var(--stone);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.75 var(--sans); font-feature-settings: "tnum" 0; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .6em; font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); line-height: 1.16; letter-spacing: -.012em; }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.25rem); letter-spacing: -.008em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: var(--mono); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--amber); border-radius: 4px; }
.on-ink :focus-visible, .on-ink:focus-visible { outline-color: var(--amber); box-shadow: 0 0 0 5px rgba(242, 183, 5, .35); }

.skip { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: var(--amber); color: var(--ink); padding: .6rem 1rem; font-weight: 600; border-radius: 8px; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
.measure > * { max-width: 46rem; }
.small { font-size: .9rem; }

/* 盲文点阵标志：2×3 点，实心的 4 点组成盲文字母 p（Pass） */
.mark { display: inline-grid; grid-template-columns: repeat(2, 7px); grid-auto-rows: 7px; gap: 3px; padding: 6px 7px; background: var(--ink); border-radius: 7px; }
.mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.mark i.o { background: transparent; box-shadow: inset 0 0 0 1.5px #44546d; }

/* 页头 */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(14, 26, 43, .08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 4.4rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-name { font-weight: 600; font-size: 1.22rem; color: var(--ink); letter-spacing: -.01em; }
.brand-cn { color: var(--muted); font-size: .92rem; padding-left: .7rem; border-left: 1px solid var(--line); }
.nav { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.6rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--text); padding: .3rem 0; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.nav .lang-switch { color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; }
.nav .nav-cta { background: var(--ink); color: #fff; border-radius: 999px; padding: .38rem 1rem; font-weight: 500; }
.nav .nav-cta:hover { background: var(--ink-2); color: #fff; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1.2 var(--sans); cursor: pointer; text-decoration: none;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 10px; padding: .85rem 1.5rem; min-height: 3.1rem; transition: background .15s; }
.btn:hover { background: var(--ink-2); text-decoration: none; }
.btn[disabled] { cursor: progress; opacity: .7; }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #ffc81f; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--stone); }

/* 表单 */
.field { margin-bottom: 1rem; }
.field label { display: block; color: var(--ink); font-weight: 500; font-size: .95rem; margin-bottom: .35rem; }
.field input, .field select { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #8a95a5; border-radius: 10px; padding: .65rem .85rem; min-height: 3.1rem; }
.field input::placeholder { color: var(--muted); }
.field input[aria-invalid="true"] { border: 2px solid var(--bad); }
.hint { font-size: .88rem; color: var(--muted); margin: .4rem 0 0; }
.error { color: var(--bad); font-size: .9rem; font-weight: 500; margin: .4rem 0 0; }
.status { margin: .9rem 0 0; font-weight: 500; color: var(--ink); }
.status:empty { margin: 0; }
.status.is-error { color: var(--bad); }

/* 首屏 */
.hero { position: relative; background: var(--stone); padding: 5.5rem 0 6rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1.7px, transparent 2px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 75%); mask-image: linear-gradient(105deg, transparent 30%, #000 75%); }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4rem; align-items: center; }
.hero h1 { max-width: 13em; }
.lede { font-size: 1.15rem; max-width: 33em; margin-bottom: 2.2rem; }

.scan { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; box-shadow: var(--shadow); max-width: 38rem; }
.scan-row { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; }
.scan-row .grow { flex: 1 1 15rem; margin-bottom: 0; }
.scan .hint { margin-top: .8rem; }
.progress { margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.progress-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.progress-steps li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: .95rem; }
.progress-steps li::before { content: ""; position: absolute; left: .1rem; top: .58em; width: .62rem; height: .62rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted); }
.progress-steps li.is-now { color: var(--ink); font-weight: 600; }
.progress-steps li.is-now::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 183, 5, .25); animation: breathe 1.3s ease-in-out infinite; }
.progress-steps li.is-done { color: var(--text); }
.progress-steps li.is-done::before { background: var(--ink); box-shadow: none; }
@keyframes breathe { 50% { box-shadow: 0 0 0 7px rgba(242, 183, 5, .12); } }

/* 首屏右侧：报告预览 */
.preview { margin: 0; background: var(--ink); color: var(--on-ink); border-radius: 22px; padding: 1.75rem; box-shadow: 0 30px 70px -30px rgba(14, 26, 43, .55); }
.preview-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1px solid rgba(169, 180, 197, .22); padding-bottom: .9rem; margin-bottom: 1.2rem; }
.preview-head p { margin: 0; }
.preview-title { color: #fff; font-weight: 600; }
.preview-site { color: var(--on-ink-muted); font-size: .9rem; }
.preview-score { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.4rem; align-items: center; margin-bottom: 1.2rem; }
.preview .gauge { width: 8.5rem; height: 8.5rem; }
.preview .gauge-track { stroke: rgba(169, 180, 197, .18); }
.preview .gauge-value { fill: #fff; }
.preview .gauge-out { fill: var(--on-ink-muted); }
.preview .gauge-fill { stroke: var(--bad-on-ink); }
.preview-grade { margin: 0 0 .3rem; color: #fff; font-size: 1.05rem; }
.preview-grade b { color: var(--bad-on-ink); font-size: 1.6rem; margin-left: .3rem; }
.preview-risk { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--bad-on-ink); border: 1px solid currentColor; border-radius: 999px; padding: .05rem .65rem; margin: 0 0 .5rem; }
.preview-note { color: var(--on-ink-muted); font-size: .88rem; margin: 0; }
.preview-list { list-style: none; margin: 0; padding: 0; }
.preview-list li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .62rem 0; border-top: 1px solid rgba(169, 180, 197, .16); font-size: .95rem; }
.sev { font-size: .76rem; font-weight: 600; border-radius: 999px; padding: .05rem .55rem; text-align: center; }
.sev-critical { background: rgba(255, 138, 120, .16); color: var(--bad-on-ink); }
.sev-serious { background: rgba(255, 186, 120, .14); color: #ffc58f; }
.sev-moderate { background: rgba(242, 183, 5, .14); color: #f6cf5a; }
.preview-list .n { color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.preview-foot { color: var(--on-ink-muted); font-size: .82rem; margin: 1rem 0 0; }

/* 通用区块 */
.section { padding: 6.5rem 0; }
.section.alt { background: var(--stone); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head p { font-size: 1.08rem; margin: 0; }
.source { font-size: .86rem; color: var(--muted); margin-top: 1.5rem; }

/* 数据条 */
.proof { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 0; }
.stats-row div { border-top: 1px solid var(--ink); padding-top: 1rem; }
.stats-row dt { order: 2; color: var(--text); font-size: .95rem; line-height: 1.55; }
.stats-row dd { margin: 0 0 .4rem; color: var(--ink); font-size: 2.4rem; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats-row div { display: flex; flex-direction: column; }

/* 读屏对比 */
.sr-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0; }
.sr-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.sr-panel h3 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; margin-bottom: .9rem; }
.sr-panel h3::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--bad); }
.sr-panel.after h3::before { background: var(--good); }
.transcript { list-style: none; margin: 0; padding: 0; }
.transcript li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: .9rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.transcript .role { font-family: var(--mono); font-size: .85rem; color: var(--muted); padding-top: .12rem; }
.sr-panel.before .said { color: var(--bad); }
.sr-panel.after .said { color: var(--ink); }
.sr-caption { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* 检测项目 */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 3rem; }
.checks li { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.checks svg { width: 2.25rem; height: 2.25rem; color: var(--ink); margin-bottom: .9rem; }
.checks h3 { margin-bottom: .35rem; }
.checks p { margin: 0; }

/* 表格 */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.data { width: 100%; border-collapse: collapse; min-width: 40rem; }
.data th, .data td { text-align: left; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data tbody tr:last-child th, .data tbody tr:last-child td { border-bottom: 0; }
.data thead th { color: var(--muted); font-weight: 500; font-size: .88rem; background: #fafbfa; }
.data tbody th { color: var(--ink); font-weight: 600; }
.data .num { font-variant-numeric: tabular-nums; color: var(--ink); }
.yes { color: var(--bad); font-weight: 600; }
.compare td:last-child, .compare thead th:last-child { background: var(--amber-soft); color: var(--ink); }
.compare thead th:last-child { font-weight: 600; }

/* 服务 */
.services { margin: 0; border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: 12rem minmax(0, 1fr) 9rem; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.service dt { color: var(--ink); font-weight: 600; font-size: 1.12rem; }
.service dd { margin: 0; }
.service .price { color: var(--ink); font-weight: 500; text-align: right; }

/* 流程（真正的先后步骤，所以用编号） */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps li::after { content: ""; position: absolute; top: 1.15rem; left: 2.9rem; right: -1rem; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .3rem; }

/* 边界与常见问题 */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4.5rem; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { position: relative; padding: .8rem 0 .8rem 1.6rem; border-top: 1px solid var(--line); }
.facts li::before { content: ""; position: absolute; left: .1rem; top: 1.45rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 1px var(--ink); }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; color: var(--ink); font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 1.2rem; max-width: 42rem; }

/* 结尾：深色区块 */
.closing { background: var(--ink); color: var(--on-ink); padding: 6.5rem 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(169, 180, 197, .16) 1.6px, transparent 2px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 60%); mask-image: linear-gradient(to right, #000, transparent 60%); }
.closing > .wrap { position: relative; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 4rem; align-items: start; }
.closing h2 { color: #fff; }
.closing p { color: var(--on-ink); }
.closing .mini-title { color: #fff; }
.closing .lead { background: var(--paper); color: var(--text); border-radius: 18px; padding: 1.75rem; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.closing .lead .hint { color: var(--muted); }
.closing .lead .error, .closing .lead .status.is-error { color: var(--bad); }
.closing .lead .status { color: var(--ink); }
.closing .lead :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 6px var(--amber); }
.contact-list { margin: 0; }
.contact-list div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(169, 180, 197, .22); }
.contact-list dt { color: var(--on-ink-muted); }
.contact-list dd { margin: 0; color: #fff; word-break: break-all; }
.contact-list a { color: #fff; }
.mini-title { font-size: 1rem; margin: 2rem 0 .6rem; }

/* 页脚 */
.site-footer { background: var(--stone); padding: 2rem 0; font-size: .9rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; align-items: center; }
.footer-row p { margin: 0; }

/* ---------- 报告页 ---------- */
.plain, .band { padding: 5rem 0; }
.band { background: var(--stone); }
.plain.tight { padding: 3.5rem 0; }
.section-lede { max-width: 46rem; margin-bottom: 2rem; }
.report-loading { padding: 5rem 0; }
.report-hero { position: relative; background: var(--stone); padding: 4rem 0; overflow: hidden; }
.report-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, var(--dot) 1.7px, transparent 2px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 80%); mask-image: linear-gradient(105deg, transparent 35%, #000 80%); }
.report-hero > .wrap { position: relative; }
.report-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 3.5rem; align-items: start; }
.report-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.report-host { display: block; font-size: .62em; font-weight: 500; color: var(--text); margin-top: .5rem; word-break: break-all; }
.page-list { list-style: none; margin: 0; padding: 0; }
.page-list li { padding: .6rem 0; border-top: 1px solid var(--line); }
.page-kind { display: inline-block; min-width: 6em; font-weight: 600; color: var(--ink); }
.page-url { word-break: break-all; font-size: .92rem; }

.score-card { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.4rem; align-items: center; background: var(--ink); color: var(--on-ink); border-radius: 22px; padding: 1.75rem; box-shadow: 0 30px 70px -30px rgba(14, 26, 43, .55); }
.gauge { width: 9rem; height: 9rem; }
.gauge-track { fill: none; stroke: rgba(169, 180, 197, .2); stroke-width: 12; }
.gauge-fill { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge-value { font: 600 46px var(--sans); fill: #fff; }
.gauge-out { font: 400 13px var(--sans); fill: var(--on-ink-muted); }
.grade-A .gauge-fill, .grade-B .gauge-fill { stroke: var(--good-on-ink); }
.grade-C .gauge-fill { stroke: var(--amber); }
.grade-D .gauge-fill, .grade-F .gauge-fill { stroke: var(--bad-on-ink); }
.score-card .small { color: var(--on-ink-muted); }
.grade-line { margin: 0 0 .5rem; color: #fff; font-weight: 500; }
.grade-letter { font-size: 1.7rem; font-weight: 600; margin-left: .35rem; vertical-align: -.1em; }
.grade-letter.grade-A, .grade-letter.grade-B { color: var(--good-on-ink); }
.grade-letter.grade-C { color: var(--amber); }
.grade-letter.grade-D, .grade-letter.grade-F { color: var(--bad-on-ink); }
.risk { display: inline-block; font-size: .85rem; font-weight: 600; border: 1px solid currentColor; border-radius: 999px; padding: .05rem .7rem; margin: 0 0 .6rem; }
.risk-high { color: var(--bad-on-ink); }
.risk-medium { color: var(--amber); }
.risk-low { color: var(--good-on-ink); }

.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; margin: 0 0 2rem; }
.stat { border-top: 1px solid var(--ink); padding-top: .8rem; display: flex; flex-direction: column; }
.stat dt { order: 2; font-size: .92rem; }
.stat dd { margin: 0 0 .2rem; color: var(--ink); }
.stat-num { font-size: 2.2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.callout { background: var(--amber-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; max-width: 48rem; }
.callout-title { font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.callout .facts li { border-top-color: rgba(14, 26, 43, .12); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
.check-list { margin: 0; }
.check-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.check-row dt { color: var(--ink); font-weight: 500; }
.check-row dd { margin: 0; }
.row-state { display: inline-block; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 0 .55rem; margin-right: .55rem; }
.is-pass .row-state { background: #e3f3eb; color: var(--good); }
.is-fail .row-state { background: #fde8e5; color: var(--bad); }
.is-warn .row-state { background: var(--amber-soft); color: var(--warn); }

.issues { display: grid; gap: 1rem; }
.issue { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.5rem; max-width: 54rem; position: relative; }
.issue::before { content: ""; position: absolute; left: 0; top: 1.4rem; bottom: 1.4rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--line); }
.issue.impact-critical::before { background: var(--bad); }
.issue.impact-serious::before { background: #c2410c; }
.issue.impact-moderate::before { background: var(--amber); }
.issue h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; margin-bottom: .45rem; }
.tag { font-size: .78rem; font-weight: 600; border-radius: 999px; padding: .05rem .6rem; }
.tag-critical { background: #fde8e5; color: var(--bad); }
.tag-serious { background: #feeadb; color: #9a3412; }
.tag-moderate { background: var(--amber-soft); color: var(--warn); }
.tag-minor { background: var(--stone); color: var(--muted); }
.tag-law { background: var(--ink); color: #fff; }
.tag-plain { font-size: .9rem; color: var(--ink); font-weight: 500; }
.issue-text { margin: .7rem 0 0; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .45rem 1.2rem; }
.issue-text dt { color: var(--ink); font-weight: 500; }
.issue-text dd { margin: 0; }
.issue details { border: 0; margin-top: .4rem; }
.issue summary { padding: .5rem 0; font-size: .95rem; }
.samples { margin: 0 0 .5rem; padding-left: 1.1rem; }
.samples code { font-size: .8rem; line-height: 1.55; color: var(--ink); background: var(--stone); border-radius: 6px; padding: .1rem .35rem; word-break: break-all; }

/* ---------- 响应式（放最后） ---------- */
@media (max-width: 960px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid, .closing-grid, .report-hero-grid, .two-col, .split { grid-template-columns: 1fr; gap: 3rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 1.6rem 3.4rem; }
  .steps li::after { top: 2.6rem; bottom: .2rem; left: 1.15rem; right: auto; width: 1px; height: auto; }
  .service { grid-template-columns: 1fr; gap: .3rem; }
  .service .price { text-align: left; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 4.5rem 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 1rem; }
  .brand-cn { display: none; }
  .nav { gap: .2rem 1rem; }
  .nav li.hide-sm { display: none; }
  .sr-compare, .checks, .progress-steps { grid-template-columns: 1fr; }
  .scan, .closing .lead, .preview, .score-card { padding: 1.15rem; border-radius: 16px; }
  .scan-row .btn { width: 100%; }
  .preview-score, .score-card { grid-template-columns: 1fr; }
  .preview-head { flex-direction: column; gap: .1rem; }
  .preview-list li { grid-template-columns: 4rem minmax(0, 1fr) auto; gap: .6rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-row, .issue-text { grid-template-columns: 1fr; gap: .2rem; }
  .contact-list div { grid-template-columns: 5.5rem minmax(0, 1fr); }
}

/* 免费报告的边界 & 为什么选我们 */
.callout.gate { margin-top: 2rem; }
.callout.gate .btn { margin-top: .6rem; }
.locked { color: var(--muted); margin: .4rem 0 .6rem; padding-left: 1.1rem; }
.reasons li { border-top-color: var(--ink); }
.reasons h3 { font-size: 1.15rem; }

/* ---------- 检测控制台（实时进度） ---------- */
.console { background: var(--ink); color: var(--on-ink); border-radius: 22px; padding: 1.5rem; box-shadow: 0 30px 70px -30px rgba(14, 26, 43, .6); position: relative; overflow: hidden; }
.console::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(169, 180, 197, .10) 1.4px, transparent 1.8px); background-size: 20px 20px; }
.console > * { position: relative; }
.console-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.console-title { color: #fff; font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: .55rem; }
.console-title::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242, 183, 5, .6); animation: ping 1.6s ease-out infinite; }
.console.is-done .console-title::before { background: var(--good-on-ink); animation: none; }
.console.is-error .console-title::before { background: var(--bad-on-ink); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242, 183, 5, .55); } 100% { box-shadow: 0 0 0 10px rgba(242, 183, 5, 0); } }
.console-host { margin: 0; color: var(--on-ink-muted); font-family: var(--mono); font-size: .85rem; word-break: break-all; }
.console-time { margin: 0; color: var(--on-ink-muted); font-family: var(--mono); font-size: .85rem; font-variant-numeric: tabular-nums; }
.console-meter { margin: 1.1rem 0 1.2rem; }
.console-pct { margin: 0 0 .5rem; color: #fff; font-size: 2.6rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.console-pct small { font-size: .45em; color: var(--on-ink-muted); margin-left: .15em; font-weight: 500; }
.bar { height: 10px; border-radius: 999px; background: rgba(169, 180, 197, .16); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0%; border-radius: inherit; transition: width .25s linear;
  background-color: var(--amber);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .35) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, .35) 75%, transparent 75%);
  background-size: 22px 22px; animation: stripes .7s linear infinite; box-shadow: 0 0 18px rgba(242, 183, 5, .55); }
.console.is-done .bar-fill { background-color: var(--good-on-ink); animation: none; box-shadow: 0 0 18px rgba(111, 211, 162, .5); }
.console.is-error .bar-fill { background-color: var(--bad-on-ink); animation: none; }
@keyframes stripes { to { background-position: 22px 0; } }
.console-step { margin: .6rem 0 0; color: var(--on-ink); font-size: .95rem; min-height: 1.6em; }
.console-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1.1rem; align-items: start; }
.console-steps { list-style: none; margin: 0; padding: 0; }
.console-steps li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .5rem; align-items: center; padding: .32rem 0; color: var(--on-ink-muted); font-size: .9rem; }
.console-steps li::before { content: ""; width: .8rem; height: .8rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(169, 180, 197, .5); justify-self: center; }
.console-steps li.is-now { color: #fff; font-weight: 500; }
.console-steps li.is-now::before { box-shadow: inset 0 0 0 2px var(--amber); border-top: 2px solid transparent; animation: spin .9s linear infinite; background: conic-gradient(var(--amber) 0 25%, transparent 25%); }
.console-steps li.is-done { color: var(--on-ink); }
.console-steps li.is-done::before { background: var(--good-on-ink); box-shadow: none; }
.console-steps li.is-skip::before { background: rgba(169, 180, 197, .35); box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.console-shot { margin: 0; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(169, 180, 197, .25); background: #0a1322; aspect-ratio: 1366 / 900; }
.console-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; opacity: .92; }
.console-shot .scanline { position: absolute; left: 0; right: 0; height: 28%; top: -28%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(242, 183, 5, .22) 85%, rgba(242, 183, 5, .85) 99%, transparent);
  animation: sweep 2.2s ease-in-out infinite; }
.console.is-done .console-shot .scanline { display: none; }
@keyframes sweep { to { top: 100%; } }
.console-shot figcaption { position: absolute; left: .5rem; bottom: .5rem; font-size: .72rem; color: #fff; background: rgba(14, 26, 43, .75); border-radius: 6px; padding: .05rem .45rem; font-family: var(--mono); }
.console-log { margin-top: 1rem; border-top: 1px solid rgba(169, 180, 197, .18); padding-top: .8rem; font-family: var(--mono); font-size: .76rem; line-height: 1.7; color: var(--on-ink-muted); height: 9.6em; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.console-log p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .25s ease-out; }
.console-log .ok { color: var(--good-on-ink); }
.console-log .warn { color: #f6cf5a; }
.console-log .bad { color: var(--bad-on-ink); }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } }
.trail { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; margin-top: .9rem; }
.trail i { height: 14px; border-radius: 3px; background: rgba(169, 180, 197, .16); }
.trail i.v { background: var(--good-on-ink); }
.trail i.x { background: var(--bad-on-ink); }
.trail i.h { background: #f6cf5a; }
.trail i.n { background: rgba(169, 180, 197, .35); }
@media (prefers-reduced-motion: reduce) { .bar-fill, .console-shot .scanline, .console-title::before, .console-steps li.is-now::before { animation: none !important; } }
@media (max-width: 600px) { .console-body { grid-template-columns: 1fr; } .console-pct { font-size: 2.1rem; } }

/* ---------- 报告页 v2：深色指挥台 ---------- */
.rx-hero { background: var(--ink); color: var(--on-ink); padding: 3.5rem 0 4rem; position: relative; overflow: hidden; }
.rx-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(169, 180, 197, .12) 1.5px, transparent 1.9px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.rx-hero > .wrap { position: relative; }
.rx-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.rx-kicker { color: var(--amber); font-weight: 500; margin: 0 0 .4rem; }
.rx-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; word-break: break-all; }
.rx-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .25rem 1.2rem; margin: 0 0 1.2rem; font-size: .9rem; }
.rx-meta dt { color: var(--on-ink-muted); }
.rx-meta dd { margin: 0; color: var(--on-ink); font-family: var(--mono); font-size: .85rem; word-break: break-all; }
.rx-note { color: var(--on-ink-muted); font-size: .82rem; max-width: 34rem; margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; }
.chips li { border: 1px solid rgba(169, 180, 197, .3); border-radius: 999px; padding: .2rem .8rem; font-size: .85rem; }
.chips a { color: var(--on-ink); text-decoration: none; }
.chips a:hover { text-decoration: underline; }
.chips b { color: #fff; font-weight: 600; margin-right: .35rem; }
.rx-score { display: grid; justify-items: center; gap: .6rem; text-align: center; min-width: 15rem; }
.rx-score .gauge { width: 14rem; height: 14rem; }
.rx-score .gauge-track { stroke-width: 9; }
.rx-score .gauge-fill { stroke-width: 9; transition: stroke-dasharray 1.4s cubic-bezier(.2, .7, .2, 1); filter: drop-shadow(0 0 6px currentColor); }
.rx-score .gauge-value { font-size: 52px; }
.rx-grade { margin: 0; color: #fff; font-size: 1.05rem; }
.rx-grade b { font-size: 2rem; margin-left: .35rem; }
.rx-risk-text { color: var(--on-ink-muted); font-size: .88rem; max-width: 18rem; margin: 0; }
.grade-A .gauge-fill, .grade-B .gauge-fill { color: var(--good-on-ink); }
.grade-C .gauge-fill { color: var(--amber); }
.grade-D .gauge-fill, .grade-F .gauge-fill { color: var(--bad-on-ink); }

.screens { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 1.5rem; align-items: end; margin-top: 2.8rem; }
.frame { margin: 0; }
.frame-desktop { border-radius: 12px; overflow: hidden; border: 1px solid rgba(169, 180, 197, .25); background: #0a1322; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.frame-bar { display: flex; align-items: center; gap: .4rem; padding: .5rem .75rem; background: #1b2a40; }
.frame-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: rgba(169, 180, 197, .35); }
.frame-bar span { margin-left: .6rem; font-family: var(--mono); font-size: .75rem; color: var(--on-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-desktop img { display: block; width: 100%; aspect-ratio: 1366 / 640; object-fit: cover; object-position: top; }
.frame-phone { border: 6px solid #1b2a40; border-radius: 26px; overflow: hidden; background: #0a1322; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.frame-phone img { display: block; width: 100%; aspect-ratio: 375 / 760; object-fit: cover; object-position: top; }
.frame figcaption { color: var(--on-ink-muted); font-size: .8rem; padding: .45rem .2rem 0; }
.frame-phone + figcaption { text-align: center; }

.overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; align-items: start; }
.sevbar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--stone); margin: .4rem 0 .9rem; }
.sevbar span { display: block; height: 100%; }
.sev-c { background: var(--bad); } .sev-s { background: #c2410c; } .sev-m { background: var(--amber); } .sev-n { background: #9aa4b2; }
.sev-legend { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .88rem; }
.sev-legend li { display: flex; align-items: center; gap: .4rem; }
.sev-legend i { width: .7rem; height: .7rem; border-radius: 3px; display: inline-block; }
.pour { margin: 0; display: grid; gap: .9rem; }
.pour div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 2.6rem; gap: .9rem; align-items: center; }
.pour dt { color: var(--ink); font-weight: 500; }
.pour dd { margin: 0; }
.pour .meter { height: 8px; border-radius: 999px; background: var(--stone); overflow: hidden; }
.pour .meter span { display: block; height: 100%; border-radius: inherit; background: var(--ink); transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.pour .meter.low span { background: var(--bad); }
.pour .meter.mid span { background: var(--amber); }
.pour .meter.high span { background: var(--good); }
.pour .val { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; text-align: right; }
.pour-note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }
.trail-light { margin: 1rem 0 .6rem; }
.trail-light i { height: 18px; background: var(--stone); }
.trail-light i.v { background: var(--good); }
.trail-light i.x { background: var(--bad); }
.trail-light i.h { background: var(--amber); }
.trail-light i.n { background: #c4cbd4; }
.trail-legend { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .85rem; }
.trail-legend li { display: flex; align-items: center; gap: .4rem; }
.trail-legend i { width: .7rem; height: .7rem; border-radius: 3px; display: inline-block; }
@media (max-width: 960px) {
  .rx-top, .overview { grid-template-columns: 1fr; gap: 2rem; }
  .rx-score { justify-items: start; text-align: left; }
  .screens { grid-template-columns: minmax(0, 1fr) 8rem; }
}
@media (max-width: 600px) { .screens { grid-template-columns: 1fr; } .frame-phone { max-width: 10rem; } .trail { gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .rx-score .gauge-fill, .pour .meter span { transition: none; } }
