/* =============================================================
   Rongzhi Automation — Design System
   Brand: orange #F39221 / blue #0E5FC0 / ink #0B0E12
   ============================================================= */

:root {
  --ink: #0b0e12;
  --ink-2: #151a21;
  --ink-3: #1f262f;
  --body: #3d4550;
  --muted: #6e7783;
  --muted-2: #9aa3ad;
  --line: #e3e6ea;
  --line-2: #eef0f3;
  --paper: #ffffff;
  --paper-2: #f7f8fa;
  --paper-3: #f0f2f5;
  --brand: #f39221;
  --brand-2: #ffb020;
  --brand-soft: #fff4e3;
  --blue: #0e5fc0;
  --blue-deep: #0a3e86;
  --radius: 4px;
  --radius-lg: 6px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow-sm: 0 1px 2px rgba(11, 14, 18, 0.06);
  --shadow: 0 10px 30px -12px rgba(11, 14, 18, 0.18), 0 2px 6px rgba(11, 14, 18, 0.04);
  --shadow-lg: 0 30px 60px -24px rgba(11, 14, 18, 0.28);
  --wrap: 1240px;
  --header-h: 74px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* Visually hidden but still announced: used to give a card grid its own h2
   without adding a visual heading that the design does not have. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* <picture> only exists to offer a WebP source. display:contents removes the
   wrapper from layout entirely, so the <img> stays the direct child that grid
   and flex parents already position - no visual change from adding WebP. */
.pic {
  display: contents;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--blue-deep);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.75rem);
}
h2 {
  font-size: clamp(1.72rem, 2.9vw, 2.7rem);
}
h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  letter-spacing: -0.012em;
}
h4 {
  font-size: 1rem;
  letter-spacing: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 26px;
}

.section {
  padding: clamp(56px, 7vw, 100px) 0;
  position: relative;
}
.section--tight {
  padding: clamp(40px, 4.5vw, 64px) 0;
}
.section--tint {
  background: var(--paper-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.section--dark {
  background: var(--ink);
  color: #b9c1cb;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.sec-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sec-head p {
  margin-top: 16px;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.75;
}
.section--dark .sec-head p {
  color: #98a2ae;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  display: block;
}

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.2s;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--primary {
  background: var(--brand);
  color: #171104;
  box-shadow: 0 8px 20px -10px rgba(243, 146, 33, 0.9);
}
.btn--primary:hover {
  background: var(--brand-2);
  color: #171104;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(243, 146, 33, 0.95);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: var(--ink-3);
  color: #fff;
}
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(11, 14, 18, 0.03);
}
.btn--on-dark {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.btn--on-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ---------- top utility bar ---------- */
.topbar {
  background: var(--ink);
  color: #98a2ae;
  font-size: 0.79rem;
  letter-spacing: 0.01em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar a {
  color: #b9c1cb;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar a:hover {
  color: #fff;
}
.topbar svg {
  width: 13px;
  height: 13px;
  opacity: 0.65;
}
.topbar__note {
  color: #6f7986;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.25s;
}
.site-header.is-stuck {
  box-shadow: 0 8px 24px -18px rgba(11, 14, 18, 0.5);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--ink);
}
.brand:hover {
  color: var(--ink);
}
.brand img {
  width: 42px;
  height: auto;
}
.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand__name em {
  font-style: normal;
  color: var(--brand);
}
.brand__sub {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-wrap {
  margin-left: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body);
  border-radius: var(--radius);
  position: relative;
}
.nav > li > a:hover,
.nav > li > a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper-2);
}
.nav > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang a {
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}
.lang a:hover {
  background: var(--paper-2);
  color: var(--ink);
}
.lang a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #aab4c0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 30%, transparent 100%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -220px;
  top: -180px;
  background: radial-gradient(circle, rgba(243, 146, 33, 0.16), transparent 66%);
  z-index: -1;
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
  padding-top: clamp(52px, 6vw, 86px);
  padding-bottom: clamp(52px, 6vw, 86px);
}
/* grid items must be allowed to shrink below their content width,
   otherwise a wide child (long word, wide table) blows the whole hero out */
