/* RAFI 拉菲中国 · 视觉方向：原站深青 + 信号红；工业技术图纸感，密而不乱 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 750; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: -.01em; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.text-red { color: var(--red); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── buttons / labels ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 10px 18px; border: 1px solid transparent;
  border-radius: var(--radius); font-weight: 700; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--dark { background: var(--petrol); color: #fff; }
.btn--dark:hover { background: var(--petrol-deep); color: #fff; }
.btn--line { background: transparent; border-color: var(--line-strong); color: var(--petrol); }
.btn--line:hover { border-color: var(--petrol); background: var(--petrol-pale); color: var(--petrol); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--lg { min-height: 50px; padding: 13px 24px; font-size: 16px; }
.btn--tiny { min-height: 32px; padding: 5px 10px; font-size: 13px; }
.btn--full { width: 100%; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: #ff8a87; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--petrol); text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--red); }
.text-link--light { color: #fff; }
.text-link--light:hover { color: #ffb4b2; }
.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 2px; font-size: 11.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.tag--ok { background: #e1f0e8; color: var(--ok); }
.tag--muted { background: #eceff0; color: #59696d; }
.tag--red { background: #fde7e6; color: var(--red-dark); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: 6px 11px; border: 1px solid var(--line); border-radius: 2px; font-size: 13.5px; color: var(--ink-soft); text-decoration: none; background: #fff; }
.chip b { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--petrol); color: var(--petrol); }
.chip--plain { background: var(--paper-2); }
.chip-row--light .chip { background: transparent; border-color: rgba(255,255,255,.26); color: rgba(255,255,255,.9); }
.chip-row--light .chip b { color: rgba(255,255,255,.58); }
.chip-row--light .chip:hover { border-color: #fff; color: #fff; }

/* ── header ───────────────────────────────────────────── */
.topbar { background: var(--petrol-deep); color: rgba(255,255,255,.78); font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: space-between; gap: 20px; min-height: 34px; align-items: center; }
.topbar__tag { letter-spacing: .04em; }
.topbar__links { display: flex; gap: 20px; }
.topbar a { color: rgba(255,255,255,.78); text-decoration: none; }
.topbar a:hover { color: #fff; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.logo img { width: 150px; height: auto; }
.logo__cn { font-size: 12px; font-weight: 700; color: var(--petrol); border-left: 1px solid var(--line-strong); padding-left: 10px; letter-spacing: .1em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav__link { position: relative; padding: 27px 12px; font-size: 15px; font-weight: 650; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 18px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav__link:hover { color: var(--petrol); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--petrol); }
.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; background: var(--paper-2); height: 38px; }
.header-search input { width: 150px; border: 0; background: transparent; padding: 0 8px 0 12px; font-size: 13px; outline: 0; }
.header-search button { border: 0; background: transparent; width: 38px; height: 36px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.header-search button:hover { color: var(--red); }
.header-search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.header__cta { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.header-search-link { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 2px; place-items: center; color: var(--petrol); }
.header-search-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 2px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--petrol); margin: 4px 0; transition: transform .2s, opacity .2s; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── hero ─────────────────────────────────────────────── */
.hero { position: relative; background: var(--petrol); color: #fff; overflow: hidden; }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 55%, transparent 100%); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: 0; top: 0; width: 38%; height: 100%; background: radial-gradient(circle at 65% 35%, rgba(23,121,186,.28), transparent 60%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; padding-top: 78px; padding-bottom: 64px; align-items: center; }
.hero__copy h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 24px; }
.hero__copy h1 span { display: block; }
.hero__accent { color: #fff; position: relative; }
.hero__accent::after { content: ""; position: absolute; left: 0; right: 12%; bottom: -10px; height: 6px; background: var(--red); }
.hero__lead { max-width: 40em; font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.82); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 46px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero__stats div { padding: 16px 18px 0 0; }
.hero__stats dt { order: 2; font-size: 12px; color: rgba(255,255,255,.62); letter-spacing: .04em; }
.hero__stats dd { margin: 0 0 4px; font-family: var(--font-mono); font-size: 25px; font-weight: 700; line-height: 1.1; }
.hero__specimen { position: relative; }
.specimen__frame { position: relative; background: #fff; color: var(--ink); padding: 16px; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.specimen__frame::before, .specimen__frame::after { content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--red); border-style: solid; }
.specimen__frame::before { left: -1px; top: -1px; border-width: 3px 0 0 3px; }
.specimen__frame::after { right: -1px; bottom: -1px; border-width: 0 3px 3px 0; }
.specimen__topline { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.specimen__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.specimen__main { display: block; background: var(--paper-2); margin: 14px 0; }
.specimen__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 22px; }
.specimen__meta { display: grid; gap: 3px; }
.specimen__series { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--red); text-transform: uppercase; }
.specimen__meta strong { font-size: 18px; line-height: 1.45; }
.specimen__art { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.specimen__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.specimen__keys span { font-size: 12.5px; line-height: 1.5; display: grid; gap: 2px; }
.specimen__keys i { font-style: normal; color: var(--muted); font-size: 11px; }
.specimen__rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.specimen__rail a { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; padding: 6px 8px; font-size: 11.5px; }
.specimen__rail img { width: 42px; height: 42px; object-fit: contain; background: #fff; padding: 3px; }
.specimen__rail a:hover { border-color: #fff; color: #fff; }

/* ── sections ─────────────────────────────────────────── */
.section { padding: 92px 0; }
.section--tight { padding: 56px 0 76px; }
.section--compact { padding: 40px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--petrol); color: #fff; }
.section--dark a { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 34px; }
.section__head h2 { font-size: clamp(28px, 3.1vw, 42px); margin: 0; letter-spacing: -.02em; }
.section__head > div { min-width: 0; }
.section--dark .section__head h2 { color: #fff; }

/* ── home: categories / series / why / apps / docs / knowledge ── */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cat-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 24px 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .18s, box-shadow .18s, transform .18s; }
.cat-card:hover { border-color: var(--petrol); box-shadow: var(--shadow-soft); transform: translateY(-2px); color: var(--ink); }
.cat-card__num { font-family: var(--font-mono); font-size: 11px; color: var(--red); padding-top: 5px; }
.cat-card__body { display: grid; gap: 2px; min-width: 0; }
.cat-card__body strong { font-size: 21px; line-height: 1.3; }
.cat-card__en { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.cat-card__count { margin-top: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--petrol); font-weight: 700; }
.cat-card__series { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.cat-card__arrow { color: var(--red); font-size: 18px; }
.series-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.series-card { display: grid; grid-template-columns: 42% 1fr; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); text-decoration: none; color: #fff; transition: background .18s, border-color .18s; }
.series-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }
.series-card__media { background: #fff; padding: 12px; display: grid; place-items: center; }
.series-card__media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.series-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.series-card__body strong { font-size: 19px; line-height: 1.35; }
.series-card__count { font-family: var(--font-mono); font-size: 12px; color: #ff9a97; }
.series-card__cats { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.6; }
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.why-intro h2 { font-size: clamp(32px, 3.4vw, 46px); }
.why-intro p { color: var(--muted); max-width: 32em; }
.why-list { display: grid; }
.why-item { display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item__n { font-family: var(--font-mono); font-size: 23px; font-weight: 700; color: var(--red); line-height: 1.2; }
.why-item h3 { font-size: 19px; margin-bottom: 4px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.app-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 220px; transition: border-color .18s, transform .18s; }
.app-card:hover { border-color: var(--petrol); transform: translateY(-2px); color: var(--ink); }
.app-card__en { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.app-card strong { font-size: 20px; }
.app-card p { margin: 0; color: var(--muted); font-size: 14px; }
.app-card__go { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--petrol); }
.docs-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; border-top: 3px solid var(--red); padding-top: 44px; }
.docs-band h2 { font-size: clamp(30px, 3.4vw, 46px); }
.docs-band p { color: var(--muted); }
.docs-band__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.docs-band__nums { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0; }
.docs-band__nums div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.docs-band__nums dt { font-size: 12px; color: var(--muted); }
.docs-band__nums dd { margin: 2px 0 0; font-family: var(--font-mono); font-size: 30px; font-weight: 700; color: var(--petrol); }
.k-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.k-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .18s, transform .18s; }
.k-card:hover { border-color: var(--petrol); transform: translateY(-2px); color: var(--ink); }
.k-card__meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.k-card strong { font-size: 20px; line-height: 1.45; }
.k-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.k-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.k-card__tags span { font-size: 11px; background: var(--petrol-soft); color: var(--petrol); padding: 2px 7px; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); padding-top: 34px; }
.contact-strip h2 { font-size: clamp(26px, 2.7vw, 36px); margin-bottom: 6px; }
.contact-strip p { margin: 0; color: var(--muted); }
.contact-strip__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── page heads / crumbs ──────────────────────────────── */
.page-head { padding: 56px 0 46px; }
.page-head--dark { background: var(--petrol); color: #fff; position: relative; overflow: hidden; }
.page-head--dark::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, #000, transparent 78%); pointer-events: none; }
.page-head--dark .wrap { position: relative; z-index: 1; }
.page-head--cat { background: var(--petrol); color: #fff; }
.page-head--light { background: var(--sand); }
.page-head h1 { font-size: clamp(38px, 4.6vw, 66px); letter-spacing: -.03em; margin: 0 0 16px; max-width: 22ch; }
.page-head__lead { max-width: 52em; font-size: 17px; color: var(--muted); margin: 0; }
.page-head--dark .page-head__lead, .page-head--cat .page-head__lead { color: rgba(255,255,255,.76); }
.page-head__src { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.55); }
.page-head__src a { color: rgba(255,255,255,.8); }
.page-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.page-head__count { flex: none; text-align: right; padding-bottom: 8px; }
.page-head__count strong { display: block; font-family: var(--font-mono); font-size: 56px; line-height: 1; }
.page-head__count span { font-size: 13px; color: rgba(255,255,255,.65); }
.page-head__stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.page-head__stats div { padding: 14px 34px 0 0; }
.page-head__stats strong { display: block; font-family: var(--font-mono); font-size: 26px; line-height: 1.1; }
.page-head__stats span { font-size: 12px; color: rgba(255,255,255,.62); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs--light, .crumbs--light a { color: rgba(255,255,255,.62); }
.crumbs--light a:hover { color: #fff; }
.page-head--search { padding-bottom: 44px; }

/* ── products overview ────────────────────────────────── */
.cat-list { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(200px, .55fr) auto 32px; gap: 18px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cat-row:hover { background: var(--paper-2); color: var(--ink); }
.cat-row__num { font-family: var(--font-mono); font-size: 12px; color: var(--red); }
.cat-row__title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cat-row__title strong { font-size: 22px; }
.cat-row__title span { font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cat-row__desc { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 4px; }
.cat-row__series { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.cat-row__count { font-family: var(--font-mono); font-size: 24px; font-weight: 700; text-align: right; }
.cat-row__count small { display: block; font-family: var(--font-sans); font-size: 11px; font-weight: 400; color: var(--muted); }
.cat-row__arrow { color: var(--red); font-size: 18px; }
.series-table-wrap, .table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 13.5px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { background: var(--petrol); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.data-table tbody tr:hover { background: var(--petrol-pale); }
.data-table--series { min-width: 760px; }
.data-table--series td { padding-top: 14px; padding-bottom: 14px; }
.data-table--models { min-width: 760px; }
.cell-name { min-width: 280px; }
.cell-name a { font-weight: 650; text-decoration: none; }
.cell-name a:hover { text-decoration: underline; }
.cell-specs { min-width: 300px; }
.cell-specs span { display: inline-block; margin-right: 14px; white-space: nowrap; color: var(--muted); font-size: 12.5px; }
.cell-specs b { color: var(--ink); font-weight: 650; }
.data-table--docs, .data-table--datasheets { min-width: 840px; }
.data-table--docs .cell-name strong { display: block; }
.data-table--docs .cell-name .mono { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.data-table--datasheets td { padding-top: 8px; padding-bottom: 8px; }
.data-table--models tbody tr, .data-table--datasheets tbody tr { content-visibility: auto; contain-intrinsic-size: 42px; }
.data-table--specs { min-width: 0; table-layout: fixed; }
.data-table--specs th { width: 34%; background: var(--paper-2); color: var(--ink-soft); font-weight: 650; }
.data-table--specs td { word-break: normal; overflow-wrap: anywhere; }
.notice { display: flex; align-items: center; gap: 28px; justify-content: space-between; padding: 26px 28px; border: 1px solid var(--line); background: #fff; }
.notice h2 { font-size: 22px; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--muted); font-size: 14px; }
.notice--info { border-left: 4px solid var(--blue); }
.notice--warn { border-left: 4px solid var(--red); background: #fdf4f3; display: block; margin-top: 18px; padding: 16px 18px; }
.notice--warn strong { display: block; margin-bottom: 4px; }
.notice--warn p { font-size: 13.5px; }
.notice--muted { border-left: 4px solid var(--muted-2); background: var(--paper-2); display: block; margin-top: 12px; padding: 14px 18px; }
.notice--muted strong { display: block; margin-bottom: 4px; }
.notice--muted p { font-size: 13.5px; }

/* ── category / series pages ──────────────────────────── */
.filter-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-field { display: grid; gap: 6px; flex: 1; max-width: 660px; }
.filter-field span { font-size: 12px; color: var(--muted); }
.filter-field input, .field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); background: #fff; border-radius: 2px; padding: 10px 12px; font-size: 14.5px; }
.filter-field input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); outline: 2px solid rgba(0,52,66,.12); }
.filter-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; padding-bottom: 11px; }
.series-block { margin-bottom: 44px; }
.series-block__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--petrol); }
.series-block__head h2 { font-size: 23px; margin: 0; }
.series-block__head h2 a { text-decoration: none; }
.series-block__head > span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.series-block__head .text-link { margin-left: auto; font-size: 13px; }
.empty-state { padding: 28px; background: var(--sand); border: 1px dashed var(--line-strong); color: var(--muted); }
.cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); padding-top: 30px; }
.cat-foot h2 { font-size: 26px; margin-bottom: 4px; }
.cat-foot p { margin: 0; color: var(--muted); }
.cat-foot__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* series index */
.series-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.series-tile { display: grid; grid-template-columns: 110px 1fr 24px; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.series-tile:hover { border-color: var(--petrol); color: var(--ink); }
.series-tile__media { background: var(--paper-2); padding: 8px; }
.series-tile__media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.series-tile__body { display: grid; gap: 2px; min-width: 0; }
.series-tile__body strong { font-size: 17px; }
.series-tile__body > span { font-size: 12px; color: var(--muted); }
.series-tile__cats { line-height: 1.5; }
.series-tile__arrow { color: var(--red); }

/* ── product detail ───────────────────────────────────── */
.product { padding: 34px 0 10px; }
.product .crumbs { margin-bottom: 22px; }
.product__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: start; }
.product__image { background: var(--paper-2); border: 1px solid var(--line); padding: 26px; }
.product__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product__imgsrc { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); }
.product__kicker { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.product__kicker a { color: var(--red); text-decoration: none; }
.product__kicker a:hover { text-decoration: underline; }
.product__kicker span { color: var(--line-strong); }
.product__info h1 { font-size: clamp(30px, 3.5vw, 48px); letter-spacing: -.02em; margin-bottom: 12px; max-width: 20ch; }
.product__tagline { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.product__ident { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.product__ident > div { padding: 12px 14px 12px 0; min-width: 0; }
.product__ident span { display: block; font-size: 11.5px; color: var(--muted); }
.product__ident strong { font-size: 14.5px; font-weight: 650; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.badge { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; padding: 3px 9px; border: 1px solid var(--line-strong); color: var(--petrol); background: #fff; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.keygrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.keygrid div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keygrid dt { font-size: 11.5px; color: var(--muted); }
.keygrid dd { margin: 2px 0 0; font-weight: 650; font-size: 14.5px; overflow-wrap: anywhere; }
.product__cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.product__main { min-width: 0; }
.block { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; }
.block h2 { font-size: 26px; margin-bottom: 14px; }
.block__lead { color: var(--muted); font-size: 14px; max-width: 56em; }
.prose { font-size: 16px; line-height: 1.85; }
.prose h2 { font-size: 24px; margin-top: 1.4em; }
.prose h3 { font-size: 19px; margin-top: 1.2em; }
.prose table { margin: 18px 0; }
.source-line { font-size: 12.5px; color: var(--muted); }
.spec-group { margin-top: 24px; }
.spec-group h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.spec-group h3 span { font-family: var(--font-mono); font-size: 10px; color: var(--muted); font-weight: 400; border: 1px solid var(--line); padding: 1px 6px; }
.doc-list, .acc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.doc-list li { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.doc-list__kind { font-size: 11px; color: var(--muted); }
.doc-list__name { overflow-wrap: anywhere; }
.doc-list__dl { font-weight: 650; text-decoration: none; white-space: nowrap; }
.acc-list li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.acc-list .mono { color: var(--muted); }
.meta-list { margin: 0; }
.meta-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; overflow-wrap: anywhere; }
.product__aside { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 16px; }
.spec-card { border: 1px solid var(--line); background: var(--paper-2); padding: 22px; display: grid; gap: 12px; }
.spec-card h2 { font-size: 18px; margin: 0; }
.spec-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.spec-card dl { margin: 0; display: grid; gap: 0; }
.spec-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.spec-card dt { color: var(--muted); }
.spec-card dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.aside-card { border: 1px solid var(--line); background: #fff; padding: 20px; }
.aside-card h3 { font-size: 16px; margin-bottom: 10px; }
.aside-card p { font-size: 13.5px; color: var(--muted); }
.mini-list { display: grid; gap: 8px; margin-bottom: 12px; }
.mini-list a { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); font-size: 12.5px; }
.mini-list img { width: 58px; height: 58px; object-fit: contain; background: var(--paper-2); border: 1px solid var(--line); padding: 4px; }
.mini-list a > span { display: grid; gap: 2px; }
.mini-list .mono { color: var(--muted); font-size: 11px; }
.aside-card--note { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.aside-card--note h3 { color: #fff; }
.aside-card--note p { color: rgba(255,255,255,.7); }
.aside-card--note a { display: block; color: #fff; font-weight: 600; font-size: 13.5px; margin-top: 4px; }
.aside-links { display: grid; gap: 9px; }
.aside-links a { font-size: 13.5px; text-decoration: none; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .18s, box-shadow .18s, transform .18s; }
.pcard:hover { border-color: var(--petrol); box-shadow: var(--shadow-soft); transform: translateY(-2px); color: var(--ink); }
.pcard__media { position: relative; display: block; background: var(--paper-2); padding: 14px; }
.pcard__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.pcard__status { position: absolute; left: 10px; top: 10px; }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.pcard__series { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--red); text-transform: uppercase; }
.pcard__name { font-size: 14.5px; line-height: 1.5; font-weight: 650; }
.pcard__art { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.pcard__specs { display: grid; gap: 2px; font-size: 11.5px; color: var(--muted); }
.pcard__specs b { color: var(--ink-soft); font-weight: 600; }
.pcard__go { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--petrol); }

/* ── downloads ─────────────────────────────────────────── */
.download-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 48px; }
.dl-action { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--paper-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.dl-action:hover { border-color: var(--petrol); color: var(--ink); }
.dl-action__k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--red); }
.dl-action strong { font-size: 16px; }
.dl-action > span:last-child { font-size: 12px; color: var(--muted); line-height: 1.55; }
.lang-summary { margin-top: 32px; padding: 22px; background: var(--sand); border: 1px solid var(--line); }
.lang-summary h3 { font-size: 17px; }
.lang-summary dl { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 10px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lang-summary dl div { padding: 10px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 120px; }
.lang-summary dt { font-size: 11px; color: var(--muted); }
.lang-summary dd { margin: 0; font-family: var(--font-mono); font-size: 21px; font-weight: 700; }
.lang-summary p { margin: 0; font-size: 12.5px; color: var(--muted); }
.docs-notes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.docs-notes h2 { font-size: clamp(28px, 3vw, 40px); }
.docs-notes p { color: var(--muted); }
.docs-notes__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.docs-notes__list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.docs-notes__list div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.docs-notes__list span { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.docs-notes__list strong { font-size: 26px; font-family: var(--font-mono); }
.docs-notes__list small { font-size: 11px; color: var(--muted); }
.datasheet-note { margin-top: 26px; padding: 20px; background: var(--sand); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.datasheet-note p { margin: 0; font-size: 13px; color: var(--muted); }

/* ── knowledge / article ──────────────────────────────── */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.article-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .18s, transform .18s; }
.article-card:hover { border-color: var(--petrol); transform: translateY(-2px); color: var(--ink); }
.article-card__meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.article-card strong { font-size: 20px; line-height: 1.45; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; }
.article-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.article-card__tags span { font-size: 11px; background: var(--petrol-soft); color: var(--petrol); padding: 2px 7px; }
.article-card__go { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--petrol); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq-intro h2 { font-size: 36px; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 650; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 15px; color: var(--red); font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); padding: 0 28px 18px 0; margin: 0; font-size: 14.5px; }
.article-head { padding: 42px 0 38px; background: var(--sand); border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(32px, 4vw, 54px); max-width: 24ch; margin: 0 0 14px; }
.article-head__summary { max-width: 52em; color: var(--muted); font-size: 17px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.article-body { max-width: 780px; min-width: 0; }
.article-body table { font-size: 13.5px; width: 100%; }
.article-body table th, .article-body table td { padding: 8px 10px; }
.article-body table th { background: var(--petrol); color: #fff; }
.article-sources { margin-top: 42px; padding-top: 22px; border-top: 2px solid var(--petrol); }
.article-sources h2 { font-size: 19px; }
.article-sources ul { font-size: 13.5px; color: var(--muted); }
.article-aside { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 16px; }

/* ── applications ─────────────────────────────────────── */
.app-list { border-top: 1px solid var(--line-strong); }
.app-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 210px; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.app-row__num { font-family: var(--font-mono); font-size: 13px; color: var(--red); padding-top: 8px; }
.app-row__main h2 { font-size: 27px; margin-bottom: 6px; }
.app-row__main h2 a { text-decoration: none; }
.app-row__main p { color: var(--muted); margin-bottom: 10px; }
.app-row__side { display: grid; align-content: start; gap: 10px; padding-top: 8px; }
.app-row__src { font-size: 11.5px; color: var(--muted); }
.app-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.app-detail__body h2 { font-size: 26px; margin-top: 1.5em; }
.app-detail__aside { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 16px; }
.segment-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 0 0 12px; }
.segment-list li { padding: 8px 0 8px 16px; border-left: 2px solid var(--red); font-size: 14px; }
.cat-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat-mini { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); padding: 10px; text-decoration: none; color: var(--ink); }
.cat-mini:hover { border-color: var(--petrol); color: var(--ink); }
.cat-mini img { width: 64px; height: 64px; object-fit: contain; background: var(--paper-2); }
.cat-mini span span { display: block; font-size: 12px; color: var(--muted); }

/* ── about ────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: start; }
.about-copy > p:first-child { font-size: 18px; }
.about-facts { margin-top: 34px; }
.about-facts h2 { font-size: 24px; }
.about-facts dl { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0; }
.about-facts dl div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts dt { font-size: 11px; color: var(--muted); }
.about-facts dd { margin: 3px 0 0; font-size: 14px; }
.about-aside { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 16px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; }
.check-list li { padding-left: 20px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.timeline__item { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.timeline__year { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--red); }
.timeline__item h3 { font-size: 17px; margin-bottom: 3px; }
.timeline__item p { margin: 0; font-size: 13.5px; color: var(--muted); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.method-grid h2 { font-size: 34px; }
.method-grid p { color: var(--muted); }
.stat-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0; }
.stat-list div { padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-list dt { font-size: 11px; color: var(--muted); }
.stat-list dd { margin: 0; font-family: var(--font-mono); font-size: 25px; font-weight: 700; }

/* ── contact / forms ──────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { font-size: 27px; }
.contact-list { margin: 0 0 20px; }
.contact-list div { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 12px; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 15.5px; }
.contact-note { font-size: 12.5px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); }
.contact-tips { background: var(--sand); border: 1px solid var(--line); padding: 20px; margin-bottom: 20px; }
.contact-tips h3 { font-size: 16px; }
.contact-tips ul { margin: 0; padding-left: 1.1em; font-size: 13.5px; color: var(--muted); }
.contact-tips li { margin-bottom: 4px; }
.contact-direct { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-form-wrap { border: 1px solid var(--line); background: #fff; padding: 28px; }
.contact-form__lead { color: var(--muted); font-size: 13.5px; }
.enquiry-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.field textarea { resize: vertical; min-height: 130px; }
.field--check { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); }
.field--check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 22px; margin: 0; font-size: 13.5px; }
.form-status.is-ok { color: var(--ok); font-weight: 650; }
.form-status.is-err { color: var(--red); font-weight: 650; }
.form-fallback { margin: 0; font-size: 12px; color: var(--muted); }
.contact-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--line-strong); padding-top: 30px; }
.contact-bottom h2 { font-size: 26px; margin-bottom: 4px; }
.contact-bottom p { margin: 0; color: var(--muted); }
.contact-bottom__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── search / selector / 404 ──────────────────────────── */
.search-big { display: flex; gap: 10px; max-width: 860px; margin-top: 12px; }
.search-big input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; padding: 14px 16px; border-radius: 2px; font-size: 17px; }
.search-big input::placeholder { color: rgba(255,255,255,.5); }
.search-big input:focus { border-color: #fff; outline: 2px solid rgba(255,255,255,.2); }
.search-suggest { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.6); align-items: center; }
.search-suggest a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.search-status { font-family: var(--font-mono); font-size: 12px; color: var(--muted); min-height: 26px; margin-bottom: 12px; }
.search-results { display: grid; gap: 8px; }
.s-result { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; border: 1px solid var(--line); background: #fff; padding: 10px; text-decoration: none; color: var(--ink); }
.s-result:hover { border-color: var(--petrol); color: var(--ink); }
.s-result img { width: 72px; height: 72px; object-fit: contain; background: var(--paper-2); padding: 4px; }
.s-result__body { display: grid; gap: 2px; min-width: 0; }
.s-result__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--red); letter-spacing: .06em; }
.s-result__body strong { font-size: 15px; line-height: 1.45; }
.s-result__art { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.s-result__specs { font-size: 11.5px; color: var(--muted); }
.s-result__go { font-size: 12px; font-weight: 700; color: var(--petrol); }
.search-tip { margin-top: 22px; font-size: 12px; color: var(--muted); }
.selector-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; }
.selector-filters { position: sticky; top: calc(var(--header-h) + 22px); border: 1px solid var(--line); background: var(--paper-2); padding: 22px; display: grid; gap: 12px; }
.selector-filters h2 { font-size: 19px; margin: 0 0 2px; }
.selector-actions { display: grid; gap: 8px; margin-top: 4px; }
.selector-note { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }
.selector-results { min-width: 0; }
.selector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sel-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.sel-card:hover { border-color: var(--petrol); color: var(--ink); }
.sel-card img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: var(--paper-2); padding: 12px; }
.sel-card__body { padding: 12px; display: grid; gap: 3px; }
.sel-card__meta { font-family: var(--font-mono); font-size: 10px; color: var(--red); }
.sel-card strong { font-size: 13.5px; line-height: 1.45; }
.sel-card__art { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.sel-card__specs { font-size: 11px; color: var(--muted); }
.notfound { padding: 90px 0 110px; background: var(--sand); }
.notfound h1 { font-size: clamp(40px, 6vw, 76px); }
.notfound p { color: var(--muted); font-size: 17px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 34px; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.notfound__links a { color: var(--petrol); }

/* ── CTA / footer ─────────────────────────────────────── */
.cta-band { background: var(--petrol); color: #fff; border-top: 4px solid var(--red); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.7); max-width: 56em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.footer { background: var(--petrol-deep); color: rgba(255,255,255,.7); padding-top: 56px; font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 42px; padding-bottom: 40px; }
.footer__brand img { margin-bottom: 16px; }
.footer__pos { color: #fff; font-weight: 650; font-size: 14px; margin-bottom: 6px; }
.footer__op { font-size: 12.5px; }
.footer__disc { font-size: 11px; color: rgba(255,255,255,.42); line-height: 1.65; max-width: 34em; }
.footer h3 { color: #fff; font-size: 13px; letter-spacing: .06em; margin-bottom: 14px; }
.footer__col a { display: flex; justify-content: space-between; gap: 8px; color: rgba(255,255,255,.68); text-decoration: none; padding: 4px 0; font-size: 12.5px; }
.footer__col a:hover { color: #fff; }
.footer__col a span { color: rgba(255,255,255,.35); font-family: var(--font-mono); font-size: 10.5px; }
.footer__contact span { display: block; color: rgba(255,255,255,.62); padding: 4px 0; font-size: 12.5px; }
.footer__quote { color: #fff !important; border-top: 1px solid rgba(255,255,255,.18); margin-top: 10px; padding-top: 12px !important; font-weight: 650; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 11.5px; color: rgba(255,255,255,.45); }
.footer__legal { display: flex; gap: 16px; }
.footer__legal a { color: rgba(255,255,255,.62); text-decoration: none; }
.footer__source { font-family: var(--font-mono); }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 1180px) {
  :root { --gutter: 24px; }
  .hero__inner { gap: 36px; }
  .nav__link { padding-left: 9px; padding-right: 9px; font-size: 14px; }
  .header-search input { width: 118px; }
  .cat-grid, .app-grid, .series-grid, .series-index, .article-grid, .k-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .selector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
  .footer__contact h3 { width: 100%; margin-bottom: 0; }
  .footer__contact span { padding: 0; }
  .footer__quote { border: 0; margin: 0; padding: 0 !important; }
}
@media (max-width: 980px) {
  .header__inner { min-height: 68px; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 1px); background: #fff; border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; padding: 10px 24px 20px; margin: 0; box-shadow: var(--shadow); max-height: calc(100vh - 150px); overflow: auto; }
  .nav.is-open { display: flex; }
  .nav__link { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__link::after { display: none; }
  .menu-btn { display: block; }
  .header-search { display: none; }
  .header-search-link { display: grid; }
  .selector-layout { grid-template-columns: 1fr; gap: 30px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 54px; }
  .hero__specimen { max-width: 560px; }
  .hero__copy h1 { font-size: clamp(46px, 8vw, 72px); }
  .why-grid, .docs-band, .faq-wrap, .about-grid, .method-grid, .contact-grid, .app-detail, .docs-notes, .product__cols, .product__grid { grid-template-columns: 1fr; gap: 36px; }
  .product__aside, .article-aside, .app-detail__aside, .about-aside, .selector-filters { position: static; }
  .product__media { max-width: 560px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-row { grid-template-columns: 44px 1fr; }
  .app-row__side { grid-column: 2; padding-top: 0; display: flex; align-items: center; gap: 16px; }
  .contact-strip, .cat-foot, .cta-band__inner, .contact-bottom, .datasheet-note { flex-direction: column; align-items: flex-start; }
  .page-head__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-head__count { text-align: left; }
  .timeline { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 15.5px; }
  .topbar__inner { min-height: 32px; font-size: 11px; }
  .topbar__tag { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar__links a:last-child { display: none; }
  .logo img { width: 126px; }
  .logo__cn { font-size: 10.5px; }
  .header__cta { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .hero__stats div { padding-top: 12px; }
  .hero__stats dd { font-size: 22px; }
  .hero__lead { font-size: 16px; }
  .hero__specimen { max-width: 100%; }
  .specimen__keys { grid-template-columns: 1fr 1fr; }
  .specimen__rail { grid-template-columns: repeat(3, 1fr); }
  .specimen__rail a { font-size: 10px; padding: 4px; }
  .specimen__rail img { width: 34px; height: 34px; }
  .section { padding: 58px 0; }
  .section--tight { padding: 40px 0 54px; }
  .section__head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .cat-grid, .app-grid, .series-grid, .series-index, .article-grid, .k-grid, .product-grid, .selector-grid, .download-actions, .cat-mini-grid, .timeline, .about-facts dl, .docs-notes__list { grid-template-columns: 1fr; }
  .cat-card { padding: 18px 16px; }
  .series-card { grid-template-columns: 120px 1fr; }
  .series-tile { grid-template-columns: 88px 1fr 20px; }
  .series-tile__media { padding: 5px; }
  .cat-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 16px 2px; }
  .cat-row__series, .cat-row__desc { display: none; }
  .cat-row__count { font-size: 20px; }
  .cat-row__arrow { display: none; }
  .why-grid { gap: 32px; }
  .why-item { grid-template-columns: 72px 1fr; gap: 14px; }
  .docs-band__nums dd { font-size: 24px; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .filter-count { padding-bottom: 0; }
  .series-block__head { flex-wrap: wrap; gap: 6px 12px; }
  .series-block__head .text-link { margin-left: 0; }
  .product { padding-top: 22px; }
  .product__ident { grid-template-columns: 1fr 1fr; }
  .product__ident > div:last-child { grid-column: 1 / -1; }
  .keygrid { grid-template-columns: 1fr; }
  .product__info h1 { font-size: 30px; }
  .doc-list li { grid-template-columns: 78px minmax(0, 1fr); }
  .doc-list__dl { grid-column: 2; }
  .acc-list li { grid-template-columns: 1fr; gap: 3px; }
  .meta-list div { grid-template-columns: 88px 1fr; }
  .article-aside { grid-template-columns: 1fr; }
  .segment-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 18px; }
  .app-row { grid-template-columns: 30px 1fr; gap: 12px; }
  .app-row__side { flex-direction: column; align-items: flex-start; gap: 4px; }
  .page-head { padding: 36px 0 32px; }
  .page-head h1 { font-size: 36px; }
  .page-head__stats div { padding-right: 22px; }
  .page-head__stats strong { font-size: 22px; }
  .article-head h1 { font-size: 31px; }
  .article-body table { display: block; overflow-x: auto; }
  .search-big { flex-direction: column; }
  .search-big .btn { width: 100%; }
  .s-result { grid-template-columns: 56px minmax(0, 1fr); }
  .s-result img { width: 56px; height: 56px; }
  .s-result__go { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__contact { display: block; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }
  .notfound { padding: 60px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
