/* ==========================================================================
   QoDo — Design System v2
   Direction: "Editorial Industrial" — Swiss-grid B2B manufacturing site.
   Large tight headlines, hairline rules instead of boxes, no drop shadows,
   asymmetric two-column section heads, restrained accent colour.
   Rebrand: edit the :root block only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted variable fonts — no third-party font CDN (GDPR-friendly for EU
   visitors, and no render-blocking request to fonts.googleapis.com).
   Latin + Latin-extended only; CJK falls back to the system UI font.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Core palette — one accent, one dark, warm neutral paper */
  --ink: #14181A;            /* primary text / dark surfaces */
  --ink-soft: #3F4A4C;       /* secondary text on light */
  --muted: #798486;          /* tertiary text / captions */
  --brand: #E2502D;          /* Signal Orange — primary CTA */
  --brand-dark: #C2401F;     /* hover */
  --sky: #9CCEDD;            /* legacy accents (kept for inline styles) */
  --sky-tint: #EDF4F6;
  --butter: #E9C46A;         /* highlights only, used sparingly on dark */
  --butter-tint: #FAF3E1;
  --paper: #FBFAF7;          /* page background */
  --surface: #FFFFFF;
  --stone: #F1EEE7;          /* tinted section band */
  --line: #E4E0D7;
  --line-2: #CFCABE;         /* stronger hairline */
  --line-dark: #2C3639;

  --ok: #2E7D5B;
  --err: #C43D2B;

  /* Type */
  --font-head: "Instrument Sans", "Inter", -apple-system, "Segoe UI", Helvetica, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --radius: 2px;
  --radius-sm: 2px;
  --shadow: none;
  --shadow-lg: 0 24px 60px rgba(20,24,26,.10);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.06;
  letter-spacing: -.028em;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.1vw, 4.4rem); letter-spacing: -.033em; }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.5rem); }
h3 { font-size: 1.12rem; letter-spacing: -.018em; line-height: 1.25; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: none; }

::selection { background: var(--ink); color: var(--paper); }

/* Serif accent — used for one or two words in a headline */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Rhythm: generous, alternating bands */
.section { padding: clamp(64px, 7.5vw, 112px) 0; }
.section--tight { padding: clamp(44px, 5vw, 76px) 0; }
.section--tint { background: var(--stone); }
.section--dark { background: var(--ink); color: #B4BDBC; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead { color: #B4BDBC; }
.section--dark a { color: #fff; }

/* --------------------------------------------------------------------------
   Section heads: eyebrow + headline left, lead paragraph right (asymmetric)
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--brand); flex: none;
}
.section--dark .eyebrow { color: #8D9899; }

.lead { font-size: 1.04rem; line-height: 1.6; color: var(--ink-soft); max-width: 58ch; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin-top: 18px; }

/* Split head: headline gets the left 6 columns, lead sits on the baseline right */
.section-head--split {
  max-width: none;
  margin-bottom: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 20px clamp(28px, 5vw, 72px);
  align-items: end;
}
.section-head--split .head-main { grid-column: 1; }
.section-head--split .head-aside { grid-column: 2; }
.section-head--split .head-aside .lead { margin: 0; max-width: 42ch; }
.section-head--split .eyebrow { grid-column: 1; }
.section-head--split h2 { max-width: 20ch; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* Thin rule used to close a section head block */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }


/* --------------------------------------------------------------------------
   Chinese typography — CJK needs looser leading, no negative tracking and
   strict line-breaking so punctuation never starts a line.
   -------------------------------------------------------------------------- */
:lang(zh) { line-break: strict; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { letter-spacing: 0; line-height: 1.24; }
:lang(zh) h1 { letter-spacing: 0; }
:lang(zh) .lead, :lang(zh) p, :lang(zh) li { line-height: 1.78; }
:lang(zh) .eyebrow { letter-spacing: .18em; }


/* 中文页面首屏标题：CJK 字宽约为拉丁字母两倍，按同样字号只能容纳一半字符，
   导致「的」这类字被断到行首。中文单独收小字号，让整句落在两行内。 */
:lang(zh) .page-hero h1, :lang(zh) .hero h1 { font-size: clamp(2.05rem, 3.7vw, 3.5rem); letter-spacing: 0; }

/* --------------------------------------------------------------------------
   Buttons — square-ish, sentence case, arrow on hover
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  letter-spacing: -.005em;
  padding: 13px 24px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--outline-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }

/* Inline text link with a moving arrow — the "second CTA" on Western sites */
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--ink); text-decoration: none !important;
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: border-color .2s ease, color .2s ease;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s ease; }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: #fff; border-color: rgba(255,255,255,.3); }


/* --------------------------------------------------------------------------
   Header — one row, no utility bar, single CTA
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,247,.86);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 40px; height: 74px; }

.logo {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.16rem;
  color: var(--ink) !important; text-decoration: none !important; letter-spacing: -.02em;
}
/* Qodo 字标：原图 276×93，30px 高显示 ≈ 3x 供 2x 屏使用 */
.logo-img { height: 30px; width: auto; display: block; flex: none; }
.logo small {
  display: block; font-family: var(--font-body); font-size: .58rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  line-height: 1; margin-top: 0;
}

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: .9rem; font-weight: 450; color: var(--ink);
  padding: 6px 0; text-decoration: none !important;
  transition: color .18s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--brand-dark); }