.hero .wrap > * {
  min-width: 0;
}
.hero h1 {
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.78;
  color: #98a2ae;
  max-width: 33em;
}
.hero__stats {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
}
.hero__stats > div {
  min-width: 0;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.hero__stats b {
  display: block;
  font-size: 1.26rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.hero__stats span {
  display: block;
  font-size: 0.71rem;
  color: #7d8794;
  margin-top: 5px;
  letter-spacing: 0.01em;
  line-height: 1.45;
}
.hero__art {
  position: relative;
}
.hero__art svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}
.hero__tag {
  position: absolute;
  left: -6px;
  bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #cfd6de;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.hero__tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(243, 146, 33, 0.22);
}

/* page hero (inner pages) */
.page-hero {
  background: var(--ink);
  color: #a7b1bd;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 100% at 60% 0%, #000, transparent 78%);
}
.page-hero .wrap {
  position: relative;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.page-hero h1 {
  color: #fff;
  max-width: 20em;
}
.page-hero p {
  margin-top: 18px;
  max-width: 46em;
  color: #98a2ae;
  font-size: 1.03rem;
  line-height: 1.78;
}
.page-hero--product .wrap {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}
.page-hero--product h1 {
  max-width: 14em;
}
.page-hero__art svg {
  width: 100%;
  height: auto;
}

/* breadcrumb */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #6f7986;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.crumb a {
  color: #98a2ae;
}
.crumb a:hover {
  color: #fff;
}
.crumb span {
  opacity: 0.45;
}
.crumb [aria-current="page"] {
  color: var(--brand);
}

/* ---------- chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd3dc;
}
.chip--light {
  background: var(--paper-2);
  border-color: var(--line);
  color: var(--body);
}
.chip--brand {
  background: var(--brand-soft);
  border-color: #f6dcb4;
  color: #a3590a;
}

/* ---------- product cards ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
  color: inherit;
  overflow: hidden;
}
.prod-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--brand);
  transition: width 0.35s ease;
}
.prod-card:hover {
  border-color: #d3d8de;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}
.prod-card:hover::after {
  width: 100%;
}
.prod-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.prod-card__idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  padding-top: 4px;
}
.prod-card__icon {
  width: 60px;
  height: 60px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  display: grid;
  place-items: center;
  transition: border-color 0.22s, background 0.22s;
}
.prod-card:hover .prod-card__icon {
  border-color: #f2d3a8;
  background: var(--brand-soft);
}
.prod-card__icon svg {
  width: 34px;
  height: 34px;
}
.prod-card h3 {
  margin-bottom: 9px;
}
.prod-card h3 a {
  color: var(--ink);
}
.prod-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.prod-card p {
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--muted);
  margin-bottom: 18px;
}
.prod-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.prod-card__specs li {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 3px 7px;
  letter-spacing: 0.01em;
}
.prod-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--brand);
}
.prod-card__more svg {
  width: 13px;
  height: 13px;
  transition: transform 0.22s;
}
.prod-card:hover .prod-card__more svg {
  transform: translateX(3px);
}

/* ---------- feature list ---------- */
.feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feat {
  background: #fff;
  padding: 30px 26px;
}
.feat__ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: #b26a10;
  margin-bottom: 18px;
}
.feat__ico svg {
  width: 19px;
  height: 19px;
}
.feat h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.feat p {
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--muted);
}
.section--dark .feats {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}
.section--dark .feat {
  background: #10151b;
}
.section--dark .feat p {
  color: #8e98a5;
}

