@charset "utf-8";
/* ==========================================================================
   CHEMUNI — stylesheet
   Single file, no dependencies, no build step, no webfonts.
   Tokens first, then shell, then components, then responsive, then print.
   Base design language adapted from the AIREVIEW archive build: hairlines,
   paper ground, serif display type, mono for anything a lab would measure.
   ========================================================================== */

:root {
  /* paper + ink */
  --paper:        #ffffff;
  --paper-2:      #faf9f6;
  --paper-3:      #f4f2ee;
  --rule:         #e3dfd7;
  --rule-strong:  #cdc7ba;
  --ink:          #15171b;
  --ink-2:        #4a4f59;
  --ink-3:        #6b7280;
  --ink-4:        #949aa4;

  /* accent: slate blue, not a SaaS blue. Reads as industrial, stays calm. */
  --accent:       #17364f;
  --accent-2:     #24556f;
  --accent-3:     #4b7b93;
  --accent-soft:  #eef3f6;
  --accent-line:  #c4d4de;

  /* a single warm signal for figures and highlights */
  --warm:         #a2662e;
  --warm-soft:    #f7efe4;

  --ok:           #16653c;
  --ok-bg:        #edf6f0;
  --warn:         #8a5300;
  --warn-bg:      #fbf3e2;

  /* type */
  --serif: Georgia, "Iowan Old Style", "Source Serif Pro", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;

  --fs-xs: 12px;
  --fs-sm: 13.5px;
  --fs-md: 15.5px;
  --fs-lg: 17.5px;
  --fs-xl: 21px;
  --fs-2xl: 28px;
  --fs-3xl: 37px;
  --fs-4xl: 48px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 72px;
  --sp-9: 104px;

  --wrap: 1120px;
  --measure: 68ch;
  --r-1: 3px;
  --r-2: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-md)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.22; margin: 0; }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }
li { margin-bottom: var(--sp-1); }
code, samp { font-family: var(--mono); font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--sp-6) 0; }
::selection { background: #dde8ee; }

/* Chinese typography: 黑体标题, taller leading, no faux-serif headings.
   宋体 at display sizes reads as a government circular, which is the wrong
   register for a materials company. */
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .stat__n,
html[lang="zh-CN"] .appgrid a,
html[lang="zh-CN"] .faq summary,
html[lang="zh-CN"] .fig .lbl { font-family: var(--sans); font-weight: 700; letter-spacing: .01em; }
html[lang="zh-CN"] body { line-height: 1.78; }
/* 中文不用下划线强调：CJK 字形贴近基线，3px 下划线会压到笔画上。
   换成低浓度的高亮带，按行片段渲染，换行也不会画到行尾。 */
html[lang="zh-CN"] .hero h1 em,
html[lang="zh-CN"] .phead h1 em {
  text-decoration: none;
  background-image: linear-gradient(transparent 58%, rgba(196, 212, 222, .55) 58%);
  padding-bottom: 2px;
}
html[lang="zh-CN"] .hero h1,
html[lang="zh-CN"] .phead h1 { line-height: 1.36; }
html[lang="zh-CN"] .lede { line-height: 1.75; }

/* ------------------------------------------------------------------ shell */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-5); }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: var(--sp-4); top: var(--sp-4); z-index: 99;
  background: var(--paper); padding: var(--sp-2) var(--sp-3); border: 1px solid var(--accent);
}

/* ------------------------------------------------------------------ masthead */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 20; }
.masthead__in { display: flex; align-items: center; gap: var(--sp-5); min-height: 72px; }
.wordmark {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--ink);
  white-space: nowrap;
}
.wordmark:hover { text-decoration: none; color: var(--accent); }
.wordmark .mark { color: var(--accent); flex: none; }
.wordmark__latin {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .14em;
  font-weight: 600;
  text-transform: uppercase;
}
.wordmark__zh {
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-left: 2px;
  padding-left: var(--sp-3);
  border-left: 1px solid var(--rule-strong);
}
.wordmark__latin.wordmark__sep {
  font-size: 15px;
  color: var(--ink-3);
  padding-left: var(--sp-3);
  border-left: 1px solid var(--rule-strong);
  letter-spacing: .12em;
}
.wordmark__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
}
.wordmark__tag { display: none; }

