/* PUBLINK.AI · 医疗设备行业 AI 服务解决方案 */

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.modal-open { overflow: hidden; }

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

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
  min-width: 0;
}

.br { display: inline; }
@media (min-width: 768px) {
  .br { display: block; }
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}

.section { padding-block: var(--space); }
.section--light { background: var(--color-bg); }
.section--white { background: var(--color-white); }
.section--dark {
  background: var(--gradient-section-dark);
  color: var(--color-white);
}
.section--base {
  background: var(--gradient-section-base);
  padding-block: var(--space-sm);
}
.section--cta {
  background: var(--color-bg-deep);
  color: var(--color-white);
  padding-block: clamp(5rem, 10vw, 7.5rem);
}

.section-head {
  max-width: min(68rem, 100%);
  margin: 0 0 clamp(2.4rem, 5vw, 3.5rem);
  display: grid;
  gap: 0.95rem;
}
.section-head--wide { max-width: min(64rem, 100%); }
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--center p { margin-inline: auto; }

.section-head h2 {
  margin: 0 auto;
  max-width: 28em;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
  word-break: keep-all;
}
.section-head p {
  max-width: 48rem;
  width: 100%;
  min-width: 0;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.75;
  word-break: keep-all;
  text-wrap: pretty;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Dark section titles — must win over .section-head h2 */
.section-head--dark h2 {
  color: var(--color-white) !important;
  opacity: 1;
}
.section-head--dark p {
  color: var(--glass-white-82) !important;
}
.section-head--on-media h2 { color: var(--color-navy-2); }
.section-head--on-media p { color: var(--color-muted); }

/* Optional helper kept for compatibility */
.section-head--nowrap h2,
.section-head--nowrap p {
  white-space: normal;
  text-wrap: balance;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 100ms var(--ease), filter var(--fast) var(--ease), background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.btn--primary {
  color: var(--color-white);
  background: var(--gradient-brand);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(1px); }
.btn--lg { min-height: 3.1rem; padding-inline: 1.7rem; }
.btn--nav {
  min-height: 2.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  font-weight: 600;
}
.btn--nav:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}
.nav.is-scrolled .btn--nav {
  border: 0;
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(78, 141, 255, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav.is-scrolled .btn--nav:hover {
  filter: brightness(1.05);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* —— Nav（对齐 solution-equipment-v3） —— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  min-height: var(--nav-height);
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--fast) var(--ease),
    border-color var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease),
    color var(--fast) var(--ease);
}
.nav.is-scrolled {
  color: var(--color-ink);
  background: #fff;
  border-bottom-color: rgba(216, 224, 234, 0.88);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav__inner {
  width: min(100%, 80rem);
  min-height: var(--nav-height);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: var(--touch);
}
.nav__logo { height: clamp(1.85rem, 2.4vw, 2.1rem); width: auto; }
.nav__logo--color { display: none; }
.nav.is-scrolled .nav__logo--white { display: none; }
.nav.is-scrolled .nav__logo--color { display: block; }

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav.is-scrolled .nav__links { color: #64748b; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  color: inherit;
  transition: color var(--fast) var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav.is-scrolled .nav__links a:hover {
  color: var(--color-tech);
  font-weight: 600;
}

.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav__burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.nav.is-scrolled .nav__burger {
  border-color: var(--color-line);
  background: var(--color-bg);
  color: var(--color-ink);
}
.nav__burger span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 2px;
}
.nav__drawer {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 1.25rem 1.15rem;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.06);
}
.nav__drawer:not([hidden]) { display: flex; }
.nav__drawer a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 0.4rem;
  color: #64748b;
  font-weight: 600;
}
.nav__drawer a:hover { color: var(--color-tech); }
.nav__drawer .btn { margin-top: 0.5rem; width: 100%; }

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100dvh, 61rem);
  min-height: min(100dvh, 61rem);
  display: grid;
  align-items: center;
  padding: 8rem var(--gutter) 8.5rem;
  color: var(--color-white);
  background: var(--color-navy);
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    var(--gradient-hero-scrim),
    var(--gradient-hero-bottom),
    var(--gradient-hero-glow);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(50rem, 62vw);
  max-width: 100%;
  padding-top: 2rem;
  min-width: 0;
  overflow-x: clip;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-rule);
  background: var(--glass-white-08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--glass-white-90);
}
.hero__kicker b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.45rem;
  padding: 0 0.55rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-cyan), var(--color-tech));
  color: var(--color-white);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.hero h1 {
  margin: 0;
  max-width: 16em;
  width: 100%;
  min-width: 0;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 800;
  overflow-wrap: break-word;
  word-break: keep-all;
}
.hero__line {
  display: block;
  color: var(--color-white);
  white-space: normal;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.hero__line--grad {
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__lede {
  max-width: 32rem;
  margin: 1.15rem 0 0;
  color: var(--glass-white-82);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  word-break: keep-all;
  white-space: normal;
  text-wrap: pretty;
  overflow-wrap: normal;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 36rem;
  margin: 0.65rem 0 0;
}
.hero__metric {
  padding: 0.95rem 0.9rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid var(--glass-white-14);
  background: var(--glass-metric);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 0;
}
.hero__metric strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__metric span {
  display: block;
  margin-top: 0.25rem;
  color: var(--glass-white-68);
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 600;
  word-break: keep-all;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

/* Hero signals */
.hero__signals {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}
.signal {
  position: absolute;
  min-width: 15rem;
  max-width: 19rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--glass-rule);
  border-radius: var(--radius);
  color: var(--color-white);
  background: var(--glass-panel);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.signal--in,
.signal--out {
  min-width: 13.5rem;
  padding: 0.85rem 0.95rem;
  opacity: 0.92;
}
.signal--ai {
  min-width: 19rem;
  border-color: var(--color-cyan-mid);
  background: var(--glass-panel-ai);
  box-shadow: var(--shadow-ai);
}
.signal strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  word-break: keep-all;
}
.signal > span:not(.signal__badge) {
  display: block;
  margin-top: 0.28rem;
  color: var(--glass-white-68);
  font-size: 0.76rem;
  line-height: 1.45;
}
.signal__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--color-badge-muted);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.signal__badge--ai {
  background: var(--gradient-badge-ai);
}
.signal__badge--out {
  background: var(--color-tech-mid);
}
.signal__rows {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--glass-white-14);
}
.signal__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
  color: var(--glass-white-68);
  font-size: 0.78rem;
}
.signal__row b {
  color: var(--color-cyan);
  font-weight: 700;
  position: relative;
}
.signal__row b::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: var(--color-cyan);
  vertical-align: middle;
  animation: pulse 1.8s var(--ease) infinite;
}
.signal--in { top: 28%; right: 34%; }
.signal--ai { top: 46%; right: 18%; }
.signal--out { right: 28%; bottom: 14%; }

/* Hero enter motion */
.hero-enter .hero__kicker,
.hero-enter .hero h1,
.hero-enter .hero__lede,
.hero-enter .hero__metrics,
.hero-enter .hero__actions,
.hero-enter .signal {
  opacity: 1;
  transform: none;
}
body.motion-ready .hero-enter .hero__kicker,
body.motion-ready .hero-enter .hero h1,
body.motion-ready .hero-enter .hero__lede,
body.motion-ready .hero-enter .hero__metrics,
body.motion-ready .hero-enter .hero__actions,
body.motion-ready .hero-enter .signal {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp var(--med) var(--ease) both;
}
body.motion-ready .hero-enter .hero__kicker { animation-delay: 40ms; }
body.motion-ready .hero-enter .hero h1 { animation-delay: 100ms; }
body.motion-ready .hero-enter .hero__lede { animation-delay: 180ms; }
body.motion-ready .hero-enter .hero__metrics { animation-delay: 260ms; }
body.motion-ready .hero-enter .hero__actions { animation-delay: 340ms; }
body.motion-ready .hero-enter .signal--in { animation-delay: 420ms; }
body.motion-ready .hero-enter .signal--ai { animation-delay: 500ms; }
body.motion-ready .hero-enter .signal--out { animation-delay: 580ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

/* —— Scene map —— */
.device-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}
.device-types li {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-navy-2);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.scene-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr) auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 1.5rem 0 0.25rem;
  min-width: 0;
  max-width: 56rem;
  margin-inline: auto;
}
.scene-map__node {
  min-height: 6.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  display: grid;
  align-content: center;
  gap: 0.4rem;
  min-width: 0;
}
.scene-map__node--ai {
  border-color: var(--color-cyan-35);
  background: linear-gradient(145deg, var(--color-cyan-08), var(--color-white) 55%);
  box-shadow: inset 3px 0 0 var(--color-cyan);
}
.scene-map__node--goal {
  border-color: var(--color-tech-30);
  background: linear-gradient(145deg, var(--color-tech-08), var(--color-white) 55%);
}
.scene-map__label {
  color: var(--color-tech);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.scene-map__node strong {
  font-size: 0.98rem;
  color: var(--color-ink);
  font-weight: 800;
  word-break: keep-all;
  line-height: 1.4;
}
.scene-map__cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
.scene-map__cluster span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  word-break: keep-all;
}
.scene-map__arrow {
  display: grid;
  place-items: center;
  width: 1.5rem;
}
.scene-map__arrow span {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--gradient-arrow-h);
  position: relative;
}
.scene-map__arrow span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--color-cyan);
  border-top: 1.5px solid var(--color-cyan);
  transform: translateY(-50%) rotate(45deg);
}

/* —— Pains —— */
.pains-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.pains-intro {
  min-width: 0;
  position: relative;
  z-index: 1;
  padding-right: 0.5rem;
}
.pains-intro h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  color: var(--color-navy-2);
  max-width: 12em;
  white-space: normal;
  text-wrap: balance;
  word-break: keep-all;
  line-height: 1.28;
}
.pains-intro p {
  margin-top: 1.1rem;
  max-width: 28em;
  color: var(--color-muted);
  line-height: 1.75;
  word-break: keep-all;
  white-space: normal;
  text-wrap: pretty;
}
.pain-list {
  min-width: 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-line);
  background: var(--color-white);
}
.pain-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--color-line);
  min-width: 0;
}
.pain-list__num {
  color: var(--color-tech);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}
.pain-list h3 {
  font-size: 1.15rem;
  color: var(--color-ink);
  margin-bottom: 0.45rem;
  word-break: keep-all;
}
.pain-list p {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  word-break: keep-all;
}