/* ---------- split (text + figure) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--wide {
  grid-template-columns: 0.92fr 1.08fr;
}
.split h2 {
  margin-bottom: 18px;
}
.split p + p {
  margin-top: 14px;
}
.split__figure {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
}
.split__figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ---------- numbered list ---------- */
.numlist {
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.numlist li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: start;
}
.numlist li:last-child {
  border-bottom: 0;
}
.numlist b {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand);
  padding-top: 3px;
  letter-spacing: 0.06em;
}
.numlist strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 4px;
  font-weight: 600;
}
.numlist span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- spec table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.spec caption {
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
table.spec th,
table.spec td {
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.spec thead th {
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
table.spec tbody tr:last-child th,
table.spec tbody tr:last-child td {
  border-bottom: 0;
}
table.spec tbody th {
  width: 38%;
  font-weight: 500;
  color: var(--muted);
  background: #fcfcfd;
}
table.spec td {
  color: var(--ink-2);
  font-weight: 500;
}
table.spec td.num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ---------- applications ---------- */
.apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-2);
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.apps li {
  background: #fff;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.apps li:hover {
  background: var(--brand-soft);
  color: #a3590a;
}
.apps li svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--brand);
}

/* ---------- process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.process li {
  position: relative;
  padding: 30px 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.process li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--brand);
}
.process b {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.process strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.process span {
  font-size: 0.86rem;
  color: #8e98a5;
  line-height: 1.65;
}

/* ---------- stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  border-left: 2px solid var(--brand);
  padding-left: 20px;
}
.stat b {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-size: 1.01rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  list-style: none;
  letter-spacing: -0.008em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--brand);
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq details > div {
  padding: 0 64px 24px 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.78;
}
.faq details > div p + p {
  margin-top: 10px;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: #a7b1bd;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.cta .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: clamp(44px, 5vw, 64px);
  padding-bottom: clamp(44px, 5vw, 64px);
}
.cta h2 {
  color: #fff;
  max-width: 22em;
}
.cta p {
  margin-top: 12px;
  color: #98a2ae;
  font-size: 0.97rem;
  max-width: 46em;
}

/* ---------- footer ---------- */
.site-footer {
  background: #080b0e;
  color: #7d8794;
  font-size: 0.88rem;
  border-top: 1px solid #1a1f26;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding: clamp(44px, 5vw, 66px) 0 44px;
}
.site-footer .brand__name {
  color: #fff;
}
.site-footer .brand__sub {
  color: #5d6672;
}
.site-footer__about {
  margin-top: 18px;
  line-height: 1.72;
  color: #7d8794;
  max-width: 30em;
  font-size: 0.85rem;
}
.site-footer .site-footer__main h3 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.site-footer ul li {
  margin-bottom: 9px;
}
.site-footer a {
  color: #8b95a1;
}
.site-footer a:hover {
  color: var(--brand);
}
.site-footer address {
  font-style: normal;
  line-height: 1.75;
  font-size: 0.85rem;
}
.site-footer__bottom {
  border-top: 1px solid #1a1f26;
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #5d6672;
}
.site-footer__bottom a {
  color: #5d6672;
}
.site-footer__bottom a:hover {
  color: var(--brand);
}
/* ICP filing number — required to be visible on sites hosted in mainland China */
.site-footer__icp {
  white-space: nowrap;
}
.site-footer__icp + .site-footer__icp {
  margin-left: 12px;
}

/* ---------- breadcrumb / related ---------- */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related a {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related a:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.related small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 7px;
}
.related strong {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.info-list {
  border-top: 1px solid var(--line);
}
.info-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.92rem;
}
.info-list dt,
.info-list .k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 3px;
}
.info-list .v {
  color: var(--ink);
  line-height: 1.65;
}