.masthead nav { margin-left: auto; display: flex; gap: var(--sp-4); align-items: center; }
.masthead nav a {
  font-size: 13px;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.masthead nav a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--rule-strong); }
.masthead nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.masthead .nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: var(--r-1);
  font-size: var(--fs-sm);
  margin-left: var(--sp-2);
}
.masthead .nav-cta:hover { background: var(--accent); color: #fff; text-decoration: none; }
.masthead .langswitch {
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-1);
  padding: 4px 12px;
  color: var(--ink-2);
  font-size: var(--fs-xs);
}
.masthead .langswitch:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.navbtn {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  font: 500 var(--fs-sm)/1 var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-1);
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
}
.navbtn__bars,
.navbtn__bars::before,
.navbtn__bars::after {
  display: block; width: 14px; height: 1.5px; background: var(--ink-2);
  content: ""; position: relative;
}
.navbtn__bars::before { position: absolute; top: -4.5px; }
.navbtn__bars::after { position: absolute; top: 4.5px; }

/* ------------------------------------------------------------------ type helpers */
.eyebrow {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: var(--sp-3);
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .06em; }
.lede { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.62; max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.tbc {
  font-style: normal;
  font-size: .88em;
  color: var(--ink-4);
  border-bottom: 1px dashed var(--rule-strong);
  padding-bottom: 1px;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ hero */
.hero { padding: var(--sp-8) 0 var(--sp-7); border-bottom: 1px solid var(--rule); }
.hero h1 {
  font-size: var(--fs-4xl);
  max-width: 17ch;
  margin-bottom: var(--sp-5);
  letter-spacing: -.02em;
}
.hero h1 em,
.phead h1 em {
  font-style: normal;
  color: var(--accent-2);
  /* 用 text-decoration 而不是 border-bottom：换行时下划线只跟文字走，
     border 会在行尾一直画到容器边缘。 */
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.hero .lede { margin-bottom: var(--sp-6); }
.hero__acts { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }
.hero__meta {
  margin-top: var(--sp-5);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.7;
}
.hero__split { display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--sp-8); align-items: center; }
.hero__fig { margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 var(--fs-sm)/1 var(--sans);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-1);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.btn:active { transform: scale(.985); }

/* ------------------------------------------------------------------ stat band */
.band { border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.band__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: var(--sp-5) var(--sp-5) var(--sp-5) 0; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat__n {
  font-family: var(--serif);
  font-size: var(--fs-2xl);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.stat__k { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 8px; max-width: 24ch; }
.band__note {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  margin: 0;
  padding: 0 0 var(--sp-4);
  max-width: 78ch;
}

/* ------------------------------------------------------------------ sections */
.sec { padding: var(--sp-8) 0; border-bottom: 1px solid var(--rule); }
.sec:last-of-type { border-bottom: 0; }
.sec--tight { padding: var(--sp-7) 0; }
.sec__head { display: flex; align-items: baseline; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.sec__head h2 { font-size: var(--fs-2xl); }
.sec__head p { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); }
.sec__head .more { margin-left: auto; font-size: var(--fs-sm); white-space: nowrap; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--fs-2xl); margin: var(--sp-7) 0 var(--sp-4); }
.prose h3 { font-size: var(--fs-xl); margin: var(--sp-6) 0 var(--sp-3); }
.prose h4 { font-size: var(--fs-md); font-family: var(--sans); font-weight: 700; margin: var(--sp-5) 0 var(--sp-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote {
  margin: var(--sp-5) 0; padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  border-left: 2px solid var(--accent-line); color: var(--ink-2);
  font-family: var(--serif); font-size: var(--fs-lg);
}
.prose p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ product cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.card {
  background: var(--paper);
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  transition: background-color 160ms var(--ease);
}
.card:hover { background: var(--paper-2); }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
.sku { font-family: var(--mono); font-size: var(--fs-xs); color: var(--accent-2); letter-spacing: .04em; }
.card__solids { font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-4); }
.card h3 { font-size: var(--fs-lg); margin: var(--sp-2) 0 var(--sp-2); }
/* 两行高度固定：同一行的六张卡，副标题长短不一，不固定就会让下面的规格行错位 */
.card__tag { font-size: var(--fs-sm); color: var(--ink-2); margin: 0 0 var(--sp-4); min-height: 3.3em; }
.card__facts { list-style: none; margin: 0 0 var(--sp-4); padding: 0; font-size: var(--fs-sm); }
.card__facts li {
  display: flex; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-2) 0; border-top: 1px solid var(--rule);
  color: var(--ink-3); margin: 0;
}
.card__facts b { font-weight: 500; color: var(--ink); font-family: var(--mono); white-space: nowrap; }
.card__link { margin-top: auto; font-size: var(--fs-sm); }

/* ------------------------------------------------------------------ product detail */
.pblock {
  display: grid; grid-template-columns: 1fr 340px; gap: var(--sp-7);
  padding: var(--sp-7) 0; border-bottom: 1px solid var(--rule);
  align-items: start;
}
.pblock:last-of-type { border-bottom: 0; }
.pblock__head { display: flex; align-items: baseline; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.pblock__head h2 { font-size: var(--fs-2xl); }
.pblock__head .sku { font-size: var(--fs-sm); }
.pblock__tag { font-family: var(--serif); font-size: var(--fs-lg); color: var(--accent-2); margin: 0 0 var(--sp-4); }
.pblock__desc { max-width: 62ch; }
.feats { list-style: none; padding: 0; margin: var(--sp-4) 0 0; }
.feats li {
  position: relative; padding: var(--sp-2) 0 var(--sp-2) var(--sp-6); border-bottom: 1px solid var(--rule);
  font-size: var(--fs-sm); color: var(--ink-2); margin: 0;
}
.feats li:last-child { border-bottom: 0; }
.feats li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 6px; height: 6px; border: 1px solid var(--accent-3); border-radius: 50%;
}
.pblock__aside { border: 1px solid var(--rule); background: var(--paper-2); padding: var(--sp-4) var(--sp-5); }
.pblock__aside h3 {
  font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-3);
}
html[lang="zh-CN"] .pblock__aside h3 { text-transform: none; letter-spacing: .02em; }

/* ------------------------------------------------------------------ tables */
.spec { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec th {
  text-align: left; font: 400 var(--fs-xs)/1.4 var(--sans); color: var(--ink-3);
  padding: var(--sp-2) var(--sp-3) var(--sp-2) 0; border-bottom: 1px solid var(--rule); vertical-align: bottom;
}
.spec td { padding: var(--sp-2) 0; border-bottom: 1px solid var(--rule); text-align: right; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec td.num { font-family: var(--mono); font-size: 11.5px; color: var(--ink); white-space: nowrap; }

/* ------------------------------------------------------------------ TDS slot */
/* 有 PDF 时是下载按钮，没有时是同一位置的邮件索取。两种状态共用一套骨架，
   买家不会因为文件还没上传就看到一个空洞。 */
.tds { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--rule); }
.tds__btn {
  display: flex; align-items: center; gap: 10px;
  padding: var(--sp-3);
  border: 1px solid var(--rule-strong); background: var(--paper); color: var(--ink);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.tds__btn:hover { border-color: var(--accent); background: #fff; text-decoration: none; }
.tds__tag {
  flex: none; display: grid; place-items: center;
  width: var(--sp-6); height: var(--sp-6); border: 1px solid var(--accent); color: var(--accent);
  font: 700 9px/1 var(--mono); letter-spacing: .06em;
}
.tds__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tds__label { font-size: var(--fs-sm); font-weight: 500; }
.tds__meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .02em; }
.tds__arrow { margin-left: auto; color: var(--ink-3); font-size: 13px; }
.tds__btn:hover .tds__arrow { color: var(--accent-2); }
.tds__btn--req { border-style: dashed; border-color: var(--rule); }
.tds__btn--req .tds__tag { border-color: var(--rule); color: var(--ink-3); }

/* 质量页的文件清单 */
.doclist__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-4); margin: var(--sp-6) 0 var(--sp-2);
}
.doclist__head h3 {
  font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0;
}
.doclist__head span { font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.doclist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.doclist li {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: baseline; gap: var(--sp-4);
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--rule); margin: 0;
}
.doclist__sku { font-family: var(--mono); font-size: 11.5px; color: var(--accent-2); }
.doclist__name { font-size: var(--fs-sm); color: var(--ink); }
.doclist__act { font-family: var(--mono); font-size: 11.5px; color: var(--accent-2); white-space: nowrap; }
.doclist__act--req { color: var(--ink-3); }
.doclist__act:hover { color: var(--accent); }
html[lang="zh-CN"] .doclist__head h3 { text-transform: none; letter-spacing: .02em; }

.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin: var(--sp-4) 0; }
.tbl th {
  text-align: left; font: 500 var(--fs-xs)/1.35 var(--sans); color: var(--ink-3);
  padding: var(--sp-2) var(--sp-4) var(--sp-2) 0; border-bottom: 1px solid var(--rule-strong);
  vertical-align: bottom;
}
.tbl td {
  padding: var(--sp-3) var(--sp-4) var(--sp-3) 0; border-bottom: 1px solid var(--rule);
  vertical-align: top; color: var(--ink-2);
}
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl code { color: var(--ink); font-size: var(--fs-xs); }
.tbl tbody tr:hover { background: var(--paper-2); }

/* ------------------------------------------------------------------ figures */
.fig { margin: 0; }
.fig svg { display: block; width: 100%; height: auto; }
.fig figcaption {
  font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.6;
  margin-top: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid var(--rule);
}
.fig--panel {
  border: 1px solid var(--rule); background: var(--paper-2);
  padding: var(--sp-4);
  border-radius: var(--r-2);
}
.fig--panel figcaption { border-top: 0; padding-top: 0; margin-top: var(--sp-2); }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.step { padding-top: var(--sp-4); border-top: 2px solid var(--accent); }
.step__n { font-family: var(--mono); font-size: var(--fs-xs); color: var(--accent-2); display: block; margin-bottom: 6px; }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }

/* ------------------------------------------------------------------ sectors */
.sectors { border-top: 1px solid var(--rule); }
.sector {
  display: grid; grid-template-columns: 44px 1fr 200px; gap: var(--sp-4) var(--sp-5);
  padding: var(--sp-5) 0; border-bottom: 1px solid var(--rule);
}
.sector__no {
  font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-4);
  padding-top: var(--sp-2); letter-spacing: .04em;
}
.sector h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.sector p { font-size: var(--fs-sm); color: var(--ink-2); margin: 0 0 var(--sp-3); max-width: 76ch; }
.sector__meta {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  padding-top: 4px;
}
.sector__meta b { display: block; color: var(--ink); font-weight: 400; font-size: var(--fs-sm); margin-top: 2px; }

/* ------------------------------------------------------------------ rows / kv */
.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: 190px 1fr; gap: var(--sp-4);
  padding: var(--sp-4) 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm);
}
.row dt, .row .k { color: var(--ink-3); font-size: var(--fs-xs); padding-top: 3px; margin: 0; }
.row .v { color: var(--ink-2); }
.row .v b { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------------ link grid */
.appgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-7); border-top: 1px solid var(--rule); }
.appgrid a {
  display: flex; gap: var(--sp-4); align-items: baseline;
  padding: var(--sp-4) 0; border-bottom: 1px solid var(--rule);
  color: var(--ink); font-family: var(--serif); font-size: var(--fs-lg);
}
.appgrid a span { font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-4); }
.appgrid a:hover { color: var(--accent-2); text-decoration: none; }
.appgrid a:hover span { color: var(--accent-2); }