/* —— Change path —— */
.change-path {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
  position: relative;
}
.change-path::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.35rem;
  height: 2px;
  background: var(--gradient-change-line);
  opacity: 0.45;
  pointer-events: none;
}
.change-path__item {
  position: relative;
  padding: 2.4rem 1.15rem 1.35rem;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  min-width: 0;
}
.change-path__item--1 { grid-column: span 3; }
.change-path__item--2 { grid-column: span 3; margin-top: 1.25rem; }
.change-path__item--3 { grid-column: span 3; }
.change-path__item--4 { grid-column: span 3; margin-top: 1.25rem; }
.change-path__num {
  position: absolute;
  top: 0.85rem;
  left: 1.15rem;
  color: var(--color-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.change-path__item h3 {
  font-size: 1.05rem;
  color: var(--color-navy-2);
  margin-bottom: 0.5rem;
  word-break: keep-all;
}
.change-path__item p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  word-break: keep-all;
}

/* —— Workflow flow —— */
.flow-track {
  position: relative;
  padding-top: 0.5rem;
}
.flow-track__path {
  display: none;
  width: 100%;
  height: 8rem;
  margin-bottom: -2rem;
}
.flow-track__path path {
  fill: none;
  stroke: var(--color-cyan-45);
  stroke-width: 1.5;
  stroke-dasharray: 5 8;
}
.flow-nodes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.flow-node {
  min-width: 0;
  padding: 1.2rem 1rem 1.15rem;
  border: 1px solid var(--color-white-12);
  background: var(--color-white-04);
}
.flow-node:nth-child(even) { margin-top: 1.5rem; }
.flow-node__num {
  display: block;
  color: var(--color-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.55rem;
}
.flow-node h3 {
  font-size: 0.98rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  word-break: keep-all;
}
.flow-node ul {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}
.flow-node li {
  color: var(--glass-white-68);
  font-size: 0.84rem;
  padding-left: 0.75rem;
  position: relative;
  word-break: keep-all;
}
.flow-node li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--color-cyan);
}
.flow-node__metric {
  padding-top: 0.7rem;
  border-top: 1px solid var(--color-white-10);
  color: var(--color-ai);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

/* —— Agent layout —— */
.agent-shell {
  border: 1px solid var(--color-line);
  background:
    linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
  box-shadow: var(--shadow-soft);
  overflow: clip;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 顶部五阶段流程导航 */
.flow-stages.agent-tabs {
  position: relative;
  top: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1rem 0.95rem;
  background: linear-gradient(180deg, #0a1c44 0%, var(--color-navy) 100%);
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.flow-stages.agent-tabs::before { content: none; }
.flow-stages__arrow {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(19, 194, 194, 0.55));
  position: relative;
}
.flow-stages__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid rgba(19, 194, 194, 0.75);
  border-top: 1.5px solid rgba(19, 194, 194, 0.75);
  transform: translateY(-50%) rotate(45deg);
}
.agent-tab.flow-stage {
  display: grid;
  grid-template-columns: auto;
  justify-items: center;
  gap: 0.28rem;
  flex: 0 0 auto;
  min-width: 5.6rem;
  min-height: 3.4rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.agent-tab.flow-stage .agent-tab__num {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
}
.agent-tab.flow-stage .agent-tab__text {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: keep-all;
  white-space: nowrap;
}
.agent-tab.flow-stage:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}
.agent-tab.flow-stage.is-active,
.agent-tab.flow-stage[aria-selected="true"] {
  color: var(--color-white);
  border-color: rgba(19, 194, 194, 0.45);
  background: linear-gradient(180deg, rgba(19, 194, 194, 0.2), rgba(78, 141, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(19, 194, 194, 0.12);
}
.agent-tab.flow-stage.is-active .agent-tab__num,
.agent-tab.flow-stage[aria-selected="true"] .agent-tab__num {
  color: var(--color-white);
  background: var(--gradient-brand);
}

.agent-layout {
  display: block;
  min-width: 0;
}
.agent-panels {
  position: relative;
  min-width: 0;
  min-height: 30rem;
  padding: 1.35rem 1.35rem 1.45rem;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(78, 141, 255, 0.08), transparent 55%),
    var(--color-white);
}
.agent-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem;
  align-items: start;
  min-width: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--med) var(--ease), transform var(--med) var(--ease);
}
.agent-panel.is-active {
  opacity: 1;
  transform: none;
}
.agent-panel[hidden] { display: none; }
.agent-panel__copy {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  min-width: 0;
  padding: 0.15rem 0.1rem 0;
}
.agent-panel__stage {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(19, 194, 194, 0.12), rgba(78, 141, 255, 0.12));
  color: var(--color-tech);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.agent-panel__copy h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  color: var(--color-navy-2);
  white-space: normal;
  word-break: keep-all;
}
.agent-panel__lede {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  word-break: keep-all;
}
.agent-panel__metric {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(78, 141, 255, 0.22);
  border-radius: 0.55rem;
  background: linear-gradient(90deg, rgba(78, 141, 255, 0.08), rgba(19, 194, 194, 0.06));
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-ink);
  word-break: keep-all;
  white-space: nowrap;
}
.agent-panel__metric span {
  color: var(--color-tech);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.agent-panel__groups {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.2rem;
}
.agent-panel__group {
  border: 1px solid var(--color-line);
  border-radius: 0.7rem;
  background: var(--color-bg);
  padding: 0.85rem 0.95rem 0.95rem;
  min-width: 0;
}
.agent-panel__group h4 {
  margin: 0 0 0.55rem;
  color: var(--color-navy-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.agent-panel__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
}
.agent-panel__group:last-child .agent-panel__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 0.75rem;
}
.agent-panel__list li {
  position: relative;
  min-width: 0;
  padding: 0.45rem 0.2rem 0.45rem 0.9rem;
  color: var(--color-text);
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: keep-all;
  border-bottom: 1px solid var(--color-line-soft);
}
.agent-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--color-cyan);
}
.agent-panel__visual {
  margin: 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

/* —— HTML mock scenes —— */
.mock {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: 0.95rem;
  background: var(--color-white);
  box-shadow: 0 18px 40px rgba(7, 27, 75, 0.1);
  overflow: hidden;
}
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  background: linear-gradient(180deg, #0a1c44 0%, var(--color-navy) 100%);
  color: var(--color-white);
  flex: 0 0 auto;
}
.mock__dots {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 0.55rem;
  border-radius: var(--radius-pill);
  background:
    radial-gradient(circle at 0.28rem 50%, #ff5f57 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 1.05rem 50%, #febc2e 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 1.82rem 50%, #28c840 0.22rem, transparent 0.24rem);
  opacity: 0.9;
}
.mock__chrome strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.9rem;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(78, 141, 255, 0.08), transparent 55%),
    var(--color-bg);
  flex: 1 1 auto;
  min-width: 0;
}
.mock__card {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: 0.7rem;
  background: var(--color-white);
  min-width: 0;
}
.mock__card--ai {
  border-color: rgba(19, 194, 194, 0.35);
  background: linear-gradient(160deg, rgba(19, 194, 194, 0.08), var(--color-white) 60%);
}
.mock__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-tech);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.mock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.mock__chips > span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}
.mock__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: stretch;
  min-width: 0;
}
.mock__row > .mock__card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mock__kv {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mock__kv li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  min-width: 0;
}
.mock__kv li > span {
  color: var(--color-muted);
  min-width: 0;
}
.mock__kv li > b {
  color: var(--color-navy-2);
  font-weight: 700;
  white-space: nowrap;
  justify-self: end;
}
.mock__priority {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--color-bg);
  margin-bottom: 0.4rem;
}
.mock__priority:last-child { margin-bottom: 0; }
.mock__priority > b {
  font-size: 0.8rem;
  color: var(--color-navy-2);
  font-weight: 800;
  line-height: 1.3;
}
.mock__priority > b.is-high { color: #c2410c; }
.mock__priority > span {
  font-size: 0.72rem;
  color: var(--color-muted);
  line-height: 1.4;
  word-break: keep-all;
}
.mock__sla {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mock__sla > strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mock__sla > span {
  display: block;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}
.mock__bar {
  margin-top: 0.55rem;
  height: 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--color-line-soft);
  overflow: hidden;
}
.mock__bar > i {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-brand);
}
.mock__bar.is-warn > i {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}
.mock__hint {
  display: block;
  margin-top: 0.4rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}
.mock__ai-text {
  margin: 0 0 0.5rem;
  color: var(--color-navy-2);
  font-size: 0.88rem;
  font-weight: 700;
  word-break: keep-all;
  line-height: 1.4;
}
.mock__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  counter-reset: step;
}
.mock__steps li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.55rem 0.4rem 1.85rem;
  border-radius: 0.45rem;
  background: var(--color-bg);
  border: 1px solid transparent;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: keep-all;
  counter-increment: step;
}
.mock__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-line);
  color: var(--color-muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}
.mock__steps li.is-done {
  color: var(--color-navy-2);
}
.mock__steps li.is-done::before {
  content: "✓";
  background: rgba(19, 194, 194, 0.18);
  color: var(--color-cyan);
}
.mock__steps li.is-active {
  color: var(--color-navy-2);
  background: rgba(78, 141, 255, 0.1);
  border-color: rgba(78, 141, 255, 0.22);
}
.mock__steps li.is-active::before {
  background: var(--gradient-brand);
  color: var(--color-white);
}

/* Engineer rows — explicit columns, no generic span rules */
.mock__people {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}
.mock__person {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) auto;
  column-gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--color-line);
  border-radius: 0.7rem;
  background: var(--color-white);
}
.mock__person.is-best {
  border-color: rgba(19, 194, 194, 0.4);
  background: linear-gradient(90deg, rgba(19, 194, 194, 0.08), var(--color-white) 52%);
}
.mock__avatar {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgba(19, 194, 194, 0.2), rgba(78, 141, 255, 0.2));
  color: var(--color-navy-2);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
}
.mock__person-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  min-width: 0;
}
.mock__person-name {
  display: block;
  color: var(--color-navy-2);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__person-meta {
  display: block;
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__person-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(19, 194, 194, 0.12);
  color: var(--color-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}
.mock__person-badge--muted {
  background: var(--color-bg);
  color: var(--color-muted);
  border: 1px solid var(--color-line);
}

/* Parts rows */
.mock__parts-list {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
.mock__part {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border-radius: 0.55rem;
  background: var(--color-bg);
  border: 1px solid var(--color-line-soft);
}
.mock__part.is-hit {
  border-color: rgba(19, 194, 194, 0.35);
  background: rgba(19, 194, 194, 0.06);
}
.mock__part-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.mock__part-name {
  display: block;
  color: var(--color-navy-2);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__part-meta {
  display: block;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__part-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(19, 194, 194, 0.12);
  color: var(--color-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}
.mock__part-badge--muted {
  background: var(--color-white);
  color: var(--color-tech);
  border: 1px solid rgba(78, 141, 255, 0.22);
}

.mock__big {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mock__capa {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.mock__capa > span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border-radius: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.mock__capa .is-open {
  background: rgba(78, 141, 255, 0.12);
  color: var(--color-tech);
}
.mock__capa .is-done {
  background: rgba(19, 194, 194, 0.12);
  color: #0d9b9b;
}
.mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 4.5rem;
  padding-top: 0.35rem;
  min-width: 0;
}
.mock__chart > span {
  flex: 1 1 0;
  height: var(--h, 50%);
  border-radius: 0.3rem 0.3rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, var(--color-cyan), var(--color-tech));
  opacity: 0.85;
  min-width: 0;
}

.agent-accordion { display: none; }
.agent-acc {
  border: 1px solid var(--color-line);
  background: var(--color-white);
  margin-bottom: 0.55rem;
  border-radius: 0.65rem;
  overflow: clip;
}
.agent-acc summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--touch);
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-ink);
  list-style: none;
  word-break: keep-all;
}
.agent-acc summary::-webkit-details-marker { display: none; }
.agent-acc summary .agent-tab__num {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  background: var(--color-bg);
  color: var(--color-tech);
  font-size: 0.72rem;
  font-weight: 800;
}
.agent-acc[open] summary {
  border-bottom: 1px solid var(--color-line-soft);
  box-shadow: inset 3px 0 0 var(--color-cyan);
  background: linear-gradient(90deg, rgba(19, 194, 194, 0.06), transparent 50%);
}
.agent-acc[open] summary .agent-tab__num {
  color: var(--color-white);
  background: var(--gradient-brand);
}
.agent-acc__body { padding: 1rem; }
.agent-acc__body .agent-panel__visual {
  margin-top: 1rem;
}
.agent-acc__body .agent-panel__copy h3 {
  white-space: normal;
}

/* —— Value —— */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--color-line);
  overflow: clip;
}
.value-strip__item {
  padding: 1.35rem 1.15rem;
  border-right: 1px solid var(--color-line);
  min-width: 0;
  background: var(--color-bg);
}
.value-strip__item:last-child { border-right: 0; }
.value-strip__item h3 {
  font-size: 1rem;
  color: var(--color-navy-2);
  margin-bottom: 0.45rem;
  word-break: keep-all;
}
.value-strip__item p {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  word-break: keep-all;
}
.metric-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}
.metric-rail span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  border-left: 2px solid var(--color-cyan);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.88rem;
  white-space: nowrap;
}
.metric-rail strong { color: var(--color-ink); font-weight: 800; }

/* —— Foundation base —— */
.base-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--color-line);
  background: var(--color-white);
  position: relative;
  overflow: clip;
}
.base-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--gradient-brand);
}
.base-band__item {
  min-height: 5.5rem;
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--color-line);
  text-align: center;
}
.base-band__item:last-child { border-right: 0; }
.base-band__item strong {
  font-size: 1rem;
  color: var(--color-navy-2);
  word-break: keep-all;
}

/* —— Practice —— */
.practice {
  background: var(--color-white);
  padding-top: var(--space-sm);
}
.practice__head-shell { margin-bottom: 1.25rem; }
.practice__stage {
  position: relative;
  width: 100%;
  overflow: clip;
  background: var(--color-bg);
}
.practice__image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}
.hotspot {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: var(--touch);
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-ink-12);
  background: var(--color-white-92);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.hotspot:hover,
.hotspot[aria-expanded="true"] {
  border-color: var(--color-cyan-55);
  transform: translateY(-1px);
}
.hotspot__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 0 4px var(--color-cyan-18);
}
.hotspot__label {
  font-size: 0.82rem;
  font-weight: 700;
}
/* 对齐 2.5D 场景：左上 MRI / 中左实验室 / 右上加速器 / 中右牙椅 */
.hotspot--imaging { top: 22%; left: 14%; }   /* 医学影像 · MRI */
.hotspot--radio   { top: 20%; left: 76%; }   /* 放疗设备 · 加速器 */
.hotspot--ivd     { top: 52%; left: 22%; }   /* IVD · 中左实验室 */
.hotspot--lab     { top: 50%; left: 74%; }   /* 检验 · 中右牙椅区 */

.practice-pop {
  position: absolute;
  z-index: 4;
  min-width: 10.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white-97);
  box-shadow: var(--shadow-soft);
}
.practice-pop[hidden] { display: none; }
.practice-pop__tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--color-tech);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.practice-pop strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--color-ink);
}
.practice-pop span:not(.practice-pop__tag) {
  display: block;
  color: var(--color-text);
  font-size: 0.86rem;
  line-height: 1.5;
}
#pop-imaging { top: calc(22% + 2.7rem); left: 14%; }
#pop-radio { top: calc(20% + 2.7rem); left: 76%; transform: translateX(-40%); }
#pop-ivd { top: calc(52% + 2.7rem); left: 22%; }
#pop-lab { top: calc(50% + 2.7rem); left: 74%; transform: translateX(-35%); }

.practice__dock {
  display: none;
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 1rem;
  z-index: 5;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white-96);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* —— CTA —— */
.cta-block {
  max-width: min(58rem, 100%);
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 1.1rem;
  justify-items: center;
}
.cta-block h2 {
  font-size: var(--text-display);
  color: var(--color-white);
  max-width: 18em;
  width: 100%;
  white-space: normal;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.cta-block p {
  color: var(--glass-white-82);
  line-height: 1.75;
  font-size: 1rem;
  word-break: keep-all;
  max-width: 40rem;
  width: 100%;
  white-space: normal;
  text-wrap: pretty;
}

/* —— Footer —— */
.footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  padding: 1.75rem 0 2rem;
}
.footer__inner {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  text-align: center;
}
.footer__inner img { height: 1.75rem; width: auto; }
.footer__inner p {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
}
.footer__copy {
  color: var(--color-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
}

/* —— Dialog —— */
.dialog {
  width: min(28rem, calc(100vw - 2rem));
  max-height: min(90vh, 42rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-ink);
  box-shadow: var(--shadow-dialog);
}
.dialog::backdrop { background: var(--dialog-backdrop); }
.dialog__inner { padding: 1.35rem 1.35rem 1.5rem; }
.dialog__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.dialog__head h2 {
  font-size: 1.25rem;
  color: var(--color-navy-2);
}
.dialog__head p {
  margin-top: 0.35rem;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.dialog__close {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 0.5rem;
  font-size: 1.35rem;
  color: var(--color-muted);
  flex: 0 0 auto;
}
.dialog__close:hover { background: var(--color-bg); color: var(--color-ink); }
.form { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text);
}
.field input,
.field select {
  width: 100%;
  min-height: var(--touch);
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-tech);
  box-shadow: 0 0 0 3px var(--color-tech-soft);
}
.field__error {
  display: none;
  color: var(--color-error);
  font-size: 0.78rem;
}
.field.is-error input,
.field.is-error select { border-color: var(--color-error); }
.field.is-error .field__error { display: block; }
.form > .btn { width: 100%; }
.form__success {
  padding: 1.25rem 0.25rem 0.5rem;
  text-align: center;
}
.form__success h3 {
  font-size: 1.15rem;
  color: var(--color-navy-2);
  margin-bottom: 0.5rem;
}
.form__success p {
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 1;
  transform: none;
}
body.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
body.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .signal__row b::after { animation: none !important; }
  body.motion-ready .hero-enter .hero__kicker,
  body.motion-ready .hero-enter .hero h1,
  body.motion-ready .hero-enter .hero__lede,
  body.motion-ready .hero-enter .hero__metrics,
  body.motion-ready .hero-enter .hero__actions,
  body.motion-ready .hero-enter .signal,
  body.motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* —— Responsive —— */