form.inquiry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
form.inquiry h3 {
  margin-bottom: 6px;
}
form.inquiry > p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.field label span {
  color: var(--brand);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(243, 146, 33, 0.14);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note {
  font-size: 0.74rem;
  color: var(--muted-2);
  margin-top: 12px;
  line-height: 1.6;
}
/* honeypot — hidden from people, still filled in by naive bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 12px;
  font-size: 0.84rem;
  line-height: 1.6;
  padding: 10px 13px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.form-status.is-ok {
  display: block;
  color: #0d6b3f;
  background: #e8f6ee;
  border-color: #b9e2c9;
}
.form-status.is-err {
  display: block;
  color: #8a2c12;
  background: #fdeee9;
  border-color: #f3c7b8;
}
.form-status.is-busy {
  display: block;
  color: #5c4708;
  background: #fdf6e3;
  border-color: #ecd9a4;
}
.inquiry button[type="submit"][disabled] {
  opacity: 0.62;
  cursor: progress;
}

/* ---------- misc ---------- */
.pill-note {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.pill-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #26a269;
  flex: none;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__art {
    max-width: 560px;
    order: -1;
  }
  .grid--4,
  .feats,
  .apps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 0;
  }
  .process li {
    padding-bottom: 24px;
  }
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .page-hero--product .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .page-hero__art {
    max-width: 520px;
  }
  .contact-grid,
  .split,
  .split--wide {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .nav,
  .topbar__note {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header .wrap {
    justify-content: space-between;
  }
  .header__actions {
    margin-left: auto;
  }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    gap: 2px;
    z-index: 59;
  }
  .nav.is-open > li > a {
    padding: 13px 12px;
    font-size: 0.98rem;
  }
  .header__actions .btn {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }
  .wrap {
    padding: 0 18px;
  }
  .topbar ul {
    gap: 16px;
    font-size: 0.74rem;
  }
  .topbar .wrap {
    min-height: 34px;
  }
  .grid--3,
  .grid--2,
  .grid--4,
  .feats,
  .apps,
  .process,
  .stats,
  .related {
    grid-template-columns: 1fr;
  }
  .apps {
    border-top: 1px solid var(--line-2);
  }
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }
  .hero__stats > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .cta .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .info-list li {
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  form.inquiry {
    padding: 22px;
  }
  .faq details > div {
    padding-right: 20px;
  }
  .brand__sub {
    display: none;
  }
  .section {
    padding: 46px 0;
  }
}

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

@media print {
  .site-header,
  .topbar,
  .cta,
  .site-footer,
  .nav-toggle {
    display: none;
  }
}

/* ---------- filter bar ---------- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.filter-btn {
  padding: 8px 17px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.filter-btn:hover {
  color: var(--ink);
  border-color: #c9ced5;
}
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- fact card ---------- */
.fact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  box-shadow: var(--shadow-sm);
}
.fact-card__head {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.fact-card dl {
  margin: 0;
  padding: 4px 20px 0;
}
.fact-card dl > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.fact-card dl > div:last-child {
  border-bottom: 0;
}
.fact-card dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
  line-height: 1.4;
}
.fact-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.55;
}
.fact-card .btn {
  margin: 16px 20px 20px;
  width: calc(100% - 40px);
}

/* ---------- application cards ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  background: #fff;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.app-card:hover {
  border-color: #d3d8de;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.app-card h3 {
  margin-bottom: 10px;
}
.app-card p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--muted);
}
.app-card ul {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.app-card li {
  font-size: 0.75rem;
  color: var(--body);
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 3px 8px;
}

/* ---------- mini card ---------- */
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.mini-card h3 {
  font-size: 1rem;
  margin: 14px 0 8px;
}
.mini-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- wide product card ---------- */
.prod-card--wide {
  grid-column: span 2;
}

@media (max-width: 1080px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .prod-card--wide {
    grid-column: span 1;
  }
  .fact-card {
    position: static;
  }
}