/* ------------------------------------------------------------------ faq */
.faqs { border-top: 1px solid var(--rule); }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; padding: var(--sp-4) 0; list-style: none;
  display: flex; justify-content: space-between; gap: var(--sp-4);
  font-family: var(--serif); font-size: var(--fs-lg); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--ink-3); flex: none; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 var(--sp-4); padding-right: var(--sp-7); color: var(--ink-2); max-width: 76ch; }

/* ------------------------------------------------------------------ callout */
.callout {
  border: 1px solid var(--rule-strong); background: var(--paper-2);
  border-radius: var(--r-1); padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm); margin: var(--sp-5) 0;
}
.callout h4 { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 700; margin: 0 0 var(--sp-2); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--warn { background: var(--warn-bg); border-color: #ecdcbb; color: #5c4200; }
.callout--warm { background: var(--warm-soft); border-color: #e7d6c0; color: #5c3a15; }

/* ------------------------------------------------------------------ cta */
.cta { border-top: 1px solid var(--rule); background: var(--paper-2); padding: var(--sp-7) 0; }
.cta__in { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.cta h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-2); }
.cta p { margin: 0; color: var(--ink-2); font-size: var(--fs-md); max-width: 56ch; }
.cta__acts { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ------------------------------------------------------------------ page head */
.phead { padding: var(--sp-7) 0 var(--sp-6); border-bottom: 1px solid var(--rule); }
.phead h1 { font-size: var(--fs-3xl); max-width: 22ch; margin-bottom: var(--sp-4); letter-spacing: -.015em; }
/* 中文一句话标题按字排版，22ch 会把「的笔记。」挤到第二行；这一页放开到一行能容纳的宽度 */
html[lang="zh-CN"] .phead--wide h1 { max-width: 20em; }
.phead--wide h1 { text-wrap: balance; }
.phead .lede { margin-bottom: 0; }
.crumb { font-size: var(--fs-xs); color: var(--ink-3); padding: var(--sp-4) 0 0; }
.crumb a { color: var(--ink-3); }
.crumb span { color: var(--ink-4); margin: 0 8px; }

/* ------------------------------------------------------------------ form */
.form { max-width: 640px; }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-size: var(--fs-xs); color: var(--ink-2); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 var(--fs-sm)/1.5 var(--sans); padding: var(--sp-3);
  border: 1px solid var(--rule-strong); border-radius: var(--r-1);
  background: var(--paper); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent-2); outline-offset: 2px; border-color: var(--accent-2);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 4px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.formnote { font-size: var(--fs-xs); color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: var(--sp-3); margin-top: var(--sp-4); }
.formnote--warn { color: var(--warn); }
.formnote--ok { color: var(--ok); }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--rule); background: var(--paper-2); padding: var(--sp-7) 0 var(--sp-5); }
.foot__cols {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  gap: var(--sp-5); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--rule);
}
.foot h4 {
  font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--sp-3);
}
html[lang="zh-CN"] .foot h4 { text-transform: none; letter-spacing: .02em; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; line-height: 1.5; }
.foot a { color: var(--ink-2); font-size: var(--fs-sm); }
.foot a:hover { color: var(--accent-2); }
.foot__plain { font-size: var(--fs-sm); color: var(--ink-2); }
.foot__addr { color: var(--ink-3); }
.foot__brand p { font-size: var(--fs-sm); color: var(--ink-3); max-width: 36ch; margin: var(--sp-4) 0 0; }
.foot__note { font-size: var(--fs-xs) !important; color: var(--ink-4) !important; }
.foot__bottom {
  display: flex; gap: var(--sp-5); flex-wrap: wrap; align-items: baseline;
  padding-top: var(--sp-4); font-size: var(--fs-xs); color: var(--ink-3);
}
.foot__bottom .spacer { margin-left: auto; }