@media (min-width: 1100px) {
  .flow-track__path { display: block; }
}

@media (max-width: 1100px) {
  .hero__content { width: min(42rem, 72vw); }
  .signal--in { right: 28%; }
  .signal--ai { right: 8%; }
  .signal--out { right: 18%; }
  .scene-map {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .scene-map__arrow {
    width: 100%;
    height: 1rem;
  }
  .scene-map__arrow span {
    width: 1px;
    height: 1rem;
    margin-inline: auto;
    background: var(--gradient-arrow-v);
  }
  .scene-map__arrow span::after {
    right: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }
  .flow-nodes { grid-template-columns: 1fr; }
  .flow-node:nth-child(even) { margin-top: 0; }
  .flow-node {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 0.75rem;
    border-left: 2px solid var(--color-cyan);
  }
  .flow-node__num { grid-row: 1 / span 3; }
  .change-path { grid-template-columns: 1fr 1fr; }
  .change-path::before { display: none; }
  .change-path__item--1,
  .change-path__item--2,
  .change-path__item--3,
  .change-path__item--4 {
    grid-column: auto;
    margin-top: 0;
  }
  .value-strip { grid-template-columns: 1fr 1fr; }
  .value-strip__item:nth-child(2) { border-right: 0; }
  .value-strip__item:nth-child(1),
  .value-strip__item:nth-child(2) { border-bottom: 1px solid var(--color-line); }
  .base-band { grid-template-columns: 1fr 1fr; }
  .base-band__item:nth-child(2) { border-right: 0; }
  .base-band__item:nth-child(1),
  .base-band__item:nth-child(2) { border-bottom: 1px solid var(--color-line); }
}

@media (max-width: 900px) {
  .agent-layout { display: block; }
  .flow-stages.agent-tabs,
  .agent-panels { display: none; }
  .agent-accordion { display: block; padding: 0.85rem; }
  .agent-shell { background: var(--color-bg); }
  .pains-grid { grid-template-columns: 1fr; }
  .hero__signals { display: none; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav__inner { grid-template-columns: minmax(0, 1fr) auto; }

  .section-head h2,
  .section-head p,
  .section-head--nowrap h2,
  .section-head--nowrap p,
  .cta-block h2,
  .cta-block p {
    white-space: normal;
    text-wrap: balance;
  }

  .hero {
    align-items: end;
    padding: calc(var(--nav-height) + 1.5rem) var(--gutter) 3rem;
    min-height: 100dvh;
  }
  .hero__bg { object-position: 80% center; }
  .hero__content {
    width: 100%;
    padding-top: 0;
  }
  .hero h1 { font-size: clamp(1.55rem, 6.2vw, 2rem); max-width: none; }
  .hero__line {
    white-space: normal;
    text-wrap: balance;
  }
  .hero__lede {
    max-width: 100%;
    white-space: normal;
    text-wrap: pretty;
  }
  .hero__metrics {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .change-path { grid-template-columns: 1fr; }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip__item {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .value-strip__item:last-child { border-bottom: 0; }
  .base-band { grid-template-columns: 1fr; }
  .base-band__item {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
    min-height: 4rem;
  }
  .base-band__item:last-child { border-bottom: 0; }

  .agent-panel__list { grid-template-columns: 1fr; }

  .practice__stage { min-height: 22rem; }
  .practice__image {
    min-height: 22rem;
    object-fit: cover;
  }
  .hotspot {
    position: relative;
    top: auto !important;
    left: auto !important;
  }
  .practice__stage {
    display: grid;
    grid-template-rows: auto auto auto;
  }
  .practice__image { grid-row: 1; }
  .hotspot--imaging,
  .hotspot--radio,
  .hotspot--ivd,
  .hotspot--lab {
    grid-row: 2;
  }
  .practice__stage {
    display: flex;
    flex-direction: column;
  }
  .practice__stage > .hotspot {
    position: relative;
    margin: 0.35rem var(--gutter) 0;
    align-self: flex-start;
  }
  .practice-pop { display: none !important; }
  .practice__dock { display: block; position: relative; left: auto; right: auto; bottom: auto; margin: 0.85rem var(--gutter) 1.25rem; }
}

@media (max-width: 414px) {
  .hero h1 { font-size: clamp(1.45rem, 6.5vw, 1.85rem); line-height: 1.24; }
  .section-head h2,
  .pains-intro h2,
  .cta-block h2 { font-size: clamp(1.4rem, 6.2vw, 1.75rem); }
  .metric-rail span { white-space: normal; }
  .agent-panel__group:last-child .agent-panel__list {
    grid-template-columns: 1fr;
  }
  .agent-panel__copy h3,
  .agent-panel__metric {
    white-space: normal;
  }
  .mock__row {
    grid-template-columns: 1fr;
  }
  .mock__chrome strong {
    white-space: normal;
  }
  .mock__person {
    grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  }
  .mock__person-name,
  .mock__person-meta,
  .mock__part-name,
  .mock__part-meta {
    white-space: normal;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .agent-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .agent-panel__visual {
    max-width: 36rem;
  }
}

@media (max-width: 320px) {
  .hero__kicker { font-size: 0.75rem; }
  .btn--nav { padding-inline: 0.75rem; font-size: 0.8rem; }
  .device-types li { font-size: 0.78rem; }
}

@media (min-width: 1440px) {
  .hero__content { width: min(56rem, 54vw); }
  .hero h1 { font-size: clamp(2.15rem, 2.8vw, 3.05rem); }
  .signal--in { right: 36%; }
  .signal--ai { right: 16%; }
  .signal--out { right: 26%; }
}

/* Mid desktop: keep titles single-line by slightly scaling type */
@media (max-width: 1200px) and (min-width: 769px) {
  .section-head h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
  .section-head p { font-size: 0.95rem; }
  .cta-block h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
  .cta-block p { font-size: 0.95rem; }
  .hero h1 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
  .hero__lede {
    font-size: 0.95rem;
    max-width: min(36rem, 48vw);
  }
}

/* —— Site mega menu (homepage aligned) —— */
.nav__item { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: var(--nav-height, 4.25rem);
  padding: 0;
  cursor: pointer;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
}
.nav__dropdown-trigger svg { width: 0.68rem; height: 0.68rem; transition: transform 180ms ease; }
.nav__item:hover .nav__dropdown-trigger svg,
.nav__item:focus-within .nav__dropdown-trigger svg { transform: rotate(180deg); }
.nav__links > a { text-decoration: none; }
.nav__mega-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--color-tech, #4e8dff);
  background: linear-gradient(135deg, rgba(19,194,194,0.12), rgba(78,141,255,0.13));
  border: 1px solid rgba(78,141,255,0.18);
}
.nav__mega-link strong { display: block; font-size: 15px; font-weight: 800; color: var(--color-ink, #142033); }
.nav__mega-link span span { display: block; margin-top: 4px; color: #64748B; font-size: 12px; line-height: 1.45; font-weight: 500; }
.nav__mega-link.is-current { border-color: rgba(78,141,255,0.4); background: rgba(78,141,255,0.06); }

    /* —— Site mega aligned to homepage —— */
    .nav__item {
      align-self: stretch;
      display: flex;
      align-items: center;
    }
    .nav__dropdown-trigger {
      min-height: var(--nav-height, 4.25rem);
    }
    .nav__item { position: relative; }
    .nav__item::before {
      content: "";
      position: absolute;
      left: -12px;
      right: -12px;
      top: 100%;
      height: 28px;
      z-index: 41;
    }
    .nav__mega.nav__mega--site {
      position: fixed;
      top: calc(var(--nav-height, 4.25rem) - 6px);
      left: 50%;
      z-index: 40;
      width: min(1120px, calc(100vw - 72px));
      padding-top: 28px;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translate(-50%, 12px);
      transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }
    .nav__item:hover .nav__mega.nav__mega--site,
    .nav__item:focus-within .nav__mega.nav__mega--site,
    .nav__item.is-mega-open .nav__mega.nav__mega--site {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translate(-50%, 0);
    }
    .nav__mega--site .nav__mega-panel {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
      gap: 28px;
      padding: 34px;
      border-radius: 28px;
      background: #FFFFFF;
      border: 1px solid rgba(216, 224, 234, 0.88);
      box-shadow: 0 30px 80px rgba(20, 32, 51, 0.18);
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      isolation: isolate;
    }
    .nav__mega--site .nav__mega-main {
      min-width: 0;
    }
    .nav__mega--site .nav__mega-kicker {
      grid-column: auto;
      color: var(--color-tech, #4E8DFF);
      font-size: 12px;
      font-weight: 800;
      line-height: 1.2;
      margin: 0 0 6px;
      letter-spacing: 0.02em;
    }
    .nav__mega--site .nav__mega-title {
      grid-column: auto;
      margin: 0;
      color: var(--color-ink, #142033);
      font-size: 24px;
      font-weight: 800;
      line-height: 1.24;
    }
    .nav__mega--site .nav__mega-section {
      margin: 22px 0 14px;
      color: var(--color-ink, #142033);
      font-size: 15px;
      font-weight: 800;
      line-height: 1.35;
    }
    .nav__mega--site .nav__pill {
      display: inline-flex;
      align-items: center;
      margin-left: 8px;
      padding: 2px 8px;
      border-radius: 999px;
      color: var(--color-tech, #4E8DFF);
      font-size: 11px;
      font-weight: 700;
      background: rgba(78, 141, 255, 0.1);
      vertical-align: middle;
    }
    .nav__mega--site .nav__mega-items {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px 16px;
    }
    .nav__mega--site .nav__mega-items--compact {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 620px;
    }
    .nav__mega--site .nav__mega-link {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      min-height: 72px;
      padding: 12px 14px;
      border-radius: 18px;
      border: 1px solid rgba(216, 224, 234, 0.68);
      background: #F7F9FC;
      color: var(--color-ink, #142033);
      text-decoration: none;
      transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    }
    .nav__mega--site .nav__mega-link:hover,
    .nav__mega--site .nav__mega-link:focus-visible {
      background: #fff;
      border-color: rgba(78, 141, 255, 0.32);
      box-shadow: 0 18px 40px rgba(78, 141, 255, 0.13);
      transform: translateY(-2px);
      outline: none;
    }
    .nav__mega--site .nav__mega-link.is-current {
      border-color: rgba(78, 141, 255, 0.4);
      background: rgba(78, 141, 255, 0.06);
    }
    .nav__mega--site .nav__mega-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      font-size: 11px;
      background: linear-gradient(135deg, rgba(19, 194, 194, 0.12), rgba(78, 141, 255, 0.13), rgba(125, 140, 255, 0.12));
      border: 1px solid rgba(78, 141, 255, 0.18);
      color: var(--color-tech, #4E8DFF);
    }
    .nav__mega--site .nav__mega-icon svg {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      stroke-width: 1.9;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
    }
    .nav__mega--site .nav__mega-link:hover .nav__mega-icon,
    .nav__mega--site .nav__mega-link:focus-visible .nav__mega-icon {
      transform: translateY(-1px);
      border-color: rgba(78, 141, 255, 0.34);
    }
    .nav__mega--site .nav__mega-link strong {
      display: block;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.3;
      color: var(--color-ink, #142033);
    }
    .nav__mega--site .nav__mega-link span span {
      display: block;
      margin-top: 4px;
      color: #64748B;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 500;
    }
    .nav__mega--site .nav__mega-side {
      position: relative;
      display: flex;
      min-height: 0;
      flex-direction: column;
      justify-content: flex-start; gap: 1.1rem;
      overflow: visible;
      border-radius: 24px;
      padding: 28px;
      background:
        radial-gradient(circle at 85% 82%, rgba(78, 141, 255, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(19, 194, 194, 0.14), rgba(78, 141, 255, 0.14), rgba(125, 140, 255, 0.18)),
        #F3F7FC;
      border: 1px solid rgba(216, 224, 234, 0.72);
    }
    .nav__mega--site .nav__mega-side-title {
      color: var(--color-ink, #142033);
      font-size: 22px;
      font-weight: 800;
      line-height: 1.35;
    }
    .nav__mega--site .nav__mega-side-text {
      margin: 12px 0 0;
      color: #607084;
      font-size: 13px;
      line-height: 1.65;
      font-weight: 500;
    }
    .nav__mega--site .nav__mega-side-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      margin-top: 0.85rem;
    }
    .nav__mega--site .nav__mega-side-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      width: fit-content;
      min-height: 42px;
      padding: 9px 12px 9px 18px;
      border-radius: 999px;
      color: #fff !important;
      font-size: 14px;
      font-weight: 800;
      text-decoration: none;
      border: 0;
      background: linear-gradient(90deg, #13C2C2, #4E8DFF 58%, #7D8CFF);
      box-shadow: 0 16px 32px rgba(78, 141, 255, 0.2);
      transition: transform 0.22s ease, box-shadow 0.22s ease;
    }
    .nav__mega--site .nav__mega-side-action.is-secondary {
      color: var(--color-ink, #142033) !important;
      background: #FFFFFF;
      border: 1px solid rgba(216, 224, 234, 0.72);
      box-shadow: 0 12px 28px rgba(20, 32, 51, 0.08);
    }
    .nav__mega--site .nav__mega-side-action:hover,
    .nav__mega--site .nav__mega-side-action:focus-visible {
      transform: translateY(-1px);
      box-shadow: 0 18px 38px rgba(78, 141, 255, 0.26);
      outline: none;
    }
    .nav__mega--site .nav__cta-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.35rem;
      height: 1.35rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
    }
    .nav__mega--site .nav__cta-arrow svg {
      width: 0.72rem;
      height: 0.72rem;
    }
    @media (max-width: 960px) {
      .nav__mega.nav__mega--site {
        width: min(92vw, 720px);
      }
      .nav__mega--site .nav__mega-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
      }
      .nav__mega--site .nav__mega-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .nav__mega--site .nav__mega-side {
        min-height: auto;
      }
    }
    @media (max-width: 720px) {
      .nav__mega.nav__mega--site { display: none; }
    }


/* —— 2026-07-18 narrative restructure additions —— */
.btn--ghost {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}
.section--cta .btn--ghost {
  color: var(--color-white);
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.hero__tags li {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 27, 75, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.hero__lede {
  max-width: min(40rem, 48vw);
  white-space: normal;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.scene-map--chain {
  grid-template-columns: repeat(11, minmax(0, 1fr));
  max-width: 72rem;
}
.scene-map--chain .scene-map__node { grid-column: span 1; }
.scene-map--chain .scene-map__node:nth-child(odd) {
  grid-column: span 1;
}
/* simpler: use flex for chain */
.scene-map.scene-map--chain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.55rem;
}
.scene-map.scene-map--chain .scene-map__node {
  flex: 1 1 7.5rem;
  max-width: 10.5rem;
  min-height: 5.5rem;
}
.scene-map.scene-map--chain .scene-map__arrow {
  flex: 0 0 auto;
  align-self: center;
}

.pain-map {
  display: grid;
  gap: 0.85rem;
  max-width: 64rem;
  margin-inline: auto;
}
.pain-map__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: 0.35rem 0;
}
.pain-map__pain,
.pain-map__fix {
  min-width: 0;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  border-radius: 0.75rem;
}
.pain-map__fix {
  background: linear-gradient(145deg, rgba(19, 194, 194, 0.08), var(--color-white) 55%);
  border-color: rgba(19, 194, 194, 0.28);
}
.pain-map__num {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--color-tech);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pain-map__pain h3,
.pain-map__fix h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--color-navy-2);
  word-break: keep-all;
  line-height: 1.35;
}
.pain-map__pain p,
.pain-map__fix p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  word-break: keep-all;
}
.pain-map__bridge {
  align-self: center;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
}

.gains-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  overflow: clip;
  max-width: 52rem;
  margin-inline: auto;
}
.gains-strip__item {
  padding: 1.5rem 1.2rem;
  border-right: 1px solid var(--color-line);
  text-align: center;
}
.gains-strip__item:last-child { border-right: 0; }
.gains-strip__item strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gains-strip__item span {
  display: block;
  margin-top: 0.55rem;
  color: var(--color-ink-2, var(--color-text));
  font-size: 0.95rem;
  font-weight: 700;
  word-break: keep-all;
}
.note-line {
  margin: 0.95rem auto 0;
  max-width: 52rem;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.goal-card {
  min-width: 0;
  padding: 1.2rem 1.1rem 1.25rem;
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-cyan);
  background: var(--color-bg);
}
.goal-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--color-navy-2);
  word-break: keep-all;
}
.goal-card__value {
  margin: 0 0 0.9rem;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
}
.goal-card__metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.goal-card__metrics li {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--color-line-soft, var(--color-line));
}
.goal-card__metrics strong {
  color: var(--color-ink);
  font-size: 0.92rem;
  word-break: keep-all;
}
.goal-card__metrics span {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.mech-chain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mech;
}
.mech-chain li {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-navy-2);
  font-size: 0.9rem;
  font-weight: 700;
  word-break: keep-all;
}
.mech-chain li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.85rem;
  color: var(--color-cyan);
  font-weight: 800;
}
.mech-chain li:not(:last-child) { margin-right: 0.55rem; }

.flow-pathline {
  margin: -0.5rem auto 1.35rem;
  max-width: 52rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.65;
  word-break: keep-all;
}

.base-band--desc .base-band__item {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-height: 7.5rem;
  padding: 1.25rem 1.05rem;
  text-align: left;
}
.base-band--desc .base-band__item strong {
  font-size: 0.98rem;
}
.base-band--desc .base-band__item span {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.55;
  word-break: keep-all;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.section--cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1024px) {
  .pain-map__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .pain-map__bridge {
    justify-self: start;
  }
  .goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gains-strip {
    grid-template-columns: 1fr;
  }
  .gains-strip__item {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .gains-strip__item:last-child { border-bottom: 0; }
  .hero__lede { max-width: 100%; }
}

@media (max-width: 768px) {
  .goal-grid { grid-template-columns: 1fr; }
  .scene-map.scene-map--chain .scene-map__arrow { display: none; }
  .scene-map.scene-map--chain .scene-map__node { max-width: none; flex: 1 1 calc(50% - 0.55rem); }
  .mech-chain li:not(:last-child)::after { display: none; }
  .mech-chain li:not(:last-child) { margin-right: 0; }
  .base-band--desc {
    grid-template-columns: 1fr;
  }
  .base-band--desc .base-band__item {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
    min-height: auto;
  }
}


/* Mobile hero title: natural wrapping without crop */
@media (max-width: 768px) {
  .hero__content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 0;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.45rem, 6.4vw, 1.95rem);
    line-height: 1.28;
  }
  .hero__line {
    display: inline;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: keep-all;
  }
  .hero__line--grad {
    display: inline;
  }
  .hero__lede {
    max-width: 100%;
  }
  .hero__actions {
    width: 100%;
  }
  .hero__actions .btn {
    max-width: 100%;
  }
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(1.35rem, 6.8vw, 1.7rem);
  }
}
@media (max-width: 320px) {
  .hero h1 {
    font-size: 1.28rem;
    line-height: 1.3;
  }
}

/* Metric bridge (compressed mechanism) */
.metric-bridge {
  padding: 1.75rem 0 1.35rem;
  background: linear-gradient(180deg, var(--color-bg-alt, #edf3f8) 0%, var(--color-bg) 100%);
  border-block: 1px solid var(--color-line);
}
.metric-bridge__inner {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}
.metric-bridge h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--color-navy-2);
  word-break: keep-all;
  line-height: 1.35;
}
.metric-bridge p {
  margin: 0;
  max-width: 40rem;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  word-break: keep-all;
}
.mech-chain--compact {
  margin-top: 0.35rem;
}
.mech-chain--compact li {
  min-height: 2.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  border-radius: 0.45rem;
  background: var(--color-white);
}

/* Accordion: hide duplicated panel title when mirrored */
.agent-acc__body .agent-panel__copy > h3 {
  display: none;
}
.agent-acc__body .agent-panel__visual {
  margin-top: 0.85rem;
}
.agent-panel__stage { display: none !important; }

/* Prevent reveal overflow */
.reveal,
.section-head,
.hero__content,
.hero h1 {
  overflow-x: clip;
  max-width: 100%;
}

.note-line { display: none !important; }

/* ===== Smart hardware page extensions ===== */

/* —— Hero redesign: appliance left stack + robotics I/O signals —— */
.hero--hardware {
  min-height: clamp(55rem, 92vh, 60rem);
  max-height: none;
  padding: 7.5rem var(--gutter) 5.5rem;
  align-items: center;
  display: grid;
}

.hero--hardware .hero__bg {
  object-position: 70% center;
}

.hero--hardware .hero__content { width: min(42rem, 72vw);
  max-width: 100%;
  padding-top: 1.25rem;
  padding-bottom: 0;
}

.hero--hardware .hero h1 {
  max-width: 16em;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero--hardware .hero__line--grad {
  /* third line emphasis: cyan → tech → AI purple */
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero--hardware .hero__lede {
  max-width: 37.5rem;
  margin-top: 1.1rem;
  font-size: clamp(0.95rem, 1.1vw, 1.06rem);
  line-height: 1.75;
}

.hero--hardware .hero__tags {
  margin-top: 1rem;
  gap: 0.4rem;
}

.hero--hardware .hero__tags li {
  padding: 0.32rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 27, 75, 0.42);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero__metrics-label {
  margin: 1.35rem 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.hero--hardware .hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 34rem; /* ~544px */
  margin-top: 0;
}

.hero--hardware .hero__metric {
  padding: 0.85rem 0.8rem 0.8rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 27, 75, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 0;
}

.hero--hardware .hero__metric strong {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
}

.hero--hardware .hero__metric span {
  font-size: 0.7rem;
  line-height: 1.35;
  word-break: keep-all;
}

.hero__note {
  margin: 0.65rem 0 0;
  max-width: 34rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.hero--hardware .hero__actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Right signals: smaller / lighter than medical default, no overlap with left */
.hero--hardware .signal {
  min-width: 12.5rem;
  max-width: 16.5rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(7, 27, 75, 0.52);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0.75rem 1.8rem rgba(0, 0, 0, 0.18);
}

.hero--hardware .signal--in,
.hero--hardware .signal--out {
  min-width: 12rem;
  max-width: 14.5rem;
  opacity: 0.9;
}

.hero--hardware .signal--ai {
  min-width: 15.5rem;
  max-width: 17rem;
  border-color: rgba(19, 194, 194, 0.38);
  background: rgba(8, 32, 58, 0.72);
  box-shadow: 0 1rem 2.2rem rgba(19, 194, 194, 0.12);
}

.hero--hardware .signal strong {
  font-size: 0.86rem;
  line-height: 1.35;
}

.hero--hardware .signal > span:not(.signal__badge) {
  font-size: 0.72rem;
  margin-top: 0.22rem;
}

.hero--hardware .signal__rows {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
}

.hero--hardware .signal__row {
  font-size: 0.72rem;
  margin-top: 0.28rem;
}

/* Staggered positions: top-mid / mid / lower-right, keep clear of left content */
.hero--hardware .signal--in {
  top: 24%;
  right: max(3.5rem, 8vw);
  left: auto;
  bottom: auto;
}

.hero--hardware .signal--ai {
  top: 42%;
  right: max(2rem, 4.5vw);
  left: auto;
  bottom: auto;
}

.hero--hardware .signal--out {
  top: auto;
  bottom: 16%;
  right: max(5rem, 10vw);
  left: auto;
}

/* Soft connection dots between cards */
.hero--hardware .hero__signals::before {
  content: "";
  position: absolute;
  top: 32%;
  right: max(7.5rem, 12vw);
  width: 2px;
  height: 42%;
  background: linear-gradient(
    180deg,
    rgba(19, 194, 194, 0.05),
    rgba(78, 141, 255, 0.28),
    rgba(125, 140, 255, 0.08)
  );
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.7;
}

/* Enter motion includes tags / label / note */
body.motion-ready .hero-enter .hero__tags,
body.motion-ready .hero-enter .hero__metrics-label,
body.motion-ready .hero-enter .hero__note {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp var(--med) var(--ease) both;
}
body.motion-ready .hero-enter .hero__tags { animation-delay: 200ms; }
body.motion-ready .hero-enter .hero__metrics-label { animation-delay: 240ms; }
body.motion-ready .hero-enter .hero__note { animation-delay: 300ms; }
body.motion-ready .hero-enter .hero__metrics { animation-delay: 280ms; }
body.motion-ready .hero-enter .hero__actions { animation-delay: 360ms; }

@media (max-width: 1200px) {
  .hero--hardware .hero__content {
    width: min(38rem, 58vw);
  }
  .hero--hardware .signal--in { right: 2.5rem; top: 22%; }
  .hero--hardware .signal--ai { right: 1.25rem; top: 40%; min-width: 14.5rem; }
  .hero--hardware .signal--out { right: 3.5rem; bottom: 14%; }
  .hero--hardware .hero__signals::before { right: 5.5rem; }
}

@media (max-width: 900px) {
  .hero--hardware {
    min-height: auto;
    padding: calc(var(--nav-height) + 1.75rem) var(--gutter) 2.75rem;
    align-items: end;
  }
  .hero--hardware .hero__bg {
    object-position: 78% 40%;
  }
  .hero--hardware .hero__content {
    width: 100%;
    max-width: 100%;
  }
  .hero--hardware .hero h1 {
    font-size: clamp(1.65rem, 6.2vw, 2.2rem);
    max-width: 16em;
  }
  .hero--hardware .hero__lede {
    max-width: 100%;
  }
  /* 1+2 metrics: primary full width, then two columns */
  .hero--hardware .hero__metrics {
    grid-template-columns: 1fr 1fr;
    max-width: none;
    gap: 0.55rem;
  }
  .hero--hardware .hero__metric:first-child {
    grid-column: 1 / -1;
  }
  .hero--hardware .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero--hardware .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero--hardware .hero__signals,
  .hero--hardware .hero__signals::before {
    display: none !important;
  }
  .hero__note {
    max-width: none;
    color: rgba(255, 255, 255, 0.62);
  }
}

@media (max-width: 480px) {
  .hero--hardware .hero__metrics {
    grid-template-columns: 1fr;
  }
  .hero--hardware .hero__metric:first-child {
    grid-column: auto;
  }
}

/* Pain row with dual fix cards */
.pain-map__fix-stack {
  display: grid;
  gap: 0.65rem;
}

.pain-map__fix-stack .pain-map__fix {
  margin: 0;
}

/* KPI metric band */
.kpi-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.kpi-chip {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-line-soft);
}

.kpi-chip strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.kpi-chip span {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.kpi-chip strong em {
  font-style: normal;
  color: var(--color-cyan);
  margin-left: 0.2rem;
}

/* Why Us */
.section--why {
  background: var(--color-white);
}

.why-lead {
  max-width: 42rem;
  margin: 0 auto 1.75rem;
  text-align: center;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius);
  background: var(--color-bg);
  border: 1px solid var(--color-line-soft);
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(19, 194, 194, 0.06), var(--color-white) 48%);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
}

.why-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--gradient-brand);
}

.why-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--color-ink);
}