/* ---------- full-width custom card ---------- */
.prod-card--full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 32px 32px 30px;
}
.prod-card--full .prod-card__top {
  margin-bottom: 16px;
}
.prod-card--full .prod-card__body p {
  margin-bottom: 0;
}
.prod-card--full .prod-card__side .prod-card__specs {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 16px;
}
.prod-card--full .prod-card__more {
  margin-top: 0;
}
@media (max-width: 900px) {
  .prod-card--full {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .prod-card--full .prod-card__side .prod-card__specs {
    border-top: 1px solid var(--line-2);
    padding-top: 16px;
  }
}

/* ---------- stacked specification tables ---------- */
.table-stack {
  display: grid;
  gap: 24px;
}
.table-stack table.spec tbody th,
.table-stack table.spec thead th,
.table-stack table.spec td {
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Chinese typography corrections ---------- */
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4 {
  letter-spacing: 0.012em;
  line-height: 1.32;
}
html[lang="zh-CN"] h1 {
  line-height: 1.28;
  font-weight: 700;
}
html[lang="zh-CN"] .hero__sub,
html[lang="zh-CN"] .lead,
html[lang="zh-CN"] p {
  letter-spacing: 0.01em;
}
html[lang="zh-CN"] .eyebrow {
  letter-spacing: 0.16em;
}
html[lang="zh-CN"] .brand__name {
  letter-spacing: 0.02em;
}

/* ---------- overflow hardening ---------- */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
.wrap,
.topbar ul,
.nav-wrap,
.header__actions,
.brand,
.hero__art,
.grid > *,
.apps > *,
.feats > *,
.stats > *,
.related > * {
  min-width: 0;
}
.topbar ul {
  flex: 0 1 auto;
}
.topbar li {
  min-width: 0;
}
.topbar a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero__tag {
  left: 0;
}

@media (max-width: 960px) {
  .topbar li:last-child {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 34px;
    height: 23px;
  }
  .brand__name {
    font-size: 0.94rem;
  }
  .header__actions {
    gap: 8px;
  }
  .lang a {
    padding: 4px 7px;
    font-size: 0.72rem;
  }
  .site-header .wrap {
    gap: 12px;
  }
  .topbar ul {
    gap: 12px;
  }
  .hero__stats b {
    font-size: 1.2rem;
  }
  .hero__stats span {
    font-size: 0.68rem;
  }
  .chips {
    gap: 6px;
  }
  .chip {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
  h1 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .site-header .wrap {
    gap: 8px;
  }
  .brand {
    gap: 8px;
  }
  .brand__name {
    font-size: clamp(0.84rem, 3.5vw, 0.96rem);
  }
  .header__actions {
    gap: 5px;
  }
  .lang a {
    padding: 4px 6px;
    font-size: 0.7rem;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
  }
}

/* hero tag: clear the axis dimension line */
.hero__tag {
  bottom: -20px;
}
@media (max-width: 720px) {
  .hero__tag {
    bottom: -12px;
    font-size: 0.62rem;
    padding: 6px 11px;
  }
}

/* ---------- article list ---------- */
.post-list {
  border-top: 1px solid var(--line);
}
.post-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  align-items: start;
}
.post-item:hover {
  color: inherit;
}
.post-item time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  padding-top: 6px;
}
.post-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a3590a;
  background: var(--brand-soft);
  border: 1px solid #f6dcb4;
  border-radius: 2px;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.post-item h2 {
  font-size: clamp(1.06rem, 1.5vw, 1.32rem);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.post-item:hover h2 {
  color: var(--brand);
}
.post-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62em;
}
.post-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- article page ---------- */
.page-hero--article .wrap {
  max-width: 880px;
}
.page-hero--article h1 {
  font-size: clamp(1.78rem, 2.9vw, 2.6rem);
  max-width: 24em;
  line-height: 1.24;
}
.post-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #7d8794;
  letter-spacing: 0.04em;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}
