/* ==========================================================================
   PCE Additive — Design System
   Industrial B2B · Deep navy + signal blue · Light theme
   ========================================================================== */

/* ----------------------------------------------------------- 1. Design tokens */
:root {
  /* Brand */
  --navy-950: #060f1f;
  --navy-900: #0b1a33;
  --navy-800: #12294d;
  --navy-700: #1a3763;

  --blue-700: #1e40af;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --amber-500: #f59e0b;
  --amber-400: #fbbf24;

  --green-600: #16a34a;
  --green-50:  #f0fdf4;

  /* Neutrals */
  --ink:        #0f172a;
  --ink-soft:   #334155;
  --muted:      #64748b;
  --muted-light:#94a3b8;
  --line:       #e2e8f0;
  --line-soft:  #f1f5f9;
  --surface:    #ffffff;
  --canvas:     #f8fafc;
  --canvas-alt: #f1f5f9;

  /* Type scale */
  --fs-xs:  12px;
  --fs-sm:  13.5px;
  --fs-base:15.5px;
  --fs-md:  17px;
  --fs-lg:  20px;
  --fs-xl:  24px;
  --fs-2xl: 31px;
  --fs-3xl: 40px;
  --fs-4xl: 50px;

  /* Space */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-full: 999px;

  /* Shadow */
  --sh-xs: 0 1px 2px rgba(15,23,42,.05);
  --sh-sm: 0 1px 3px rgba(15,23,42,.07), 0 1px 2px rgba(15,23,42,.04);
  --sh-md: 0 4px 14px rgba(15,23,42,.07), 0 1px 3px rgba(15,23,42,.05);
  --sh-lg: 0 12px 32px rgba(15,23,42,.10), 0 3px 10px rgba(15,23,42,.05);
  --sh-xl: 0 24px 60px rgba(15,23,42,.14);

  /* Layout */
  --container: 1200px;
  --container-narrow: 860px;
  --header-h: 72px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ------------------------------------------------------------------ 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.72;
  color: var(--ink-soft);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2.5px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue-600); color: #fff; padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 var(--r-md) 0;
}
.skip:focus { left: 0; }

/* -------------------------------------------------------------- 3. Typography */
h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.24;
  letter-spacing: -0.018em;
}
h1 { font-size: var(--fs-4xl); font-weight: 800; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 750; letter-spacing: .11em;
  text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--blue-600); border-radius: 2px;
}
.eyebrow.on-dark { color: var(--amber-400); }
.eyebrow.on-dark::before { background: var(--amber-400); }

.lead { font-size: var(--fs-md); line-height: 1.75; color: var(--ink-soft); }