.why-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.why-close {
  margin: 1.75rem auto 0;
  max-width: 46rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text);
}

.why-close strong {
  color: var(--color-ink);
}

/* Practice brand strip */
.practice-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.practice-brands span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--glass-white-90);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Hotspot positions for campus practice image */
.hotspot--glasses { left: 14%; top: 18%; }
.hotspot--learn { left: 78%; top: 68%; }
.hotspot--watch { left: 78%; top: 14%; }
.hotspot--wearable { left: 48%; top: 42%; }

.base-band--linked {
  margin-top: 1.25rem;
}

.base-band__foot {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .kpi-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .kpi-band { grid-template-columns: 1fr; }
}

/* Agent panel copy helpers */
.agent-panel__problem,
.agent-panel__result {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-line-soft);
}

.agent-panel__problem strong,
.agent-panel__result strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.agent-panel__result {
  background: linear-gradient(145deg, rgba(19, 194, 194, 0.08), var(--color-white) 60%);
  border-color: rgba(19, 194, 194, 0.22);
}

.section--base .section-head p {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   Page-hardware visual overhaul (distinct from medical refs)
   ========================================================= */

/* Hide obsolete hero signal stack if any remain */

/* Right-side RMA console */
.hero--hardware .hero__console {
  display: none !important;
}

.hw-console {
  border-radius: 1.1rem;
  border: 1px solid rgba(125, 220, 255, 0.22);
  background:
    linear-gradient(160deg, rgba(8, 28, 58, 0.88), rgba(5, 16, 36, 0.78));
  box-shadow:
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 2.5rem rgba(19, 194, 194, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.hw-console__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
}

.hw-console__live {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #2dffc0;
  box-shadow: 0 0 0 0 rgba(45, 255, 192, 0.55);
  animation: hwPulse 1.6s ease-out infinite;
}

.hw-console__tick {
  margin-left: auto;
  font-size: 0.68rem;
  color: rgba(125, 220, 255, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hw-console__stream {
  position: relative;
  min-height: 13.2rem;
  padding: 0.95rem 1rem 0.85rem;
}

.hw-stream {
  position: absolute;
  inset: 0.95rem 1rem 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}

.hw-stream.is-active {
  opacity: 1;
  transform: none;
}

.hw-stream__tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #dffcff;
  background: linear-gradient(90deg, rgba(19, 194, 194, 0.45), rgba(78, 141, 255, 0.4));
}

.hw-stream p {
  margin: 0 0 0.75rem;
  color: rgba(210, 240, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.55;
  text-shadow: 0 0 18px rgba(78, 180, 255, 0.25);
}

.hw-stream__kv {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hw-stream__kv li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.38rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.62);
}

.hw-stream__kv b {
  font-weight: 700;
  color: #7ef0d8;
}

.hw-stream__kv b.is-pulse {
  color: #9ec5ff;
  animation: hwBlink 1.2s ease-in-out infinite;
}

.hw-console__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 0 0.75rem;
}

.hw-console__dots i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.hw-console__dots i.is-on {
  background: #4fd8ff;
  box-shadow: 0 0 0.5rem rgba(79, 216, 255, 0.55);
}

@keyframes hwPulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 255, 192, 0.55); }
  70% { box-shadow: 0 0 0 0.55rem rgba(45, 255, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 255, 192, 0); }
}