.article-lead {
  font-size: 1.13rem;
  line-height: 1.8;
  color: var(--ink-2);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.article h2 {
  font-size: clamp(1.16rem, 1.7vw, 1.38rem);
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}
.article p {
  font-size: 0.99rem;
  line-height: 1.86;
  color: var(--body);
}
.article p + p {
  margin-top: 15px;
}
.takeaways {
  margin-top: 48px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.takeaways h3 {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.takeaways li {
  position: relative;
  padding-left: 18px;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 8px;
}
.takeaways li:last-child {
  margin-bottom: 0;
}
.takeaways li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}
.author-box {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.author-box strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  margin-bottom: 6px;
}
.author-box p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.72;
}

.article-aside {
  max-width: 760px;
  margin: 40px auto 0;
}
.article-product {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: #fff;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.article-product:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.article-product small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 7px;
}
.article-product strong {
  display: block;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.article-product span {
  display: block;
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
}
.article-product em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
}
.post-nav {
  max-width: 760px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post-nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: inherit;
  transition: border-color 0.2s;
}
.post-nav a:hover {
  border-color: #c9ced5;
  color: inherit;
}
.post-nav small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.post-nav strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  display: block;
}
.post-nav__next {
  text-align: right;
}

/* ---------- home mini posts ---------- */
.mini-post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: inherit;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.mini-post:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: inherit;
}
.mini-post strong {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.008em;
}
.mini-post__date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted-2);
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 720px) {
  .post-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }
  .post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav__next {
    text-align: left;
  }
  .article-lead {
    font-size: 1.04rem;
  }
  .takeaways {
    padding: 20px 22px;
  }
}

/* single adjacent-article card spans the column */
.post-nav--single {
  grid-template-columns: 1fr;
}
.post-nav--single .post-nav__next {
  text-align: left;
}

/* keep pill tags from stretching inside flex cards */
.mini-post .post-tag,
.mini-post .mini-post__date {
  align-self: flex-start;
}
.mini-post .post-tag {
  margin-bottom: 2px;
}

/* Progressive enhancement: content must be visible without JavaScript.
   The .js class is set by an inline script in <head>; crawlers that do not
   execute JS get the fully visible version. */
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* breadcrumbs: on narrow screens a three-level trail collapses to two levels,
   because the page title already appears as the H1 directly below. */
.crumb > * {
  min-width: 0;
}
.crumb [aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 44ch;
}
@media (max-width: 600px) {
  .crumb:has(> [aria-current="page"]:nth-child(n + 4)) > *:nth-last-child(-n + 2) {
    display: none;
  }
}