/* ------------------------------------------------------------------ 4. Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: var(--sp-20) 0; }
.section--tight { padding: var(--sp-16) 0; }
.section--alt { background: var(--surface); }
.section--canvas { background: var(--canvas); }
.section--dark {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #cbd5e1;
}

.section-head { max-width: 760px; margin-bottom: var(--sp-12); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--sp-4); }
.section-head p { font-size: var(--fs-md); color: var(--muted); line-height: 1.75; }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: #94a3b8; }

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

.stack > * + * { margin-top: var(--sp-4); }

/* ----------------------------------------------------------------- 5. Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 700; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none !important; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 3px 12px rgba(29,78,216,.26); }
.btn--primary:hover { background: var(--blue-700); box-shadow: 0 6px 20px rgba(29,78,216,.34); }

.btn--amber { background: var(--amber-500); color: var(--navy-950); box-shadow: 0 3px 12px rgba(245,158,11,.3); }
.btn--amber:hover { background: var(--amber-400); }

.btn--ghost { background: transparent; color: var(--blue-600); border-color: var(--blue-100); }
.btn--ghost:hover { background: var(--blue-50); border-color: var(--blue-600); }

.btn--on-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--on-dark:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

.btn--white { background: #fff; color: var(--navy-900); }
.btn--white:hover { background: #f1f5f9; }

.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14.5px; color: var(--blue-600);
}
.link-arrow svg { transition: transform .16s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ 6. Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6); height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none !important; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--blue-600), var(--navy-800));
  display: grid; place-items: center; color: #fff;
  font-weight: 800; font-size: 15px; letter-spacing: -.02em;
  box-shadow: 0 3px 10px rgba(29,78,216,.28);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.logo__sub {
  font-size: 10.5px; font-weight: 650; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted-light);
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 650; color: var(--ink-soft);
  text-decoration: none !important; transition: color .15s, background .15s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }
.nav__link .chev { transition: transform .2s ease; opacity: .55; }
.nav__item:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 292px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown--wide { min-width: 560px; }
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown__link {
  display: block; padding: 10px 13px; border-radius: var(--r-sm);
  text-decoration: none !important; transition: background .14s;
}
.dropdown__link:hover { background: var(--blue-50); }
.dropdown__title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.dropdown__desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dropdown__sep { grid-column: 1/-1; height: 1px; background: var(--line-soft); margin: 8px 0; }
.dropdown__all {
  grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between;
  padding: 11px 13px; border-radius: var(--r-sm); background: var(--canvas);
  font-size: 13.5px; font-weight: 700; color: var(--blue-600); text-decoration: none !important;
  margin-top: 2px;
}
.dropdown__all:hover { background: var(--blue-50); }

.header__cta { display: flex; align-items: center; gap: 10px; }

/* Mobile nav */
.burger {
  display: none; width: 42px; height: 42px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  place-items: center; flex-shrink: 0;
}
.burger span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative; transition: background .15s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .22s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0;
  background: #fff; z-index: 90; overflow-y: auto; padding: 20px 24px 60px;
  border-top: 1px solid var(--line);
}
body.nav-open .mobile-nav { display: block; }
.mobile-nav__group { border-bottom: 1px solid var(--line-soft); }
.mobile-nav__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 2px; background: none; border: 0; cursor: pointer;
  font-size: 16.5px; font-weight: 700; color: var(--ink); text-align: left;
}
.mobile-nav__toggle svg { transition: transform .2s; color: var(--muted-light); }
.mobile-nav__group.open .mobile-nav__toggle svg { transform: rotate(180deg); }
.mobile-nav__panel { display: none; padding-bottom: 10px; }
.mobile-nav__group.open .mobile-nav__panel { display: block; }
.mobile-nav__link {
  display: block; padding: 11px 2px 11px 14px; font-size: 14.5px;
  font-weight: 600; color: var(--ink-soft); text-decoration: none !important;
  border-left: 2px solid var(--line);
}
.mobile-nav__link:hover { color: var(--blue-600); border-left-color: var(--blue-600); }
.mobile-nav > a.mobile-nav__top {
  display: block; padding: 16px 2px; font-size: 16.5px; font-weight: 700;
  color: var(--ink); border-bottom: 1px solid var(--line-soft); text-decoration: none !important;
}
.mobile-nav__cta { margin-top: 26px; display: grid; gap: 11px; }