/* ------------------------------------------------------------------ 404 */
.nf { padding: var(--sp-9) 0; text-align: center; }
.nf h1 { font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.nf p { color: var(--ink-3); }
.nf__acts { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-5); }

/* ------------------------------------------------------------------ insights */
.notes { border-top: 1px solid var(--rule); }
.note {
  display: grid; grid-template-columns: 56px 1fr 200px; gap: var(--sp-5);
  padding: var(--sp-5) 0; border-bottom: 1px solid var(--rule);
}
.note__no {
  font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .08em;
  color: var(--ink-4); padding-top: var(--sp-2);
}
.note h2 { font-size: var(--fs-xl); margin: 0 0 var(--sp-2); letter-spacing: -.01em; }
.note h2 a { color: var(--ink); }
.note h2 a:hover { color: var(--accent-2); text-decoration: none; }
.note p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); max-width: 62ch; }
.note__meta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding-top: var(--sp-2); font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
}
.note__meta a { color: var(--accent-2); }

.art__head { padding: var(--sp-7) 0 var(--sp-6); border-bottom: 1px solid var(--rule); }
.art__head h1 {
  font-size: var(--fs-3xl); max-width: 24ch; margin-bottom: var(--sp-3);
  letter-spacing: -.015em; text-wrap: balance;
}
/* 中文标题不做 balance：CJK 按字断行，均衡两行会把「一次」这类词拆开。
   放开宽度后，常见长度的一句话标题正好一行。 */