@keyframes hwBlink {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Section skin: pains as vertical rail */
.page-hardware .hw-sec--pains {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(19, 194, 194, 0.08), transparent 55%),
    #f4f8fc;
}

.page-hardware .hw-pain {
  display: grid;
  gap: 1rem;
  max-width: 58rem;
  margin: 0 auto;
}

.page-hardware .hw-pain .pain-map__row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 1.15fr);
  gap: 0.9rem;
  align-items: stretch;
  padding: 1.1rem 1.15rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(19, 194, 194, 0.12);
  box-shadow: 0 10px 28px rgba(20, 48, 90, 0.05);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms;
}

.page-hardware .hw-pain .pain-map__row:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 141, 255, 0.28);
  box-shadow: 0 16px 36px rgba(20, 48, 90, 0.08);
}

.page-hardware .hw-pain .pain-map__pain,
.page-hardware .hw-pain .pain-map__fix {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.2rem 0.1rem;
}

.page-hardware .hw-pain .pain-map__bridge {
  align-self: center;
  min-width: 4.6rem;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #13c2c2, #4e8dff);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(19, 194, 194, 0.22);
}

.page-hardware .hw-pain .pain-map__fix-stack {
  gap: 0.75rem;
}

.page-hardware .hw-pain .pain-map__fix-stack .pain-map__fix {
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(19, 194, 194, 0.08), #fff 60%);
  border: 1px solid rgba(19, 194, 194, 0.14);
}

/* Goals as soft slate chips */
.page-hardware .hw-sec--value {
  background: #fff;
}

.page-hardware .hw-goals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.page-hardware .hw-goals .goal-card {
  border-radius: 1.1rem;
  border: 1px solid #e4ecf5;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 70%);
  box-shadow: none;
  padding: 1.2rem 1.05rem 1.15rem;
  position: relative;
  overflow: hidden;
}

.page-hardware .hw-goals .goal-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #13c2c2, #7d8cff);
}

.page-hardware .hw-goals .goal-card h3 {
  font-size: 1.05rem;
}

.page-hardware .kpi-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.page-hardware .kpi-chip {
  border-radius: 0.9rem;
  background: #f3f7fb;
  border: 1px dashed #d5e0ec;
}

