/* Shared structure for both positioning variants.
   Colour, hero composition and surface treatment live in theme-a.css / theme-b.css. */

@font-face {
  font-family: 'Archivo';
  src: url('../_assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F;
}
@font-face {
  font-family: 'Archivo';
  src: url('../_assets/fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Archivo Narrow';
  src: url('../_assets/fonts/archivo-narrow-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../_assets/fonts/ibm-plex-mono-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

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

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

body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 880px; }

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

/* ---------------------------------------------------------------- type */

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.section-head p { max-width: 52ch; color: var(--muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--accent);
}

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--solid {
  background: var(--accent);
  /* Dark label on safety orange: 6.4:1. White would sit at 3.1:1 and fail AA
     at button size. */
  color: #171310;
}
.btn--solid:hover { background: var(--accent-strong); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}
.btn--block { width: 100%; }

/* --------------------------------------------------------------- header */

.topbar {
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a:hover { color: var(--accent-text); }
.topbar__left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}
.topbar__left a { display: inline-flex; align-items: center; gap: 6px; }

.langmenu {
  position: relative;
}
.langmenu > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.langmenu > summary::-webkit-details-marker { display: none; }
.langmenu > summary:hover { color: var(--accent-text); }
.langmenu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 6px;
  z-index: 40;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.langmenu li a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text);
}
.langmenu li a:hover { background: var(--accent); color: #fff; }
.langmenu li a[aria-current='true'] { color: var(--accent-text); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 21px;
  line-height: 1;
}
.wordmark span:last-child {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent-text);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}
.nav a { color: var(--muted); }
.nav a:hover,
.nav a[aria-current='page'] { color: var(--text); }
.nav a[aria-current='page'] { position: relative; }
.nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -27px;
  height: 2px;
  background: var(--accent);
}

.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line-strong);
    padding: 8px 24px 20px;
  }
  .nav.open a { padding: 12px 0; width: 100%; }
  .nav a[aria-current='page']::after { display: none; }
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
}
.hero__copy { position: relative; z-index: 2; }
.hero .lead { margin-top: 22px; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__meta div { min-width: 120px; }
.hero__meta strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero__meta span { font-size: 13px; color: var(--muted); }

/* ----------------------------------------------------------------- grid */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- cards */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--line-strong); }

.model-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.model-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.4s ease;
}
.card:hover .model-card__media img { transform: scale(1.04); }

.model-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  background: var(--accent);
  color: #171310;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.model-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.model-card__model {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-text);
}
.model-card__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.model-card__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.model-card__spec b {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

/* -------------------------------------------------------------- feature */

.feature { display: flex; flex-direction: column; gap: 12px; }
.feature__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent-text);
  letter-spacing: 0.16em;
}
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------- applications */

.app-tile {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.app-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease;
}
.app-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.05) 20%, rgba(10, 12, 14, 0.9) 100%);
}
.app-tile:hover img { transform: scale(1.05); }
.app-tile__body { padding: 22px; color: #fff; }
.app-tile__body h3 { margin-bottom: 6px; }
.app-tile__body p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
}