/* -------------------------------------------------------------------- 7. Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 42%, var(--navy-700) 100%);
  color: #e2e8f0;
  padding: 76px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 82% 12%, rgba(29,78,216,.42), transparent 62%),
    radial-gradient(ellipse 55% 45% at 8% 92%, rgba(245,158,11,.16), transparent 60%);
  pointer-events: none;
}
.hero__grid-lines {
  position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__layout {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: var(--sp-16); align-items: center;
  padding-bottom: var(--sp-16);
}
.hero h1 { color: #fff; margin-bottom: var(--sp-5); font-size: var(--fs-4xl); }
.hero h1 .hl {
  color: var(--amber-400);
  background: linear-gradient(180deg, transparent 68%, rgba(245,158,11,.24) 68%);
  padding: 0 2px;
}
.hero__sub {
  font-size: var(--fs-md); line-height: 1.78; color: #a8b8cd;
  margin-bottom: var(--sp-8); max-width: 620px;
}
.hero__sub strong { color: #e2e8f0; font-weight: 700; }
.hero__micro {
  margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 13px; color: #7d8fa8;
}
.hero__micro span { display: inline-flex; align-items: center; gap: 7px; }
.hero__micro svg { color: var(--green-600); flex-shrink: 0; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__panel {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--r-xl); padding: 26px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-xl);
}
.hero__panel-title {
  font-size: 11.5px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase;
  color: #7d8fa8; margin-bottom: 18px;
}
.hero__chain { display: flex; flex-direction: column; gap: 2px; }
.hero__chain-item {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; border-radius: var(--r-md);
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07);
}
.hero__chain-item .dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--amber-400); box-shadow: 0 0 0 4px rgba(245,158,11,.16);
}
.hero__chain-item .t { font-size: 13px; font-weight: 700; color: #e2e8f0; }
.hero__chain-item .d { font-size: 12px; color: #7d8fa8; margin-top: 1px; }
.hero__chain-arrow {
  display: grid; place-items: center; height: 15px; color: rgba(255,255,255,.2);
}

/* Trust bar */
.trustbar {
  position: relative; z-index: 2;
  background: rgba(0,0,0,.28);
  border-top: 1px solid rgba(255,255,255,.09);
}
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trustbar__item {
  padding: 26px 22px; text-align: center;
  border-left: 1px solid rgba(255,255,255,.08);
}
.trustbar__item:first-child { border-left: 0; }
.trustbar__value {
  font-size: 28px; font-weight: 800; color: #fff;
  letter-spacing: -.025em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.trustbar__label {
  font-size: 12.5px; font-weight: 650; color: #93a5bd;
  letter-spacing: .04em; margin-top: 5px;
}
.trustbar__note { font-size: 11.5px; color: #64748b; margin-top: 3px; }

/* ------------------------------------------------------------ 8. Page banner */
.page-hero {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #cbd5e1; padding: 52px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 88% 0%, rgba(29,78,216,.4), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); margin-bottom: var(--sp-4); }
.page-hero p { font-size: var(--fs-md); color: #a8b8cd; line-height: 1.75; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; margin-bottom: var(--sp-5);
}
.crumbs a { color: #8fa3bd; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span.sep { color: #475569; }
.crumbs span.cur { color: #e2e8f0; font-weight: 600; }

/* ------------------------------------------------------------------ 9. Cards */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-xs);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card--pad { padding: 26px 26px 28px; }
.card--hover:hover {
  border-color: #bfdbfe; box-shadow: var(--sh-md); transform: translateY(-3px);
}

.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px;
}
.card__icon--amber { background: #fffbeb; color: var(--amber-500); }
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* Product card */
.pcard {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.pcard:hover { border-color: #bfdbfe; box-shadow: var(--sh-lg); transform: translateY(-3px); }
.pcard__media { position: relative; }
.pcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__tag {
  display: inline-block; font-size: 11px; font-weight: 750; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue-600); background: var(--blue-50);
  padding: 4px 10px; border-radius: var(--r-full); margin-bottom: 11px; align-self: flex-start;
}
.pcard h3 { font-size: 17.5px; margin-bottom: 9px; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a:hover { color: var(--blue-600); }
.pcard__desc { font-size: 14px; color: var(--muted); line-height: 1.68; margin-bottom: 15px; flex: 1; }
.pcard__specs { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-bottom: 16px; }
.pcard__spec {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; padding: 4px 0;
}
.pcard__spec dt { color: var(--muted-light); }
.pcard__spec dd { color: var(--ink-soft); font-weight: 650; text-align: right; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* App card */
.acard {
  display: block; text-decoration: none !important; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 26px 24px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.acard:hover { border-color: #bfdbfe; box-shadow: var(--sh-md); transform: translateY(-3px); }
.acard__icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue-50), #dbeafe);
  color: var(--blue-700); margin-bottom: 15px;
}
.acard h3 { font-size: 17px; margin-bottom: 8px; }
.acard p { font-size: 14px; color: var(--muted); line-height: 1.68; margin-bottom: 14px; }

/* Feature row */
.frow {
  display: flex; gap: 16px; padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.frow:last-child { border-bottom: 0; }
.frow__num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; background: var(--blue-600); color: #fff;
  font-size: 13.5px; font-weight: 800;
}
.frow h3 { font-size: 16.5px; margin-bottom: 7px; }
.frow p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.section--dark .frow { border-bottom-color: rgba(255,255,255,.09); }
.section--dark .frow h3 { color: #fff; }
.section--dark .frow p { color: #94a3b8; }
.section--dark .frow__num { background: var(--amber-500); color: var(--navy-950); }

/* --------------------------------------------------------- 10. Image slots */
/* 占位图容器。替换真实照片时，直接把 <img> 放进 .media 里即可，
   或者覆写 --media-src 背景图。 */
.media {
  position: relative; width: 100%; overflow: hidden;
  background-color: var(--canvas-alt);
  background-image:
    linear-gradient(135deg, rgba(148,163,184,.09) 25%, transparent 25%),
    linear-gradient(225deg, rgba(148,163,184,.09) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(148,163,184,.09) 25%, transparent 25%),
    linear-gradient(315deg, rgba(148,163,184,.09) 25%, transparent 25%);
  background-size: 26px 26px;
  background-position: 0 0, 13px 0, 13px -13px, 0 13px;
  display: grid; place-items: center;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--16x9  { aspect-ratio: 16 / 9; }
.media--4x3   { aspect-ratio: 4 / 3; }
.media--3x2   { aspect-ratio: 3 / 2; }
.media--1x1   { aspect-ratio: 1 / 1; }
.media--21x9  { aspect-ratio: 21 / 9; }
.media__note {
  position: relative; z-index: 2; text-align: center; padding: 16px;
  font-size: 12px; font-weight: 650; color: var(--muted-light);
  line-height: 1.6; max-width: 260px;
}
.media__note code {
  display: block; margin-top: 6px; font-family: var(--font-mono);
  font-size: 10.5px; color: #b91c1c; background: #fef2f2;
  padding: 3px 7px; border-radius: 4px; word-break: break-all;
}

/* -------------------------------------------------------------- 11. Prose */
.prose { font-size: 15.5px; line-height: 1.82; color: var(--ink-soft); }
.prose > * + * { margin-top: var(--sp-5); }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-10); margin-bottom: var(--sp-4); }
.prose h3 { font-size: 18px; margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li {
  position: relative; padding-left: 26px; margin-bottom: 10px; list-style: none;
}
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--blue-600);
}
.prose ol { counter-reset: ol; }
.prose ol li {
  position: relative; padding-left: 32px; margin-bottom: 10px;
  counter-increment: ol; list-style: none;
}
.prose ol li::before {
  content: counter(ol); position: absolute; left: 0; top: 3px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-700);
  font-size: 11.5px; font-weight: 800; display: grid; place-items: center;
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { font-weight: 650; }

/* Callouts */
.callout {
  border-radius: var(--r-md); padding: 20px 24px; font-size: 14.5px; line-height: 1.75;
  border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-700);
}
.callout--amber { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.callout--green { background: var(--green-50); border-color: #bbf7d0; color: #166534; }
.callout strong { color: inherit; }
.callout__title {
  display: flex; align-items: center; gap: 8px;
  font-weight: 750; margin-bottom: 7px; font-size: 15px;
}

/* ------------------------------------------------------------- 12. Tables */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  background: var(--canvas-alt); text-align: left; padding: 13px 16px;
  font-size: 12.5px; font-weight: 750; color: var(--ink);
  letter-spacing: .02em; white-space: nowrap;
  border-bottom: 1.5px solid var(--line);
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbfc; }
td code, th code {
  font-family: var(--font-mono); font-size: 12.5px;
  background: var(--canvas-alt); padding: 2px 7px; border-radius: 5px;
  color: var(--blue-700); font-weight: 650;
}

/* Spec grid */
.specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
.specs__item { background: var(--surface); padding: 16px 18px; }
.specs__k {
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted-light); margin-bottom: 5px;
}
.specs__v { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }

/* Tabs / grade selector */
.grades { display: flex; flex-direction: column; gap: 12px; }
.grade {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); overflow: hidden;
}
.grade__head {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 17px 20px; background: none; border: 0; cursor: pointer;
  text-align: left; transition: background .15s;
}
.grade__head:hover { background: var(--canvas); }
.grade__code {
  font-family: var(--font-mono); font-size: 13px; font-weight: 750;
  background: var(--navy-900); color: #fff; padding: 4px 10px;
  border-radius: 6px; flex-shrink: 0; letter-spacing: .02em;
}
.grade__title { flex: 1; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.grade__chev { color: var(--muted-light); transition: transform .22s; flex-shrink: 0; }
.grade.open .grade__chev { transform: rotate(180deg); }
.grade__body { display: none; padding: 0 20px 22px; }
.grade.open .grade__body { display: block; }
.grade__body > * + * { margin-top: 14px; }

/* ------------------------------------------------------------- 13. FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; padding: 21px 4px; background: none; border: 0; cursor: pointer;
  text-align: left; font-size: 16px; font-weight: 700; color: var(--ink);
  line-height: 1.55; transition: color .15s;
}
.faq__q:hover { color: var(--blue-600); }
.faq__q svg { flex-shrink: 0; margin-top: 4px; color: var(--muted-light); transition: transform .22s; }
.faq__item.open .faq__q svg { transform: rotate(45deg); color: var(--blue-600); }
.faq__a { display: none; padding: 0 4px 24px; max-width: 800px; }
.faq__item.open .faq__a { display: block; }
.faq__a p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.faq__a p + p { margin-top: 12px; }
.faq__a strong { color: var(--ink-soft); }

/* ---------------------------------------------------------- 14. CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-700) 100%);
  border-radius: var(--r-xl); padding: 52px 56px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--sp-8);
  position: relative; overflow: hidden; box-shadow: var(--sh-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 100% at 92% 50%, rgba(245,158,11,.2), transparent 62%);
  pointer-events: none;
}
.cta-band__text { position: relative; z-index: 2; flex: 1; min-width: 300px; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: 12px; }
.cta-band p { color: #b8c8de; font-size: var(--fs-md); line-height: 1.72; max-width: 620px; }
.cta-band .btn-row { position: relative; z-index: 2; }

/* ---------------------------------------------------------------- 15. Form */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 34px 36px 30px; box-shadow: var(--sh-md);
}
.form-card__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.badge {
  font-size: 12px; font-weight: 700; padding: 5px 12px;
  border-radius: var(--r-full); background: var(--blue-50); color: var(--blue-700);
}
.badge--green { background: var(--green-50); color: #15803d; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13px; font-weight: 700; color: var(--ink);
  margin-bottom: 7px; display: block;
}
.field .req { color: #dc2626; }
.field .hint { font-size: 12px; color: var(--muted-light); margin-top: 6px; line-height: 1.55; }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-md); font-size: 14.5px; background: #fff;
  color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3.5px rgba(37,99,235,.13);
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
}
.consent input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--blue-600); }
.consent label { font-weight: 400; font-size: 12.5px; color: var(--muted); margin: 0; }

.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-note { font-size: 12.5px; color: var(--muted-light); text-align: center; }

/* 表单提交反馈 */
.form-notice {
  grid-column: 1 / -1;
  padding: 14px 16px; border-radius: var(--r-md);
  font-size: var(--fs-sm); line-height: 1.55;
}
.form-notice--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.form-notice--error a { color: #991b1b; font-weight: 650; }

.form-success {
  text-align: center; padding: 44px 28px;
  background: var(--green-50);
  border: 1px solid #bbf7d0; border-radius: var(--r-lg);
}
.form-success__icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--green-600); color: #fff;
  font-size: 28px; font-weight: 700; line-height: 1;
}
.form-success h3 { font-size: var(--fs-xl); margin-bottom: 10px; color: var(--ink); }
.form-success p  { color: var(--ink-soft); font-size: var(--fs-base); margin-bottom: 8px; }
.form-success__hint { font-size: var(--fs-sm) !important; color: var(--muted) !important; }
.form-success__hint a { color: var(--blue-600); font-weight: 650; }

/* Contact info tiles */
.ctile {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 20px 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.ctile__icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600);
}
.ctile__k {
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted-light); margin-bottom: 3px;
}
.ctile__v { font-size: 15px; font-weight: 650; color: var(--ink); line-height: 1.5; }
.ctile__v a { color: var(--ink); text-decoration: none; }
.ctile__v a:hover { color: var(--blue-600); text-decoration: underline; }
.ctile__sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ----------------------------------------------------------- 16. Floating WA */
.wa-float {
  position: fixed; right: 22px; bottom: 24px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; padding: 13px 20px;
  border-radius: var(--r-full); font-size: 14.5px; font-weight: 750;
  text-decoration: none !important; box-shadow: 0 8px 24px rgba(37,211,102,.42);
  transition: transform .18s, box-shadow .18s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.5); color: #fff; }
