/* =========================================================
   甲醛清除网 · taimeiqd.com
   视觉语言：检测报告 / 技术手册
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #111e28;
  --ink2: #3d5162;
  --ink3: #6d8090;
  --ink4: #98a6b1;
  --line: #dce5ea;
  --line2: #edf2f4;
  --paper: #fff;
  --bg: #f5f8f9;
  --brand: #0f6fae;
  --brand-d: #0a527f;
  --brand-l: #e9f2f8;
  --accent: #d9641c;
  --accent-d: #b44f10;
  --accent-l: #fdf1e7;
  --ok: #147a55;
  --ok-l: #e8f4ee;
  --warn: #a8760f;
  --bad: #b3392f;
  --bad-l: #fbeceb;
  --max: 1180px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(15, 111, 174, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 111, 174, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .35em 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; color: var(--ink); }
b, strong { font-weight: 700; }
em { font-style: normal; }
button { font-family: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 62px 0 0; }
.section-sm { padding: 46px 0 0; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: 12px 22px; border-radius: var(--r); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn-solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-solid:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink3); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn.sm { padding: 8px 16px; font-size: 14px; }
.btn.lg { padding: 14px 28px; font-size: 16px; }
.btn.full { width: 100%; }

/* ---------------- topbar ---------------- */
.topbar { background: var(--ink); color: #dbe4ea; font-size: 13px; }
.topbar-in { display: flex; align-items: center; gap: 10px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.tb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(217, 100, 28, .18); }
.tb-label { font-size: 11px; letter-spacing: .12em; color: #93a6b3; flex: 0 0 auto; }
.tb-text { margin: 0; flex: 1 1 auto; min-width: 0; color: #dbe4ea; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-link { flex: 0 0 auto; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); font-size: 12.5px; }
.tb-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------- header ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { display: block; width: 136px; height: auto; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: 9px 9px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mainnav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-in { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-in li { margin: 0; }
.nav-in a {
  display: block; padding: 8px 11px; border-radius: var(--r);
  color: var(--ink2); font-size: 15px; font-weight: 500;
}
.nav-in a:hover { background: var(--brand-l); color: var(--brand-d); }
.nav-in a.on { color: var(--brand-d); background: var(--brand-l); font-weight: 600; }
.nav-cta {
  flex: 0 0 auto; padding: 9px 18px; border-radius: var(--r);
  background: var(--accent); color: #fff; font-size: 14.5px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-d); color: #fff; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(15, 111, 174, .10), transparent 70%),
    radial-gradient(600px 320px at 6% 110%, rgba(217, 100, 28, .08), transparent 70%),
    linear-gradient(180deg, #fff, rgba(255, 255, 255, .4));
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(15, 111, 174, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 111, 174, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 62px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: .1em; color: var(--ink3);
  margin: 0 0 18px; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hero h1 {
  font-size: clamp(29px, 4.1vw, 50px);
  line-height: 1.2; letter-spacing: -.015em; font-weight: 800; margin: 0 0 20px;
}
.hero h1 em {
  color: var(--accent); position: relative;
  background: linear-gradient(180deg, transparent 68%, rgba(217, 100, 28, .16) 68%);
}
.hero .sub { font-size: 16.5px; color: var(--ink2); max-width: 34em; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hero-meta li { flex: 0 0 auto; padding: 14px 26px 0 0; margin: 0; display: flex; align-items: baseline; gap: 7px; }
.hero-meta li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.hero-meta b { font-family: var(--mono); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.hero-meta span { font-size: 13px; color: var(--ink3); }

/* report card */
.report {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 18px 44px -26px rgba(17, 30, 40, .4), 0 2px 0 rgba(15, 111, 174, .06);
  padding: 0 0 14px; position: relative;
}
.report::before {
  content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.report-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px 12px; border-bottom: 1px solid var(--line2);
  font-size: 13px; font-weight: 600; color: var(--ink2);
}
.report-head .mono { font-size: 11.5px; color: var(--ink4); letter-spacing: .04em; }
.report-rows { margin: 0; padding: 12px 20px 4px; }
.report-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; }
.report-rows dt { font-size: 13px; color: var(--ink3); margin: 0; }
.report-rows dd { margin: 0; font-size: 13px; color: var(--ink); font-family: var(--mono); }
.report-main { padding: 10px 20px 0; }
.report-main.second { padding-top: 14px; }
.rm-top { display: flex; align-items: baseline; gap: 8px; }
.rm-top span { font-size: 13px; color: var(--ink2); font-weight: 600; }
.rm-top b { font-family: var(--mono); font-size: 32px; line-height: 1.1; color: var(--ink); letter-spacing: -.03em; font-weight: 700; }
.rm-top i { font-style: normal; font-size: 12px; color: var(--ink4); }
.gauge { position: relative; display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 10px 0 6px; background: var(--line2); }
.gauge span { display: block; height: 100%; }
.g-ok { flex: 0 0 40%; background: linear-gradient(90deg, #b9e3cd, #7fcda6); }
.g-mid { flex: 0 0 20%; background: linear-gradient(90deg, #f4dca9, #eec678); }
.g-bad { flex: 1 1 auto; background: linear-gradient(90deg, #eeb3ad, #df8b82); }
.g-mark { position: absolute; top: -3px; width: 3px; height: 14px; background: var(--ink); border-radius: 2px; transform: translateX(-1px); box-shadow: 0 0 0 2px #fff; }
.gauge-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--ink4); }
.report-foot { margin: 14px 20px 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--ink4); line-height: 1.6; }

/* ---------------- strip ---------------- */
.strip { background: var(--ink); color: #c9d6df; }
.strip-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.strip-in > div { padding: 20px 22px; border-left: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 4px; }
.strip-in > div:first-child { border-left: 0; padding-left: 0; }
.strip-in b { font-family: var(--mono); font-size: 22px; color: #fff; letter-spacing: -.02em; }
.strip-in span { font-size: 12.5px; line-height: 1.5; color: #94a8b6; }

/* ---------------- policy banner ---------------- */
.policy {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 26px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--r); padding: 22px 26px; color: var(--ink);
  transition: box-shadow .2s, border-color .2s;
}
.policy:hover { box-shadow: 0 14px 34px -24px rgba(17, 30, 40, .45); color: var(--ink); }
.policy-tag { font-size: 11.5px; letter-spacing: .1em; font-weight: 700; color: var(--accent); background: var(--accent-l); padding: 5px 10px; border-radius: 2px; white-space: nowrap; }
.policy-body h2 { font-size: 19px; margin: 0 0 6px; }
.policy-body p { margin: 0; font-size: 14px; color: var(--ink2); }
.policy-more { font-size: 14px; font-weight: 600; color: var(--brand); white-space: nowrap; }

/* ---------------- section heading ---------------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 26px; }
.sec-head.tight { margin-bottom: 18px; }
.sec-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--brand); margin: 0 0 8px; text-transform: uppercase; }
.sec-k.light { color: rgba(255, 255, 255, .6); }
.sec-t { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.015em; margin: 0; }
.sec-d { flex: 0 1 400px; margin: 0 0 4px; font-size: 14px; color: var(--ink3); line-height: 1.7; }

/* ---------------- category cards ---------------- */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cat {
  position: relative; background: #fff; padding: 26px 24px 22px; display: block;
  color: var(--ink); transition: background .18s;
}
.cat:hover { background: #fbfdfe; color: var(--ink); }
.cat-no { position: absolute; right: 20px; top: 18px; font-size: 11px; color: var(--ink4); letter-spacing: .1em; }
.cat-en { display: block; font-size: 10px; letter-spacing: .16em; color: var(--brand); margin-bottom: 10px; }
.cat h3 { font-size: 19px; margin: 0 0 8px; }
.cat p { font-size: 13.5px; color: var(--ink3); line-height: 1.68; margin: 0 0 14px; }
.cat-n { font-family: var(--mono); font-size: 11.5px; color: var(--ink4); }
.cat:hover .cat-n { color: var(--accent); }

/* ---------------- article cards ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #c6d6df; box-shadow: 0 16px 34px -28px rgba(17, 30, 40, .55); transform: translateY(-2px); }
.card-link { display: block; padding: 22px 22px 18px; color: inherit; height: 100%; }
.card-link:hover { color: inherit; }
.card-cat { display: inline-block; font-size: 11px; letter-spacing: .06em; color: var(--brand); background: var(--brand-l); padding: 3px 8px; border-radius: 2px; margin-bottom: 12px; }
.card h3 { font-size: 16.5px; line-height: 1.45; margin: 0 0 9px; letter-spacing: -.01em; }
.card p { font-size: 13px; color: var(--ink3); line-height: 1.65; margin: 0 0 16px; }
.card-meta { font-size: 11px; color: var(--ink4); letter-spacing: .03em; }

/* ---------------- tools ---------------- */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px 20px; color: var(--ink); display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tool:hover { border-color: var(--brand); box-shadow: 0 16px 34px -28px rgba(15, 111, 174, .7); transform: translateY(-2px); color: var(--ink); }
.tool-no { position: absolute; right: 20px; top: 18px; font-size: 11px; color: var(--ink4); letter-spacing: .1em; }
.tool-tag { align-self: flex-start; font-size: 11px; color: var(--accent); background: var(--accent-l); padding: 3px 8px; border-radius: 2px; margin-bottom: 12px; }
.tool h3 { font-size: 18px; margin: 0 0 8px; }
.tool p { font-size: 13px; color: var(--ink3); line-height: 1.66; margin: 0 0 18px; flex: 1 1 auto; }
.tool-go { font-size: 13px; font-weight: 600; color: var(--brand); }
.tool-go span { transition: transform .2s; display: inline-block; }
.tool:hover .tool-go span { transform: translateX(3px); }

/* ---------------- tables ---------------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.tbl th, .tbl td { padding: 12px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line2); }
.tbl thead th { background: #f3f7f9; font-size: 12.5px; font-weight: 700; color: var(--ink2); letter-spacing: .02em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fafcfd; }
.tbl-lg { min-width: 620px; }
.tbl td b { color: var(--ink); }
.td-code { font-size: 12px; color: var(--brand-d); white-space: nowrap; }
.td-key { font-size: 12.5px; color: var(--ink2); line-height: 1.65; }
.td-note { font-size: 12.5px; color: var(--ink3); }
.tbl-note { font-size: 12.5px; color: var(--ink4); margin: 10px 0 0; }

/* ---------------- split ---------------- */
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.myths { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.myths details { border-bottom: 1px solid var(--line2); }
.myths details:last-child { border-bottom: 0; }
.myths summary {
  list-style: none; cursor: pointer; padding: 16px 46px 16px 20px; position: relative;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.myths summary::-webkit-details-marker { display: none; }
.myths summary:hover { background: #fafcfd; }
.myths .plus { position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -6px; }
.myths .plus::before, .myths .plus::after { content: ""; position: absolute; background: var(--ink3); border-radius: 1px; }
.myths .plus::before { left: 0; top: 5px; width: 12px; height: 2px; }
.myths .plus::after { left: 5px; top: 0; width: 2px; height: 12px; transition: transform .2s, opacity .2s; }
.myths details[open] .plus::after { transform: scaleY(0); opacity: 0; }
.myths details p { margin: 0; padding: 0 20px 18px; font-size: 14px; color: var(--ink2); line-height: 1.8; }

.latest { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.latest h3 { font-size: 14px; letter-spacing: .04em; color: var(--ink3); font-weight: 600; margin: 0 0 14px; text-transform: uppercase; font-family: var(--mono); }
.latest ul { list-style: none; margin: 0 0 16px; padding: 0; }
.latest li { margin: 0; padding: 11px 0; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; gap: 4px; }
.latest li a { font-size: 14px; line-height: 1.55; color: var(--ink); }
.latest li a:hover { color: var(--brand); }
.latest li span { font-size: 10.5px; color: var(--ink4); }
.latest-all { font-size: 13px; font-weight: 600; }

/* ---------------- cta ---------------- */
.cta {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 34px; align-items: center;
  background: linear-gradient(120deg, #0d2434, #123448 60%, #173c52);
  color: #fff; border-radius: var(--r); padding: 42px 44px; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 100, 28, .34), transparent 70%);
}
.cta h2 { color: #fff; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.4; margin: 0 0 12px; letter-spacing: -.01em; }
.cta p { color: #a9bcc9; font-size: 14px; margin: 0; max-width: 40em; }
.cta-r { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* ---------------- page shell ---------------- */
.page { padding-top: 22px; padding-bottom: 40px; }
.crumbs { font-size: 12.5px; color: var(--ink4); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 22px; }
.crumbs a { color: var(--ink3); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: #c3ced6; }
.crumbs .cur { color: var(--ink2); max-width: 46em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-head { max-width: 780px; margin-bottom: 30px; }
.page-head.tight { margin-bottom: 20px; }
.page-head h1 { font-size: clamp(25px, 3.2vw, 38px); line-height: 1.24; letter-spacing: -.02em; margin: 0 0 14px; }
.lede { font-size: 16px; color: var(--ink2); line-height: 1.8; margin: 0; max-width: 44em; }

.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: end; padding-bottom: 24px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.cat-head h1 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; letter-spacing: -.02em; }
.cat-head .lede { font-size: 15px; }
.cat-head-r { text-align: right; padding-bottom: 4px; }
.cat-head-r b { display: block; font-size: 34px; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.cat-head-r span { font-size: 11.5px; color: var(--ink4); }

/* ---------------- list ---------------- */
.list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 44px; align-items: start; margin-top: 22px; }
.list-main { min-width: 0; }
.row { border-bottom: 1px solid var(--line); }
.row-link { display: block; padding: 22px 0 20px; color: inherit; }
.row-link:hover { color: inherit; }
.row-top { display: flex; gap: 14px; font-size: 11px; color: var(--ink4); margin-bottom: 8px; letter-spacing: .04em; }
.row h2 { font-size: 19px; line-height: 1.45; margin: 0 0 8px; letter-spacing: -.01em; transition: color .16s; }
.row-link:hover h2 { color: var(--brand); }
.row p { font-size: 14px; color: var(--ink3); line-height: 1.68; margin: 0 0 10px; }
.row-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.row-tags span { font-size: 11px; color: var(--ink4); }

.list-side { position: sticky; top: 88px; }
.side-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 14px; }
.side-block h3 { font-size: 13px; letter-spacing: .06em; color: var(--ink3); font-weight: 600; margin: 0 0 12px; font-family: var(--mono); text-transform: uppercase; }
.side-p { font-size: 13px; color: var(--ink3); line-height: 1.7; margin: 0 0 12px; }
.side-link { font-size: 13px; font-weight: 600; }
.side-tools { list-style: none; margin: 0; padding: 0; }
.side-tools li { margin: 0 0 8px; }
.side-tools a { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 9px 11px; background: #f7fafb; border-radius: 2px; }
.side-tools a:hover { background: var(--brand-l); }
.side-tools b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.side-tools span { font-size: 10.5px; color: var(--ink4); white-space: nowrap; }
.side-cta { background: var(--ink); border-color: var(--ink); color: #c9d6df; }
.side-cta h3 { color: #8fa4b2; }
.side-cta p { color: #a9bcc9; font-size: 13px; line-height: 1.7; margin: 0 0 14px; }
.side-posts { list-style: none; margin: 0; padding: 0; }
.side-posts li { margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.side-posts li:last-child { border-bottom: 0; }
.side-posts a { font-size: 13px; line-height: 1.55; color: var(--ink2); }
.side-posts a:hover { color: var(--brand); }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 0 6px; font-size: 14px; }
.pager a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
.pager a:hover { border-color: var(--brand); }
.pager span { font-size: 12px; color: var(--ink4); }

/* ---------------- article ---------------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.article { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 36px 40px 32px; }
.art-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.art-cat { display: inline-block; font-size: 11.5px; letter-spacing: .06em; color: var(--brand); background: var(--brand-l); padding: 3px 9px; border-radius: 2px; margin-bottom: 14px; }
.art-head h1 { font-size: clamp(24px, 3vw, 33px); line-height: 1.32; letter-spacing: -.02em; margin: 0 0 14px; text-wrap: balance; }
.art-meta { font-size: 11.5px; color: var(--ink4); margin: 0; letter-spacing: .03em; }

.prose { font-size: 16px; line-height: 1.92; color: #22323f; overflow-wrap: break-word; }
.prose > p { margin: 0 0 1.15em; }
.prose .lead { font-size: 17.5px; line-height: 1.85; color: var(--ink); padding-left: 16px; border-left: 3px solid var(--accent); margin-bottom: 1.6em; }
.prose h2 {
  font-size: 21px; line-height: 1.45; margin: 2em 0 .7em; padding-left: 14px; position: relative;
  letter-spacing: -.01em; scroll-margin-top: 90px; text-wrap: pretty;
}
.prose h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; background: var(--brand); border-radius: 2px; }
.prose h3 { font-size: 17.5px; margin: 1.6em 0 .5em; }
.prose .list { padding-left: 0; list-style: none; }
.prose .list li { position: relative; padding-left: 18px; margin: .5em 0; }
.prose .list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.prose .tbl { margin: 1.4em 0; font-size: 14px; border: 1px solid var(--line); }
.prose .tablewrap { margin: 1.4em 0; }
.prose .tablewrap .tbl { margin: 0; border: 0; }
.prose .note {
  background: #f4f9fc; border: 1px solid #cfe3ef; border-left: 3px solid var(--brand);
  border-radius: 2px; padding: 15px 18px; margin: 1.5em 0; font-size: 14.5px; color: var(--ink2); line-height: 1.8;
}
.prose .note strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 14px 18px; background: #fbf7f2; border-left: 3px solid var(--accent); color: var(--ink2); }
.prose blockquote p:last-child { margin: 0; }
.prose code { font-family: var(--mono); font-size: .9em; background: #f2f6f8; padding: 1px 5px; border-radius: 2px; }
.prose .tbl-note { margin: .6em 0 1.4em; }

.art-end { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.art-end p { font-size: 12.5px; color: var(--ink4); line-height: 1.7; margin: 0; max-width: 42em; }

.art-side { position: sticky; top: 88px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 14px; }
.toc h3 { font-size: 12px; letter-spacing: .08em; color: var(--ink3); font-family: var(--mono); margin: 0 0 10px; text-transform: uppercase; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { margin: 0; padding: 6px 0; counter-increment: t; display: flex; gap: 8px; }
.toc li::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 10px; color: var(--ink4); padding-top: 3px; flex: 0 0 auto; }
.toc a { font-size: 13px; line-height: 1.55; color: var(--ink2); }
.toc a:hover { color: var(--brand); }

.related { margin-top: 44px; }
.h2-line { font-size: 20px; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); display: inline-block; letter-spacing: -.01em; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; color: inherit; transition: border-color .2s, transform .2s; }
.rel:hover { border-color: var(--brand); transform: translateY(-2px); color: inherit; }
.rel-date { font-size: 10.5px; color: var(--ink4); letter-spacing: .05em; }
.rel h3 { font-size: 15px; line-height: 1.5; margin: 8px 0 8px; }
.rel p { font-size: 12.5px; color: var(--ink3); line-height: 1.65; margin: 0; }

.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.mini b { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.mini h3 { font-size: 16px; margin: 0 0 8px; }
.mini p { font-size: 13px; color: var(--ink3); line-height: 1.7; margin: 0; }

.prose.narrow { max-width: 720px; }

/* ---------------- faq ---------------- */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 15px 44px 15px 20px; font-size: 15px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--ink3); font-family: var(--mono); font-size: 16px; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: #fafcfd; }
.faq details p { margin: 0; padding: 0 20px 18px; font-size: 14px; color: var(--ink2); line-height: 1.8; }

/* ---------------- calculator ---------------- */
.calc { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 22px; }
.calc-form h2 { font-size: 14px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); margin: 0 0 18px; font-weight: 600; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.field input[type="number"], .field input[type="text"], .field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 15px; font-family: var(--mono); color: var(--ink); background: #fff; outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.field select { font-family: var(--sans); }
.field input:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 111, 174, .12); }
.field .hint { font-size: 11.5px; color: var(--ink4); margin: 5px 0 0; line-height: 1.6; }
.field.check { margin: 4px 0 18px; }
.field.check label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13.5px; color: var(--ink2); margin: 0; }
.field.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.calc-out { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r); padding: 26px; min-height: 260px; }
.out-hint { color: var(--ink4); font-size: 13.5px; margin: 0; }
.res-top { font-size: 12px; font-family: var(--mono); letter-spacing: .08em; color: var(--ink3); text-transform: uppercase; margin: 0 0 12px; }
.res-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.res-big b { font-family: var(--mono); font-size: 36px; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); font-weight: 700; }
.res-big i { font-style: normal; font-size: 13px; color: var(--ink4); }
.res-sub { font-size: 13px; color: var(--ink3); margin: 0 0 20px; }
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line2); border: 1px solid var(--line2); border-radius: 2px; margin: 0 0 18px; }
.kpi div { background: #fbfdfe; padding: 12px 14px; }
.kpi span { display: block; font-size: 11.5px; color: var(--ink4); margin-bottom: 3px; }
.kpi b { font-family: var(--mono); font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.verdict { border-radius: 2px; padding: 13px 15px; font-size: 13.5px; line-height: 1.7; margin-bottom: 14px; }
.verdict.ok { background: var(--ok-l); border: 1px solid #bfe0cf; color: #0f5a3f; }
.verdict.warn { background: #fdf6e5; border: 1px solid #ecd9a8; color: #7a5408; }
.verdict.bad { background: var(--bad-l); border: 1px solid #efc7c3; color: #8a2b23; }
.verdict b { font-weight: 700; }
.res-note { font-size: 12px; color: var(--ink4); line-height: 1.7; margin: 0; }
.barline { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 11.5px; color: var(--ink4); font-family: var(--mono); }
.barline .track { flex: 1 1 auto; height: 6px; background: var(--line2); border-radius: 3px; position: relative; overflow: hidden; }
.barline .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brand); border-radius: 3px; }
.barline .fill.accent { background: var(--accent); }

/* ---------------- form ---------------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: block; margin-bottom: 16px; }
.fld > span { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 15px; font-family: var(--sans); color: var(--ink); background: #fff; outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.fld textarea { resize: vertical; line-height: 1.7; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 111, 174, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fbot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.fbot p { font-size: 11.5px; color: var(--ink4); margin: 0; flex: 1 1 260px; line-height: 1.65; }
.alert { border-radius: 2px; padding: 13px 16px; font-size: 14px; margin-bottom: 18px; }
.alert.ok { background: var(--ok-l); border: 1px solid #bfe0cf; color: #0f5a3f; }
.alert.bad { background: var(--bad-l); border: 1px solid #efc7c3; color: #8a2b23; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.contact-side { position: sticky; top: 88px; }
.list.tight li { margin: .3em 0; font-size: 13px; }

/* ---------------- glossary ---------------- */
.gl-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.gl-top a { font-size: 12.5px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 2px; color: var(--ink2); }
.gl-top a:hover { border-color: var(--brand); color: var(--brand); }
.gl-top a span { font-size: 10px; color: var(--ink4); margin-left: 4px; }
.gl-group { margin-bottom: 34px; scroll-margin-top: 90px; }
.gl-group h2 { font-size: 16px; padding-bottom: 9px; border-bottom: 2px solid var(--ink); margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; }
.gl-group h2 span { font-size: 11px; color: var(--accent); }
.gl-group dl { margin: 0; }
.gl-item { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line2); }
.gl-item dt { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.gl-item dd { margin: 0; font-size: 13.5px; color: var(--ink2); line-height: 1.75; }

/* ---------------- about ---------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.about-main { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 34px 38px; }
.about-main h2:first-child { margin-top: 0; }
.about-side { position: sticky; top: 88px; }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.kv li:last-child { border-bottom: 0; }
.kv span { font-size: 12.5px; color: var(--ink3); }
.kv b { font-size: 15px; }

/* ---------------- gone / 404 ---------------- */
.gone { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 60px 40px; text-align: left; max-width: 760px; }
.gone h1 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; }
.gone p { color: var(--ink2); font-size: 15px; }
.gone-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.gone-links a { font-size: 13px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; background: #fafcfd; }

/* ---------------- ad ---------------- */
.ad-body { max-width: var(--max); margin: 46px auto 0; padding: 0 24px; overflow: hidden; }
.ad-body.ad-empty { height: 0; margin: 0; padding: 0; }

/* ---------------- footer ---------------- */
.site-foot { background: #0d1a24; color: #9db0bd; margin-top: 56px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .8fr)); gap: 34px; padding-top: 46px; padding-bottom: 30px; }
.foot-logo { display: block; margin-bottom: 14px; }
.foot-say { font-size: 13px; line-height: 1.75; color: #9db0bd; margin: 0 0 8px; max-width: 30em; }
.foot-say2 { font-size: 12px; color: #6f8593; margin: 0; }
.foot-col h3 { font-size: 12px; letter-spacing: .1em; color: #6f8593; font-family: var(--mono); text-transform: uppercase; margin: 0 0 12px; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 8px; }
.foot-col a { font-size: 13.5px; color: #b6c6d1; }
.foot-col a:hover { color: #fff; }
.foot-mail { font-size: 12.5px; color: #7d93a1; margin: 12px 0 0; font-family: var(--mono); }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .09); padding-top: 18px; padding-bottom: 18px; }
.foot-note p { font-size: 11.5px; line-height: 1.8; color: #6f8593; margin: 0; max-width: 78em; }
.foot-note strong { color: #94a8b6; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, .09); background: #0a141c; }
.foot-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; font-size: 12px; color: #6f8593; }
.foot-bar-in a { color: #94a8b6; }
.foot-bar-in a:hover { color: #fff; }
.foot-icp { margin-left: auto; color: #57707f; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .hero-in { gap: 38px; }
  .list-layout, .post-layout, .contact-layout, .about-grid { gap: 32px; }
  .article { padding: 30px 32px; }
}

@media (max-width: 960px) {
  .head-in { min-height: 62px; }
  .burger { display: block; order: 3; }
  .brand { order: 1; }
  .mainnav {
    order: 4; position: fixed; left: 0; right: 0; top: 102px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(17, 30, 40, .5);
    padding: 8px 20px 18px; display: none; max-height: calc(100vh - 102px); overflow-y: auto;
  }
  .mainnav.open { display: flex; }
  .nav-in { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-in a { padding: 12px 4px; border-bottom: 1px solid var(--line2); border-radius: 0; font-size: 16px; }
  .nav-in a.on { background: transparent; color: var(--brand); }
  .nav-cta { margin-top: 14px; text-align: center; }

  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 38px; padding-bottom: 46px; }
  .report { max-width: 460px; }
  .strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-in > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .tools, .cols3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .list-layout { grid-template-columns: minmax(0, 1fr); }
  .list-side { position: static; }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; }
  .contact-layout, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-side, .about-side { position: static; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 34px 28px; }
  .cta-r { flex-direction: row; flex-wrap: wrap; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .foot-icp { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .section { padding-top: 44px; }
  .tb-label { display: none; }
  .tb-link { display: none; }
  .topbar-in { min-height: 0; padding: 8px 0; align-items: flex-start; }
  .tb-dot { margin-top: 6px; }
  .tb-text { font-size: 12px; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.55; }
  .hero h1 { font-size: 28px; line-height: 1.28; }
  .hero .sub { font-size: 15px; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-meta li { padding: 11px 10px 0 0; }
  .hero-meta li + li { padding-left: 12px; border-left: 1px solid var(--line); }
  .hero-meta li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-meta b { font-size: 18px; }
  .strip-in { grid-template-columns: minmax(0, 1fr); }
  .strip-in > div { border-left: 0; padding-left: 0; padding-right: 0; }
  .strip-in > div + div { border-top: 1px solid rgba(255, 255, 255, .1); }
  .policy { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px; }
  .policy-more { justify-self: start; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-d { flex: none; }
  .cats { grid-template-columns: minmax(0, 1fr); }
  .cards, .tools, .cols3 { grid-template-columns: minmax(0, 1fr); }
  .cat-head { grid-template-columns: minmax(0, 1fr); }
  .cat-head-r { text-align: left; }
  .article { padding: 24px 20px; }
  .prose { font-size: 15.5px; }
  .prose .tablewrap .tbl { min-width: 520px; }
  .prose .tablewrap .tbl th, .prose .tablewrap .tbl td { padding: 10px 12px; }
  .prose .tablewrap .tbl thead th { white-space: nowrap; }
  .prose .lead { font-size: 16.5px; }
  .prose h2 { font-size: 19px; }
  .about-main { padding: 24px 20px; }
  .calc-form, .calc-out, .form { padding: 20px; }
  .frow, .frow2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .res-big b { font-size: 30px; }
  .gl-item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .gone { padding: 40px 22px; }
  .crumbs .cur { white-space: normal; }
}
