/* ============================================================
   FENGSONG — Shandong Fengsong Intelligent Technology Co., Ltd.
   Global B2B website stylesheet
   ============================================================ */
:root {
  /* ---------- paper axis: the only neutral surfaces on the site ---------- */
  --paper-0: #ffffff;
  --paper-1: #faf7f2;
  --paper-2: #f1ebdf;
  --paper-3: #f4f0e9;
  /* ---------- ink axis ---------- */
  --ink: #0f2a43;
  --ink-2: #5b6b7c;
  --ink-3: #5f6e78;
  --ink-on-dark: #a8bccd;
  /* ---------- orange axis ---------- */
  --accent: #f26522;
  --accent-ink: #c2410c;
  --accent-ink-hover: #a3350a;
  /* ---------- hairlines ---------- */
  --line: #e7e1d7;
  --line-strong: #d9cfbf;
  /* ---------- legacy aliases: every pre-existing rule resolves to an axis ---------- */
  --navy: var(--ink);
  --navy-2: #163a5c;          /* ink hover tint for solid dark buttons */
  --accent-btn: var(--accent-ink);
  --accent-btn-dark: var(--accent-ink-hover);
  --date-ink: var(--ink-2);
  --bg: var(--paper-0);
  --bg-alt: var(--paper-1);
  --text: #1e293b;
  --muted: var(--ink-2);
  --ok: #16a34a;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(15, 42, 67, .08);
  --max: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 72px) + 20px); }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