.wa-float svg { flex-shrink: 0; }

/* ------------------------------------------------------- 17. Stats / misc */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-5);
}
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 22px;
}
.stat__v {
  font-size: 32px; font-weight: 800; color: var(--blue-600);
  line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.stat__l { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.stat__n { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

.check-list { display: grid; gap: 11px; }
.check-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.68;
}
.check-list svg { flex-shrink: 0; margin-top: 4px; color: var(--green-600); }

.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  font-size: 13px; font-weight: 650; padding: 7px 14px;
  border-radius: var(--r-full); background: var(--surface);
  border: 1px solid var(--line); color: var(--ink-soft);
}

/* Sidebar layout for product/app pages */
.split { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: var(--sp-12); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--sp-5); }
.sidebar-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
}
.sidebar-card h3 { font-size: 16.5px; margin-bottom: 12px; }
.sidebar-nav { display: grid; gap: 2px; }
.sidebar-nav a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none !important; border-left: 2px solid transparent;
}
.sidebar-nav a:hover { background: var(--blue-50); color: var(--blue-600); border-left-color: var(--blue-600); }
.sidebar-nav a.active { background: var(--blue-50); color: var(--blue-700); border-left-color: var(--blue-600); font-weight: 700; }

/* ---------------------------------------------------------- 18. Footer */
.footer {
  background: var(--navy-950); color: #8899ad;
  padding: var(--sp-16) 0 var(--sp-8); font-size: 14px;
}
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-10); padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: #5c6c80; }
.footer__about {
  margin-top: 18px; font-size: 13.5px; line-height: 1.75;
  color: #7d8ea3; max-width: 330px;
}
.footer__certs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.footer__cert {
  font-size: 11.5px; font-weight: 700; padding: 5px 11px;
  border-radius: var(--r-full); background: rgba(255,255,255,.07);
  color: #a8b8cd; border: 1px solid rgba(255,255,255,.09);
}
.footer h4 {
  font-size: 12px; font-weight: 750; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; margin-bottom: 18px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a {
  color: #8899ad; font-size: 13.5px; text-decoration: none;
  transition: color .14s, padding-left .14s;
}
.footer__links a:hover { color: var(--amber-400); padding-left: 3px; }
.footer__contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.65; margin-bottom: 13px;
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 3px; color: #5c6c80; }
.footer__contact-item a { color: #a8b8cd; text-decoration: none; }
.footer__contact-item a:hover { color: var(--amber-400); }

.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #a8b8cd;
  border: 1px solid rgba(255,255,255,.09); transition: background .15s, color .15s, transform .15s;
}
.footer__social a:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }

.footer__bottom {
  padding-top: var(--sp-6); display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: var(--sp-4);
  font-size: 12.5px; color: #5c6c80;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { color: #7d8ea3; text-decoration: none; }
.footer__legal a:hover { color: #fff; }

/* --------------------------------------------------- 19. Placeholder marker */
/* 未替换的公司信息会以醒目样式呈现，方便你一眼找到 */
.ph {
  background: #fef2f2; color: #b91c1c; font-weight: 650;
  padding: 1px 6px; border-radius: 4px; border: 1px dashed #fca5a5;
  font-size: .94em;
}
.section--dark .ph, .hero .ph, .footer .ph {
  background: rgba(220,38,38,.22); color: #fca5a5; border-color: rgba(252,165,165,.45);
}
.page-hero .ph { background: rgba(220,38,38,.2); color: #fca5a5; border-color: rgba(252,165,165,.4); }

/* ------------------------------------------------------- 20. 404 / utility */
.center-text { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------- 21. Responsive */
@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero__visual { max-width: 560px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 900px) {
  :root {
    --fs-4xl: 36px; --fs-3xl: 30px; --fs-2xl: 25px; --fs-xl: 21px;
  }
  .nav { display: none; }
  .header__cta .btn--ghost { display: none; }
  .burger { display: grid; }
  .section { padding: var(--sp-16) 0; }
  .section--tight { padding: var(--sp-12) 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 52px; }
  .cta-band { padding: 40px 32px; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item:nth-child(3) { border-left: 0; }
  .trustbar__item { border-top: 1px solid rgba(255,255,255,.08); }
  .trustbar__item:nth-child(-n+2) { border-top: 0; }
  .form-card { padding: 26px 22px; }
}

@media (max-width: 640px) {
  :root { --fs-4xl: 31px; --fs-3xl: 26px; --fs-2xl: 22px; }
  .container, .container-narrow { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .cta-band { padding: 32px 24px; border-radius: var(--r-lg); }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .header__cta .btn { width: auto; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; border-radius: 50%; right: 16px; bottom: 16px; }
  .media__note { font-size: 11px; padding: 12px; }
  .hero__panel { padding: 20px; }
  .section-head { margin-bottom: var(--sp-8); }
}

/* ------------------------------------------------------------ 22. Print */
@media print {
  .header, .footer, .wa-float, .cta-band, .mobile-nav { display: none !important; }
  body { background: #fff; }
  .section { padding: 20px 0; }
  a { color: #000; text-decoration: none; }
}