html[lang="zh-CN"] .art__head h1 { max-width: none; text-wrap: normal; }
html[lang="zh-CN"] .art__head .lede { max-width: 40em; }
.art__head .lede { font-size: var(--fs-lg); color: var(--ink-2); max-width: 58ch; margin: 0; }
.art { padding: var(--sp-7) 0; }
.art__in {
  display: grid; grid-template-columns: minmax(0, var(--measure)) 220px;
  justify-content: space-between; gap: var(--sp-6); align-items: start;
}
.art__aside {
  position: sticky; top: var(--sp-5);
  border-top: 1px solid var(--rule-strong); padding-top: var(--sp-3);
}
.art__aside-h {
  margin: 0 0 var(--sp-3); font-family: var(--mono); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
html[lang="zh-CN"] .art__aside-h {
  font-family: var(--sans); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: .04em; text-transform: none;
}
.art__aside ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.art__aside li {
  counter-increment: toc; margin-bottom: 10px;
  font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-3);
}
.art__aside li::before {
  content: counter(toc, decimal-leading-zero) "  ";
  font-family: var(--mono); color: var(--ink-4);
}
.art__aside a { color: var(--ink-2); }
.art__aside a:hover { color: var(--accent-2); text-decoration: none; }
.article { max-width: var(--measure); }
.article h2 { font-size: var(--fs-xl); margin: var(--sp-6) 0 var(--sp-3); }
.article p { margin-bottom: var(--sp-4); color: var(--ink-2); }
.article ul { margin-bottom: var(--sp-4); padding-left: 1.2em; color: var(--ink-2); }
.article li { margin-bottom: 8px; }
.article .pull {
  margin: var(--sp-6) 0; padding: 2px 0 2px var(--sp-5);
  border-left: 2px solid var(--accent-line);
  font-family: var(--serif); font-size: var(--fs-lg); line-height: 1.55; color: var(--ink);
}
html[lang="zh-CN"] .article .pull { font-family: var(--sans); font-size: var(--fs-md); font-weight: 500; line-height: 1.8; }
.artnav {
  display: flex; gap: var(--sp-5); align-items: baseline; flex-wrap: wrap;
  border-top: 1px solid var(--rule); margin-top: var(--sp-7); padding-top: var(--sp-4);
  font-size: var(--fs-sm);
}

/* ------------------------------------------------------------------ responsive */
/* 七个一级栏目 + CTA + 语言切换：1180 以下收窄间距，避免在切到汉堡菜单前挤在一起 */
@media (max-width: 1180px) {
  .masthead nav { gap: var(--sp-3); }
  .masthead__in { gap: var(--sp-4); }
}