.nav a[aria-current="page"]::after { background: var(--brand); transform: scaleX(1); }

.header-ctas { display: flex; gap: 14px; align-items: center; }
.header-ctas .btn--ghost { display: none; }   /* one CTA only, by design */
.lang-switch {
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted) !important; text-decoration: none !important;
  padding-left: 16px; border-left: 1px solid var(--line);
}
.lang-switch:hover { color: var(--ink) !important; }

.burger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius);
  width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger svg { width: 19px; height: 19px; stroke: var(--ink); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
  background: var(--paper); z-index: 100;
  transform: translateX(105%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding: 24px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer a {
  padding: 16px 4px; font-family: var(--font-head); font-size: 1.05rem; font-weight: 500;
  color: var(--ink); text-decoration: none !important;
  border-bottom: 1px solid var(--line);
}
.drawer a[aria-current="page"] { color: var(--brand-dark); }
.drawer-close { align-self: flex-end; background: none; border: none; cursor: pointer; padding: 8px; margin-bottom: 8px; }
.drawer-close svg { width: 22px; height: 22px; stroke: var(--ink); }
.drawer .btn { margin-top: 20px; border-bottom: 0; }
.scrim { position: fixed; inset: 0; background: rgba(20,24,26,.42); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Hero — editorial split, oversized headline, image bleeding to the edge
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(52px, 6.5vw, 96px) 0 clamp(40px, 5vw, 72px);
  background: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 26px; max-width: 18ch; }
.hero .lead {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: var(--ink-soft); max-width: 42ch; margin-bottom: 34px;
}
.hero-ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-note {
  font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 7px;
  letter-spacing: .01em;
}
.hero-note svg { width: 14px; height: 14px; color: var(--ok); flex: none; }

.hero-visual {
  position: relative; border-radius: var(--radius);
  background: var(--stone); overflow: hidden;
  aspect-ratio: 4 / 3.6;
}
.hero-visual .ph { height: 100%; min-height: 0; border: 0; border-radius: 0; }
/* 已上传真实图片时：按图片原比例完整展示，不裁切（海报/信息图类内容裁掉文字不可接受） */
.hero-visual .ph--filled { aspect-ratio: auto; height: auto; }
.hero-visual .ph--filled img { width: 100%; height: auto; object-fit: contain; }

/* --------------------------------------------------------------------------
   Hero banner — full-bleed product photography, no overlaid copy
   -------------------------------------------------------------------------- */
.hero--banner {
  position: relative;
  padding: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-banner-media { display: block; background: var(--stone); overflow: hidden; }
/* <picture> 默认是 inline，img 的 width:100% 会以它的收缩宽度为基准，
   结果 img 按 2560 原始宽度撑开 <picture>，整页出现横向滚动 —— 必须块级化。 */
.hero-banner-media picture { display: block; width: 100%; }
.hero-banner-media img { max-width: 100%; }
.hero-banner-media img,
.hero-banner-img {
  display: block;
  width: 100%;
  height: clamp(240px, 25vw, 400px);
  object-fit: cover;
  object-position: 50% 50%;
}

@media (max-width: 820px) {
  .hero-banner-media img,
  .hero-banner-img { height: auto; }
}

/* 首屏之后的第一段：上留白收紧，让「合作对象」在首屏折叠线附近露出 */
.hero--banner + .section { padding-top: clamp(44px, 4.6vw, 72px); }

/* 仅屏幕阅读器可见：首屏无可见标题时保留语义 H1 */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Placeholder art — deliberately quiet, no dashed borders, no big emoji */
.ph {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 32px 24px;
  background: var(--stone);
  border: 0; border-radius: var(--radius);
  min-height: 200px; aspect-ratio: 3 / 2; color: var(--muted);
  font-family: var(--font-body); font-size: .78rem;
  letter-spacing: .04em; line-height: 1.5;
}
.ph-emoji { font-size: 1.5rem; line-height: 1; opacity: .38; filter: grayscale(.35); }
.ph-label {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-body); font-size: .56rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  background: transparent; color: var(--muted);
  padding: 0;
}
.ph--wide { aspect-ratio: 4 / 3; min-height: 260px; }
.ph--wide .ph-emoji { font-size: 1.9rem; }

/* Trust strip — hairline top/bottom, no boxed cells */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-cell {
  padding: 24px 0 24px 26px;
  display: flex; flex-direction: column; gap: 5px;
  border-left: 1px solid var(--line);
}
.trust-cell:first-child { border-left: 0; padding-left: 0; }
.trust-num {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.trust-cap {
  font-size: .66rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .13em; font-weight: 500;
  max-width: 22ch;
}

/* --------------------------------------------------------------------------
   Cards — stripped back to hairlines, no shadow, no radius drama
   -------------------------------------------------------------------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-4.cards-segments, .grid-4.cards-products { gap: 0; }
.grid-3.cases { gap: 0 28px; }

/* generic card (used on inner pages) */
.card {
  background: transparent; border: 0; border-top: 1px solid var(--line-2);
  border-radius: 0; padding: 26px 24px 26px 0;
  display: flex; flex-direction: column;
  transition: border-color .22s ease;
}
a.card { text-decoration: none !important; color: inherit; }
a.card:hover { border-color: var(--ink); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; }
.card .card-link {
  margin-top: auto; padding-top: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .88rem;
  color: var(--ink); display: inline-flex; align-items: center; gap: 7px;
}
a.card:hover .card-link { color: var(--brand-dark); }
.card-ic {
  width: auto; height: auto; border-radius: 0;
  background: none; color: var(--brand-dark);
  display: block; margin-bottom: 18px;
  font-family: var(--font-body); font-size: .66rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1;
}
.card-ic--orange, .card-ic--butter { background: none; }

/* Buyer segments — numbered editorial columns */
.grid-4.cards-segments { counter-reset: seg; }
.card--buyer {
  border-top: 1px solid var(--line-2);
  padding: 22px 26px 26px 0;
  counter-increment: seg;
}
.card--buyer + .card--buyer { padding-left: 26px; border-left: 1px solid var(--line); }
.card--buyer::before {
  content: counter(seg, decimal-leading-zero);
  display: block;
  font-family: var(--font-body); font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; color: var(--muted); margin-bottom: 26px;
}
.card--buyer:hover::before { color: var(--brand); }
.buyer-tag {
  font-size: .66rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-dark); margin-bottom: 10px;
}
.card--buyer h3 { font-size: 1.14rem; margin-bottom: 16px; }
.buyer-points { list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; color: var(--ink-soft); }
.buyer-points li { padding-left: 0; position: relative; margin-bottom: 8px; }
.buyer-points li::before { content: ""; display: none; }
.card--buyer .card-link { border-top: 0; }

/* Product tiles — image-led, caption below */
.grid-4.cards-products { gap: 0; }
.card--product {
  padding: 0; border: 0; background: transparent; overflow: visible;
  display: flex; flex-direction: column;
}
.card--product .ph {
  aspect-ratio: 1 / 1; min-height: 0;
  border: 0; border-radius: 0; border-bottom: 0;
  padding: 22px; background: var(--stone);
  transition: background .25s ease;
}
a.card--product:hover .ph { background: #EAE6DC; }
.card--product .card-body {
  padding: 18px 20px 26px 0; display: flex; flex-direction: column; flex: 1;
  border-top: 1px solid var(--line-2);
}
.card--product h3 { font-size: 1.02rem; margin-bottom: 12px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 0 2px; margin-bottom: 14px; }
.chip {
  font-size: .64rem; font-weight: 500; color: var(--muted); white-space: nowrap; white-space: nowrap;
  background: none; border: 0; padding: 0;
  letter-spacing: .12em; text-transform: uppercase;
}
.chip + .chip::before { content: "/"; color: var(--line-2); padding: 0 5px; }
.card--product .card-link { font-size: .82rem; padding-top: 0; color: var(--muted); }
a.card--product:hover .card-link { color: var(--brand-dark); }

/* Filter tabs — square, minimal */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-tab {
  font-family: var(--font-body); font-weight: 500; font-size: .82rem;
  letter-spacing: .01em;
  padding: 9px 16px; border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-soft);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.filter-tab:hover { border-color: var(--ink); color: var(--ink); }
.filter-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------
   Capabilities — a spec sheet: hairline grid on light ground
   -------------------------------------------------------------------------- */
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: transparent; border: 0; border-radius: 0; overflow: visible;
  border-top: 1px solid var(--line-2);
}
.cap-cell {
  background: transparent; padding: 30px 30px 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.cap-cell + .cap-cell { padding-left: 30px; border-left: 1px solid var(--line); }
.cap-cell:hover { background: transparent; }
.cap-cell h3 {
  font-size: .98rem; color: var(--ink); display: flex; align-items: center; gap: 11px;
  margin-bottom: 12px; letter-spacing: -.012em;
}
.cap-cell h3 svg { width: 17px; height: 17px; color: var(--brand); flex: none; stroke-width: 1.6; }
.cap-cell p { font-size: .87rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Process timeline — numbered columns, hairlines only
   -------------------------------------------------------------------------- */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line-2);
}
.step {
  background: transparent; border: 0; border-radius: 0;
  padding: 24px 28px 28px 0; position: relative; counter-increment: step;
  border-bottom: 1px solid var(--line);
}
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-body); font-weight: 600; font-size: .66rem;
  color: var(--brand); letter-spacing: .14em;
  display: block; margin-bottom: 22px;
}
.step h3 { font-size: .98rem; margin-bottom: 8px; letter-spacing: -.012em; }
.step p { font-size: .85rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.stat {
  text-align: left; background: transparent;
  border: 0; border-radius: 0; padding: 28px 28px 30px 0;
}
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.stat-num {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.7rem); color: #fff;
  letter-spacing: -.035em; line-height: 1; display: block;
  font-variant-numeric: tabular-nums;
}
.stat-num .suffix { color: var(--butter); }
.stat-cap { font-size: .74rem; color: #98A2A1; margin-top: 12px; display: block; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }

/* --------------------------------------------------------------------------
   Cases — 横向滚动照片墙（无文字，纯图）
   -------------------------------------------------------------------------- */
.case-carousel {
  position: relative; overflow: hidden;
  /* 左右边缘柔化，滚动时不出现硬切口 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.case-track {
  display: flex; gap: 20px; width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
/* 固定尺寸的滚动卡片：桌面最多 400×300，窄屏按视口等比缩。
   高度完全由 aspect-ratio 决定，与图片原始尺寸无关 —— 竖图/方图/超宽图都不会把版面撑乱。 */
.case-slide, .case-slide.ph {
  flex: 0 0 auto;
  width: clamp(240px, 29vw, 400px);
  aspect-ratio: 4 / 3;
  height: auto; min-height: 0;
  padding: 0; margin: 0; border: 0;
  border-radius: var(--radius);
  background: #E7E3D9;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
/* 图片脱离文档流铺满卡片（object-fit: cover 居中裁切），不参与 flex 高度计算 */
.case-slide > img, .case-slide.ph > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
/* 关掉自动滚动时（系统开启「减少动态效果」）退回原生横向滑动 */
.case-carousel--static {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.case-carousel--static .case-slide { scroll-snap-align: start; }
.case-carousel--static::-webkit-scrollbar { height: 6px; }
.case-carousel--static::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
@media (max-width: 860px) {
  .case-slide, .case-slide.ph { width: clamp(220px, 68vw, 320px); }
  .case-track { gap: 14px; }
}

/* --------------------------------------------------------------------------
   FAQ — hairline rows
   -------------------------------------------------------------------------- */
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line-2); }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 0; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 44px 24px 0; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem;
  color: var(--ink); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  position: relative; letter-spacing: -.012em;
}
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.15rem; font-weight: 300; color: var(--ink); flex: none;
  transition: transform .25s ease, color .25s ease; line-height: 1;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); color: var(--brand); }
