:root {
  --c-bg: #ffffff;
  --c-soft: #f5f7fc;
  --c-soft-2: #eef2fb;
  --c-text: #171b24;
  --c-text-2: #556075;
  --c-text-3: #8b93a3;
  --c-border: #e4e9f3;
  --c-border-2: #d3dcee;
  --c-primary: #2f6fed;
  --c-primary-d: #1f57c8;
  --c-primary-l: #eaf1ff;
  --accent: #2f6fed;
  --accent-tint: #eaf1ff;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 24px;
  --shadow-s: 0 1px 2px rgba(20, 30, 60, .04), 0 4px 14px rgba(20, 30, 60, .05);
  --shadow-m: 0 10px 34px rgba(20, 30, 60, .09);
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.g-analysts { --accent: #7b61ff; --accent-tint: #f1eeff; }
.g-diplomats { --accent: #12a594; --accent-tint: #e6f7f4; }
.g-sentinels { --accent: #2f6fed; --accent-tint: #eaf1ff; }
.g-explorers { --accent: #d98a1f; --accent-tint: #fdf3e4; }

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-d); }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0 0 .62em; font-weight: 600; line-height: 1.38; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(1.72rem, 3.6vw, 2.3rem); }
h2 { font-size: clamp(1.28rem, 2.2vw, 1.5rem); margin-top: 1.9em; }
h3 { font-size: 1.13rem; margin-top: 1.5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
li::marker { color: var(--c-text-3); }
strong, b { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 图标 */
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 26px; height: 26px; }
.icon-box {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent);
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(170%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.header-in { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; color: var(--c-text); letter-spacing: -.02em; }
.brand:hover { color: var(--c-text); }
.brand svg { width: 30px; height: 30px; border-radius: 9px; }
.brand-sub { font-size: .78rem; color: var(--c-text-3); font-weight: 400; margin-left: 2px; }
.nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.nav a { color: var(--c-text-2); font-size: .94rem; padding: 8px 12px; border-radius: var(--r-s); transition: .16s; }
.nav a:hover { background: var(--c-soft); color: var(--c-text); }
.nav a[aria-current="page"] { color: var(--c-primary); background: var(--c-primary-l); font-weight: 500; }
.nav-cta {
  background: var(--c-primary); color: #fff !important; font-weight: 500;
  padding: 9px 17px !important; border-radius: 999px; margin-left: 10px;
  box-shadow: 0 4px 14px rgba(47, 111, 237, .22);
}
.nav-cta:hover { background: var(--c-primary-d); }
.nav-toggle {
  display: none; margin-left: auto; background: #fff; border: 1px solid var(--c-border);
  border-radius: 10px; padding: 8px 11px; cursor: pointer; color: var(--c-text);
  align-items: center; gap: 5px; font-size: .88rem; font-family: inherit;
}
/* 汉堡按钮开合态：菜单展开时 ☰ ↔ ✕（toggle 是 .nav 的后续兄弟节点，可用 ~ 选择） */
.nav-toggle .ic-close, .nav-toggle .t-close { display: none; }
.nav.open ~ .nav-toggle .ic-open, .nav.open ~ .nav-toggle .t-open { display: none; }
.nav.open ~ .nav-toggle .ic-close, .nav.open ~ .nav-toggle .t-close { display: inline; }

/* hero */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 74px) 0 clamp(36px, 5vw, 64px);
  background:
    radial-gradient(1000px 420px at 12% -10%, #eaf1ff 0%, rgba(234, 241, 255, 0) 62%),
    radial-gradient(760px 380px at 92% 4%, #eafaf5 0%, rgba(234, 250, 245, 0) 58%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--c-border);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--c-primary-d);
  background: #fff; border: 1px solid #d9e4fb; padding: 6px 13px; border-radius: 999px;
  margin-bottom: 18px; box-shadow: var(--shadow-s);
}
.eyebrow .dot-live { width: 7px; height: 7px; border-radius: 50%; background: #12a594; }
.hero h1 { margin-bottom: .52em; }
.hero h1 em { font-style: normal; color: var(--c-primary); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .34em;
  background: linear-gradient(90deg, rgba(47, 111, 237, .18), rgba(18, 165, 148, .16)); border-radius: 4px; z-index: -1;
}
.hero-lead { font-size: 1.05rem; color: var(--c-text-2); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .86rem; color: var(--c-text-3); }
.hero-facts b { display: block; color: var(--c-text); font-size: 1.16rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.hero-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-l);
  box-shadow: var(--shadow-m); padding: 24px 24px 20px;
}
.hero-card h2 { font-size: .95rem; margin: 0 0 6px; color: var(--c-text-2); font-weight: 500; letter-spacing: 0; }
.mini-type { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--c-border); }
.mini-type:last-of-type { border-bottom: 0; }
.mini-type:hover .mini-code { background: var(--c-primary); color: #fff; }
.mini-code {
  font-weight: 700; font-size: .8rem; color: var(--c-primary); background: var(--c-primary-l);
  border-radius: 8px; padding: 5px 8px; flex: none; letter-spacing: .03em; transition: .16s;
}
.mini-type span { font-size: .89rem; color: var(--c-text-2); line-height: 1.55; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 1rem; font-weight: 500; padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: .18s; font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 22px rgba(47, 111, 237, .26); }
.btn-primary:hover { background: var(--c-primary-d); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(47, 111, 237, .3); }
.btn-ghost { background: #fff; color: var(--c-text); border-color: var(--c-border-2); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); background: #fbfcff; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn .ic { width: 18px; height: 18px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
/* 测试入口面板（/test/ 落地页） */
.entry-panel {
  background: linear-gradient(180deg, #fbfcff, #fff 42%);
  border: 1px solid var(--c-border); border-radius: var(--r-m);
  padding: 26px 26px 24px; box-shadow: 0 10px 30px rgba(20, 40, 90, .05);
}
.entry-panel h2 { margin-top: 0; }
.entry-panel > .btn { margin-bottom: 22px; }
.entry-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .86rem; color: var(--c-text-3); }
.entry-facts b { display: block; color: var(--c-text); font-size: 1.16rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .16s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* sections */
.section { padding: clamp(44px, 5vw, 68px) 0; }
.section-soft { background: var(--c-soft); }
.section-head { max-width: 48em; margin-bottom: 34px; }
.section-head h2 { margin-top: 0; position: relative; padding-left: 15px; }
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 4px; height: 1em;
  border-radius: 3px; background: var(--c-primary);
}
.section-head p { color: var(--c-text-2); margin-bottom: 0; }
.section-head .ic { color: var(--c-primary); margin-bottom: 10px; }

/* cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-m); padding: 20px; color: inherit; transition: .18s; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--accent); opacity: 0; transition: opacity .18s;
}
.card:hover { border-color: var(--c-border-2); box-shadow: var(--shadow-s); transform: translateY(-3px); color: inherit; }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-code { font-size: .76rem; font-weight: 700; letter-spacing: .06em; color: var(--accent); background: var(--accent-tint); padding: 4px 9px; border-radius: 7px; }
.card-name { font-size: 1.04rem; font-weight: 600; margin: 0 0 6px; }
.card p { font-size: .885rem; color: var(--c-text-2); margin: 0; line-height: 1.7; }
.card .pct { font-size: .76rem; color: var(--c-text-3); margin-top: auto; padding-top: 12px; display: block; font-variant-numeric: tabular-nums; }
.card .card-icon { color: var(--accent); }
.card .card-icon svg { width: 26px; height: 26px; }

.card.feature { padding: 24px; }
.card.feature .icon-box { margin-bottom: 16px; }
.card.feature h3 { margin: 0 0 8px; font-size: 1.06rem; }

.card.step { padding: 22px; background: linear-gradient(180deg, #fff 0%, #fcfdff 100%); }
.step-num {
  width: 34px; height: 34px; border-radius: 11px; background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .92rem; font-weight: 600;
  margin-bottom: 14px; box-shadow: 0 6px 14px rgba(47, 111, 237, .24);
}
.card.step h3 { margin: 0 0 8px; font-size: 1.02rem; }
.step-arrow { margin-top: auto; padding-top: 14px; color: var(--c-text-3); display: flex; align-items: center; gap: 6px; font-size: .8rem; }

/* group cards */
.group-card {
  display: block; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-m);
  padding: 22px; color: inherit; transition: .18s; position: relative; overflow: hidden;
}
.group-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--accent-tint); opacity: .7; transition: .2s;
}
.group-card:hover { border-color: var(--accent); box-shadow: var(--shadow-s); transform: translateY(-3px); color: inherit; }
.group-card:hover::after { transform: scale(1.14); }
.group-card .tag {
  display: inline-block; font-size: .74rem; color: #fff; background: var(--accent);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; position: relative; z-index: 1;
}
.group-card .g-icon { position: absolute; right: 20px; top: 20px; color: var(--accent); opacity: .85; z-index: 1; }
.group-card h3, .group-card h2 { margin: 0 0 8px; position: relative; z-index: 1; }
.group-card p { font-size: .9rem; color: var(--c-text-2); margin: 0 0 14px; position: relative; z-index: 1; line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.chip { font-size: .77rem; color: var(--c-text-2); background: var(--c-soft); border: 1px solid var(--c-border); border-radius: 7px; padding: 3px 9px; }

/* breadcrumb */
.crumb { font-size: .84rem; color: var(--c-text-3); padding: 18px 0 0; }
.crumb a { color: var(--c-text-2); }
.crumb a:hover { color: var(--c-primary); }
.crumb span { margin: 0 6px; color: var(--c-text-3); }

/* article */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 306px; gap: 44px; padding: 6px 0 72px; }
.article { font-size: 1.01rem; }
.article h1 { margin-top: .24em; }
.article > p:first-of-type { color: var(--c-text-2); }
.article .lead {
  font-size: 1.05rem; color: var(--c-text-2); border-left: 3px solid var(--c-primary);
  padding: 2px 0 2px 18px; background: linear-gradient(90deg, var(--c-soft), rgba(245, 247, 252, 0));
}
.article h2 { padding-bottom: .34em; border-bottom: 1px solid var(--c-border); position: relative; padding-left: 14px; }
.article h2::before {
  content: ""; position: absolute; left: 0; bottom: .34em; width: 4px; height: .82em;
  border-radius: 3px; background: var(--c-primary);
}
.article h3 { color: var(--c-text); }
.article ul { padding-left: 1.15em; }
.article ul li { color: var(--c-text-2); }
.article-meta { font-size: .84rem; color: var(--c-text-3); margin-bottom: 22px; display: flex; gap: 14px; flex-wrap: wrap; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.tag-row .chip { background: var(--c-primary-l); border-color: transparent; color: var(--c-primary-d); }

/* side */
.side { position: sticky; top: 86px; align-self: start; }
.side-box { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-m); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-s); }
.side-box h3 { font-size: .95rem; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.side-box h3 .ic { color: var(--c-primary); width: 18px; height: 18px; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li { font-size: .88rem; margin-bottom: 9px; line-height: 1.6; }
.side-box a { color: var(--c-text-2); }
.side-box a:hover { color: var(--c-primary); }
.side-box p { font-size: .88rem; color: var(--c-text-2); }

/* type page */
.type-panel { background: linear-gradient(180deg, var(--accent-tint) 0%, #fff 58%); border: 1px solid var(--c-border); border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow-s); margin-bottom: 28px; }
.type-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.type-badge {
  width: 66px; height: 66px; border-radius: 19px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem;
  letter-spacing: .05em; flex: none; box-shadow: 0 8px 20px rgba(20, 30, 60, .16);
}
.type-head h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 1.8rem); }
.type-head .sub { color: var(--c-text-3); font-size: .88rem; }
.type-tagline { color: var(--c-text-2); margin: 16px 0 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel-list { background: var(--c-soft); border-radius: var(--r-m); padding: 18px 20px; border: 1px solid transparent; }
.panel-list h3 { margin: 0 0 10px; font-size: .96rem; display: flex; align-items: center; gap: 8px; }
.panel-list.good { background: #f0faf7; border-color: #d6f0e9; }
.panel-list.good h3 { color: #0f7f6f; }
.panel-list.bad { background: #fef4f1; border-color: #f8ded5; }
.panel-list.bad h3 { color: #c05236; }
.panel-list ul { margin: 0; padding-left: 1.1em; font-size: .9rem; color: var(--c-text-2); }
.next-types { display: flex; flex-wrap: wrap; gap: 8px; }
.next-types a {
  font-size: .84rem; border: 1px solid var(--c-border); border-radius: 999px;
  padding: 6px 13px; color: var(--c-text-2); transition: .16s; background: #fff;
}
.next-types a:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-l); }

/* faq */
.faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-m); margin-bottom: 12px; overflow: hidden; transition: .16s; }
.faq-item:hover { border-color: var(--c-border-2); }
.faq-item[open] { border-color: #cfdcf7; box-shadow: var(--shadow-s); }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--c-text-3); font-size: 1.25rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "−"; color: var(--c-primary); }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--c-text-2); font-size: .94rem; }

/* test engine */
.test-shell { max-width: 780px; margin: 0 auto; padding: 26px 0 80px; }
.progress-wrap { position: sticky; top: 66px; z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); padding: 14px 0 12px; }
.progress-top { display: flex; justify-content: space-between; font-size: .84rem; color: var(--c-text-3); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.progress-bar { height: 8px; background: var(--c-soft-2); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--c-primary) 0%, #5b93ff 100%); border-radius: 999px; transition: width .25s ease; }
.q-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-l); box-shadow: var(--shadow-s); padding: 34px 30px; margin-top: 22px; }
.q-dim { font-size: .78rem; color: var(--c-text-3); letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.q-dim::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--c-primary); }
.q-text { font-size: 1.34rem; font-weight: 600; line-height: 1.55; margin: 14px 0 26px; }
.options { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--c-border);
  border-radius: var(--r-m); background: #fff; cursor: pointer; font-size: .98rem; color: var(--c-text);
  text-align: left; font-family: inherit; transition: .15s; width: 100%;
}
.opt:hover { border-color: #b9cdf7; background: #fbfcff; }
.opt.sel { border-color: var(--c-primary); background: var(--c-primary-l); color: var(--c-primary-d); font-weight: 500; }
.opt .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--c-border-2); flex: none; }
.opt.sel .dot { border-color: var(--c-primary); background: radial-gradient(circle, var(--c-primary) 0 45%, #fff 46% 100%); }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.q-exit { font-size: .86rem; color: var(--c-text-3); }

/* result */
.result-head { text-align: center; padding: 18px 0 4px; }
.result-code { font-size: clamp(2.5rem, 9vw, 3.5rem); font-weight: 700; letter-spacing: .04em; color: var(--c-primary); line-height: 1.08; }
.result-name { font-size: 1.4rem; font-weight: 600; margin-top: 4px; }
.result-en { color: var(--c-text-3); font-size: .88rem; }
.bars { margin: 30px 0 10px; display: grid; gap: 20px; }
.bar-row .bar-top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 7px; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.bar-row .bar-top b { color: var(--c-text); }
.bar-track { position: relative; height: 12px; background: var(--c-soft-2); border-radius: 999px; }
.bar-mid { position: absolute; left: 50%; top: -3px; width: 2px; height: 18px; background: #cfd6e4; }
.bar-fill { position: absolute; top: 0; height: 12px; border-radius: 999px; background: linear-gradient(90deg, #5b93ff, var(--c-primary)); }
.bar-hint { font-size: .8rem; color: var(--c-text-3); margin-top: 6px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.result-summary { background: var(--c-soft); border-radius: var(--r-m); padding: 20px; margin-top: 26px; font-size: .94rem; color: var(--c-text-2); line-height: 1.75; }

/* 表格与链接列表 */
.table-wrap {
  overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--c-border);
  border-radius: var(--r-m); background: #fff; -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); line-height: 1.68; }
.table-wrap thead th { background: var(--c-soft); font-weight: 600; color: var(--c-text); font-size: .86rem; white-space: nowrap; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover td { background: #fbfcff; }
.table-wrap td:first-child { font-weight: 500; white-space: nowrap; }
.table-wrap td:nth-child(2), .table-wrap td:nth-child(3) { color: var(--c-text-2); }
.link-list { list-style: none; padding: 0; }
.link-list li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.link-list li::before {
  content: ""; position: absolute; left: 6px; top: .66em; width: 6px; height: 6px;
  border-radius: 2px; background: var(--c-primary); opacity: .45;
}

/* 署名与来源（E-E-A-T） */
.byline {
  display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--c-text-2);
  background: var(--c-soft); border: 1px solid var(--c-border); border-radius: 999px;
  padding: 7px 15px; margin: 12px 0 22px; max-width: 100%; line-height: 1.5;
}
.byline .ic { color: var(--c-primary); }
.byline a { color: var(--c-text); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.byline a:hover { color: var(--c-primary); }
.byline time { font-variant-numeric: tabular-nums; }
.source-list { font-size: .9rem; color: var(--c-text-2); padding-left: 1.2em; }
.source-list li { margin-bottom: .55em; }
.source-list li::marker { color: var(--c-primary); }

/* 通用提示条 */
.note-band { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--c-border); border-left: 3px solid var(--c-primary); border-radius: var(--r-m); padding: 16px 18px; font-size: .9rem; color: var(--c-text-2); }

/* footer */
.site-footer { border-top: 1px solid var(--c-border); background: var(--c-soft); padding: 48px 0 30px; font-size: .88rem; color: var(--c-text-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 30px; }
.footer-grid h3 { font-size: .92rem; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--c-text-2); }
.footer-grid a:hover { color: var(--c-primary); }
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--c-text); margin-bottom: 10px; }
.footer-brand svg { width: 26px; height: 26px; border-radius: 8px; }
.footer-note { border-top: 1px solid var(--c-border); padding-top: 20px; font-size: .81rem; color: var(--c-text-3); line-height: 1.85; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .layout { grid-template-columns: 1fr; gap: 32px; }
  .side { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article h2 { font-size: 1.24rem; }
  /* 平板区间：压缩导航使 5 个链接 + CTA 仍能放进一行 */
  .brand-sub { display: none; }
  .nav a { padding: 8px 9px; font-size: .88rem; }
  .nav-cta { margin-left: 6px; padding: 9px 13px !important; font-size: .88rem; }
}
/* 平板及以下：栏目链接收进汉堡下拉；CTA 常驻头部栏，不折叠进来 */
@media (max-width: 768px) {
  .header-in { position: relative; gap: 12px; }
  .brand-sub { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column;
    align-items: stretch; background: #fff; border-bottom: 1px solid var(--c-border);
    padding: 8px 12px 14px; gap: 2px; box-shadow: var(--shadow-s); z-index: 60;
  }
  .nav.open { display: flex; animation: menuIn .18s ease-out; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; margin-left: 0; padding: 9px 12px; }
  .nav-cta { margin-left: auto; padding: 9px 14px !important; font-size: .9rem; white-space: nowrap; }
}
@media (max-width: 680px) {
  .grid-4, .grid-3, .grid-2, .two-col { grid-template-columns: 1fr; }
  .q-text { font-size: 1.12rem; }
  .q-card { padding: 24px 18px; }
  .result-code { font-size: 2.5rem; }
  .section { padding: 40px 0; }
  .hero-facts { gap: 10px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .table-wrap table { font-size: .84rem; }
  .table-wrap th, .table-wrap td { padding: 9px 11px; }
  .byline { border-radius: var(--r-m); font-size: .8rem; align-items: flex-start; }
}
/* 极窄屏：只留 logo，保证 CTA 与汉堡按钮有足够空间 */
@media (max-width: 380px) {
  .brand-text { display: none; }
  .nav-cta { padding: 8px 12px !important; font-size: .86rem; }
  .nav-toggle { padding: 9px 10px; }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