/* ---------- contact info extras ---------- */
.info-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--muted-2);
  margin-top: 3px;
  letter-spacing: 0.01em;
}
.info-list .v a {
  font-weight: 500;
}
.wx-qr {
  display: block;
  width: 150px;
  height: auto;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* ---------- location card ---------- */
.loc-card {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: var(--paper-2);
}
.loc-card__head {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.loc-card__coord {
  display: flex;
  gap: 34px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.loc-card__coord b {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.loc-card p {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.loc-links {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.loc-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid rgba(243, 146, 33, 0.4);
  padding-bottom: 1px;
}
.loc-links a:hover {
  color: #b96a10;
  border-color: #b96a10;
}

/* footer contact labels */
.site-footer .addr-k {
  font-size: 0.76rem;
  color: #5d6672;
  letter-spacing: 0.02em;
}

/* ---------- free sample strip (home, below hero) ---------- */
.sample-strip {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.sample-strip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
}
.sample-strip .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr auto;
  gap: 44px;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 38px;
}
.sample-strip__lead .eyebrow {
  margin-bottom: 12px;
}
.sample-strip__lead h2 {
  font-size: clamp(1.32rem, 2vw, 1.72rem);
}
.sample-strip__lead p {
  margin-top: 10px;
  font-size: 0.89rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34em;
}
.sample-strip__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sample-strip__points li {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.sample-strip__points b {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -0.005em;
}
.sample-strip__points span {
  display: block;
  font-size: 0.77rem;
  line-height: 1.58;
  color: var(--muted);
}
.sample-strip .btn {
  align-self: center;
}

@media (max-width: 1080px) {
  .sample-strip .wrap {
    grid-template-columns: 1fr auto;
    gap: 30px;
  }
  .sample-strip__points {
    grid-column: 1 / -1;
    order: 3;
  }
}
@media (max-width: 720px) {
  .sample-strip .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .sample-strip__points {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sample-strip .btn {
    justify-self: start;
  }
}

/* sample strip refinements */
.sample-strip__points li {
  border-left-color: #d5dae1;
}
.sample-strip__hint {
  margin-top: 12px !important;
  font-size: 0.77rem !important;
  color: var(--muted-2) !important;
  line-height: 1.6 !important;
}
.sample-strip__hint a {
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
}
.sample-strip__hint a:hover {
  color: #b96a10;
}

/* ---------- product photo gallery ---------- */
.shots {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 22px;
  align-items: start;
}
.shots--single {
  grid-template-columns: 1fr;
}
.shots__main {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.shots__stage {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--paper-2);
}
.shots__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.shots figcaption {
  padding: 13px 18px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
  line-height: 1.55;
}
.shots--single .shots__main {
  max-width: 780px;
  margin: 0 auto;
}
.shots--single .shots__stage {
  aspect-ratio: 4 / 3;
}
.shots__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.shots__thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.shots__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shots__thumb:hover {
  border-color: #c9ced5;
}
.shots__thumb[aria-pressed="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(243, 146, 33, 0.18);
}
@media (max-width: 900px) {
  .shots {
    grid-template-columns: 1fr;
  }
  .shots__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 560px) {
  .shots__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
  .shots__stage {
    padding: 10px;
  }
}

/* single-photo gallery: let the image keep its own aspect ratio */
.shots--single .shots__main {
  max-width: 700px;
}
.shots--single .shots__stage {
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px;
}
.shots--single .shots__stage img {
  max-height: 540px;
  width: auto;
}
@media (max-width: 560px) {
  .shots--single .shots__stage img {
    max-height: 400px;
  }
}

/* gallery: main image full width, thumbnails in one row */
.shots {
  display: block;
}
.shots__main {
  max-width: 100%;
}
.shots__stage {
  aspect-ratio: 4 / 3;
}
.shots__thumbs {
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  margin-top: 14px;
}
@media (max-width: 720px) {
  .shots__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .shots__stage {
    aspect-ratio: 1 / 1;
  }
}

/* tables must not push the page wider than the viewport */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.spec th,
table.spec td {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 720px) {
  table.spec tbody th {
    width: 34%;
  }
  table.spec th,
  table.spec td {
    padding: 11px 14px;
    font-size: 0.85rem;
  }
}

/* ---------- product cards: photo + text ---------- */
.prod-card {
  padding: 0;
  overflow: hidden;
}
.prod-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}
.prod-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.prod-card:hover .prod-card__media img {
  transform: scale(1.045);
}
.prod-card__idx {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.prod-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.prod-card__body p {
  margin-bottom: 16px;
}
.prod-card__full-body {
  display: flex;
  flex-direction: column;
}

/* wide card: photo left, text right */
.prod-card--full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.prod-card--full .prod-card__media {
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid var(--line-2);
  min-height: 260px;
}
.prod-card--full .prod-card__body {
  justify-content: center;
}
.prod-card--full .prod-card__body p {
  margin-bottom: 18px;
}

@media (max-width: 1080px) {
  .prod-card--full {
    grid-template-columns: 1fr;
  }
  .prod-card--full .prod-card__media {
    aspect-ratio: 1 / 1;
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
}
@media (max-width: 720px) {
  .prod-card__media {
    aspect-ratio: 4 / 3;
    padding: 14px;
  }
}

/* fix: image sizing inside aspect-ratio box, wide card span, index badge */
.prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: none;
  max-height: none;
}
.prod-card--full {
  grid-column: span 2;
}
.prod-card--full .prod-card__media img {
  object-fit: contain;
}
.prod-card__idx {
  font-size: 0.7rem;
  padding: 4px 9px;
  color: var(--ink-2);
  font-weight: 600;
}
.prod-card__body h3 {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  margin-bottom: 8px;
}
.prod-card__body p {
  font-size: 0.865rem;
  line-height: 1.65;
}

/* wide card: keep its height close to the regular cards */
.prod-card--full .prod-card__media {
  max-height: 400px;
}
.prod-card--full .prod-card__specs {
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}
.prod-card--full .prod-card__more {
  margin-top: 14px;
}

/* on narrow layouts the wide card must not span 2 — it would create an implicit column */
@media (max-width: 1080px) {
  .prod-card--full {
    grid-column: span 2;
  }
}
@media (max-width: 720px) {
  .prod-card--full {
    grid-column: span 1;
  }
  .prod-card--full .prod-card__media {
    max-height: none;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- hero comparison card (replaces the line drawing) ---------- */
.hero__compare {
  position: relative;
}
.cmp {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.022));
  padding: 26px 26px 22px;
  backdrop-filter: blur(2px);
}
.cmp__head {
  margin-bottom: 20px;
}
.cmp__title {
  display: block;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cmp__sub {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  color: #8a94a1;
  letter-spacing: 0.02em;
}
.cmp__cols {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.35fr;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6f7986;
}
.cmp__cols span:nth-child(3) {
  color: var(--brand);
}
.cmp__list li {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.35fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.79rem;
  line-height: 1.5;
  align-items: start;
}
.cmp__list li:last-child {
  border-bottom: 0;
}
.cmp__k {
  color: #b7c0ca;
  font-weight: 500;
}
.cmp__a {
  color: #6f7986;
}
.cmp__b {
  color: #fff;
  position: relative;
  padding-left: 12px;
}
.cmp__b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 3px;
  height: 0.9em;
  background: var(--brand);
  border-radius: 1px;
}
.cmp__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  line-height: 1.65;
  color: #8a94a1;
}
.cmp__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
}
.cmp__cta:hover {
  color: var(--brand-2);
}
.cmp__cta svg {
  transition: transform 0.2s;
}
.cmp__cta:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1080px) {
  .hero__compare {
    max-width: 560px;
  }
}
@media (max-width: 720px) {
  .cmp {
    padding: 20px 18px 18px;
  }
  .cmp__cols,
  .cmp__list li {
    grid-template-columns: 0.95fr 1fr 1.25fr;
    gap: 8px;
    font-size: 0.72rem;
  }
  .cmp__cols {
    font-size: 0.6rem;
  }
  .cmp__b {
    padding-left: 9px;
  }
}

/* mobile compare: give the machine column more room */
@media (max-width: 720px) {
  .cmp__cols,
  .cmp__list li {
    grid-template-columns: 0.85fr 0.92fr 1.38fr;
    gap: 7px;
  }
  .cmp__list li {
    font-size: 0.745rem;
    padding: 10px 0;
  }
  .cmp__k {
    font-size: 0.72rem;
  }
}

/* ---------- hero product-term links ---------- */
.hero__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 4px;
}
.hero__terms a {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.865rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #e8edf2;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.18s, color 0.18s, background 0.18s, transform 0.18s;
}
.hero__terms a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(243, 146, 33, 0.09);
  transform: translateY(-1px);
}
.hero__sub {
  margin-top: 20px;
}
@media (max-width: 560px) {
  .hero__terms {
    gap: 6px;
    margin: 20px 0 2px;
  }
  .hero__terms a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* slightly larger product-term pills for first-glance legibility */
.hero__terms a {
  font-size: 0.9rem;
  padding: 9px 17px;
}

/* hero headline: one step smaller, giving room to the product terms */
.hero h1 {
  font-size: clamp(1.92rem, 3.45vw, 3.05rem);
  line-height: 1.18;
}
html[lang="zh-CN"] .hero h1 {
  line-height: 1.26;
}

/* product-term pills: visible orange outline by default */
.hero__terms a {
  border: 1px solid rgba(243, 146, 33, 0.6);
  color: #fff;
  background: rgba(243, 146, 33, 0.07);
}
.hero__terms a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #171104;
  transform: translateY(-1px);
}

/* stronger outline on product-term pills */
.hero__terms a {
  border-width: 1.5px;
  border-color: rgba(243, 146, 33, 0.78);
  padding: 8px 16px;
}