/* --------------------------------------------------------------- proof */

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.proof-bar div {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.proof-bar div:last-child { border-right: 0; }
.proof-bar strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.proof-bar span { font-size: 13px; color: var(--muted); }
@media (max-width: 780px) {
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-bar div:nth-child(2) { border-right: 0; }
  .proof-bar div:nth-child(1),
  .proof-bar div:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ------------------------------------------------------------- cta band */

.cta-band {
  background: var(--accent);
  color: #171310;
  padding: clamp(44px, 5vw, 64px) 0;
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: rgba(23, 19, 16, 0.82); max-width: 46ch; margin-top: 10px; }
.cta-band .btn--ghost {
  border-color: rgba(23, 19, 16, 0.5);
  color: #171310;
}
.cta-band .btn--ghost:hover { background: #171310; color: #fff; border-color: #171310; }
.cta-band .btn--solid { background: #111; }
.cta-band .btn--solid:hover { background: #000; }

/* ---------------------------------------------------------------- table */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec-table caption {
  text-align: left;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 42%;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
}
.spec-table td { font-weight: 600; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

.table-scroll { overflow-x: auto; }

/* ------------------------------------------------------------------ faq */

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--accent-text);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin-top: 12px; max-width: 70ch; }

/* --------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
}
.contact-card h3 { margin-bottom: 10px; }
.contact-card p { color: var(--muted); font-size: 15px; }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.qr-block {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.qr-block img {
  width: 132px;
  height: 132px;
  background: #fff;
  padding: 8px;
}
.qr-block p { font-size: 14px; color: var(--muted); max-width: 24ch; }

.contact-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.contact-list a { display: flex; gap: 10px; align-items: baseline; }
.contact-list a:hover { color: var(--accent-text); }
.contact-list .mono { color: var(--muted); min-width: 74px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  padding: 12px;
  font-size: 15px;
  color: var(--text);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* -------------------------------------------------------------- breadcrumbs */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0;
}
.crumbs a:hover { color: var(--accent-text); }
.crumbs span { opacity: 0.5; }

/* --------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--accent-text); }
.footer-blurb { color: var(--muted); max-width: 34ch; margin-top: 14px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- misc */

.note-strip {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  max-width: 68ch;
}

.page-head {
  padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.page-head .lead { margin-top: 16px; }

.pill {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.media-frame {
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.media-frame img { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------- contact dock */

/* 常驻联系浮窗。右下角固定，任何页面可点。移动端收窄成单个按钮，
   避免遮住正文；展开后是一张卡片，带二维码，方便展会上让对方扫。 */
.wa-dock {
  position: fixed;
  right: clamp(14px, 2.4vw, 26px);
  bottom: clamp(14px, 2.4vw, 26px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: inherit;
}

.wa-dock__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--accent, #ff5a00);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-dock__toggle:hover { transform: translateY(-2px); }
.wa-dock__toggle:focus-visible { outline: 3px solid rgba(255, 90, 0, .45); outline-offset: 3px; }
.wa-dock__toggle svg { width: 27px; height: 27px; display: block; }

.wa-dock__panel {
  width: min(274px, calc(100vw - 36px));
  background: var(--panel, #16191e);
  border: 1px solid var(--line, rgba(255,255,255,.12));
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translateY(8px) scale(.97);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.wa-dock.open .wa-dock__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-dock__title {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim, #8d949d);
  margin: 0 0 10px;
}

.wa-dock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--text, #ecebe7);
  font-size: 14px;
  border: 1px solid transparent;
}
.wa-dock__row:hover {
  background: rgba(255, 90, 0, .1);
  border-color: rgba(255, 90, 0, .34);
}
.wa-dock__row svg { width: 17px; height: 17px; flex: none; color: var(--accent, #ff5a00); }
.wa-dock__row span { display: block; }
.wa-dock__row small { display: block; color: var(--dim, #8d949d); font-size: 11px; }

.wa-dock__qr {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line, rgba(255,255,255,.12));
  display: flex;
  gap: 12px;
  align-items: center;
}
.wa-dock__qr svg, .wa-dock__qr img { width: 76px; height: 76px; flex: none; background: #fff; border-radius: 6px; }
.wa-dock__qr p { margin: 0; font-size: 12px; color: var(--dim, #8d949d); line-height: 1.45; }

@media (max-width: 640px) {
  .wa-dock__toggle { width: 52px; height: 52px; }
  .wa-dock__panel {
    width: calc(100vw - 32px);
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-dock__panel, .wa-dock__toggle { transition: none; }
}

/* ------------------------------------------------ articles and reviews */

.article { max-width: 74ch; }
.article__head { padding: 8px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article__head h1 { margin: 10px 0 14px; }
.article__meta { color: var(--dim); font-size: 13px; letter-spacing: .04em; margin: 0; }

.article__body { font-size: 17px; line-height: 1.72; }
.article__body h2 {
  font-size: clamp(21px, 2.2vw, 27px);
  margin: 44px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 86px;
}
.article__body h2:first-child { border-top: 0; padding-top: 0; margin-top: 30px; }
.article__body h3 { font-size: 18px; margin: 28px 0 10px; }
.article__body p { margin: 0 0 18px; }
.article__body ul, .article__body ol { margin: 0 0 20px; padding-left: 22px; }
.article__body li { margin-bottom: 9px; }
.article__body li::marker { color: var(--accent); }
.article__foot { margin-top: 46px; padding-top: 8px; }

.callout {
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  padding: 15px 18px;
  margin: 0 0 22px;
  border-radius: 0 8px 8px 0;
}
.callout p { margin: 0; font-size: 15.5px; }

blockquote {
  margin: 0 0 22px;
  padding-left: 20px;
  border-left: 2px solid var(--line);
  font-size: 17px;
  color: var(--text);
}
blockquote cite { display: block; margin-top: 8px; font-size: 13px; color: var(--dim); font-style: normal; }

.table-wrap { overflow-x: auto; margin: 0 0 24px; }

.article-figure { margin: 0 0 24px; }
.article-figure img { width: 100%; height: auto; border: 1px solid var(--line); }
.article-figure figcaption { font-size: 13px; color: var(--dim); margin-top: 8px; }

/* article cards */
.acard {
  border: 1px solid var(--line);
  background: var(--surface, rgba(255,255,255,.03));
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
.acard:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-2px); }
.acard__link { display: block; padding: 22px 22px 18px; text-decoration: none; color: inherit; }
.acard__cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.acard h2 { font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
.acard p { font-size: 14px; color: var(--dim); margin: 0 0 14px; line-height: 1.6; }
.acard__meta { font-size: 12px; color: var(--dim); letter-spacing: .03em; }

.section > .acard { margin-bottom: 14px; }
.section > .acard:last-child { margin-bottom: 0; }

.pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.review {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface, rgba(255,255,255,.03));
}
.review blockquote { border: 0; padding: 0; margin: 0 0 16px; font-size: 16px; }
.review figcaption strong { display: block; font-size: 14px; }
.review figcaption span { display: block; font-size: 12.5px; color: var(--dim); margin-top: 3px; }

@media (max-width: 640px) {
  .article__body { font-size: 16px; }
  .article__body h2 { margin-top: 34px; }
}

/* --------------------------------------------------- model scene gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 34px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2, #111);
  aspect-ratio: 3 / 2;
}
.gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery__item:hover img { transform: scale(1.03); }
.gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 10px;
  font-size: 12px;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  pointer-events: none;
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ------------------------------------------------------- image hero */

/* 首屏必须是画面，不是段落。文字压在图上，用左侧渐变保证可读，
   右半部留出机器本体，避免文案盖住产品。 */
.hero--image {
  position: relative;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: var(--hero-pos, center);
  background-repeat: no-repeat;
  isolation: isolate;
}
.hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,12,.94) 0%, rgba(8,10,12,.86) 38%, rgba(8,10,12,.42) 66%, rgba(8,10,12,.18) 100%),
    linear-gradient(0deg, rgba(8,10,12,.9) 0%, rgba(8,10,12,0) 55%);
  z-index: -1;
}
.hero__inner {
  width: 100%;
  max-width: var(--wrap, 1200px);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px) clamp(40px, 6vh, 72px);
}
.hero--image h1 {
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.04;
  max-width: 15ch;
  margin: 14px 0 0;
}
.hero--image .lead {
  max-width: 46ch;
  margin-top: 20px;
  font-size: clamp(15px, 1.35vw, 18px);
  color: rgba(255,255,255,.78);
}
.hero--image .kicker { color: var(--accent); }
.hero--image .statrow {
  margin-top: 34px;
  border-top-color: rgba(255,255,255,.16);
}
.hero--image .stat b { color: #fff; }
.hero--image .stat span { color: rgba(255,255,255,.55); }

@media (max-width: 760px) {
  .hero--image { min-height: 66vh; }
  .hero--image::before {
    background:
      linear-gradient(0deg, rgba(8,10,12,.96) 0%, rgba(8,10,12,.8) 45%, rgba(8,10,12,.35) 100%);
  }
  .hero--image h1 { max-width: none; }
}

/* hero 用真实 img 元素：可索引、有 alt、能提前加载 */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.dcard--media {
  display: block;
  overflow: hidden;
  padding: 0;
}
.dcard--media img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.dcard--media:hover img { transform: scale(1.04); }
.dcard__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
}