/* Mechanism strip */
.page-hardware .hw-sec--mech {
  background: linear-gradient(100deg, #0a1f45 0%, #12306a 48%, #0d274f 100%);
}

.page-hardware .hw-sec--mech .metric-bridge__inner h2,
.page-hardware .hw-sec--mech .metric-bridge__inner p {
  color: rgba(255, 255, 255, 0.92);
}

.page-hardware .hw-sec--mech .mech-chain li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Flow agent shell */
.page-hardware .hw-sec--flow {
  background:
    radial-gradient(circle at 100% 0%, rgba(125, 140, 255, 0.08), transparent 40%),
    #eef4fa;
}

.page-hardware .hw-agent {
  border-radius: 1.35rem;
  border: 1px solid rgba(78, 141, 255, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(20, 40, 80, 0.07);
  overflow: hidden;
}

.page-hardware .hw-agent .flow-stages {
  background: linear-gradient(90deg, #0d2452, #16357a);
  border-bottom: 0;
  padding: 0.85rem 0.9rem;
}

.page-hardware .hw-agent .agent-tab {
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  border: 1px solid transparent;
}

.page-hardware .hw-agent .agent-tab.is-active {
  color: #0a1f45;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.page-hardware .hw-agent .flow-stages__arrow {
  opacity: 0.35;
  filter: brightness(2);
}

.page-hardware .hw-agent .mock {
  border-radius: 1rem;
  border: 1px solid #d7e4f2;
  background: #0b1730;
  color: #e8f3ff;
  box-shadow: inset 0 0 0 1px rgba(125, 200, 255, 0.08);
}

.page-hardware .hw-agent .mock__chrome {
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #d7ebff;
}

.page-hardware .hw-agent .mock__card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Foundation tiles */
.page-hardware .hw-sec--base {
  background: #fff;
}

.page-hardware .hw-base {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  border: 0;
  background: transparent;
}

.page-hardware .hw-base .base-band__item {
  border: 1px solid #e5eef8;
  border-radius: 1.15rem;
  padding: 1.2rem 1.15rem;
  background:
    linear-gradient(145deg, rgba(19, 194, 194, 0.07), transparent 42%),
    #f9fbfd;
}

.page-hardware .hw-base .base-band__item strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #13294b;
}

/* Practice clients + pins */
.hw-practice {
  background: linear-gradient(180deg, #07162f 0%, #0a1d3d 100%);
  padding-bottom: 3rem;
}

.hw-clients {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 auto 1.35rem;
  position: relative;
  z-index: 2;
}

.hw-client {
  padding: 1.05rem 1rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: transform 280ms var(--ease), background 280ms, border-color 280ms;
}

.hw-client:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(125, 220, 255, 0.35);
}

.hw-client__cat {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #b8f3ef;
  background: rgba(19, 194, 194, 0.18);
}

.hw-client__brand {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hw-client__en {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.hw-client p {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.hw-practice .practice__stage {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  margin: 0 var(--gutter);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hw-pin {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
  animation: hwFloat 4.5s ease-in-out infinite;
}

.hw-pin__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #4fd8ff;
  box-shadow: 0 0 0 0.35rem rgba(79, 216, 255, 0.2), 0 0 1rem rgba(79, 216, 255, 0.55);
}

.hw-pin__card {
  display: grid;
  gap: 0.05rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(7, 22, 48, 0.82);
  border: 1px solid rgba(125, 220, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hw-pin__card b {
  font-size: 0.8rem;
  font-weight: 800;
}

.hw-pin__card i {
  font-style: normal;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
}

.hw-pin--ar { left: 12%; top: 16%; animation-delay: 0s; }
.hw-pin--iot { left: 18%; top: 62%; animation-delay: 0.6s; }
.hw-pin--sport { left: 72%; top: 12%; animation-delay: 1.1s; }
.hw-pin--edu { left: 70%; top: 64%; animation-delay: 1.7s; }

@keyframes hwFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Why cards */
.page-hardware .hw-sec--why {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(125, 140, 255, 0.08), transparent 60%),
    #f7f9fc;
}

.page-hardware .hw-why .why-card {
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #e6eef7;
  box-shadow: 0 12px 30px rgba(20, 40, 80, 0.05);
}

.page-hardware .hw-why .why-card__label {
  background: linear-gradient(90deg, #0d2463, #4e8dff);
}

/* CTA single button */
.page-hardware .hw-cta .cta-block {
  text-align: center;
}

.page-hardware .hw-cta .cta-block__actions {
  justify-content: center;
}

/* Hero content without tags/note */
.hero--hardware .hero__lede {
  max-width: 34rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}

.hero--hardware .hero__metrics {
  margin-top: 0.2rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero--hardware .hero__console {
    width: min(18.5rem, 34vw);
    right: 1rem;
  }
  .hw-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hardware .hw-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero--hardware .hero__console { display: none; }
  .page-hardware .hw-pain .pain-map__row {
    grid-template-columns: 1fr;
  }
  .page-hardware .hw-pain .pain-map__bridge {
    justify-self: start;
  }
  .page-hardware .hw-base { grid-template-columns: 1fr; }
  .page-hardware .kpi-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-pin { display: none; }
  .hw-practice .practice__stage { margin: 0; }
}

@media (max-width: 640px) {
  .hw-clients { grid-template-columns: 1fr; }
  .page-hardware .hw-goals { grid-template-columns: 1fr; }
  .page-hardware .kpi-band { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hw-console__live,
  .hw-stream__kv b.is-pulse,
  .hw-pin {
    animation: none !important;
  }
  .hw-stream {
    transition: none;
  }
}


/* Hero: restore 3 signal cards (not AI console) */
.page-hardware .hero__console { display: none !important; }

.page-hardware .hero--hardware .hero__signals {
  display: block;
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.page-hardware .hero--hardware .signal {
  min-width: 13rem;
  max-width: 16.5rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(7, 27, 75, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-hardware .hero--hardware .signal--in {
  top: 24%;
  right: max(4rem, 10vw);
  min-width: 14rem;
  max-width: 16rem;
  opacity: 0.95;
}

.page-hardware .hero--hardware .signal--ai {
  top: 42%;
  right: max(2rem, 5vw);
  min-width: 16rem;
  max-width: 17.5rem;
  border-color: rgba(19, 194, 194, 0.4);
  background: rgba(8, 32, 58, 0.78);
  box-shadow: 0 1.2rem 2.6rem rgba(19, 194, 194, 0.14);
}

.page-hardware .hero--hardware .signal--out {
  top: auto;
  bottom: 15%;
  right: max(5rem, 11vw);
  min-width: 13.5rem;
  max-width: 15.5rem;
  opacity: 0.94;
}

.page-hardware .hero--hardware .signal strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.page-hardware .hero--hardware .signal > span:not(.signal__badge):not(.signal__hint) {
  font-size: 0.74rem;
  line-height: 1.5;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-hardware .signal__hint {
  display: block;
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(180, 230, 255, 0.88);
}

.page-hardware .hero--hardware .signal__rows {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
}

.page-hardware .hero--hardware .signal__row {
  font-size: 0.74rem;
}

@media (max-width: 900px) {
  .page-hardware .hero--hardware .hero__signals {
    display: none !important;
  }
}


/* ========== Feedback polish 2026-07-19 ========== */

/* Pain cards: vertical balance, content not stuck to top */
.page-hardware .hw-pain .pain-map__row {
  align-items: center;
  min-height: 8.5rem;
  padding: 1.35rem 1.4rem;
}

.page-hardware .hw-pain .pain-map__pain,
.page-hardware .hw-pain .pain-map__fix {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 0.35rem 0.15rem;
}

.page-hardware .hw-pain .pain-map__fix-stack {
  align-self: center;
  width: 100%;
}

.page-hardware .hw-pain .pain-map__fix-stack .pain-map__fix {
  min-height: 0;
  padding: 0.85rem 0.95rem;
}

.page-hardware .hw-pain .pain-map__num {
  margin-bottom: 0.45rem;
}

.page-hardware .hw-pain .pain-map__pain h3,
.page-hardware .hw-pain .pain-map__fix h3 {
  margin: 0 0 0.45rem;
}

.page-hardware .hw-pain .pain-map__pain p,
.page-hardware .hw-pain .pain-map__fix p {
  margin: 0;
}

/* Goals → metrics loop (PDF style) */
.hw-loop {
  display: grid;
  gap: 1.15rem;
  max-width: 64rem;
  margin: 0 auto;
}

.hw-loop__bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: #1a3a78;
  font-size: 0.95rem;
  font-weight: 800;
}

.hw-loop__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.4rem;
  background: linear-gradient(180deg, #4e8dff, #13c2c2);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(78, 141, 255, 0.25);
}

.page-hardware .hw-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 1.15rem;
  background: #f3f7fc;
  border: 1px solid #e2ebf5;
}

.page-hardware .hw-kpi .kpi-chip {
  background: #fff;
  border: 1px solid #e6eef7;
  border-style: solid;
  border-radius: 0.85rem;
  padding: 0.85rem 0.9rem;
  text-align: left;
}

/* Frosted glass tabs (not heavy card shell) */
.page-hardware .hw-agent {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.page-hardware .hw-tabs.flow-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.55rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 30px rgba(20, 40, 80, 0.06);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.page-hardware .hw-agent .flow-stages__arrow {
  opacity: 0.35;
  filter: none;
  color: #8fa3bf;
}

.page-hardware .hw-tabs .agent-tab {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #425872;
  min-height: 2.6rem;
  padding: 0.35rem 0.85rem;
}

.page-hardware .hw-tabs .agent-tab.is-active {
  color: #0a1f45;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(15, 35, 70, 0.1);
}

.page-hardware .hw-tabs .agent-tab__num {
  background: linear-gradient(135deg, #13c2c2, #7d8cff);
  color: #fff;
}

.page-hardware .hw-agent .agent-layout {
  padding: 0;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 40px rgba(20, 40, 80, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* AI participate = purple agent only */
.page-hardware .agent-panel__group--ai {
  background: linear-gradient(145deg, rgba(125, 140, 255, 0.12), rgba(255, 255, 255, 0.9) 55%);
  border: 1px solid rgba(125, 140, 255, 0.28);
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
}

.page-hardware .agent-panel__group--ai h4 {
  color: #5a3dff;
}

.page-hardware .agent-panel__list--ai li {
  color: #5a3dff;
  font-weight: 700;
}

.page-hardware .agent-panel__list--ai li::marker {
  color: #7d8cff;
}

.page-hardware .agent-panel__group:not(.agent-panel__group--ai) h4 {
  color: #607084;
}

/* Foundation inside flow */
.hw-foundation {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(20, 40, 80, 0.08);
}

.page-hardware .hw-sec--flow {
  background:
    radial-gradient(circle at 12% 0%, rgba(125, 140, 255, 0.07), transparent 42%),
    #eef3f9;
}

/* Practice: readable title, no client cards */
.hw-practice .section-head--on-media h2,
.hw-practice .section-head--on-media p {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hw-practice .section-head--on-media p {
  color: rgba(255, 255, 255, 0.88) !important;
}

.hw-clients { display: none !important; }

.hw-practice .practice__stage {
  margin-top: 0.5rem;
}

.hw-pin {
  pointer-events: none;
}

.hw-pin__card {
  background: rgba(7, 22, 48, 0.9);
  border-color: rgba(125, 220, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.hw-pin__card b {
  color: #fff;
}

.hw-pin__card i {
  color: rgba(200, 235, 255, 0.85);
}

/* Hide old signal hint if any */
.page-hardware .signal__hint { display: none !important; }

@media (max-width: 900px) {
  .page-hardware .hw-kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-hardware .hw-tabs.flow-stages {
    border-radius: 1rem;
    justify-content: flex-start;
  }
  .page-hardware .hw-pain .pain-map__row {
    min-height: 0;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .page-hardware .hw-kpi {
    grid-template-columns: 1fr;
  }
  .hw-loop__bridge {
    flex-wrap: wrap;
    text-align: center;
  }
}


/* ========== Feedback polish 2026-07-19b ========== */

/* Hero lede: single continuous sentence (no forced line breaks) */
.page-hardware .hero__lede--single {
  max-width: 38rem;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.7;
}

/* AI 改善 bridge: true center in middle column, no vertical drift */
.page-hardware .hw-pain .pain-map__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.75rem;
}

.page-hardware .hw-pain .pain-map__bridge {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  margin: 0;
  min-width: 4.5rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 0.7rem;
  white-space: nowrap;
}

.page-hardware .hw-pain .pain-map__pain {
  grid-column: 1;
}
.page-hardware .hw-pain .pain-map__fix,
.page-hardware .hw-pain .pain-map__fix-stack {
  grid-column: 3;
}

/* Four goal cards with paired metrics */
.page-hardware .hw-goals--paired {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 72rem;
  margin: 0 auto;
}

.page-hardware .goal-card--paired {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem 1.15rem 1.15rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid #e4ecf5;
  box-shadow: 0 10px 28px rgba(20, 40, 80, 0.05);
  position: relative;
  overflow: hidden;
}

.page-hardware .goal-card--paired::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #13c2c2, #7d8cff);
}

.page-hardware .goal-card--paired h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  color: #142033;
}

.page-hardware .goal-card--paired .goal-card__value {
  margin: 0 0 0.85rem;
  color: #607084;
  font-size: 0.86rem;
}

.page-hardware .goal-card--paired .goal-card__metrics {
  list-style: none;
  margin: auto 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid #e8eef5;
  display: grid;
  gap: 0.55rem;
}

.page-hardware .goal-card--paired .goal-card__metrics li {
  display: grid;
  gap: 0.12rem;
}

.page-hardware .goal-card--paired .goal-card__metrics strong {
  font-size: 0.92rem;
  color: #142033;
  font-weight: 800;
}

.page-hardware .goal-card--paired .goal-card__metrics em {
  font-style: normal;
  color: #13c2c2;
  margin-left: 0.15rem;
}

.page-hardware .goal-card--paired .goal-card__metrics span {
  font-size: 0.78rem;
  color: #607084;
  line-height: 1.4;
}

/* Unify radius in agent section */
.page-hardware .hw-agent .agent-layout,
.page-hardware .hw-agent .mock,
.page-hardware .hw-agent .mock__card,
.page-hardware .hw-agent .agent-panel__group,
.page-hardware .hw-agent .agent-panel__group--ai,
.page-hardware .hw-agent .agent-acc {
  border-radius: 1rem;
}

.page-hardware .hw-agent .mock__chrome {
  border-radius: 1rem 1rem 0 0;
}

/* Compact AI base pill bar */
.hw-foundation {
  margin-top: 1.75rem;
  padding-top: 0;
  border-top: 0;
}

.hw-base-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #13c2c2 0%, #3eb8d8 35%, #4e8dff 70%, #6b9cff 100%);
  box-shadow: 0 12px 28px rgba(78, 141, 255, 0.22);
}

.hw-base-pill > span:not(.hw-base-pill__label) {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
}

.hw-base-pill__label {
  padding-right: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Practice full-bleed map + accurate pin positions */
.hw-practice .practice__head-shell {
  margin-bottom: 1rem;
}

.hw-practice .practice__stage--bleed {
  margin: 0;
  width: 100%;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  max-width: none;
}

.hw-practice .practice__stage--bleed .practice__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
  min-height: 28rem;
  max-height: 46rem;
}

/* Campus map product anchors (percent of stage) */
.hw-pin--ar { left: 11%; top: 14%; }       /* 左上 AR 展厅眼镜 */
.hw-pin--sunmi { left: 14%; top: 58%; }    /* 左下 零售收银台 */
.hw-pin--idata { left: 58%; top: 38%; }    /* 中右 楼宇服务台 */
.hw-pin--sport { left: 76%; top: 10%; }    /* 右上 跑道手表 */
.hw-pin--edu { left: 78%; top: 62%; }      /* 右下 学习房间 */

.hw-pin--iot { display: none; } /* legacy */

.page-hardware .hw-cta .cta-block p {
  display: none;
}

@media (max-width: 1100px) {
  .page-hardware .hw-goals--paired {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hw-base-pill {
    border-radius: 1.1rem;
    justify-content: flex-start;
  }
  .hw-base-pill > span:not(.hw-base-pill__label) {
    border-left: 0;
    padding: 0.2rem 0.55rem;
  }
}

@media (max-width: 900px) {
  .page-hardware .hw-pain .pain-map__row {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }
  .page-hardware .hw-pain .pain-map__pain,
  .page-hardware .hw-pain .pain-map__bridge,
  .page-hardware .hw-pain .pain-map__fix,
  .page-hardware .hw-pain .pain-map__fix-stack {
    grid-column: 1;
    justify-self: start;
  }
  .page-hardware .hw-pain .pain-map__bridge {
    justify-self: start;
  }
  .hw-practice .practice__stage--bleed .practice__image {
    min-height: 18rem;
  }
}

@media (max-width: 640px) {
  .page-hardware .hw-goals--paired {
    grid-template-columns: 1fr;
  }
  .hw-base-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    border-radius: 1rem;
  }
  .hw-base-pill__label {
    padding-right: 0;
  }
  .hw-base-pill > span:not(.hw-base-pill__label) {
    padding-left: 0;
  }
}


/* ========== Feedback polish 2026-07-19c ========== */

/* Hero lede: one line on desktop, soft wrap only when viewport too narrow */
.page-hardware .hero__lede--single {
  max-width: none;
  width: max-content;
  max-width: min(100%, 46rem);
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.65;
}
@media (max-width: 1100px) {
  .page-hardware .hero__lede--single {
    white-space: normal;
    width: auto;
    max-width: 100%;
  }
}

/* Pain right column: unify left edge for single fix & dual stack */
.page-hardware .hw-pain {
  max-width: 64rem;
}

.page-hardware .hw-pain .pain-map__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.25rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0;
  padding: 1.2rem 1.25rem;
}

.page-hardware .hw-pain .pain-map__pain {
  grid-column: 1;
  align-self: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-hardware .hw-pain .pain-map__bridge {
  grid-column: 2;
  justify-self: center;
  align-self: center;
}

.page-hardware .hw-pain .pain-map__fix,
.page-hardware .hw-pain .pain-map__fix-stack {
  grid-column: 3;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* All right-side AI fixes share identical card chrome & left inset */
.page-hardware .hw-pain .pain-map__fix,
.page-hardware .hw-pain .pain-map__fix-stack .pain-map__fix {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.95rem 1.05rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(19, 194, 194, 0.07), #fff 58%);
  border: 1px solid rgba(19, 194, 194, 0.16);
  box-shadow: none;
}

.page-hardware .hw-pain .pain-map__fix-stack {
  display: grid;
  gap: 0.65rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-hardware .hw-pain .pain-map__fix h3,
.page-hardware .hw-pain .pain-map__fix-stack .pain-map__fix h3 {
  margin: 0 0 0.4rem;
}

.page-hardware .hw-pain .pain-map__fix p,
.page-hardware .hw-pain .pain-map__fix-stack .pain-map__fix p {
  margin: 0;
}

/* Remove frosted glass tab bar chrome — keep plain steps */
.page-hardware .hw-tabs.flow-stages,
.page-hardware .flow-stages.agent-tabs.hw-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page-hardware .hw-tabs .agent-tab {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #607084;
  min-height: 2.4rem;
  padding: 0.3rem 0.7rem;
}

.page-hardware .hw-tabs .agent-tab.is-active {
  color: #0d2463 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 800;
}

.page-hardware .hw-tabs .agent-tab.is-active .agent-tab__num {
  box-shadow: 0 0 0 4px rgba(78, 141, 255, 0.16);
}

.page-hardware .hw-agent .flow-stages__arrow {
  opacity: 0.28;
  width: 1rem;
  min-width: 1rem;
}

/* Agent content card: solid fill + clip radius (no frosted corner artifacts) */
.page-hardware .hw-agent .agent-layout {
  overflow: hidden !important;
  border-radius: 1.15rem !important;
  background: #ffffff !important;
  border: 1px solid #e5eef7 !important;
  box-shadow: 0 12px 32px rgba(20, 40, 80, 0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page-hardware .hw-agent .agent-panel {
  border-radius: 0;
}

.page-hardware .hw-agent .agent-panel__copy,
.page-hardware .hw-agent .agent-panel__visual {
  border-radius: 0;
}

.page-hardware .hw-agent .mock {
  overflow: hidden;
  border-radius: 0.95rem !important;
  background: #0b1730;
}

.page-hardware .hw-agent .mock__chrome {
  border-radius: 0.95rem 0.95rem 0 0 !important;
}

.page-hardware .hw-agent .mock__card,
.page-hardware .hw-agent .agent-panel__group,
.page-hardware .hw-agent .agent-panel__group--ai {
  border-radius: 0.85rem !important;
}

/* 2.5D: no dark edge / gap under map */
.hw-practice {
  background: #07162f;
  padding-bottom: 0 !important;
  margin-bottom: 0;
}

.hw-practice .practice__head-shell {
  margin-bottom: 0.85rem;
  padding-bottom: 0;
}

.hw-practice .practice__stage,
.hw-practice .practice__stage--bleed {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: hidden !important;
  line-height: 0;
  font-size: 0;
}

.hw-practice .practice__stage--bleed .practice__image,
.hw-practice .practice__image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  vertical-align: bottom;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Restore pin text size after font-size:0 on stage */
.hw-practice .hw-pin {
  font-size: 1rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .page-hardware .hw-pain .pain-map__row {
    grid-template-columns: 1fr;
    row-gap: 0.85rem;
  }
  .page-hardware .hw-pain .pain-map__pain,
  .page-hardware .hw-pain .pain-map__bridge,
  .page-hardware .hw-pain .pain-map__fix,
  .page-hardware .hw-pain .pain-map__fix-stack {
    grid-column: 1;
    width: 100%;
  }
  .page-hardware .hw-pain .pain-map__bridge {
    justify-self: start;
  }
}


/* ========== Title row: lede on right of h3 ========== */
.page-hardware .agent-panel__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  margin: 0 0 0.85rem;
}

.page-hardware .agent-panel__title-row h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.page-hardware .agent-panel__title-row .agent-panel__lede {
  margin: 0;
  flex: 0 1 auto;
  max-width: 100%;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #d8e4f2;
  background: #f4f8fc;
  color: #425872;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .page-hardware .agent-panel__title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-hardware .agent-panel__title-row .agent-panel__lede {
    white-space: normal;
  }
}


/* ========== Agent panel layout polish ========== */
.page-hardware .agent-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: stretch;
}

.page-hardware .agent-panel__copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.25rem 0.15rem 0.15rem;
  height: 100%;
}

/* Head: title+lede left, metric right */
.page-hardware .agent-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  margin: 0;
  padding-bottom: 0.15rem;
}

.page-hardware .agent-panel__title-block {
  flex: 1 1 12rem;
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.page-hardware .agent-panel__title-block h3 {
  margin: 0;
  font-size: clamp(1.28rem, 1.9vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #0f2448;
  white-space: normal;
  word-break: keep-all;
}

.page-hardware .agent-panel__title-block .agent-panel__lede {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  color: #6b7c93;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
}

.page-hardware .agent-panel__head .agent-panel__metric {
  flex: 0 0 auto;
  margin: 0.15rem 0 0;
  align-self: flex-start;
}

/* Groups: AI + 流程 stack compact */
.page-hardware .agent-panel__groups {
  display: grid;
  gap: 0.7rem;
  flex: 1 1 auto;
}

.page-hardware .agent-panel__group {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: #f6f9fc;
  border: 1px solid #e6eef6;
}

.page-hardware .agent-panel__group--ai {
  padding: 0.75rem 0.95rem;
  background: linear-gradient(145deg, rgba(125, 140, 255, 0.1), #fafbff 60%);
  border-color: rgba(125, 140, 255, 0.22);
}

.page-hardware .agent-panel__group h4 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

/* AI list as compact tags when few items */
.page-hardware .agent-panel__list--ai {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-hardware .agent-panel__list--ai li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(125, 140, 255, 0.12);
  color: #5a3dff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-hardware .agent-panel__list--ai li::before {
  display: none;
}

/* Process list tighter 2-col */
.page-hardware .agent-panel__group:not(.agent-panel__group--ai) .agent-panel__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0;
}

.page-hardware .agent-panel__group:not(.agent-panel__group--ai) .agent-panel__list li {
  margin: 0;
  padding: 0.2rem 0 0.2rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.4;
  border: 0;
}

.page-hardware .agent-panel__result {
  margin-top: auto;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
}

/* Right visual: fill height, less empty void */
.page-hardware .agent-panel__visual {
  display: flex;
  min-height: 100%;
  height: 100%;
}

.page-hardware .agent-panel__visual .mock {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  border-radius: 1rem !important;
  overflow: hidden;
  background: #0c1a33;
  border: 1px solid #dce6f2;
  box-shadow: 0 10px 28px rgba(15, 35, 70, 0.08);
}

.page-hardware .agent-panel__visual .mock__chrome {
  flex: 0 0 auto;
  border-radius: 0 !important;
}

.page-hardware .agent-panel__visual .mock__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.05rem 1.1rem;
  background: linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.page-hardware .agent-panel__visual .mock__card {
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 0.85rem !important;
  padding: 0.85rem 0.95rem;
}

.page-hardware .agent-panel__visual .mock__chips {
  margin-top: auto;
  padding-top: 0.25rem;
}

/* Kill old title-row styles that conflict */
.page-hardware .agent-panel__title-row {
  display: contents;
}

@media (max-width: 900px) {
  .page-hardware .agent-panel {
    grid-template-columns: 1fr;
  }
  .page-hardware .agent-panel__group:not(.agent-panel__group--ai) .agent-panel__list {
    grid-template-columns: 1fr;
  }
  .page-hardware .agent-panel__head {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ========== Scene business simulation demos ========== */
.page-hardware .agent-panel__visual .sim {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dde7f3;
  box-shadow: 0 12px 32px rgba(15, 35, 70, 0.08);
}

.sim__chrome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  background: #0c1b34;
  color: #e8f1ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.sim__dots {
  width: 2.4rem;
  height: 0.55rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 0.28rem 50%, #ff5f57 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 1.05rem 50%, #febc2e 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 1.82rem 50%, #28c840 0.22rem, transparent 0.24rem);
  flex: 0 0 auto;
}

.sim__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #7ef0d8;
  background: rgba(19, 194, 194, 0.16);
}

.sim__live::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #2dffc0;
  box-shadow: 0 0 0 0 rgba(45, 255, 192, 0.5);
  animation: simPulse 1.5s ease-out infinite;
}

.sim__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.95rem 1rem 1.05rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  min-height: 0;
}

.sim-card {
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 0.85rem;
  padding: 0.8rem 0.9rem;
}

.sim-card--ai {
  border-color: rgba(125, 140, 255, 0.28);
  background: linear-gradient(160deg, rgba(125, 140, 255, 0.08), #fff 55%);
}

.sim-card__h {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #4e8dff;
}

/* Entry: flow + OCR scan */
.sim-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
}

.sim-flow__step {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  text-align: center;
  font-size: 0.65rem;
  color: #8fa3bf;
  font-weight: 600;
}

.sim-flow__step i {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  background: #e8eef6;
  color: #607084;
  position: relative;
}

.sim-flow__step.is-done i {
  background: rgba(19, 194, 194, 0.18);
  color: #0f9b96;
}

.sim-flow__step.is-active i {
  background: linear-gradient(135deg, #13c2c2, #4e8dff);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(78, 141, 255, 0.16);
  animation: simPop 1.2s ease-in-out infinite;
}

.sim-flow__step.is-active {
  color: #0d2463;
}

.sim-scan {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 0.7rem;
  flex: 1 1 auto;
}

.sim-scan__frame {
  position: relative;
  border-radius: 0.85rem;
  border: 1px dashed rgba(78, 141, 255, 0.35);
  background: #0c1b34;
  color: #dcecff;
  padding: 0.85rem;
  overflow: hidden;
  min-height: 8.5rem;
}

.sim-scan__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4fd8ff, transparent);
  box-shadow: 0 0 12px rgba(79, 216, 255, 0.8);
  animation: simScan 2.2s linear infinite;
}

.sim-scan__label {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: #7ef0d8;
  letter-spacing: 0.04em;
}

.sim-scan__kv {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
}

.sim-scan__kv li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
}

.sim-scan__kv b {
  color: #9ef0ef;
  font-weight: 700;
}

.sim-status-list {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.sim-status {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  background: #fff;
  border: 1px solid #e4edf7;
  font-size: 0.76rem;
  color: #607084;
}

.sim-status b { color: #8fa3bf; font-weight: 700; }
.sim-status.is-on b { color: #13a89a; }
.sim-status.is-pulse b {
  color: #4e8dff;
  animation: simBlink 1.1s ease-in-out infinite;
}

.sim-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sim-channels span,
.sim-chip,
.sim-insight-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #607084;
  background: #fff;
  border: 1px solid #e0eaf5;
}

.sim-channels span.is-on,
.sim-chip.is-on,
.sim-insight-tags span.is-on {
  color: #0f9b96;
  background: rgba(19, 194, 194, 0.12);
  border-color: rgba(19, 194, 194, 0.25);
}

.sim-chip.is-pulse,
.sim-insight-tags span.is-pulse {
  color: #4e8dff;
  border-color: rgba(78, 141, 255, 0.3);
  animation: simBlink 1.2s ease-in-out infinite;
}

/* Remote */
.sim-remote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  flex: 1 1 auto;
}

.sim-media {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.45rem;
  align-items: start;
}

.sim-media__ph {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.45rem;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #4e8dff;
  background: rgba(78, 141, 255, 0.12);
  border: 1px dashed rgba(78, 141, 255, 0.3);
}

.sim-media p {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: #425872;
  line-height: 1.45;
}

.sim-progress {
  position: relative;
  height: 0.45rem;
  border-radius: 999px;
  background: #e8eef6;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.sim-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #13c2c2, #4e8dff);
  animation: simGrow 2.4s ease-in-out infinite alternate;
}

.sim-progress span {
  position: absolute;
  right: 0;
  top: -1.15rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #4e8dff;
}

.sim-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.sim-steps li {
  position: relative;
  padding: 0.28rem 0.4rem 0.28rem 1.15rem;
  font-size: 0.78rem;
  color: #8fa3bf;
  border-radius: 0.4rem;
}

.sim-steps li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #d0dae8;
}

.sim-steps li.is-done { color: #0f9b96; }
.sim-steps li.is-done::before { background: #13c2c2; }
.sim-steps li.is-active {
  color: #0d2463;
  background: rgba(78, 141, 255, 0.08);
  font-weight: 700;
}
.sim-steps li.is-active::before {
  background: #4e8dff;
  box-shadow: 0 0 0 3px rgba(78, 141, 255, 0.2);
}

.sim-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.sim-split__btn {
  border: 1px solid #d5e2f0;
  background: #fff;
  color: #425872;
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: default;
}

.sim-split__btn.is-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(90deg, #13c2c2, #4e8dff);
  box-shadow: 0 8px 18px rgba(78, 141, 255, 0.22);
  animation: simGlow 1.8s ease-in-out infinite;
}

/* RMA timeline */
.sim-timeline {
  display: grid;
  gap: 0.15rem;
  padding: 0.2rem 0.15rem;
}

.sim-tl {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.65rem;
  align-items: start;
  position: relative;
  padding: 0.35rem 0;
}

.sim-tl::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 1.15rem;
  bottom: -0.35rem;
  width: 2px;
  background: #e2eaf4;
}

.sim-tl:last-child::before { display: none; }

.sim-tl i {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #e2eaf4;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d0dae8;
  margin-top: 0.15rem;
  z-index: 1;
}

.sim-tl.is-done i {
  background: #13c2c2;
  box-shadow: 0 0 0 1px rgba(19, 194, 194, 0.35);
}

.sim-tl.is-active i {
  background: #4e8dff;
  box-shadow: 0 0 0 4px rgba(78, 141, 255, 0.2);
  animation: simPulse 1.4s ease-out infinite;
}

.sim-tl strong {
  display: block;
  font-size: 0.86rem;
  color: #142033;
}

.sim-tl span {
  font-size: 0.72rem;
  color: #8fa3bf;
}

.sim-tl.is-active strong { color: #4e8dff; }

.sim-rma-meta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
}

.sim-sla strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #0d2463;
  font-variant-numeric: tabular-nums;
}

.sim-sla span {
  font-size: 0.72rem;
  color: #8fa3bf;
}

.sim-bar {
  margin-top: 0.55rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #e8eef6;
  overflow: hidden;
}

.sim-bar i {
  display: block;
  height: 100%;
  width: var(--p, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #13c2c2, #4e8dff);
  animation: simGrow 2s ease-in-out infinite alternate;
}

.sim-ok {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f9b96;
}

.sim-pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: #2dffc0;
  animation: simPulse 1.5s ease-out infinite;
}

/* Parts */
.sim-parts {
  display: grid;
  gap: 0.45rem;
}

.sim-part {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  background: #f4f8fc;
  border: 1px solid #e4edf7;
}

.sim-part strong {
  display: block;
  font-size: 0.88rem;
  color: #142033;
}

.sim-part span {
  font-size: 0.72rem;
  color: #8fa3bf;
}

.sim-part b {
  flex: 0 0 auto;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #8fa3bf;
  background: #e8eef6;
}

.sim-part.is-hit {
  background: rgba(19, 194, 194, 0.1);
  border-color: rgba(19, 194, 194, 0.28);
  animation: simSlideIn 0.55s ease both;
}

.sim-part.is-hit b {
  color: #0f9b96;
  background: rgba(19, 194, 194, 0.16);
}

.sim-part.is-rec {
  animation: simSlideIn 0.55s ease 0.12s both;
}

.sim-part.is-rec b {
  color: #4e8dff;
  background: rgba(78, 141, 255, 0.12);
}

.sim-parts-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

/* Insight */
.sim-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.sim-kpi {
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 0.8rem;
  padding: 0.7rem 0.75rem;
}

.sim-kpi span {
  display: block;
  font-size: 0.7rem;
  color: #8fa3bf;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.sim-kpi strong {
  font-size: 1.35rem;
  color: #0d2463;
  letter-spacing: -0.02em;
}

.sim-kpi em {
  font-style: normal;
  margin-left: 0.25rem;
  font-size: 0.7rem;
  color: #d48806;
  font-weight: 700;
}

.sim-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 6.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid #e4edf7;
  flex: 1 1 auto;
}

.sim-chart span {
  flex: 1 1 auto;
  height: var(--h, 50%);
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #4e8dff, #13c2c2);
  opacity: 0.85;
  transform-origin: bottom;
  animation: simBar 1.8s ease-in-out infinite alternate;
}

.sim-chart span:nth-child(2n) { animation-delay: 0.15s; opacity: 0.7; }
.sim-chart span:nth-child(3n) { animation-delay: 0.3s; }

.sim-insight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

@keyframes simPulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 255, 192, 0.45); }
  70% { box-shadow: 0 0 0 0.45rem rgba(45, 255, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 255, 192, 0); }
}

@keyframes simScan {
  0% { top: 12%; opacity: 0.2; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 88%; opacity: 0.2; }
}

@keyframes simBlink {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes simPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes simGrow {
  from { filter: brightness(0.95); }
  to { filter: brightness(1.08); }
}

@keyframes simGlow {
  0%, 100% { box-shadow: 0 8px 18px rgba(78, 141, 255, 0.18); }
  50% { box-shadow: 0 10px 24px rgba(19, 194, 194, 0.28); }
}

@keyframes simSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes simBar {
  from { transform: scaleY(0.88); }
  to { transform: scaleY(1); }
}

@media (max-width: 900px) {
  .sim-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sim-scan,
  .sim-remote-grid,
  .sim-rma-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .sim__live::before,
  .sim-flow__step.is-active i,
  .sim-scan__line,
  .sim-status.is-pulse b,
  .sim-chip.is-pulse,
  .sim-insight-tags span.is-pulse,
  .sim-progress i,
  .sim-bar i,
  .sim-split__btn.is-primary,
  .sim-tl.is-active i,
  .sim-pulse-dot,
  .sim-part.is-hit,
  .sim-part.is-rec,
  .sim-chart span {
    animation: none !important;
  }
}

/* =========================================================
   Hero layout lock — align to equipment manufacturing page
   Overrides earlier .hero--hardware divergences.
   ========================================================= */
.hero.hero--hardware {
  min-height: min(100dvh, 61rem) !important;
  max-height: none !important;
  padding: 8rem var(--gutter) 8.5rem !important;
  align-items: center !important;
  display: grid !important;
}

.hero.hero--hardware .hero__content {
  position: relative;
  z-index: 2;
  width: min(50rem, 62vw) !important;
  max-width: 100% !important;
  padding-top: 2rem !important;
  padding-bottom: 0 !important;
  min-width: 0;
}

.hero.hero--hardware .hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.hero.hero--hardware .hero__kicker b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.45rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-cyan, #13c2c2), var(--color-tech, #4e8dff));
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #fff;
}

/* 主标题字号与设备制造页完全一致 */
.hero.hero--hardware h1,
.hero.hero--hardware .hero h1,
.hero.hero--hardware h1#hero-title {
  margin: 0 !important;
  max-width: 16em !important;
  width: 100% !important;
  font-size: clamp(2rem, 3.6vw, 3.15rem) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
  color: #fff !important;
  word-break: keep-all !important;
}

.hero.hero--hardware .hero h1 .hero__line {
  display: block;
}

.hero.hero--hardware .hero h1 .gradient-text,
.hero.hero--hardware .hero h1 .hero__line--grad {
  font-style: normal;
  background: linear-gradient(90deg, #13c2c2, #4e8dff, #7d8cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
}

.hero.hero--hardware .hero__lede,
.hero.hero--hardware .hero__lede--single {
  max-width: 32rem !important;
  width: auto !important;
  margin: 1.15rem 0 0 !important;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.15vw, 1.08rem) !important;
  line-height: 1.65 !important;
  white-space: normal !important;
  word-break: keep-all;
}

.hero.hero--hardware .hero__metrics-label {
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.hero.hero--hardware .hero__metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.7rem !important;
  max-width: 36rem !important;
  margin: 0.65rem 0 0 !important;
}

.hero.hero--hardware .hero__metric {
  position: relative;
  padding: 0.95rem 0.9rem 0.85rem !important;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 27, 75, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 0;
  grid-column: auto !important;
}

.hero.hero--hardware .hero__metric strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.7rem) !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #13c2c2, #4e8dff, #7d8cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero.hero--hardware .hero__metric span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem !important;
  line-height: 1.4 !important;
  font-weight: 600;
}

.hero.hero--hardware .hero__actions {
  display: flex !important;
  flex-wrap: wrap;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  margin-top: 1.65rem !important;
}

.hero.hero--hardware .hero__actions .btn {
  width: auto !important;
}

/* Right-side signal stack — same positions as equipment */
.hero.hero--hardware .hero__signals {
  display: block !important;
  position: absolute !important;
  z-index: 2 !important;
  inset: 0 !important;
  pointer-events: none !important;
}

.hero.hero--hardware .hero__signals::before {
  display: none !important;
  content: none !important;
}

.hero.hero--hardware .signal {
  position: absolute;
  min-width: 13rem;
  max-width: none !important;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  color: #fff;
  background: rgba(7, 27, 75, 0.52);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0.9;
  left: auto !important;
}

.hero.hero--hardware .signal strong {
  display: block;
  font-size: 0.9rem !important;
  font-weight: 800;
  line-height: 1.35;
}

.hero.hero--hardware .signal > span:not(.signal__badge) {
  display: block;
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem !important;
  line-height: 1.45 !important;
}

.hero.hero--hardware .signal__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(143, 163, 191, 0.28);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero.hero--hardware .signal--in,
.hero.hero--hardware .signal--out {
  width: min(16.5rem, 28vw) !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0.9rem 1rem !important;
  background: rgba(10, 22, 48, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  opacity: 0.9 !important;
}

.hero.hero--hardware .signal--ai {
  width: min(18.5rem, 32vw) !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 1rem 1.05rem !important;
  background: linear-gradient(145deg, rgba(19, 194, 194, 0.18), rgba(78, 141, 255, 0.16)) !important;
  border: 1px solid rgba(125, 200, 255, 0.28) !important;
  box-shadow: 0 18px 40px rgba(7, 27, 75, 0.28) !important;
  opacity: 1 !important;
}

.hero.hero--hardware .signal--in {
  top: 28% !important;
  right: 30% !important;
  bottom: auto !important;
}

.hero.hero--hardware .signal--ai {
  top: 46% !important;
  right: 14% !important;
  bottom: auto !important;
}

.hero.hero--hardware .signal--out {
  top: auto !important;
  right: 24% !important;
  bottom: 14% !important;
}

.hero.hero--hardware .signal__rows {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.55rem;
  padding-top: 0;
  border-top: 0;
}

.hero.hero--hardware .signal__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0;
  font-size: 0.74rem !important;
  color: rgba(255, 255, 255, 0.72);
}

.hero.hero--hardware .signal__row b {
  color: #13c2c2;
  font-weight: 700;
}

.hero.hero--hardware .signal__row b::after {
  display: none;
}

.hero.hero--hardware .ai-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.1rem;
  margin-right: 0.2rem;
  padding: 0 0.28rem;
  border-radius: 0.3rem;
  background: linear-gradient(90deg, #13c2c2, #4e8dff);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

@media (max-width: 64rem) {
  .hero.hero--hardware .hero__content {
    width: min(42rem, 72vw) !important;
  }
  .hero.hero--hardware .signal--in {
    right: 14% !important;
    top: 24% !important;
  }
  .hero.hero--hardware .signal--ai {
    right: 4% !important;
  }
  .hero.hero--hardware .signal--out {
    right: 12% !important;
  }
}

@media (max-width: 56rem) {
  .hero.hero--hardware {
    min-height: auto !important;
    padding: calc(var(--nav-height, 4.5rem) + 1.75rem) var(--gutter) 2.75rem !important;
    align-items: end !important;
  }
  .hero.hero--hardware .hero__content {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0 !important;
  }
  .hero.hero--hardware .hero__metrics {
    grid-template-columns: 1fr !important;
    max-width: 20rem !important;
  }
  .hero.hero--hardware .hero__signals {
    display: none !important;
  }
}

/* —— Nav CTA lock: align to equipment manufacturing —— */
.nav {
  padding: 0 clamp(1.25rem, 4vw, 2rem) !important;
}
.nav__inner {
  width: min(100%, 80rem) !important;
  margin: 0 auto !important;
  padding-inline: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 1rem !important;
}
.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav__cta,
.nav__actions .nav__cta,
.nav__actions .btn--nav {
  justify-self: end;
  display: inline-flex !important;
  min-height: 2.5rem !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.5rem 0.9rem 0.5rem 1.1rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(90deg, #13c2c2 0%, #4e8dff 55%, #7d8cff 100%) !important;
  box-shadow: 0 12px 28px rgba(78,141,255,0.22) !important;
  transition: transform 100ms cubic-bezier(0.16, 1, 0.3, 1), filter 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav:not(.is-scrolled) .nav__cta,
.nav:not(.is-scrolled) .nav__actions .nav__cta,
.nav:not(.is-scrolled) .nav__actions .btn--nav {
  border: 1px solid rgba(255,255,255,0.28) !important;
  background: rgba(15,23,42,0.5) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.16) !important;
  color: #fff !important;
}
.nav:not(.is-scrolled) .nav__cta:hover,
.nav:not(.is-scrolled) .nav__actions .nav__cta:hover,
.nav:not(.is-scrolled) .nav__actions .btn--nav:hover {
  background: #fff !important;
  color: #071B4B !important;
  border-color: #fff !important;
}
.nav.is-scrolled .nav__cta,
.nav.is-scrolled .nav__actions .nav__cta,
.nav.is-scrolled .nav__actions .btn--nav {
  border: 0 !important;
  background: linear-gradient(90deg, #13c2c2 0%, #4e8dff 55%, #7d8cff 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(78,141,255,0.22) !important;
  backdrop-filter: none !important;
}
.nav.is-scrolled .nav__cta:hover,
.nav.is-scrolled .nav__actions .nav__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #fff !important;
}
.nav__cta-arrow {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}
.nav__cta-arrow svg { width: 0.72rem; height: 0.72rem; }
@media (max-width: 56rem) {
  .nav__cta-arrow { display: none; }
}

/* —— Mega side text: prevent overflow/clip (full sentence wrap) —— */
.nav-mega-side,
.nav__mega-side,
.nav__mega--site .nav__mega-side {
  overflow: visible !important;
  min-width: 0 !important;
  max-width: 100%;
}
.nav-mega-side > div:first-child,
.nav__mega-side > div:first-child,
.nav__mega--site .nav__mega-side > div:first-child {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
.nav-mega-side-title,
.nav__mega-side-title,
.nav__mega--site .nav__mega-side-title {
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  max-width: 100%;
}
.nav-mega-side-text,
.nav__mega-side-text,
.nav__mega--site .nav__mega-side-text,
p.nav__mega-side-text,
p.nav-mega-side-text {
  display: block !important;
  margin-top: 12px !important;
  max-width: 100% !important;
  width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  word-wrap: break-word !important;
  hyphens: auto;
  line-height: 1.65 !important;
  font-size: 13px !important;
  color: #607084 !important;
  font-weight: 500 !important;
}
/* Side column needs room for wrapped Chinese copy */
.nav-mega-panel,
.nav__mega--site .nav__mega-panel,
.nav-panel {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) !important;
}
.nav-mega-side,
.nav__mega--site .nav__mega-side {
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .nav-mega-panel,
  .nav__mega--site .nav__mega-panel,
  .nav-panel {
    grid-template-columns: 1fr !important;
  }
}

/* —— Unified site nav (equipment baseline) —— */
.nav {
      position: fixed;
      inset: 0 0 auto;
      z-index: var(--z-nav);
      min-height: var(--nav-height);
      padding: 0 clamp(1.25rem, 4vw, 2rem);
      color: #fff;
      background: transparent;
      border-bottom: 1px solid transparent;
      transition: background var(--fast) var(--ease), box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
    }
.nav.is-scrolled {
      color: var(--ink);
      background: #fff;
      border-bottom-color: rgba(216, 224, 234, 0.88);
      box-shadow: 0 12px 34px rgba(20, 32, 51, 0.06);
    }
.nav__inner {
      width: min(100%, 80rem);
      min-height: var(--nav-height);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      align-items: center;
      column-gap: 1rem;
    }
.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand img { width: auto; height: clamp(1.85rem, 2.4vw, 2.1rem); }
.brand__logo--color { display: none; }
.nav.is-scrolled .brand__logo--white { display: none; }
.nav.is-scrolled .brand__logo--color { display: block; }
.nav__links {
      display: flex;
      align-items: center;
      justify-content: center;
      justify-self: center;
      gap: 1.75rem;
      color: rgba(255,255,255,0.9);
      font-size: 0.875rem;
      font-weight: 500;
      white-space: nowrap;
    }
.nav.is-scrolled .nav__links { color: #64748b; }
.nav__cta {
      justify-self: end;
      display: inline-flex;
      min-height: 2.5rem;
      align-items: center;
      gap: 0.4rem;
      padding: 0.5rem 0.9rem 0.5rem 1.1rem;
      border: 0;
      border-radius: 999px;
      color: #fff;
      font-weight: 600;
      font-size: 0.875rem;
      cursor: pointer;
      white-space: nowrap;
      background: linear-gradient(90deg, var(--shb-brand-cyan) 0%, var(--shb-tech-blue) 55%, var(--shb-ai-purple) 100%);
      box-shadow: 0 12px 28px rgba(78,141,255,0.22);
      transition: transform 100ms var(--ease), filter var(--fast) var(--ease), background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
    }
.nav:not(.is-scrolled) .nav__cta {
      border: 1px solid rgba(255,255,255,0.28);
      background: rgba(15,23,42,0.5);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 8px 22px rgba(0,0,0,0.16);
    }
.nav:not(.is-scrolled) .nav__cta:hover { background: #fff; color: var(--navy); border-color: #fff; }
.nav.is-scrolled .nav__cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.nav__cta-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.35rem;
      height: 1.35rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
    }
.nav__cta-arrow svg {
      width: 0.72rem;
      height: 0.72rem;
    }
/* map nav__brand if leftover */
.nav__brand { display: inline-flex; align-items: center; justify-self: start; }
.nav__brand .nav__logo,
.brand img { width: auto; height: clamp(1.85rem, 2.4vw, 2.1rem); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 0.55rem; }

/* —— Mega side: no helper copy, tighten CTA up —— */
.nav-mega-side,
.nav__mega-side,
.nav__mega--site .nav__mega-side {
  justify-content: flex-start !important;
  gap: 1.1rem !important;
  min-height: 0 !important;
  padding: 24px !important;
}
.nav-mega-side-text,
.nav__mega-side-text,
.nav__mega--site .nav__mega-side-text,
p.nav__mega-side-text,
p.nav-mega-side-text,
div.nav-mega-side-text {
  display: none !important;
}
.nav-mega-side-actions,
.nav__mega-side-actions,
.nav__mega--site .nav__mega-side-actions {
  margin-top: 0.85rem !important;
  gap: 10px !important;
}
.nav-mega-side-title,
.nav__mega-side-title,
.nav__mega--site .nav__mega-side-title {
  margin: 0 !important;
}