.prose a { text-decoration: underline; }
a:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible, .faq-item summary:focus-visible, .fs-tab:focus-visible {
  outline: 3px solid rgba(242,101,34,.55); outline-offset: 2px;
}
h1, h2, h3, h4 { color: var(--navy); line-height: 1.3; }
h1 { color: var(--ink); font-size: 40px; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h1, h2, h3, p, li, td { overflow-wrap: break-word; }
.nowrap { white-space: nowrap; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--ink-on-dark); font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; margin: -13px 0; }
.topbar .tb-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; background: #fff; box-shadow: 0 2px 10px rgba(15,42,67,.07); z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: auto; height: 40px; flex: none; }
.main-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.main-nav > ul > li > a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; color: var(--navy); font-weight: 600; font-size: 14px; border-radius: 6px; }
.main-nav > ul > li > a:hover { background: var(--bg-alt); text-decoration: none; }
.main-nav > ul > li > a.active { color: var(--accent-ink); }
.main-nav > ul > li > a.btn-accent:hover { background: var(--accent-btn-dark); color: #fff; }
.main-nav .sub a { display: block; padding: 10px 16px; color: var(--navy); font-weight: 600; font-size: 14px; border-radius: 6px; }
.main-nav li.has-sub { position: relative; }
.main-nav .sub { position: absolute; top: 100%; left: 0; background: #fff; min-width: 278px; box-shadow: var(--shadow); border-radius: 8px; padding: 8px 0; display: none; z-index: 50; }
.main-nav li.has-sub:hover .sub,
.main-nav li.has-sub:focus-within .sub,
.main-nav li.has-sub.sub-open .sub { display: block; }
.main-nav .sub a:hover { background: var(--bg-alt); text-decoration: none; }
.main-nav .sub .sub-label { margin-top: 6px; padding: 10px 16px 4px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-3); cursor: default; }

/* FAQ quick jump */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.faq-jump a { display: inline-flex; align-items: center; min-height: 38px; background: var(--paper-1); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.faq-jump a:hover { background: var(--paper-0); border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: start; }
.faq-main { max-width: 760px; }
.faq-main, .app-main { margin-left: 0; margin-right: 0; }
.prose.faq-main, .prose.app-main { margin-left: 0; margin-right: 0; }
.faq-toc { position: sticky; top: calc(var(--header-h, 72px) + 24px); border-left: 2px solid var(--line); padding-left: 18px; }
.faq-toc .toc-title { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.faq-toc ul { list-style: none; display: grid; gap: 2px; }
.faq-toc a { display: block; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.faq-toc a:hover { color: var(--navy); text-decoration: none; }
.faq-toc .toc-cta { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent-ink); }
@media (max-width: 980px) {
  .faq-layout { grid-template-columns: 1fr; gap: 26px; }
  .faq-toc { position: static; order: -1; border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .faq-toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-toc a { border: 1px solid var(--line); background: var(--paper-1); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
}
.faq-item { scroll-margin-top: calc(var(--header-h, 72px) + 24px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 4px; font-weight: 700; font-size: 14px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--accent-btn); color: #fff; }
.btn-accent:hover { background: var(--accent-btn-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; color: var(--navy); cursor: pointer; min-width: 44px; min-height: 44px; }

/* ---------- Page heroes (interior pages) — same light studio wash as the home hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--text); border-bottom: 1px solid rgba(16,32,44,.07);
  background:
    radial-gradient(120% 95% at 14% -12%, rgba(255,255,255,.92), rgba(255,255,255,0) 58%),
    radial-gradient(85% 70% at 96% 108%, rgba(16,32,44,.055), rgba(16,32,44,0) 62%),
    linear-gradient(180deg, var(--paper-0) 0%, var(--paper-1) 38%, var(--paper-3) 100%); }
.page-hero .container { min-height: 260px; display: flex; flex-direction: column; justify-content: center; padding-top: 30px; padding-bottom: 30px; }
.page-hero h1 { color: var(--ink); font-size: 40px; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 10px; text-wrap: balance; }
.page-hero p { color: var(--muted); max-width: 760px; }
.crumbs { font-size: 12px; color: var(--ink-3); margin: 0 0 12px; }
.crumbs a { color: var(--ink-2); }

/* light band that carries the breadcrumb on pages without a hero */
.page-head { background: linear-gradient(180deg, var(--paper-0) 0%, var(--paper-1) 100%); border-bottom: 1px solid rgba(16,32,44,.08); }
.page-head .container { padding-top: 13px; padding-bottom: 13px; }
.page-head .crumbs { margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker { display: inline-block; color: var(--accent-ink); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* stat band */
.stats { background: var(--ink); color: #fff; }
.stats .grid-4 { padding: 34px 0; }
.stat { text-align: center; padding: 6px 10px; }
.stat b { display: block; font-size: 32px; color: var(--accent); font-weight: 800; }
.stat span { font-size: 14px; color: var(--ink-on-dark); }

/* cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-img { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(180deg, var(--paper-0) 0%, var(--paper-1) 100%); isolation: isolate; }
.card .card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
/* picture wrappers for the real-photo WebP srcsets */
.card .card-img picture { display: block; width: 100%; height: 100%; }
.split-img picture { display: block; }
.card .card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3, .card h2 { font-size: 18px; }
.card h3 a, .card h2 a { color: var(--navy); }
.card p { color: var(--muted); font-size: 14px; flex: 1; }
.card .card-foot { margin: -5px 0 -11px; padding: 11px 0; display: inline-block; font-weight: 700; font-size: 14px; }
a.card-foot { color: var(--text); align-self: flex-start; }
a.card-foot:hover { color: var(--accent-ink); text-decoration: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; background: var(--paper-1); border: 1px solid var(--line); color: var(--ink); font-size: 12px; line-height: 1.2; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.grid-2 .chip-row { margin-top: 18px; }

/* feature blocks */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .f-ico { width: 46px; height: 46px; border-radius: 10px; background: rgba(242,101,34,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* key parameters summary in the product hero column */
.key-specs { margin: 2px 0 20px; border-top: 1px solid var(--line); }
.key-specs div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.3; }
.key-specs dt { color: var(--muted); flex: none; }
.key-specs dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* split image/text */
.split-img { border-radius: var(--radius); overflow: hidden; align-self: center; }
.split-img img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 980px) {
  .grid-2:has(.split-img) { grid-template-columns: 1fr; }
  .split-img { align-self: start; }
}
.check-list { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.check-list li { padding-left: 30px; position: relative; color: var(--text); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--ok); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* product detail: parameter tabs + hero jump links (moved here from 21 duplicated inline <style> blocks) */
.fs-tabs { display: flex; gap: 10px; margin: 0 0 28px; flex-wrap: wrap; justify-content: center; }
.fs-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid var(--line); background: var(--paper-1); border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--ink); cursor: pointer; }
.fs-tab:hover { background: var(--paper-0); border-color: var(--accent); color: var(--accent-ink); }
.fs-tab.active { background: var(--accent-ink); color: #fff; border-color: var(--accent-ink); }
.fs-hero-jump { margin: 20px 0 0; font-size: 14px; color: var(--ink-2); }
.fs-hero-jump a { color: var(--accent-ink); font-weight: 600; text-decoration: none; margin: 0 4px; }
.fs-hero-jump a:hover { text-decoration: underline; }

/* tables */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper-0); font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.spec-table th { background: var(--paper-1); color: var(--ink); width: 34%; font-weight: 700; }
.spec-table thead th { width: auto; background: var(--paper-2); }
.file-meta { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.spec-table caption { caption-side: top; text-align: left; font-weight: 800; color: var(--navy); padding: 0 0 10px; font-size: 16px; }
.spec-table.zebra tbody tr:nth-child(even) td,
.spec-table.zebra tbody tr:nth-child(even) th { background: var(--paper-1); }
.spec-table.sticky-head thead th { position: sticky; top: calc(var(--header-h, 72px) + 20px); z-index: 2; background: var(--paper-2); box-shadow: inset 0 -1px 0 var(--line); }
.table-scroll { overflow: visible; }
.table-scroll .spec-table { min-width: 0; }
/* mobile cue for wide comparison tables */
.table-hint { display: none; }
@media (max-width: 820px) {
  .table-hint { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); margin: 2px 0 8px; letter-spacing: 0; }
}
/* horizontal scroll only where the table really is wider than the viewport,
   so 721-820 keeps overflow:visible and the sticky table head still works */
@media (max-width: 720px) {
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll .spec-table { min-width: 680px; }
  /* two-column key/value tables never need 680px, so they must not scroll here */
  .table-scroll .spec-table.kv { min-width: 0; }
}
/* phones: stack key/value rows (label above value) so no horizontal scrolling is needed */
@media (max-width: 640px) {
  .table-scroll .spec-table.kv { min-width: 0; font-size: 14px; }
  .spec-table.kv thead { display: none; }
  .spec-table.kv, .spec-table.kv tbody, .spec-table.kv tr, .spec-table.kv th, .spec-table.kv td { display: block; width: auto; }
  .spec-table.kv tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .spec-table.kv tr:last-child { border-bottom: 0; }
  .spec-table.kv th, .spec-table.kv td { border: 0; padding: 0; }
  .spec-table.kv th { width: auto; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
  .spec-table.kv td { padding-top: 2px; color: var(--text); }
  .spec-table.kv.zebra tbody tr:nth-child(even) td,
  .spec-table.kv.zebra tbody tr:nth-child(even) th { background: transparent; }
  .spec-table.kv.sticky-head thead th { position: static; box-shadow: none; }
}

/* CTA band — light warm strip, orange only on the primary button and the 4px rule */
.cta-band { background: linear-gradient(180deg, var(--paper-0) 0%, var(--paper-3) 100%); border-top: 1px solid rgba(16,32,44,.08); color: var(--text); }
.cta-band .container { padding-top: 42px; padding-bottom: 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy); font-size: 24px; margin-bottom: 6px; position: relative; padding-top: 16px; }
.cta-band h2::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 4px; background: var(--accent); border-radius: 2px; }
.cta-band p { color: var(--muted); }
.cta-band .btn-white { background: var(--accent-btn); color: #fff; }
.cta-band .btn-white:hover { background: var(--accent-btn-dark); }
.cta-band .cb-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ accordion */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 16px; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 14px; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 14px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(242,101,34,.35); border-color: var(--accent); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.form-status.is-error { background: #fdf2ec; border: 1px solid #f0c3ac; color: #8a3410; }
.form-status.is-ok { background: #eef7f1; border: 1px solid #bfe3cc; color: #14532d; }
.form-fallback { margin-top: 12px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--paper-1); font-size: 14px; color: var(--text); }
.form-fallback p { margin: 0; color: var(--muted); }
.form-fallback .ff-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 10px; }
.form-fallback .ff-mail { font-weight: 700; color: var(--navy); }
[aria-invalid="true"] { border-color: var(--accent-ink); background: var(--paper-1); }

/* light call-to-action used at the end of articles */
.article-cta { background: linear-gradient(180deg, var(--paper-0) 0%, var(--paper-1) 100%); border-top: 1px solid rgba(16,32,44,.08); }
.article-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-top: 34px; padding-bottom: 34px; }
.article-cta p { margin: 0; font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; max-width: 680px; }

/* contact blocks */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { margin-bottom: 12px; font-size: 18px; }
.contact-card p, .contact-card li { color: var(--muted); font-size: 14px; }
.contact-card ul { list-style: none; display: grid; gap: 10px; }

/* footer */
.site-footer { background: var(--ink); color: var(--ink-on-dark); margin-top: 0; font-size: 14px; }
.site-footer .foot-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .5px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-on-dark); display: inline-block; padding: 11px 0; margin: -11px 0; }
.site-footer a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { display: block; width: auto; height: 42px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 88px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; background: #0f7a40; color: #fff; border-radius: 999px; padding: 12px 20px 12px 16px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 9px; box-shadow: 0 10px 26px rgba(15,122,64,.40); }
.wa-float:hover { text-decoration: none; filter: brightness(1.05); }
.wa-float svg { width: 22px; height: 22px; }
@media (max-width: 480px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; gap: 0; }
  .wa-float-label { display: none; }
}

/* at-a-glance (GEO summary) */
.glance { background: var(--paper-1); border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); border-radius: 8px; padding: 18px 22px; margin: 26px 0; }
.glance h2 { font-size: 16px; margin-bottom: 8px; }
.glance ul { list-style: none; display: grid; gap: 6px; }
.glance li { font-size: 14px; color: var(--ink-2); padding-left: 18px; position: relative; }
.glance li::before { content: "•"; color: var(--accent); position: absolute; left: 4px; font-weight: 800; }

.prose { max-width: 760px; margin-left: auto; margin-right: auto; }
.prose p { margin-bottom: 14px; color: var(--muted); }
.prose h2 { margin: 26px 0 10px; font-size: 24px; }
.prose h3 { margin: 20px 0 8px; font-size: 18px; }

/* application pages: 640px reading column + sticky 320px rail */
.app-layout { display: grid; grid-template-columns: minmax(0, 640px) 320px; gap: 56px; justify-content: space-between; align-items: start; }
.app-main { max-width: 640px; }
.app-main > h2:first-child { margin-top: 0; }
.app-aside { position: sticky; top: calc(var(--header-h, 72px) + 20px); display: grid; gap: 16px; align-self: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.aside-card h2 { font-size: 18px; margin-bottom: 8px; }
.aside-kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.aside-note { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.aside-models { list-style: none; display: grid; gap: 8px; }
.aside-model { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-1); }
.aside-model strong { display: block; font-size: 14px; color: var(--navy); }
.aside-model span { font-size: 12px; color: var(--muted); }
.aside-model:hover { border-color: var(--line-strong); text-decoration: none; }
.aside-specs { margin: 0; border-top: 0; }
.aside-specs div { font-size: 12px; padding: 6px 0; }
.aside-quote { background: linear-gradient(180deg, var(--paper-0) 0%, var(--paper-1) 100%); }
.aside-quote p { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.aside-quote .btn { width: 100%; margin-bottom: 8px; }
.aside-quote .btn:last-child { margin-bottom: 0; }
@media (max-width: 980px) {
  .app-layout { grid-template-columns: 1fr; gap: 32px; }
  .app-aside { position: static; }
}


/* visually hidden heading used where a section has no visible title */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.prose ul { margin: 0 0 14px 20px; color: var(--muted); }

/* breadcrumbs on page body */
.body-crumbs { font-size: 12px; color: var(--muted); padding: 16px 0 0; }
.body-crumbs a { color: var(--muted); }

/* ============================================================
   NEWS CENTRE (news.html, news/*.html) — additive, news- prefixed
   ============================================================ */
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.news-tag { display: inline-block; background: rgba(242,101,34,.10); border: 1px solid rgba(242,101,34,.28); color: var(--accent-btn-dark); font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.news-date { color: var(--date-ink); font-size: 12px; }
.news-card { position: relative; }
.news-card h3 { font-size: 18px; }
.news-excerpt { color: var(--muted); font-size: 14px; flex: 1; }
.news-card .card-foot { margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--text); }
.news-card-hit { position: absolute; inset: 0; z-index: 2; border-radius: var(--radius); }
.news-card-hit:focus-visible { outline: 3px solid rgba(242,101,34,.55); outline-offset: 2px; }
.news-card:hover h3 { color: var(--accent-ink); }
.news-empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); font-size: 16px; background: var(--bg-alt); }

/* hub */
.news-hub-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.news-hub-head h2 { font-size: 24px; margin-bottom: 4px; }
.news-hub-head p { color: var(--muted); font-size: 16px; }
.news-hub-all { font-weight: 700; font-size: 14px; white-space: nowrap; }

/* article */
.news-article-head { max-width: 760px; margin: 0 auto 18px; }
.news-body h2 { font-size: 24px; }
.news-body .news-lead { color: var(--text); font-size: 18px; }
.news-body ol { margin: 0 0 14px 22px; color: var(--muted); }
.news-body ol li { margin-bottom: 6px; }
.news-body blockquote { border-left: 4px solid var(--accent); background: var(--bg-alt); padding: 14px 18px; margin: 22px 0; color: var(--navy); font-style: italic; border-radius: 0 8px 8px 0; }
.news-figure { margin: 26px 0; }
.news-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.news-figure figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.news-figure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 26px 0; }
.news-figure-grid figure { margin: 0; }
.news-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 26px 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.news-video video, .news-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-video video { object-fit: contain; }
.video-duration { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: rgba(15,42,67,.86); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 2px 7px; border-radius: 4px; font-variant-numeric: tabular-nums; pointer-events: none; }
.news-back { margin: 36px 0 0; font-weight: 700; }
.news-related { margin-top: 42px; }
.news-related h2 { font-size: 24px; margin-bottom: 16px; }
.news-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.news-related-grid .card h3 { font-size: 16px; }
.news-related-grid .card p { font-size: 12px; }

/* home strip */
.news-strip { background: var(--navy); color: #fff; }
.news-strip .container { padding-top: 22px; padding-bottom: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.news-strip-label { font-weight: 800; color: #fff; letter-spacing: .5px; flex: none; }
.news-strip ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.news-strip li { font-size: 12px; line-height: 1.3; }
.news-strip li a { color: #fff; font-weight: 600; }
.news-strip li a:hover { color: var(--accent-ink); text-decoration: none; }
.news-strip time { display: block; color: var(--ink-on-dark); font-size: 12px; margin: 0 0 3px; }
.news-strip-all { color: var(--accent-ink); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* responsive */
@media (max-width: 820px) {
  .section { padding: 56px 0; }
  .page-hero .container { min-height: 225px; padding-top: 26px; padding-bottom: 26px; }
  .section-head { margin-bottom: 32px; }
  #export .grid-2 { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .foot-main { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  /* collapse the nav to a hamburger before it wraps to a second line */
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding-bottom: 14px; }
  .main-nav .sub { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding-bottom: 14px; }
  .main-nav .sub { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .site-header .container { padding-top: 10px; padding-bottom: 10px; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 24px; }
  h1 { font-size: 32px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero .container { min-height: 0; padding-top: 22px; padding-bottom: 24px; }
  .cta-band h2 { font-size: 24px; }
  .spec-table { font-size: 14px; }
  .spec-table th, .spec-table td { padding: 9px 10px; }
  .site-footer .foot-main { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .topbar .tb-links { font-size: 12px; }
  .news-related-grid { grid-template-columns: 1fr; }
  .news-hub-head { align-items: flex-start; }
  .news-figure-grid { grid-template-columns: 1fr; }
  .news-strip .container { grid-template-columns: 1fr auto; gap: 12px 18px; }
  .news-strip ul { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 10px; }
  input, select, textarea { font-size: 16px; }
  body:has(#inquiry-form) .wa-float { display: none; }
}

/* mobile inquiry bar: fixed CTA on product pages only (injected by main.js) */
.mobile-quote-bar { display: none; }
@media (max-width: 640px) {
  .mobile-quote-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 190; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(15,42,67,.10); }
  .mobile-quote-bar .btn { width: 100%; }
  /* reserve the space in CSS so the injected bar causes no layout shift */
  body:has(.fs-tabs) { padding-bottom: 84px; }
  body.has-quote-bar { padding-bottom: 84px; }
  body.has-quote-bar .wa-float { display: none; }
}
@media (min-width: 641px) and (max-width: 980px) {
  .news-strip .container { grid-template-columns: 1fr auto; gap: 14px 20px; align-items: start; }
  .news-strip ul { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .news-strip-all { text-align: right; }
}

/* about page: factory imagery, QC flow, pending-data strip */
.section.warm { background: linear-gradient(180deg, var(--paper-0) 0%, var(--paper-1) 100%); }
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.factory-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.factory-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-1); }
.factory-grid figcaption { padding: 12px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.qc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qc-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; border-top: 3px solid var(--navy); }
.qc-num { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--accent-btn); font-variant-numeric: tabular-nums; }
.qc-steps h3 { font-size: 16px; margin: 8px 0 8px; }
.qc-steps p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 980px) {
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .factory-grid, .qc-steps { grid-template-columns: 1fr; }
}
