/* ==========================================================================
   Zhonglong Auto Electric — design system
   1. Tokens / reset
   2. Typography & utilities
   3. Buttons & tags
   4. Header / nav
   5. Hero
   6. Marquee
   7. Sections & cards
   8. Catalog table & toolbar
   9. Forms
   10. Footer
   11. Responsive
   ========================================================================== */

/* 1. Tokens / reset ------------------------------------------------------- */
:root {
  --ink: #0b0d0f;
  --ink-2: #15181c;
  --ink-3: #23272c;
  --paper: #f4f1ea;
  --paper-2: #e9e5dc;
  --white: #ffffff;
  --accent: #ff4a17;
  --accent-deep: #d93a0c;
  --muted: #6d6a63;
  --muted-dark: rgba(255, 255, 255, 0.56);
  --line: #ddd8ce;
  --line-strong: #c8c2b6;
  --line-dark: rgba(255, 255, 255, 0.13);

  --font-display: "Archivo", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  --max: 1280px;
  --gutter: clamp(18px, 4.2vw, 56px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 13, 15, 0.05), 0 8px 24px -16px rgba(11, 13, 15, 0.28);
  --shadow-lg: 0 30px 60px -32px rgba(11, 13, 15, 0.42);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 2. Typography & utilities ---------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 0.96;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6.6vw, 84px); }
h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.0; }
h3 { font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -0.02em; line-height: 1.18; }

.accent { color: var(--accent); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 22px;
  padding: 5px 9px;
  line-height: 1;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.eyebrow--light { color: var(--muted-dark); }
.eyebrow--light .eyebrow__num { background: var(--accent); color: #fff; }

.lede {
  font-size: clamp(16px, 1.28vw, 18.5px);
  line-height: 1.62;
  color: #43403b;
  max-width: 60ch;
}
.lede--light { color: var(--muted-dark); }

.section {
  padding: clamp(56px, 8vw, 116px) 0;
  position: relative;
}
.section--tight { padding: clamp(44px, 5.5vw, 76px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink {
  background: var(--ink);
  color: var(--white);
}
.section--ink .lede { color: var(--muted-dark); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(32px, 4.4vw, 60px);
}
.section-head h2 { max-width: 18ch; }
.section-head__aside { padding-bottom: 6px; }
.section-head__aside p { max-width: 46ch; }
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.section-head--center h2 { max-width: 24ch; }

.hairline {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 3. Buttons & tags ------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--accent-deep); }

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

.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); border-color: var(--line); }
.btn--light:hover { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.32); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }

.btn--sm { height: 40px; padding: 0 20px; font-size: 11.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-self: start;
  justify-self: start;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--accent); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b4842;
  background: var(--white);
}
.tag--solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.tag--ghost-dark { background: transparent; color: rgba(255, 255, 255, 0.8); border-color: var(--line-dark); }

/* 4. Header / nav -------------------------------------------------------- */
.utility {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.utility__note { text-transform: uppercase; letter-spacing: 0.14em; }
.utility__links { display: flex; align-items: center; gap: 22px; }
.utility__links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color 0.2s var(--ease); }
.utility__links a:hover { color: var(--accent); }
.utility__dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.32); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -24px rgba(11, 13, 15, 0.6); background: rgba(244, 241, 234, 0.98); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: auto; }
.brand__type { display: grid; gap: 1px; line-height: 1; }
.brand__type strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.brand__type em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
}
.nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 0;
  color: #2c2a26;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  place-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.2px) rotate(-45deg); }