@media (max-width: 1040px) {
  :root { --fs-4xl: 38px; --fs-3xl: 30px; --fs-2xl: 24px; }
  .hero__split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero__fig { order: 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pblock { grid-template-columns: 1fr; gap: var(--sp-5); }
  .foot__cols { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1040px) {
  .band__in { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); padding: var(--sp-4) var(--sp-4) var(--sp-4) 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: var(--sp-4); }
  .cols-3, .steps { grid-template-columns: 1fr; gap: var(--sp-5); }
  .sector { grid-template-columns: 36px 1fr; }
  .sector__meta { grid-column: 2; flex-direction: row; gap: var(--sp-5); padding-top: 0; }
  .row { grid-template-columns: 1fr; gap: var(--sp-1); }
  .note { grid-template-columns: 44px 1fr 170px; gap: var(--sp-4); }
  .art__in { grid-template-columns: 1fr; }
  .art__aside { display: none; }

  /* 移动端导航：JS 可用时收起，无 JS 时退化为横向滚动 */
  .js .navbtn { display: inline-flex; }
  .js .masthead nav { display: none; }
  .js .masthead nav[data-open="true"] {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: var(--sp-2) var(--sp-5) var(--sp-5);
    box-shadow: 0 24px 40px -28px rgba(21, 23, 27, .5);
  }
  .js .masthead nav[data-open="true"] a {
    padding: var(--sp-3) 0; border-bottom: 1px solid var(--rule); border-left: 0;
  }
  .js .masthead nav[data-open="true"] a:last-of-type { border-bottom: 0; }
  .js .masthead nav[data-open="true"] a[aria-current="page"] { color: var(--accent); font-weight: 500; }
  .js .masthead nav[data-open="true"] .nav-cta {
    margin: var(--sp-4) 0 0; text-align: center; border: 1px solid var(--accent);
    background: var(--accent); color: #fff; padding: 12px;
  }
  .js .masthead nav[data-open="true"] .langswitch {
    margin-top: var(--sp-2); text-align: center; padding: var(--sp-3);
    border: 1px solid var(--rule-strong); color: var(--ink-2);
  }
}

@media (max-width: 680px) {
  :root { --fs-4xl: 32px; --fs-3xl: 26px; --fs-2xl: 22px; --fs-lg: 16.5px; }
  .wrap { padding: 0 var(--sp-4); }
  .masthead__in { min-height: 62px; }
  .wordmark__latin { font-size: 18px; letter-spacing: .12em; }
  .wordmark__zh { font-size: 13px; }
  .masthead nav { gap: var(--sp-4); overflow-x: auto; }
  .hero { padding: var(--sp-6) 0 var(--sp-5); }
  .hero h1 { max-width: none; }
  .sec { padding: var(--sp-6) 0; }
  .sec__head { flex-wrap: wrap; gap: var(--sp-2); }
  .sec__head .more { margin-left: 0; }
  .cols-2 { grid-template-columns: 1fr; gap: var(--sp-5); }
  .cards { grid-template-columns: 1fr; }
  .card__tag { min-height: 0; }
  .appgrid { grid-template-columns: 1fr; gap: 0; }
  .field--row { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .foot__brand { grid-column: 1 / -1; }
  .sector { grid-template-columns: 1fr; gap: var(--sp-2); }
  .sector__no { padding-top: 0; }
  .sector__meta { grid-column: 1; }
  .pblock__aside { padding: var(--sp-4); }
  .cta__in { align-items: flex-start; }
  .note { grid-template-columns: 1fr; gap: var(--sp-2); }
  .note__no { padding-top: 0; }
  .note__meta { flex-direction: row; gap: var(--sp-4); padding-top: 0; }
  .artnav a { width: 100%; }

  /* 宽表在窄屏改为堆叠，列太窄时表格比文字更难读 */
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: auto; }
  .tbl thead { display: none; }
  .tbl tr { padding: var(--sp-3) 0; border-bottom: 1px solid var(--rule); }
  .tbl td { border: 0; padding: 0 0 4px; }
  .tbl td:first-child { font-weight: 500; color: var(--ink); }
  .tbl td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--ink-3); font-size: var(--fs-xs);
  }
}

/* ------------------------------------------------------------------ motion */
.btn, .card, .masthead nav a, .masthead .nav-cta, .masthead .langswitch,
.chip, .foot a, .more, .navbtn {
  transition: color 140ms var(--ease), background-color 140ms var(--ease),
              border-color 140ms var(--ease), transform 140ms var(--ease);
}
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.anchor-flash { background-color: var(--paper-3); transition: background-color 200ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .masthead, .foot, .cta, .hero__acts, .navbtn { display: none !important; }
  body { font-size: 10.5pt; color: #000; }
  a { color: #000; text-decoration: none; }
  .pblock { grid-template-columns: 1fr; }
  .sec, .pblock, .fig { page-break-inside: avoid; }
}