.faq-item.open .faq-q { color: var(--brand-dark); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 80px 26px 0; font-size: .93rem; color: var(--ink-soft); max-width: 68ch; }

/* --------------------------------------------------------------------------
   Resources / downloads rows
   -------------------------------------------------------------------------- */
.res-row {
  display: flex; align-items: center; gap: 18px;
  background: transparent; border: 0; border-top: 1px solid var(--line);
  border-radius: 0; padding: 18px 0; margin-bottom: 0;
  text-decoration: none !important; color: inherit;
  transition: border-color .18s ease;
}
.res-row:hover { border-color: var(--ink); }
.res-ic { flex: none; width: 40px; height: 40px; border-radius: 0; background: transparent; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; opacity: .6; }
.res-row h3 { font-size: .98rem; margin-bottom: 2px; }
.res-row p { font-size: .82rem; color: var(--muted); margin: 0; }
.res-cta { margin-left: auto; flex: none; font-family: var(--font-head); font-weight: 500; font-size: .84rem; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------
   Inquiry block — dark ground, white form card
   -------------------------------------------------------------------------- */
.inquiry-wrap {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.inquiry-side h2 { margin-bottom: 16px; }
.inquiry-side .lead { color: #B4BDBC; }
.inquiry-side .contact-lines { margin: 34px 0 26px; }
.contact-line {
  display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem;
}
.contact-line:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.contact-line svg { width: 16px; height: 16px; color: #8D9899; flex: none; stroke-width: 1.6; }
.contact-line a { color: #fff; font-weight: 500; }
.contact-line a:hover { color: var(--butter); }
.reply-promise {
  display: flex; gap: 12px; align-items: flex-start;
  background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.2);
  border-radius: 0; padding: 2px 0 2px 16px;
  font-size: .84rem; color: #98A2A1; line-height: 1.55;
}
.reply-promise svg { width: 16px; height: 16px; color: #8D9899; flex: none; margin-top: 3px; stroke-width: 1.6; }

.form-card {
  background: var(--surface); border: 1px solid transparent; border-radius: var(--radius);
  box-shadow: none; padding: clamp(26px, 3.4vw, 44px);
  color: var(--ink);
}
.form-card p, .form-card span, .form-card label { color: inherit; }
.form-card .contact-line, .form-card .reply-promise { color: var(--ink-soft); }
.form-progress {
  display: flex; align-items: center; gap: 14px; margin-bottom: 30px;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.progress-track { flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 50%; background: var(--ink); transition: width .35s ease; }

.form-step { display: none; }
.form-step.active { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block; font-size: .7rem; font-weight: 600; margin-bottom: 8px;
  color: var(--ink); letter-spacing: .1em; text-transform: uppercase;
}
.field label .opt { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
/* 注意：勾选框/单选框不能吃这条「输入框」样式——appearance:none 会把原生勾选框
   变成一个没有勾的空方块（看起来像点不动）。见下方 .consent 的专用样式。 */
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem;
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23798486' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #A9B1B2; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--err); }
.field .err-msg { display: none; font-size: .76rem; color: var(--err); margin-top: 6px; }
.field.error .err-msg { display: block; }
.field textarea { resize: vertical; min-height: 100px; }
.field input[type="file"] { padding: 9px 12px; font-size: .84rem; background: var(--paper); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 400; }
.consent input { width: auto; margin-top: 3px; accent-color: var(--ink); }

.form-actions { display: flex; gap: 12px; margin-top: 26px; align-items: center; }
.form-hint { font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 7px; margin-top: 16px; margin-bottom: 0; }
.form-hint svg { width: 13px; height: 13px; color: var(--ok); flex: none; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.success-ic {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; font-size: 1.2rem;
}
.form-success h3 { font-size: 1.5rem; color: var(--ink); }   /* 深色区块里继承到白字，在白卡上会看不见 */
.form-success p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 24px; font-size: .92rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink); border-radius: var(--radius);
  padding: clamp(34px, 4.5vw, 60px) clamp(26px, 4vw, 56px);
  color: #fff; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 10px; max-width: 18ch; }
.cta-band p { color: #98A2A1; margin: 0; max-width: 46ch; font-size: .95rem; }

/* --------------------------------------------------------------------------
   Footer — dark, four columns, oversized wordmark baseline
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: #98A2A1; padding: clamp(56px, 6vw, 84px) 0 0; font-size: .88rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr .85fr .85fr 1.1fr;
  gap: clamp(26px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px);
}
.footer h4 {
  color: #fff; font-family: var(--font-body);
  font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer a { color: #98A2A1; text-decoration: none !important; transition: color .16s ease; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff !important; margin-bottom: 18px; }
.footer .logo small { color: #98A2A1; }
.footer-blurb { font-size: .86rem; max-width: 34ch; line-height: 1.6; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #98A2A1; }
.footer-contact svg { width: 15px; height: 15px; color: #6E7879; flex: none; margin-top: 4px; stroke-width: 1.6; }
.cert-strip { display: none; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 clamp(26px, 3.2vw, 36px);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .76rem; color: #6E7879;
}
.footer-legal a { color: #6E7879; margin-left: 22px; }
.footer-legal a:hover { color: #fff; }
/* 页脚到 © 行结束（原先下方还有一个超大 QoDo 水印，撑出大片空白，已移除） */

/* Floating WhatsApp + mobile sticky bar */
.wa-float {
  position: fixed; right: 22px; bottom: 24px; z-index: 70;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(20,24,26,.18);
  transition: transform .18s ease, background .18s ease;
}
.wa-float:hover { transform: translateY(-2px); background: #25D366; }
.wa-float svg { width: 25px; height: 25px; fill: #fff; }

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 10px 14px; gap: 10px;
}
.mobile-bar .btn { flex: 1; }

/* Breadcrumb */
.crumbs {
  font-size: .72rem; color: var(--muted); padding: 22px 0 0;
  letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; color: var(--line-2); }

/* Inner page hero — headline first, lead beneath, hairline beneath that */
.page-hero {
  padding: clamp(20px, 3vw, 44px) 0 clamp(40px, 5vw, 64px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 20ch; margin-bottom: 24px; }
.page-hero .lead { margin-bottom: 0; max-width: 56ch; }
.page-hero.hero-page .hero-grid { align-items: end; gap: clamp(28px, 4vw, 56px); }

/* Reveal animation — subtle, no bounce */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* First column of every hairline grid: no left rule (must come after the
   component rules above, which add border-left via the adjacent sibling selector) */
.card--buyer:nth-child(4n+1),
.step:nth-child(4n+1),
.stat:nth-child(4n+1),
.cap-cell:nth-child(3n+1) { padding-left: 0; border-left: 0; }

/* --------------------------------------------------------------------------
   Character row — the five Yuanbao characters (product-IP storytelling)
   -------------------------------------------------------------------------- */
.char-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--line-2);
}
.char-cell { padding: 30px 22px 30px 0; border-bottom: 1px solid var(--line); }
.char-cell + .char-cell { padding-left: 22px; border-left: 1px solid var(--line); }
.char-orb {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; line-height: 1; margin-bottom: 20px;
}
.char-cell h3 { font-size: 1rem; margin-bottom: 8px; letter-spacing: -.012em; }
.char-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: .95rem; line-height: 1.5; color: var(--ink-soft);
  margin: 0 0 14px;
}
.char-guard {
  display: block; font-size: .63rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Technology sheet — 7 items, 2 columns, numbered
   -------------------------------------------------------------------------- */
.pillar-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  margin-bottom: 44px;
}
.pillar-strip span {
  font-family: var(--font-head); font-size: .78rem; font-weight: 500;
  letter-spacing: .02em; color: var(--ink-soft);
  padding: 13px 0;
}
.pillar-strip span + span::before {
  content: "/"; color: #B4AC9B; padding: 0 12px; font-weight: 400;
}

.tech-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line-2);
}
.tech-item {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 14px;
  padding: 26px 44px 28px 0; border-bottom: 1px solid var(--line);
}
.tech-item:nth-child(even) { padding-left: 36px; border-left: 1px solid var(--line); }
/* odd item count: the last one spans both columns so the grid ends flush */
.tech-item:last-child:nth-child(odd) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.tech-num {
  font-family: var(--font-body); font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; color: var(--brand); padding-top: 4px;
}
.tech-item h3 { font-size: .99rem; margin-bottom: 7px; letter-spacing: -.012em; }
.tech-item p { font-size: .86rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

.grid-note {
  margin: 26px 0 0; font-size: .82rem; line-height: 1.6;
  color: var(--muted); max-width: 66ch;
}

/* --------------------------------------------------------------------------
   Product deep-dive block (products page)
   -------------------------------------------------------------------------- */
.cap-block { margin-top: 68px; padding-top: 44px; border-top: 1px solid var(--line-2); }
.cap-block-head { max-width: 60ch; margin-bottom: 34px; }
.cap-block-head h2 { margin-bottom: 14px; }
.cap-block-head .lead { margin: 0; }
.cap-idx {
  font-family: var(--font-body); font-size: .64rem; font-weight: 600;
  letter-spacing: .12em; color: var(--brand); margin-right: 2px;
}
.cap-grid--four { grid-template-columns: repeat(4, 1fr); }
.cap-grid--four .cap-cell { padding-top: 26px; padding-bottom: 30px; }
.cap-grid--four .cap-cell:nth-child(3n+1) { padding-left: 26px; border-left: 1px solid var(--line); }
.cap-grid--four .cap-cell:nth-child(4n+1) { padding-left: 0; border-left: 0; }

/* --------------------------------------------------------------------------
   Office list — two locations + hotline
   -------------------------------------------------------------------------- */
.office-list { margin-top: 32px; border-top: 1px solid var(--line-2); }
.office-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.office-tag {
  display: block; font-size: .63rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-dark); margin-bottom: 6px;
}
.office-list p { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--ink-soft); }
.office-list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.office-list--dark { border-top-color: rgba(255,255,255,.18); margin-top: 8px; }
.office-list--dark > div { border-bottom-color: rgba(255,255,255,.12); }
.office-list--dark .office-tag { color: var(--butter); }
.office-list--dark p { color: #CBD5D1; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .nav { gap: 22px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-contact { display: flex; gap: 28px; flex-wrap: wrap; }
  .footer-contact li { margin-bottom: 0; }
}

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .card--buyer + .card--buyer { padding-left: 26px; }
  .card--buyer:nth-child(odd) { padding-left: 0; border-left: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-cell + .cap-cell { padding-left: 28px; }
  .cap-cell:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat { border-top: 1px solid rgba(255,255,255,.1); }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .section-head--split .head-main,
  .section-head--split .head-aside,
  .section-head--split .eyebrow { grid-column: 1; }
  .section-head--split .head-aside .lead { margin-top: 18px; }
  .section-head--split h2 { max-width: 26ch; }
  .section-head--split .head-aside .lead { max-width: 58ch; }
}

@media (max-width: 900px) {
  .nav, .lang-switch { display: none; }
  .burger { display: flex; }
  .header-inner { height: 64px; gap: 16px; }
  .header .logo small { display: none; }
  .logo-img { height: 26px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { aspect-ratio: 16 / 11; }
  .hero h1 { max-width: none; }
  .inquiry-wrap { grid-template-columns: 1fr; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cell { border-top: 1px solid var(--line); padding-left: 0; padding-right: 20px; }
  .trust-cell:nth-child(-n+2) { border-top: 0; }
  .trust-cell:nth-child(odd) { border-left: 0; }
  .trust-cell:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .card--buyer + .card--buyer { padding-left: 0; border-left: 0; }
  .card--buyer { padding-right: 0; padding-bottom: 24px; }
  .card--buyer::before { margin-bottom: 18px; }
  .card--product .card-body { padding-right: 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-cell, .cap-cell + .cap-cell { padding-left: 0; border-left: 0; }
  .timeline { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .case-body { padding-left: 0; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-contact { display: block; }
  .footer-contact li { margin-bottom: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .cta-band { padding: 30px 22px; }
  .res-row { flex-wrap: wrap; }
  .res-cta { margin-left: 0; width: 100%; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 68px; }
  .wa-float { bottom: 78px; width: 46px; height: 46px; }
  .page-hero { padding-top: 8px; }
  .hero-note { font-size: .76rem; }
  .hero-ctas { gap: 18px; }
  .faq-a-inner { padding-right: 20px; }
}

/* ---------- CMS：后台替换真实图片后的填充样式 ---------- */
.ph--filled {
  background: var(--stone);
  border: 0;
  padding: 0;
  overflow: hidden;
  min-height: 200px;
}
.ph--filled img {
  width: 100%; height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* ---------- 新增板块（角色矩阵 / 技术清单 / 豆豆能力 / 办公室）响应式 ---------- */
@media (max-width: 1000px) {
  .char-grid { grid-template-columns: repeat(2, 1fr); }
  .char-cell, .char-cell + .char-cell { padding-left: 0; border-left: 0; }
  .char-cell:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-item, .tech-item:nth-child(even) { padding-left: 0; border-left: 0; padding-right: 0; }
  .cap-grid--four { grid-template-columns: repeat(2, 1fr); }
  .cap-grid--four .cap-cell:nth-child(3n+1) { padding-left: 24px; border-left: 1px solid var(--line); }
  .cap-grid--four .cap-cell:nth-child(4n+1) { padding-left: 24px; border-left: 1px solid var(--line); }
  .cap-grid--four .cap-cell:nth-child(odd) { padding-left: 0; border-left: 0; }
}

@media (max-width: 640px) {
  .char-grid { grid-template-columns: 1fr; }
  .char-cell:nth-child(even) { padding-left: 0; border-left: 0; }
  .char-orb { width: 52px; height: 52px; font-size: 1.25rem; margin-bottom: 14px; }
  .cap-grid--four { grid-template-columns: 1fr; }
  .cap-grid--four .cap-cell,
  .cap-grid--four .cap-cell:nth-child(3n+1),
  .cap-grid--four .cap-cell:nth-child(4n+1) { padding-left: 0; border-left: 0; }
  .pillar-strip { margin-bottom: 30px; }
  .pillar-strip span { font-size: .74rem; padding: 11px 0; }
  .pillar-strip span + span::before { padding: 0 9px; }
  .cap-block { margin-top: 48px; padding-top: 34px; }
}

/* ==========================================================================
   三板块整改：5 列客户卡 / 合作模式对比表 / 出口支持区块
   ========================================================================== */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }

/* 五列下客户卡标题略收窄 */
.grid-5 .card--buyer h3 { font-size: 1.04rem; }
.grid-5 .card--buyer { padding-right: 20px; }

/* 合作模式对比表 — 发丝线风格 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table {
  width: 100%; border-collapse: collapse; font-size: .92rem;
  min-width: 680px; table-layout: fixed;
}
.spec-table th, .spec-table td {
  text-align: left; padding: 18px 22px 18px 0;
  border-top: 1px solid var(--line); vertical-align: top;
}
.spec-table thead th {
  border-top: 0; padding-bottom: 12px;
  font-family: var(--font-head); font-size: .7rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--brand-dark);
}
.spec-table tbody th {
  font-weight: 600; color: var(--ink); font-size: .9rem; white-space: nowrap;
}
.spec-table tbody td { color: var(--ink-soft); line-height: 1.55; }
.spec-table td:first-child, .spec-table th:first-child { padding-left: 0; width: 15%; }
.spec-table th:not(:first-child) { width: 28.3%; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.spec-table tbody tr:hover { background: rgba(0,0,0,.015); }

/* 响应式 */
@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 .card--buyer:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .grid-5 .card--buyer { padding-right: 26px; }
  .grid-5 .card--buyer:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-right: 0; }
}
@media (max-width: 640px) {
  .grid-5 { grid-template-columns: 1fr; }
  .grid-5 .card--buyer, .grid-5 .card--buyer:last-child:nth-child(odd) { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* ==========================================================================
   关于奇豆页 — 首屏左右分栏（左标题 / 右团队照）+ 编辑式故事版式
   ========================================================================== */

/* 首屏：左栏标题与说明，右栏团队照；两栏同一水平中线 */
.page-hero--about { padding: clamp(22px, 2.8vw, 40px) 0 clamp(34px, 4.2vw, 56px); }
.about-hero {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(24px, 3.4vw, 56px); align-items: center;
}
.page-hero--about .eyebrow { margin-bottom: 14px; }
.page-hero--about h1 { max-width: 19ch; margin: 0 0 clamp(16px, 2vw, 24px); font-size: clamp(2.1rem, 3.7vw, 3.3rem); }
:lang(zh) .page-hero--about h1 { font-size: clamp(1.85rem, 3vw, 2.7rem); max-width: 15ch; }
.page-hero--about .lead { margin: 0 0 clamp(22px, 2.6vw, 32px); max-width: 40ch; }
.page-hero--about .hero-ctas { margin: 0; }

/* 团队照：与标题同一屏并排，4:3 圆角卡片，照片下方一行小字图注 */
.about-hero-figure { margin: 0; }
.about-hero-figure .ph {
  aspect-ratio: 4 / 3; height: auto; min-height: 0;
  border-radius: var(--radius); overflow: hidden;
}
.about-hero-figure .ph--filled { padding: 0; }
.about-hero-figure .ph--filled img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
}
.about-hero-figure figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 12px;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.about-hero-figure figcaption::before { content: ""; width: 22px; height: 1px; background: var(--line-2); flex: none; }
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; gap: clamp(20px, 4vw, 28px); align-items: start; }
  .page-hero--about h1 { max-width: none; }
  .page-hero--about .lead { max-width: none; }
}

/* 故事：左栏标题 + 引语（滚动时吸附），右栏长文 */
.about-story-section { padding-top: clamp(44px, 5.4vw, 80px); }
.about-story {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 76px); align-items: start;
}
.about-story-head { position: sticky; top: 104px; }
.about-story-head h2 { font-size: clamp(1.85rem, 3.1vw, 2.7rem); max-width: 16ch; margin-bottom: 0; }
.about-quote {
  margin: clamp(24px, 3vw, 34px) 0 0; padding-top: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid var(--line-2);
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.38;
  letter-spacing: -.01em; color: var(--ink); max-width: 26ch;
}
:lang(zh) .about-quote {
  font-family: var(--font-head); font-style: normal; font-weight: 500;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.8; letter-spacing: 0; max-width: 23ch;
}
.about-story-body p { font-size: 1rem; line-height: 1.78; color: var(--ink-soft); margin-bottom: 1.1em; }
.about-story-body p:last-child { margin-bottom: 0; }
.about-standfirst {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(1.16rem, 1.7vw, 1.42rem) !important;
  line-height: 1.5 !important; letter-spacing: -.015em;
  color: var(--ink) !important; margin-bottom: 1.1em !important;
}
:lang(zh) .about-standfirst { line-height: 1.75 !important; letter-spacing: 0; font-size: clamp(1.05rem, 1.5vw, 1.28rem) !important; }
@media (max-width: 900px) {
  .about-story { grid-template-columns: 1fr; gap: 28px; }
  .about-story-head { position: static; }
}

/* 三条原则：大编号 + 发丝线三栏 */
.about-values { gap: 0; border-top: 1px solid var(--line-2); }
.about-value { padding: 30px 28px 32px 0; border-bottom: 1px solid var(--line); }
.about-value + .about-value { padding-left: 28px; border-left: 1px solid var(--line); }
.about-value-num {
  display: block; margin-bottom: 18px;
  font-family: var(--font-body); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; color: var(--brand);
}
.about-value h3 { margin-bottom: 10px; }
.about-value p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 820px) {
  .about-value, .about-value + .about-value { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* 办公地点：标签 / 地址两栏表格式 */
.about-offices { border-top: 1px solid var(--line-2); }
.about-office {
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.about-office .office-tag { margin-bottom: 0; }
.about-office p { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 640px) {
  .about-office { grid-template-columns: 1fr; gap: 6px; }
}

/* 关于页数据条在手机上堆叠：去掉竖分隔线，改成横向发丝线 */
@media (max-width: 700px) {
  .section--dark .grid-4 .stat + .stat {
    padding-left: 0; border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    margin-top: 18px; padding-top: 22px;
  }
}

/* 联系页左栏：提交后的流程（原来的位置地图已删除） */
.contact-steps { margin-top: 8px; }
.contact-steps h3 {
  margin: 0 0 14px; font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #8D9899;
}
.contact-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.contact-steps li > span {
  font-family: var(--font-body); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; color: var(--brand); padding-top: 3px;
}
.contact-steps strong { display: block; font-size: .95rem; color: #F2F5F4; margin-bottom: 3px; }
.contact-steps p { margin: 0; font-size: .88rem; line-height: 1.65; color: #B4BDBC; }
@media (max-width: 900px) {
  .contact-steps { max-width: 560px; margin-top: 4px; }
}

/* 隐私勾选：整块是 <label>，会被 .field label 的大写/字距覆盖，单独拉回来；
   深色区块里的 <a> 是浅色，白卡上「Privacy Policy」会看不见，显式给品牌色 */
.field label.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .8rem; font-weight: 400; color: var(--ink-soft);
  letter-spacing: 0; text-transform: none; line-height: 1.6;
  margin-bottom: 0; cursor: pointer;
}
/* 勾选框：整块 <label> 可点，方框本身自绘（原生勾选框被上面的 appearance:none 干掉过，
   这里必须把 checked 态画出来，否则用户点了看不到任何变化 = 以为"点不动"）。 */
.field label.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 17px; height: 17px; flex: none; margin: 2px 0 0; padding: 0;
  border: 1.5px solid #AEB7B6; border-radius: 3px; background: #fff;
  cursor: pointer; display: inline-block;
  transition: background-color .15s ease, border-color .15s ease;
}
.field label.consent input[type="checkbox"]:hover { border-color: var(--ink); }
.field label.consent input[type="checkbox"]:checked {
  background-color: var(--brand);
  border-color: var(--brand);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.field label.consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
/* 未勾选就提交时，方框描红，配合下面的文字提示 */
.field.error label.consent input[type="checkbox"]:not(:checked) { border-color: var(--err); }
.field label.consent a { color: var(--brand); text-decoration: underline; }
.field label.consent a:hover { color: var(--ink); }

/* ==================================================================
   响应式校正（2026-11-04）：手机 / 平板 / 桌面三档对齐
   目标：① 手机上保留语言切换（双语站不能丢）② 头部不再挤成三件套
        ③ 筛选标签一行横滑 ④ 底部固定条不压住正文末尾
   ================================================================== */
@media (max-width: 900px) {
  /* 手机上「中文 / EN」必须可达：挪进头部，去掉左侧分隔线，缩小字距 */
  .header .lang-switch {
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 0 0 auto; padding: 0 10px; min-height: 40px;
    border-left: 0; font-size: .74rem; letter-spacing: .06em;
  }
  .header-inner { gap: 10px; }
  .burger { margin-left: 0; }
}

@media (max-width: 700px) {
  /* 手机上头部 CTA 让位：抽屉与底部固定条各有一个，三处重复反而挤 */
  .header-ctas > .btn { display: none; }
}

@media (max-width: 700px) {
  /* 产品筛选：一行横滑（可滑动提示），不再折成五行把首屏撑走 */
  .filter-tabs {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 0 26px;
    padding: 0 0 8px;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex: 0 0 auto; white-space: nowrap; }

  /* 底部固定条实测 74px 高，原来只留 68px，末尾按钮会被压住半个 */
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .wa-float { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* 平板竖屏：两列网格在 820 附近会挤，收到单列更稳 */
@media (max-width: 820px) and (min-width: 701px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  /* iOS 在输入框字号 <16px 时会强制放大整页，字号必须抬到 16px */
  .field input, .field select, .field textarea { font-size: 16px; }
  /* 触控目标不小于 44px：提交按钮与勾选框是最容易被误点的地方 */
  .form-card .btn, .mobile-bar .btn { min-height: 46px; }
  .field label.consent { min-height: 44px; }
  .field label.consent input[type="checkbox"] { width: 22px; height: 22px; margin-top: 1px; background-size: 14px 14px; }
  /* 抽屉菜单项加大行高，手指更好点 */
  .drawer a { padding-top: 14px; padding-bottom: 14px; }
}