/* 5. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 68px);
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 74, 23, 0.16), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
}
.hero__title {
  margin: 22px 0 0;
  font-size: clamp(42px, 6vw, 82px);
  letter-spacing: -0.04em;
}
.hero__title span { display: block; }
.hero__sub {
  margin-top: 26px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 4.6vw, 60px);
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero__stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.hero__panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1fr;
}
.hero__tile {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.hero__tile img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.hero__tile:hover img { transform: scale(1.05); }
.hero__tile figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.hero__tile figcaption b { color: var(--ink); font-weight: 600; }
.hero__panel-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 6px 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__panel-note b { color: var(--ink); }

/* 6. Marquee ------------------------------------------------------------- */
.marquee {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #57534b;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.55;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 7. Sections & cards ---------------------------------------------------- */
.lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.line-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.line-card__media {
  background: linear-gradient(180deg, #fbfaf7, #f2efe8);
  border-bottom: 1px solid var(--line);
  padding: 26px;
  display: grid;
  place-items: center;
  min-height: 210px;
}
.line-card__media img { max-height: 170px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.line-card__body { padding: 24px; display: grid; gap: 12px; }
.line-card__body h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.line-card__body h3 i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.line-card__body p { color: #55514a; font-size: 14.5px; line-height: 1.6; }
.line-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }

.sku-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
}
.sku {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.sku:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.sku__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px;
  min-height: 196px;
  background: #fbfaf7;
  border-bottom: 1px solid var(--line);
}
.sku__media img { max-height: 156px; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.5s var(--ease); }
.sku:hover .sku__media img { transform: scale(1.05); }
.sku__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 7px;
  background: var(--paper-2);
  color: #4b4842;
  border-radius: 4px;
}
.sku__body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.sku__code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  font-weight: 600;
}
.sku__body h3 { font-size: 16px; letter-spacing: -0.01em; line-height: 1.25; }
.sku__specs {
  display: grid;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.sku__specs span b { color: #35322d; font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.split--reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }

.reasons { display: grid; }
.reason {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  padding-top: 5px;
}
.reason h3 { margin-bottom: 8px; font-size: 18px; }
.reason p { color: #55514a; font-size: 14.5px; line-height: 1.62; }

.figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(6, 8, 10, 0.86));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  background: var(--white);
  padding: 26px 22px 30px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: background-color 0.3s var(--ease);
}
.step:hover { background: #fbfaf7; }
.step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}
.step h3 { font-size: 17px; }
.step p { color: #55514a; font-size: 13.5px; line-height: 1.6; }

.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(30px, 4.4vw, 60px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -60%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 74, 23, 0.2), transparent 60%);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 44px); max-width: 22ch; }
.cta-band p { color: var(--muted-dark); margin-top: 12px; max-width: 52ch; font-size: 15px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip > div {
  padding: clamp(20px, 2.4vw, 30px) 0;
  padding-right: 18px;
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 2vw, 26px);
}
.stat-strip > div:first-child { border-left: 0; padding-left: 0; }
.stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-strip span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 8. Catalog table & toolbar -------------------------------------------- */
.page-head {
  background: var(--ink);
  color: #fff;
  padding: clamp(44px, 6vw, 86px) 0 clamp(34px, 4vw, 54px);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -70%;
  width: 54vw;
  height: 54vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 74, 23, 0.14), transparent 62%);
}
.page-head__inner { position: relative; max-width: 900px; }
.page-head h1 { margin-top: 18px; font-size: clamp(34px, 4.8vw, 62px); }
.page-head .lede { margin-top: 18px; color: rgba(255, 255, 255, 0.66); }

.toolbar {
  position: sticky;
  top: 76px;
  z-index: 60;
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.search {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}
.search input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
}
.search input::placeholder { color: #9a958c; }
.search input:focus { outline: none; border-color: var(--ink); }
.search__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.segmented {
  display: inline-flex;
  padding: 3px;
  background: var(--paper-2);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.segmented button {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #55514a;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toolbar__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #3d3a35;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.6;
}

.table {
  width: 100%;
  border-top: 1px solid var(--ink);
}
.table__head {
  display: grid;
  grid-template-columns: 92px 92px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.8fr) 108px;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.row {
  display: grid;
  grid-template-columns: 92px 92px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.8fr) 108px;
  gap: 16px;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.row:hover { background: rgba(255, 255, 255, 0.7); }
.row__code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.row__code::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.row__type {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #55514a;
}
.row__oem { font-family: var(--font-mono); font-size: 12.5px; color: #35322d; word-break: break-word; }
.row__spec { font-size: 13.5px; color: #35322d; }
.row__app { font-size: 13.5px; color: #55514a; }
.row__cta {
  justify-self: end;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.row__cta:hover { color: var(--accent); border-color: var(--accent); }
.row--photo .row__code { color: var(--accent-deep); }

.empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.empty strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}

.make-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.make-tile {
  background: var(--white);
  padding: 18px 16px;
  display: grid;
  gap: 6px;
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
  transition: background-color 0.25s var(--ease);
}
.make-tile:hover { background: #fbfaf7; }
.make-tile strong { font-family: var(--font-display); font-size: 14px; letter-spacing: -0.01em; }
.make-tile span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.make-tile em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--accent-deep);
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.qa-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.qa-card h3 { font-size: 17px; }
.qa-card p { font-size: 14px; color: #55514a; line-height: 1.62; }
.qa-card__idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}

/* 9. Forms --------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label span { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fdfcfa;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--accent); }
.form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}
.form-status {
  display: none;
  gap: 8px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #f6f1e6;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  line-height: 1.55;
}
.form-status.is-visible { display: flex; }
.form-status b { font-family: var(--font-display); }

.contact-list { display: grid; gap: 0; }
.contact-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}
.contact-item:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-item dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
  padding-top: 3px;
}
.contact-item dd { margin: 0; color: #fff; font-size: 14.5px; line-height: 1.6; }
.contact-item dd a { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.contact-item dd a:hover { color: var(--accent); border-color: var(--accent); }
.contact-item small { display: block; color: rgba(255, 255, 255, 0.44); font-size: 12px; margin-top: 4px; }

/* 10. Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding: clamp(46px, 6vw, 76px) 0 28px;
  font-size: 14px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}
.site-footer ul { display: grid; gap: 9px; }
.site-footer a:hover { color: var(--accent); }
.site-footer__brand { display: grid; gap: 16px; justify-items: start; }
.site-footer__brand p { max-width: 34ch; font-size: 13.5px; line-height: 1.65; }
.site-footer__brand .brand__type strong { color: #fff; }
.site-footer__brand .brand__type em { color: rgba(255, 255, 255, 0.45); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* 11. Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { order: 2; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head__aside { padding-bottom: 0; }
  .lines { grid-template-columns: 1fr 1fr; }
  .sku-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .qa-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .table__head { display: none; }
  .row {
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    align-items: baseline;
    padding: 16px 4px;
  }
  .row__code { grid-column: 1; }
  .row__type { grid-column: 2; justify-self: end; }
  .row__oem { grid-column: 1 / -1; }
  .row__spec { grid-column: 1 / -1; }
  .row__app { grid-column: 1 / -1; }
  .row__cta { grid-column: 1 / -1; justify-self: start; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat-strip > div:nth-child(-n + 2) { border-top: 0; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .utility__note { display: none; }
  .utility__inner { justify-content: center; min-height: 34px; }
  .utility__links { gap: 14px; font-size: 10px; }
  .site-header__inner { min-height: 64px; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 88;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 36px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(11, 13, 15, 0.6);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: 18px 0;
    font-size: 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav-toggle { display: grid; }
  .site-header__actions .btn { display: none; }
  .toolbar { top: 64px; }
  .lines, .sku-grid, .qa-grid, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .brand__type strong { font-size: 17px; }
  .brand__type em { font-size: 9.5px; letter-spacing: 0.14em; }
  .hero__tile img { height: 104px; }
  .hero__panel { padding: 10px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .contact-item { grid-template-columns: 1fr; gap: 6px; }
  .figure__caption { position: static; background: var(--ink-2); }
}

@media (max-width: 520px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; padding: 0 8px; }
  .toolbar__count { margin-left: 0; }
  .reason { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
}

/* 12. Page-specific blocks ------------------------------------------------ */
.quote-block {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin-top: 24px;
  color: #4a463f;
  font-size: 14px;
  line-height: 1.95;
}
.quote-block p + p { margin-top: 12px; }
.quote-block em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.value {
  background: var(--white);
  padding: 30px 26px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.value b {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.value span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.value p { font-size: 14px; color: #55514a; line-height: 1.6; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.info-card h3 { font-size: 16px; margin-bottom: 10px; }
.info-card p { font-size: 14px; color: #55514a; line-height: 1.62; }
.info-card p + p { margin-top: 8px; }

@media (max-width: 1080px) {
  .values, .info-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .values { grid-template-columns: 1fr; }
  .quote-block { font-size: 13.5px; padding-left: 16px; }
}

.panel-ink {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
}
.panel-ink::before {
  content: "";
  position: absolute;
  right: -30%;
  top: -40%;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 74, 23, 0.18), transparent 62%);
}
.panel-ink > * { position: relative; }
.panel-ink h2 { font-size: clamp(24px, 2.6vw, 34px); }
.panel-ink .eyebrow { color: rgba(255, 255, 255, 0.5); }
.panel-ink .eyebrow__num { background: var(--accent); color: #fff; }
.panel-ink .contact-list { margin-top: 22px; }

.checklist { display: grid; gap: 0; }
.checklist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: #4a463f;
  line-height: 1.55;
}
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: "✓";
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-deep);
  line-height: 1.6;
}
.checklist b { font-family: var(--font-display); font-weight: 700; }


/* bare variant of the dark CTA band (no background glow when nested in a dark section) */
.cta-band--bare { background: transparent; padding: 0; }
.cta-band--bare::before { display: none; }


@media (max-width: 1080px) {
  .row__oem::before,
  .row__spec::before,
  .row__app::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 62px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
}


@media (max-width: 520px) {
  /* 阿里巴巴链接移除后，电话与邮箱两项都需保留可见 */
  .utility__links { gap: 12px; }
}

/* 13. Chinese edition ----------------------------------------------------- */
html[lang="zh-Hans"] { --font-cn: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif; }
html[lang="zh-Hans"] body { font-family: var(--font-cn); }
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] .display {
  font-family: var(--font-display), var(--font-cn);
  letter-spacing: 0.005em;
  line-height: 1.16;
}
html[lang="zh-Hans"] h1 { font-size: clamp(30px, 4.4vw, 56px); }
html[lang="zh-Hans"] h2 { font-size: clamp(24px, 3.1vw, 42px); }
html[lang="zh-Hans"] h3 { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.35; }
html[lang="zh-Hans"] .hero__title { font-size: clamp(30px, 3.9vw, 52px); line-height: 1.24; letter-spacing: 0.01em; }
html[lang="zh-Hans"] .page-head h1 { font-size: clamp(28px, 3.8vw, 48px); }
html[lang="zh-Hans"] .cta-band h2 { font-size: clamp(23px, 2.7vw, 36px); }
html[lang="zh-Hans"] .eyebrow {
  font-family: var(--font-cn);
  letter-spacing: 0.1em;
}
html[lang="zh-Hans"] .eyebrow__num { font-family: var(--font-mono); letter-spacing: 0.04em; }
html[lang="zh-Hans"] .btn { letter-spacing: 0.1em; font-weight: 700; }
html[lang="zh-Hans"] .lede { font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.85; }
html[lang="zh-Hans"] .reason h3 { font-size: 18px; margin-bottom: 6px; }
html[lang="zh-Hans"] .reason p,
html[lang="zh-Hans"] .step p,
html[lang="zh-Hans"] .qa-card p,
html[lang="zh-Hans"] .line-card__body p { line-height: 1.8; }
html[lang="zh-Hans"] .tag { font-family: var(--font-cn); letter-spacing: 0.06em; font-size: 11px; }
html[lang="zh-Hans"] .marquee__item { font-family: var(--font-cn); letter-spacing: 0.14em; }
html[lang="zh-Hans"] .sku__code,
html[lang="zh-Hans"] .row__code,
html[lang="zh-Hans"] .row__oem { font-family: var(--font-mono); }
html[lang="zh-Hans"] .sku__specs,
html[lang="zh-Hans"] .row__spec { font-family: var(--font-body); font-size: 12.5px; }
html[lang="zh-Hans"] .site-footer { font-size: 13.5px; }
html[lang="zh-Hans"] .form-note { line-height: 1.75; }
html[lang="zh-Hans"] .contact-item dd { line-height: 1.75; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #3d3a35;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }

@media (max-width: 820px) {
  .lang-switch { height: 34px; padding: 0 11px; font-size: 11px; }
  html[lang="zh-Hans"] .hero__title { font-size: clamp(28px, 7.2vw, 40px); }
  html[lang="zh-Hans"] .page-head h1 { font-size: clamp(26px, 6.4vw, 34px); }
  html[lang="zh-Hans"] .section-head h2 { font-size: clamp(23px, 5.6vw, 30px); }
}

/* Chinese micro-labels: mono face does not carry CJK well */
html[lang="zh-Hans"] .field label,
html[lang="zh-Hans"] .contact-item dt,
html[lang="zh-Hans"] .site-footer h4,
html[lang="zh-Hans"] .sku__badge,
html[lang="zh-Hans"] .table__head,
html[lang="zh-Hans"] .toolbar__count,
html[lang="zh-Hans"] .hero__stat span,
html[lang="zh-Hans"] .stat-strip span,
html[lang="zh-Hans"] .step__num,
html[lang="zh-Hans"] .reason__num,
html[lang="zh-Hans"] .qa-card__idx,
html[lang="zh-Hans"] .figure__caption {
  font-family: var(--font-cn);
  letter-spacing: 0.08em;
  font-size: 11px;
}
html[lang="zh-Hans"] .hero__stat span,
html[lang="zh-Hans"] .stat-strip span,
html[lang="zh-Hans"] .table__head { font-size: 10.5px; }
html[lang="zh-Hans"] .figure__caption { font-size: 10.5px; }
html[lang="zh-Hans"] .step__num,
html[lang="zh-Hans"] .reason__num,
html[lang="zh-Hans"] .qa-card__idx { font-size: 10.5px; }
