*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: none !important; }

:root {
  --green: #327887;
  --green-mix: color-mix(in oklch, #327887 72%, #0A0C10);
  --yellow: #fabe14;
  --yellow-mix: color-mix(in oklch, #fabe14 55%, #327887);
  --bg: #0A0C10;
  --bg-alt: #0C0F14;
  --bg-soft: #0B0D12;
  --bg-tint: color-mix(in oklch, var(--bg) 92%, var(--green) 8%);
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.58);
  --text-dim: rgba(255,255,255,0.38);
  --glass: rgba(255,255,255,0.035);
  --border: rgba(255,255,255,0.08);
  /* --max-w: 1280px; */
  --max-w: 73.5%;;
  --section-y: clamp(6.5rem, 14vh, 10.5rem);
  --section-y-compact: clamp(4.5rem, 9vh, 7rem);
  --section-header-gap: clamp(3.5rem, 7vw, 5.5rem);
  --grid-gap: clamp(1.75rem, 3vw, 2.75rem);
  --stack-gap: clamp(2rem, 4vw, 3.5rem);
  --ease-color: cubic-bezier(0.4, 0, 0.2, 1);
  --surface: color-mix(in oklch, var(--bg) 86%, var(--green) 14%);
  --surface-raised: color-mix(in oklch, var(--bg) 80%, var(--green) 20%);
  --surface-glass: color-mix(in oklch, var(--bg) 92%, var(--green) 8%);
  --link-inline: color-mix(in oklch, var(--green) 72%, white);
  --link-inline-underline: color-mix(in oklch, var(--green) 38%, transparent);
  --link-inline-hover: var(--yellow);
  --link-inline-hover-underline: color-mix(in oklch, var(--yellow) 48%, transparent);

  /* 三层字号体系 — 标题层不变，阅读层/正文层适度放大 */
  --fs-title: clamp(2.25rem, 5.8vw, 4.25rem);
  --fs-title-page: clamp(2rem, 4.5vw, 3.25rem);
  --fs-title-section: clamp(1.75rem, 4vw, 2.75rem);
  --fs-title-section-sm: clamp(1.375rem, 2.8vw, 2.125rem);
  --fs-reading: clamp(1.1875rem, 2vw, 1.375rem);
  --fs-reading-sm: clamp(1.0625rem, 1.6vw, 1.1875rem);
  --fs-body: 0.9375rem;
  --fs-body-sm: 0.875rem;
  --fs-label: 0.8125rem;
  --fs-caption: 0.75rem;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 130% 70% at 50% -15%, color-mix(in oklch, var(--green) 14%, transparent), transparent 58%),
    radial-gradient(ellipse 70% 45% at 92% 18%, color-mix(in oklch, var(--yellow) 8%, transparent), transparent 52%),
    radial-gradient(ellipse 60% 40% at 8% 72%, color-mix(in oklch, var(--green) 10%, transparent), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
::selection { background: rgba(50,120,135,0.4); }

section a[href^="mailto:"]:not(.btn):not(.careers-role-row),
section a[href^="tel:"]:not(.btn),
section p a:not([class]):not(.btn),
section li a:not([class]):not(.btn) {
  color: var(--link-inline);
  text-decoration: underline;
  text-decoration-color: var(--link-inline-underline);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

section a[href^="mailto:"]:not(.btn):not(.careers-role-row):hover,
section a[href^="tel:"]:not(.btn):hover,
section p a:not([class]):not(.btn):hover,
section li a:not([class]):not(.btn):hover {
  color: var(--link-inline-hover);
  text-decoration-color: var(--link-inline-hover-underline);
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.logo img { height: 36px; width: auto; display: block; }

nav.desktop-nav { display: none; gap: 2rem; align-items: center; }
nav.desktop-nav a {
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem;
  transition: color 0.2s;
}
nav.desktop-nav > a {
  display: inline-flex; align-items: center; line-height: 1.65;
}
nav.desktop-nav a:hover, nav.desktop-nav a.active { color: var(--yellow); }

.header-actions { display: none; gap: 0.75rem; align-items: center; }
.menu-btn {
  display: flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px; background: transparent;
  color: var(--text); cursor: pointer;
}
.mobile-nav {
  display: none; border-top: 1px solid var(--border);
  background: rgba(10,12,16,0.95); backdrop-filter: blur(20px);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 0.75rem 1rem; color: rgba(255,255,255,0.8);
  text-decoration: none; border-radius: 8px; font-size: 0.875rem;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.05); }

@media (min-width: 1024px) {
  nav.desktop-nav, .header-actions { display: flex; }
  .menu-btn { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border-radius: 8px; font-size: 0.875rem;
  font-weight: 600; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s ease; font-family: inherit;
}
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 16px rgba(50,120,135,0.3);
}
.btn-primary:hover {
  background: var(--yellow-mix); color: var(--bg);
  box-shadow: 0 8px 32px color-mix(in oklch, var(--yellow) 35%, transparent);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  border-color: var(--green);
  background: rgba(50,120,135,0.15);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Cards — 表面色统一走品牌青绿 hue，避免 white 混色发紫 */
.glass {
  background: var(--surface-glass);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px color-mix(in oklch, black 50%, transparent);
}
.glass-hover,
.case-card,
.news-grid .news-card,
.news-list .news-card {
  cursor: pointer;
  will-change: transform, box-shadow;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease-out;
}
.glass-hover:hover,
.card-solid.glass-hover:hover,
.case-card:hover,
.news-grid .news-card:hover,
.news-list .news-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 22px 56px color-mix(in oklch, black 58%, transparent),
    0 8px 28px color-mix(in oklch, var(--green) 14%, transparent);
}
.card-solid {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 8px 28px color-mix(in oklch, black 48%, transparent);
}
.card-split {
  display: grid; grid-template-columns: 1fr; gap: var(--stack-gap); align-items: center;
}
@media (min-width: 768px) {
  .card-split { grid-template-columns: 1fr 1fr; }
}

/* Tag */
.tag {
  display: inline-flex; padding: 0.25rem 0.75rem; border-radius: 999px;
  font-size: var(--fs-body-sm); font-weight: 500;
  border: 1px solid color-mix(in oklch, var(--green) 28%, transparent);
  background: color-mix(in oklch, var(--green) 12%, transparent); color: var(--green);
}
.tag-yellow { border-color: color-mix(in oklch, var(--yellow) 30%, transparent); background: color-mix(in oklch, var(--yellow) 12%, transparent); color: var(--yellow); }
.tag-featured { border-color: color-mix(in oklch, var(--yellow) 40%, transparent); background: color-mix(in oklch, var(--yellow) 16%, transparent); color: var(--yellow); font-weight: 600; }

/* Section — 渐变过渡，避免色带断层 */
section {
  position: relative;
  padding: var(--section-y) 0;
  background: transparent;
}
section.section-alt {
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in oklch, var(--bg) 88%, var(--green) 12%) 14%,
    color-mix(in oklch, var(--bg) 88%, var(--green) 12%) 86%,
    transparent 100%);
}
section.section-soft {
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in oklch, var(--bg) 90%, var(--green) 10%) 16%,
    color-mix(in oklch, var(--bg) 90%, var(--green) 10%) 84%,
    transparent 100%);
}
section.section-compact { padding: var(--section-y-compact) 0; }
section + section:not(.section-compact) {
  margin-top: 0;
}
.section-title {
  font-family: 'Outfit', sans-serif; font-size: var(--fs-title-section);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  text-align: center; margin-bottom: 1rem;
}
.section-title--sm {
  font-size: var(--fs-title-section-sm);
  line-height: 1.25;
}
.section-sub {
  text-align: center; color: var(--text-muted); max-width: 48rem;
  margin: 0 auto var(--section-header-gap); font-size: var(--fs-reading-sm); line-height: 1.75;
}
.section-sub-group {
  max-width: 48rem; margin: 0 auto var(--section-header-gap); text-align: center;
  display: flex; flex-direction: column; gap: 1rem;
}
.section-sub-group .section-sub { margin: 0 auto; }
.section-header { margin-bottom: var(--section-header-gap); }

.glow-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; opacity: 0.7; }
.glow-green { background: color-mix(in oklch, var(--green) 28%, transparent); }
.glow-yellow { background: color-mix(in oklch, var(--yellow) 16%, transparent); }

.text-gradient {
  background: linear-gradient(128deg, var(--green) 0%, var(--green-mix) 42%, var(--yellow-mix) 78%, var(--yellow) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--grid-gap); }
.grid-5 { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); }
@media (min-width: 640px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Hero — grid 叠层固定高度，切换只淡入淡出 */
#hero {
  min-height: 100dvh; display: flex; align-items: center;
  padding-top: 64px; overflow: hidden;
}
#hero .container { max-width: min(1400px, 96vw); }
.hero-banner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 20px;
  background: var(--surface-glass);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 56px color-mix(in oklch, black 52%, transparent);
}
.hero-stage {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s;
  align-self: start;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  min-height: clamp(22rem, 42vh, 30rem);
}
@media (min-width: 1024px) {
  .hero-content { grid-template-columns: 1.08fr 0.92fr; align-items: center; }
}
.hero-slide .tag { display: inline-flex; }
.hero-slide .hero-title { margin-top: 1.75rem; }
.hero-footer {
  flex-shrink: 0;
  margin-top: clamp(2.75rem, 4.5vw, 3.75rem);
}
.hero-dots { display: none; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: none; cursor: pointer;
  transition: all 0.2s;
}
.hero-dot.active { background: var(--yellow); width: 24px; border-radius: 4px; }
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-title);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  min-height: clamp(2.5rem, 6.2vw, 4.6rem);
}
.hero-en { color: var(--text-dim); font-size: var(--fs-reading-sm); margin-top: 0.75rem; }
.hero-desc {
  color: var(--text-muted); font-size: var(--fs-reading); font-weight: 500;
  margin-top: 2.25rem; line-height: 1.72;
  min-height: 4.25rem;
}
.hero-desc-sm {
  color: var(--text-dim); font-size: var(--fs-reading-sm);
  margin-top: 1.5rem; line-height: 1.82;
  min-height: 7rem;
}
.hero-pipeline {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.35rem 0.45rem; margin-top: 2rem;
  font-size: var(--fs-body); color: var(--text-dim);
}
.hero-pipeline span:not(.pipe-arrow) {
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: color-mix(in oklch, var(--bg) 90%, var(--green) 10%);
}
.hero-pipeline .pipe-arrow { color: var(--green); font-weight: 700; }
.hero-aside { width: 100%; align-self: stretch; }
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  height: 100%;
}
.hero-highlight-item {
  padding: 1.125rem 1.25rem;
  border-radius: 14px;
  background: color-mix(in oklch, var(--bg) 86%, var(--green) 14%);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-highlight-title {
  font-size: 0.875rem; font-weight: 600; line-height: 1.35;
}
.hero-highlight-desc {
  font-size: var(--fs-body); color: var(--text-dim);
  margin-top: 0.35rem; line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Stats */
.stat-value { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; color: var(--yellow); }
.stat-label { font-size: 0.875rem; font-weight: 500; margin-top: 0.5rem; }
.stat-sub { font-size: var(--fs-body-sm); color: var(--text-dim); margin-top: 0.25rem; }

/* Gap cards */
.gap-num {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(50,120,135,0.2); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
}
.gap-title { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 600; }
.label-problem { font-size: var(--fs-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(250,190,20,0.8); margin-bottom: 0.25rem; }
.label-answer { font-size: var(--fs-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(50,120,135,0.8); margin-bottom: 0.25rem; margin-top: 1rem; }

/* Tech architecture diagram */
#tech { overflow: visible; }
#tech .container { overflow: visible; }

.tech-arch-wrap {
  display: block;
  margin: 0.5rem auto 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.tech-arch-wrap img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.tech-arch-figure {
  margin: 0;
}
.tech-arch-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Skiff Fast — product imagery */
.skiff-positioning {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.skiff-positioning > p {
  font-size: var(--fs-reading-sm);
  color: var(--text-muted);
  line-height: 1.9;
}
.skiff-positioning-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.skiff-positioning-metrics div {
  min-width: 0;
}
.skiff-positioning-metrics strong,
.skiff-positioning-metrics span {
  display: block;
}
.skiff-positioning-metrics strong {
  font-family: 'Outfit', sans-serif;
  color: var(--yellow);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.1;
}
.skiff-positioning-metrics span {
  margin-top: 0.65rem;
  color: var(--text-dim);
  font-size: var(--fs-body-sm);
  line-height: 1.5;
}
.skiff-feature-visual {
  position: relative;
  min-height: clamp(340px, 48vw, 610px);
  margin: 0 0 var(--grid-gap);
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-glass);
  box-shadow: 0 20px 60px color-mix(in oklch, black 56%, transparent);
}
.skiff-feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,12,16,0.96) 0%, rgba(10,12,16,0.72) 28%, transparent 64%);
  pointer-events: none;
}
.skiff-feature-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  filter: saturate(0.82);
}
.skiff-feature-visual figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(1.5rem, 5vw, 4rem);
  top: 50%;
  width: auto;
  max-width: min(100%, 78%);
  transform: translateY(-50%);
}
.skiff-feature-visual h3 {
  margin-top: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  line-height: 1.15;
  white-space: nowrap;
}
.skiff-feature-visual p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: nowrap;
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
}
.skiff-deployment-visual {
  position: relative;
  margin: 0;
  min-height: clamp(420px, 48vw, 580px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
}
.skiff-deployment-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.92);
}
.skiff-deployment-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(10,12,16,0.12) 35%, rgba(10,12,16,0.42) 62%, rgba(10,12,16,0.72) 100%);
  pointer-events: none;
}
.skiff-deployment-visual figcaption.skiff-deployment-overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 38%;
  bottom: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  margin: 0;
}
.skiff-deployment-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.skiff-deployment-visual strong {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  text-shadow: 0 2px 16px rgba(0,0,0,0.75);
  white-space: nowrap;
}
.skiff-deployment-visual span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.85);
  white-space: nowrap;
}
.skiff-deployment-grid {
  align-items: start;
}
.skiff-deployment-col {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}
.skiff-deployment-col h3 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}
.skiff-deployment-list {
  margin-top: 1rem;
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .skiff-positioning {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 640px) {
  .skiff-positioning-metrics {
    grid-template-columns: 1fr;
  }
  .skiff-positioning-metrics div {
    display: grid;
    grid-template-columns: 7rem 1fr;
    align-items: center;
    gap: 1rem;
  }
  .skiff-positioning-metrics span {
    margin-top: 0;
  }
  .skiff-feature-visual {
    min-height: 520px;
  }
  .skiff-feature-visual::after {
    background: linear-gradient(180deg, rgba(10,12,16,0.12) 20%, rgba(10,12,16,0.96) 70%);
  }
  .skiff-feature-visual img {
    object-position: 60% top;
  }
  .skiff-feature-visual figcaption {
    top: auto;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.75rem;
    width: auto;
    max-width: none;
    transform: none;
  }
  .skiff-feature-visual h3 {
    font-size: clamp(1.125rem, 4.2vw, 1.75rem);
    white-space: nowrap;
  }
  .skiff-feature-visual p {
    font-size: clamp(0.8125rem, 2.6vw, 0.9375rem);
    white-space: nowrap;
  }
  .skiff-deployment-visual {
    min-height: clamp(520px, 110vw, 680px);
  }
  .skiff-deployment-visual figcaption.skiff-deployment-overlay {
    top: 34%;
  }
  .skiff-deployment-visual img {
    object-position: center top;
  }
}

/* Tech scene — 严格对齐参考图：三层等宽卡片 + 节点立体小块 */
.tech-scene {
  position: relative;
  padding: 0.5rem 0 1.5rem;
  overflow: visible;
}

.tech-stack-3d {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.iso-layer { position: relative; width: 100%; }

.iso-platform { position: relative; }

.layer-head {
  text-align: center;
  padding-bottom: 0.25rem;
}
.layer-head .pillar-sub { color: var(--text-muted); }

.iso-platform-top {
  position: relative;
  border-radius: 14px;
  padding: 1.25rem 1.4rem 1.15rem;
  background: rgba(10,14,20,0.88);
  border: 1px solid rgba(60,150,170,0.48);
  box-shadow:
    0 0 0 1px rgba(50,120,135,0.18),
    0 0 32px rgba(50,120,135,0.12),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 36px rgba(0,0,0,0.42);
  backdrop-filter: blur(8px);
}
.iso-platform.evolution .iso-platform-top {
  background: rgba(12,14,18,0.9);
  border-color: rgba(250,190,20,0.42);
  box-shadow:
    0 0 0 1px rgba(250,190,20,0.14),
    0 0 32px rgba(250,190,20,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 36px rgba(0,0,0,0.45);
}
.iso-platform.base .iso-platform-top {
  padding: 1rem 1.35rem;
}
.matrixense-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem;
}
.matrixense-row .layer-body { margin: 0; flex: 1; min-width: 220px; text-align: right; }

.tech-bridge-3d {
  position: relative;
  z-index: 5;
  margin: 0.2rem auto;
  width: 100%;
}
.tech-bridge {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 0.5rem; padding: 0.5rem 0; min-height: 44px;
}
.bridge-beam {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--green), transparent);
  box-shadow: 0 0 10px rgba(50,120,135,0.5);
  opacity: 0.65;
  pointer-events: none;
}
.tech-bridge.yellow .bridge-beam {
  background: linear-gradient(180deg, transparent, var(--yellow), transparent);
  box-shadow: 0 0 10px rgba(250,190,20,0.45);
}
.bridge-side {
  font-size: var(--fs-label); font-weight: 600; color: var(--text-dim);
  display: flex; align-items: center; gap: 0.3rem;
}
.bridge-side.left { justify-content: center; color: var(--yellow); }
.bridge-side.right { justify-content: center; color: #4ade80; }
.bridge-side .dash {
  display: inline-block; width: 56px; height: 0; border-top: 2px dashed currentColor; opacity: 0.85;
}
.bridge-center {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.02em;
  color: var(--green); white-space: nowrap;
}
.bridge-center.yellow { color: var(--yellow); }

.pillar-name { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; }
.pillar-sub { color: var(--text-muted); font-size: var(--fs-body); margin-top: 0.35rem; line-height: 1.45; }
.layer-body { font-size: var(--fs-body); color: var(--text-muted); margin-top: 0.55rem; line-height: 1.65; text-align: center; }
.layer-foot { margin-top: 0.35rem; }

/* 参考图节点：扁平立体小块 */
.arch-node {
  display: block;
  padding: 0.48rem 0.68rem;
  border-radius: 10px;
  text-align: center;
  font-size: var(--fs-label);
  line-height: 1.38;
  color: var(--text-muted);
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(14,18,24,0.92) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    3px 4px 0 rgba(0,0,0,0.38),
    0 6px 16px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.arch-node:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    4px 5px 0 rgba(0,0,0,0.4),
    0 10px 22px rgba(0,0,0,0.32);
}
.arch-node.gold {
  border-color: rgba(250,190,20,0.42);
  background: linear-gradient(180deg, rgba(250,190,20,0.12) 0%, rgba(14,16,20,0.94) 100%);
}
.arch-node.teal {
  border-color: rgba(50,120,135,0.45);
  background: linear-gradient(180deg, rgba(50,120,135,0.16) 0%, rgba(14,18,24,0.94) 100%);
}
.arch-node strong { display: block; color: var(--text); font-size: var(--fs-body-sm); margin-bottom: 0.08rem; }
.arch-node .sub { font-size: var(--fs-caption); color: var(--text-dim); margin-top: 0.12rem; }
.arch-hub {
  width: 86px; height: 86px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: var(--fs-caption); font-weight: 700; line-height: 1.28; text-align: center;
}
.arch-hub.gold {
  color: var(--yellow);
  background: radial-gradient(circle at 40% 32%, rgba(250,190,20,0.55), rgba(40,90,100,0.2) 55%, rgba(8,10,14,0.95));
  border: 2px solid rgba(250,190,20,0.55);
  box-shadow: 0 0 32px rgba(250,190,20,0.35), inset 0 -6px 12px rgba(0,0,0,0.35);
}
.arch-hub.teal {
  color: #7dd3e8;
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-body);
  background: radial-gradient(circle at 40% 32%, rgba(80,200,220,0.45), rgba(50,120,135,0.22) 55%, rgba(8,10,14,0.95));
  border: 2px solid rgba(70,170,190,0.55);
  box-shadow: 0 0 32px rgba(50,120,135,0.4), inset 0 -6px 12px rgba(0,0,0,0.35);
}

/* ClawBot 中心辐射 */
.claw-grid {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  grid-template-rows: 30px 1fr 1fr auto;
  gap: 0.5rem 0.85rem;
  align-items: center;
  width: min(100%, 480px);
  margin: 1rem auto 0.25rem;
  position: relative;
  min-height: 200px;
}
.claw-spokes {
  position: absolute;
  left: 0; right: 0;
  top: 30px; bottom: 24px;
  pointer-events: none;
  z-index: 0;
}
.claw-node { max-width: 130px; z-index: 2; }
.claw-node .arch-node, .humas-node .arch-node { display: block; }
.claw-node .hl-gap { color: var(--yellow); font-weight: 600; }
.claw-node .hl-skill { color: var(--green); font-weight: 600; }
.claw-node.pos-a { grid-column: 1; grid-row: 2; justify-self: end; }
.claw-node.pos-b { grid-column: 3; grid-row: 2; justify-self: start; }
.claw-node.pos-c { grid-column: 1; grid-row: 3; justify-self: end; }
.claw-node.pos-d { grid-column: 3; grid-row: 3; justify-self: start; }
.claw-hub-cell {
  grid-column: 2; grid-row: 2 / 4;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.claw-arc {
  grid-column: 1 / 4; grid-row: 1;
  width: 72%; height: 30px;
  justify-self: center;
  pointer-events: none; z-index: 1;
}
.claw-mbrl {
  grid-column: 2; grid-row: 4;
  font-size: var(--fs-caption); color: var(--text-dim);
  z-index: 2;
}

/* HuMAS 左右三列 + 中心 */
.humas-grid {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 0.65rem 1rem;
  width: min(100%, 500px);
  margin: 1rem auto 0.25rem;
  align-items: center;
  position: relative;
  min-height: 210px;
}
.humas-arrows {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.humas-grid > *:not(.humas-arrows) { position: relative; z-index: 1; }
.humas-node { max-width: 128px; }
.humas-node.g-agent { grid-column: 1; grid-row: 1; justify-self: end; }
.humas-node.g-skills { grid-column: 3; grid-row: 1; justify-self: start; }
.humas-node.g-rldl { grid-column: 1; grid-row: 2; justify-self: end; }
.humas-node.g-prompt { grid-column: 3; grid-row: 2; justify-self: start; }
.humas-node.g-review { grid-column: 1; grid-row: 3; justify-self: end; }
.humas-node.g-matrixense { grid-column: 3; grid-row: 3; justify-self: start; }
.humas-hub-cell {
  grid-column: 2; grid-row: 1 / 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.humas-hub-cell p {
  font-size: var(--fs-caption); color: var(--text-dim); text-align: center;
  margin-top: 0.4rem; line-height: 1.4;
}

/* Inline entity arrows (inside cards) */
.entity-arrows {
  position: absolute; inset: 0; pointer-events: none; overflow: visible;
}

.tech-journey {
  padding: 1.35rem; border-radius: 16px; height: 100%;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.tech-journey h4 {
  font-family: 'Outfit', sans-serif; font-size: 0.8125rem; font-weight: 700;
  margin-bottom: 1.1rem; color: var(--text); line-height: 1.4;
}
.journey-step {
  display: flex; gap: 0.65rem; margin-bottom: 0.9rem; align-items: flex-start;
}
.journey-num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(50,120,135,0.22); border: 1px solid rgba(50,120,135,0.4);
  font-size: var(--fs-caption); font-weight: 700; color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.journey-step p { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: 1.5; }
.journey-step strong { color: rgba(255,255,255,0.88); font-size: var(--fs-body-sm); }

.tech-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem;
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  font-size: var(--fs-label); color: var(--text-dim);
}
.legend-item { display: flex; align-items: center; gap: 0.4rem; }
.legend-line { width: 24px; height: 2px; border-radius: 1px; }
.legend-line.blue { background: var(--green); }
.legend-line.orange { height: 0; border-top: 2px dashed var(--yellow); }
.legend-line.green { height: 0; border-top: 2px dashed #4ade80; width: 24px; }

@media (max-width: 640px) {
  .tech-bridge { grid-template-columns: 1fr; text-align: center; }
  .bridge-side .dash { width: 24px; }
  .bridge-beam { display: none; }
  .claw-grid, .humas-grid { grid-template-columns: 1fr; width: 100%; min-height: 0; }
  .claw-arc { grid-column: 1; width: 100%; }
  .claw-spokes { display: none; }
  .claw-node, .humas-node { grid-column: 1 !important; grid-row: auto !important; justify-self: stretch !important; max-width: none; }
  .claw-hub-cell, .humas-hub-cell { grid-column: 1 !important; grid-row: auto !important; margin: 0.5rem 0; }
  .claw-mbrl { grid-column: 1 !important; }
  .matrixense-row .layer-body { text-align: left; }
}

/* Media panel */
.media-panel {
  aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.media-panel img { width: 100%; height: 100%; object-fit: cover; }

/* Split card — image as integrated background */
.card-split-bg {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 36vw, 420px);
}
.card-split-bg__media {
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  overflow: hidden;
}
.card-split-bg__media::before {
  content: '';
  position: absolute;
  inset: -8%;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  filter: blur(5px);
}
.card-split-bg__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    color-mix(in oklch, var(--surface-glass) 6%, transparent) 22%,
    color-mix(in oklch, var(--surface-glass) 28%, transparent) 42%,
    color-mix(in oklch, var(--surface-glass) 62%, transparent) 58%,
    color-mix(in oklch, var(--surface-glass) 88%, transparent) 72%,
    var(--surface-glass) 88%
  );
}
.card-split-bg__body {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: 54%;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
}
@media (max-width: 767px) {
  .card-split-bg { min-height: auto; }
  .card-split-bg__media {
    position: relative;
    width: 100%;
    height: 200px;
  }
  .card-split-bg__media::after {
    background: linear-gradient(
      180deg,
      transparent 0%,
      color-mix(in oklch, var(--surface-glass) 20%, transparent) 45%,
      color-mix(in oklch, var(--surface-glass) 65%, transparent) 65%,
      var(--surface-glass) 88%
    );
  }
  .card-split-bg__body {
    width: 100%;
    margin-left: 0;
  }
}

/* Medical solution case — flat content layout */
.medical-challenge-flat {
  display: grid;
  grid-template-columns: 1fr;
}

.medical-challenge-flat > article {
  display: grid;
  grid-template-columns: minmax(13rem, .55fr) minmax(0, 1.45fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.medical-challenge-flat > article:last-child {
  border-bottom: 1px solid var(--border);
}

.medical-flat-kicker {
  grid-column: 1;
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.medical-challenge-flat h3 {
  grid-column: 1;
  margin-top: .75rem;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.3;
}

.medical-challenge-flat h3 + p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-top: 0;
  color: var(--text-muted);
  line-height: 1.85;
}

.medical-case-flat .case-detail {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* Single featured case (used by medical & retail) */
.case-grid.medical-case-single,
.case-grid.case-single {
  grid-template-columns: 1fr;
}

.medical-case-single .case-detail,
.case-single .case-detail {
  width: 100%;
}

.medical-case-single-grid,
.case-single-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.medical-case-single-grid > div + div,
.case-single-grid > div + div {
  padding-left: clamp(1.25rem, 2vw, 2rem);
  border-left: 1px solid var(--border);
}

.medical-case-single-grid p,
.case-single-grid p {
  max-width: none;
}

.medical-case-single-grid .case-label,
.case-single-grid .case-label {
  margin-top: 0;
}

.medical-case-single-grid .case-label + p,
.case-single-grid .case-label + p {
  margin-top: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.medical-case-flat-header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.medical-case-flat-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.25;
}

.medical-case-flat-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: 2rem;
}

.medical-case-flat-content > div + div {
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--border);
}

.medical-case-flat-content .case-label {
  margin-top: 0;
}

.medical-case-flat-content .case-label + p {
  margin-top: .85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .medical-challenge-flat > article {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .medical-challenge-flat h3 + p {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1rem;
  }

  .medical-case-flat-content {
    grid-template-columns: 1fr;
  }

  .medical-case-single-grid,
  .case-single-grid {
    grid-template-columns: 1fr;
  }

  .medical-case-flat-content > div + div {
    padding-top: 1.5rem;
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .medical-case-single-grid > div + div,
  .case-single-grid > div + div {
    padding-top: 1.25rem;
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .medical-case-flat-header {
    display: block;
  }

  .medical-case-flat-header h3 {
    margin-top: .85rem;
  }
}

/* Industrial product — control-center visual system */
.industrial-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.medical-capabilities-banner {
  position: relative;
  margin: 0 0 var(--grid-gap);
  min-height: clamp(200px, 32vw, 320px);
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  display: flex;
  align-items: center;
}
.medical-capabilities-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: saturate(0.92) brightness(0.9);
}
.medical-capabilities-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,10,14,0.92) 0%, rgba(8,10,14,0.72) 42%, rgba(8,10,14,0.28) 74%, rgba(8,10,14,0.08) 100%);
  pointer-events: none;
}
.medical-capabilities-banner figcaption {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
}
.medical-capabilities-banner h3 {
  margin-top: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.medical-capabilities-banner p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.medical-capabilities-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}
.medical-capability-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  margin-bottom: 0.85rem;
}
.medical-capability-card .bullet-list {
  font-size: var(--fs-body);
}
@media (min-width: 768px) {
  .medical-capabilities-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .medical-capability-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .medical-capabilities-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .medical-capability-card:nth-child(1),
  .medical-capability-card:nth-child(2),
  .medical-capability-card:nth-child(3) { grid-column: span 2; }
  .medical-capability-card:nth-child(4),
  .medical-capability-card:nth-child(5) { grid-column: span 3; }
}

.industrial-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: color-mix(in oklch, var(--green) 68%, white);
  background: color-mix(in oklch, var(--green) 15%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--green) 28%, transparent);
}

.industrial-card-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industrial-card-icon--yellow {
  color: var(--yellow);
  background: color-mix(in oklch, var(--yellow) 11%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--yellow) 24%, transparent);
}

.industrial-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

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

.industrial-agent-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem;
  border-radius: 14px;
  background: color-mix(in oklch, var(--bg) 85%, var(--green) 15%);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--green) 14%, transparent);
}

.industrial-agent-item:last-child {
  grid-column: 1 / -1;
}

.industrial-agent-item small {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--text-dim);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.industrial-agent-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
}

.industrial-icon-card,
.industrial-foundation-grid .card-solid {
  position: relative;
  overflow: hidden;
}

.industrial-icon-card::after,
.industrial-foundation-grid .card-solid::after {
  content: "";
  position: absolute;
  top: -3.5rem;
  right: -3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--green) 15%, transparent), transparent 68%);
  pointer-events: none;
}

.industrial-icon-card .industrial-card-icon,
.industrial-foundation-grid .industrial-card-icon {
  margin-bottom: 0.5rem;
}

.industrial-foundation-grid .card-solid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.industrial-foundation-grid strong {
  color: var(--text);
  line-height: 2;
}

@media (max-width: 767px) {
  .industrial-agent-grid {
    grid-template-columns: 1fr;
  }

  .industrial-agent-item:last-child {
    grid-column: auto;
  }

  .industrial-feature-card,
  .industrial-agent-item,
  .industrial-foundation-grid .card-solid {
    grid-template-columns: 1fr;
  }
}

/* Open source page — resource marks and content icons */
.oss-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.opensource-page .page-hero {
  min-height: clamp(36rem, 70dvh, 48rem);
}

.oss-resource-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(47rem, 100%);
  margin: 2rem auto 0;
}

.oss-resource-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: color-mix(in oklch, var(--surface-glass) 88%, transparent);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px color-mix(in oklch, var(--green) 22%, transparent),
    0 10px 28px color-mix(in oklch, black 25%, transparent);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.oss-resource-badge:hover {
  transform: translateY(-3px);
  background: color-mix(in oklch, var(--surface-raised) 78%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in oklch, var(--green) 42%, transparent),
    0 14px 34px color-mix(in oklch, var(--green) 14%, transparent);
}

.oss-resource-icon,
.oss-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: color-mix(in oklch, var(--green) 70%, white);
  background: color-mix(in oklch, var(--green) 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--green) 28%, transparent);
}

.oss-resource-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
}

.oss-resource-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oss-resource-icon--github svg {
  fill: currentColor;
  stroke: none;
}

.oss-resource-badge span:last-child {
  min-width: 0;
}

.oss-resource-badge small,
.oss-resource-badge strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oss-resource-badge small {
  color: var(--text-dim);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.oss-resource-badge strong {
  margin-top: 0.12rem;
  font-size: var(--fs-body-sm);
  font-weight: 600;
}

.oss-icon-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.oss-icon-card::after {
  content: "";
  position: absolute;
  top: -3.5rem;
  right: -3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--green) 16%, transparent), transparent 68%);
  pointer-events: none;
}

.oss-icon-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 44px color-mix(in oklch, black 54%, transparent),
    0 6px 24px color-mix(in oklch, var(--green) 12%, transparent);
}

.oss-card-icon {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
}

.oss-card-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oss-card-icon--yellow {
  color: var(--yellow);
  background: color-mix(in oklch, var(--yellow) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--yellow) 24%, transparent);
}

.oss-icon-card h3,
.oss-icon-card p {
  position: relative;
  z-index: 1;
}

.oss-icon-card p {
  max-width: none;
  flex: 1;
  margin-top: 0.75rem;
}

.oss-overview-flat {
  width: 100%;
  margin: 0;
  padding: 0;
}

.oss-overview-flat p {
  max-width: none;
}

.oss-overview-flat p + p {
  margin-top: 1.25rem;
}

.oss-overview-flat strong {
  color: inherit;
  font-weight: inherit;
}

.opensource-page .oss-feature-grid {
  margin-top: var(--stack-gap);
}

.opensource-page .oss-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--stack-gap);
}

.opensource-page .oss-actions .btn {
  margin: 0;
}

.opensource-page .oss-community-notes {
  width: 100%;
}

@media (min-width: 768px) {
  .opensource-page .oss-feature-grid {
    grid-auto-rows: 1fr;
  }
}

.oss-contact-line {
  margin-top: 0.75rem;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.oss-contact-line a {
  color: var(--link-inline);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.oss-contact-line a:hover {
  color: var(--link-inline-hover);
}

@media (max-width: 767px) {
  .opensource-page .page-hero {
    min-height: auto;
  }

  .oss-resource-row {
    grid-template-columns: 1fr;
    width: min(22rem, 100%);
  }
}

/* Workflow */
.step-num {
  font-family: 'Outfit', sans-serif; font-size: 1.875rem; font-weight: 700;
  color: color-mix(in oklch, var(--green) 62%, var(--bg));
}
.step-title { font-family: 'Outfit', sans-serif; font-size: 1.125rem; font-weight: 600; margin-top: 0.5rem; }

/* Case matrix */
.case-card {
  padding: 1.5rem; border-radius: 16px;
  background: var(--surface-glass);
  box-shadow: 0 8px 32px color-mix(in oklch, black 50%, transparent);
}
.case-title { font-family: 'Outfit', sans-serif; font-size: 1.125rem; font-weight: 600; margin-top: 0.75rem; }
.cases-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--green); text-decoration: none; font-weight: 600;
  font-size: var(--fs-body); margin-top: 2.5rem; transition: color 0.2s;
}
.cases-link:hover { color: var(--yellow); }

/* Product */
.product-icon {
  width: 56px; height: 56px;
  margin-bottom: 1.5rem;
}
.product-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }

/* News grid */
.news-grid,
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}
@media (min-width: 768px) {
  .news-grid,
  .news-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .news-grid,
  .news-list { grid-template-columns: repeat(3, 1fr); }
}
.news-grid .news-card,
.news-list .news-card {
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  padding: 2rem 0;
}
.news-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: color-mix(in oklch, var(--surface) 88%, black);
  flex-shrink: 0;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease-out;
}
.news-card:hover .news-img img { transform: scale(1.04); }
.news-date { color: var(--green); font-size: var(--fs-body); }
.news-title {
  font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600;
  margin-top: 0.5rem; line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-excerpt {
  font-size: var(--fs-body); color: var(--text-dim); margin-top: 0.5rem; line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more {
  text-align: center; margin-top: 2.5rem;
}
.news-more a {
  color: var(--green); text-decoration: none; font-weight: 600;
  font-size: var(--fs-body); transition: color 0.2s;
}
.news-more a:hover { color: var(--yellow); }

/* Open source */
.oss-grid { display: grid; gap: 1.5rem; }
.oss-main {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem; flex-wrap: wrap;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
}
.oss-main__content {
  display: flex; align-items: center; gap: 0.75rem 1.25rem;
  flex-wrap: wrap; flex: 1; min-width: 0;
}
.oss-main__content .pillar-name { margin: 0; white-space: nowrap; }
.oss-main__desc {
  font-size: 0.875rem; color: var(--text-muted); margin: 0;
}
.oss-main__highlight {
  font-size: 0.875rem; color: var(--yellow); margin: 0; white-space: nowrap;
}
.oss-main__actions {
  display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0;
}
.oss-main__actions a {
  text-decoration: none; cursor: pointer; transition: opacity 0.2s;
}
.oss-main__actions a:hover { opacity: 0.85; }
.oss-subhead {
  text-align: center; margin: 3rem 0 1.5rem;
}
.oss-subhead h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; }
.oss-subhead p { color: var(--text-muted); font-size: var(--fs-body); margin-top: 0.5rem; }
.oss-cta { text-align: center; margin-top: 2.5rem; }

/* Company history — auto-scroll + manual scroll */
.history-section-title {
  font-size: clamp(1.875rem, 3.2vw, 2.25rem); margin-bottom: 2rem;
}
.history-scroll-wrap {
  position: relative; overflow-y: auto; overflow-x: hidden;
  height: clamp(24rem, 52vh, 32rem);
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  scrollbar-width: thin;
  scrollbar-color: rgba(50,120,135,0.35) transparent;
}
.history-scroll-wrap::-webkit-scrollbar { width: 6px; }
.history-scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(50,120,135,0.35); border-radius: 999px;
}
.history-scroll-wrap::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 1px;
  background: rgba(50,120,135,0.25); z-index: 1; pointer-events: none;
}
.history-scroll-track {
  display: flex; flex-direction: column; gap: 1.75rem;
  padding: 2rem 0.5rem 2rem 2.75rem;
}
.history-year__label {
  position: relative;
  font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--yellow);
  font-size: 1.25rem; margin-bottom: 0.625rem;
  line-height: 1.4;
  padding-top: 0.35rem;
}
.history-year__label::before {
  content: ''; position: absolute; left: -2.05rem; top: 50%;
  transform: translateY(-50%);
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--green); background: var(--bg);
}
.history-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.55rem;
}
.history-list li {
  display: flex; gap: 0.875rem; align-items: baseline;
  font-size: 1rem; line-height: 1.6;
}
.history-list time {
  flex-shrink: 0; font-variant-numeric: tabular-nums;
  color: var(--text-dim); min-width: 3.75rem; font-size: 0.9375rem;
}
.history-list span { color: var(--text-muted); }
.about-copy p {
  font-size: var(--fs-body); color: var(--text-muted); line-height: 1.9;
  margin-bottom: 1.25rem;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--text); font-weight: 600; }

.about-contact {
  margin-top: 2rem;
  text-align: center;
}

.about-contact-title {
  font-size: 1.5rem;
}

.about-contact-lead {
  color: var(--text-muted);
  margin-top: 0.85rem;
  max-width: none;
}

.about-contact-list {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 28rem;
}

.about-contact-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem 1rem;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.about-contact-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  min-width: 4.5rem;
  text-align: right;
}

.about-contact-meta {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-contact-meta p {
  margin: 0;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.4rem 0.85rem;
}

.about-contact-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1rem;
}

@media (max-width: 767px) {
  .about-contact-list {
    gap: 1rem;
    max-width: none;
  }

  .about-contact-list li,
  .about-contact-meta p {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .about-contact-label {
    min-width: 0;
    text-align: center;
  }

  .about-contact-actions {
    margin-top: 2rem;
    flex-direction: column;
  }

  .about-contact-actions .btn {
    width: 100%;
  }
}

#team .about-copy p {
  max-width: none;
  margin-bottom: 0;
}

#team .about-copy strong {
  color: inherit;
  font-weight: inherit;
}

#intro .about-copy p {
  max-width: none;
  margin-bottom: 0;
}

#intro .about-copy strong {
  color: inherit;
  font-weight: inherit;
}

#credentials .about-copy p {
  max-width: none;
  margin-bottom: 0;
}

#credentials .about-copy strong {
  color: inherit;
  font-weight: inherit;
}

/* Qualifications gallery — horizontal scroll */
.qualifications-gallery {
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(50,120,135,0.4) transparent;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  padding: 0.5rem 0 1rem;
  cursor: default;
}
.qualifications-gallery.is-paused {
  cursor: grab;
}
.qualifications-gallery::-webkit-scrollbar { height: 5px; }
.qualifications-gallery::-webkit-scrollbar-thumb {
  background: rgba(50,120,135,0.4); border-radius: 999px;
}
.qualifications-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: max-content;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}
.qualifications-empty {
  margin: 0;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: var(--fs-body);
  text-align: center;
  width: 100%;
  min-width: min(100%, 320px);
}
.qualification-card {
  flex: 0 0 clamp(200px, 22vw, 260px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.qualification-card__frame {
  position: relative;
  width: 100%;
  background: #f5f7f8;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
  cursor: zoom-in;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qualification-card__frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.36);
}
.qualification-card__frame:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.qualification-card__frame::before {
  content: '';
  display: block;
  height: 1.25rem;
  background: linear-gradient(135deg, var(--green) 0%, color-mix(in oklch, var(--green) 70%, var(--yellow) 30%) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
}
.qualification-card__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0.75rem;
  background: #fff;
}
.qualification-card__name {
  font-size: var(--fs-body);
  line-height: 1.45;
  text-align: center;
  color: var(--text-muted);
  max-width: 100%;
  padding: 0 0.25rem;
}

/* Qualification lightbox */
.qualification-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.qualification-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.qualification-lightbox__dialog {
  position: relative;
  max-width: min(92vw, 56rem);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.qualification-lightbox.is-open .qualification-lightbox__dialog {
  transform: scale(1);
}
.qualification-lightbox__img-wrap {
  background: #fff;
  border-radius: 0.5rem;
  overflow: auto;
  max-height: calc(90vh - 4rem);
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
}
.qualification-lightbox__img {
  display: block;
  max-width: 100%;
  height: auto;
  cursor: zoom-out;
}
.qualification-lightbox__caption {
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.82);
  text-align: center;
  line-height: 1.5;
  max-width: 36rem;
}
.qualification-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1;
}
.qualification-lightbox__close:hover {
  background: rgba(255,255,255,0.22);
}
.qualification-lightbox__close:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .qualification-lightbox,
  .qualification-lightbox__dialog,
  .qualification-card__frame {
    transition: none;
  }
}


/* Partners marquee — 3 staggered rows */
#partners {
  padding: var(--section-y-compact) 0; overflow: hidden;
  background: linear-gradient(180deg,
    transparent,
    color-mix(in oklch, var(--bg) 92%, var(--green) 8%) 50%,
    transparent);
}
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-rows {
  display: flex; flex-direction: column; gap: clamp(0.5rem, 1.2vw, 0.875rem);
}
.marquee-row { overflow: hidden; }
.marquee-track {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem); width: max-content;
  animation: marquee-left var(--marquee-duration, 70s) linear infinite;
  animation-delay: var(--marquee-delay, 0s);
}
.marquee-track--right {
  animation-name: marquee-right;
}
.marquee-wrap.paused .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0.5; transition: opacity 0.2s;
}
.marquee-item:hover { opacity: 0.9; }
.marquee-item img {
  height: clamp(72px, 9vw, 96px);
  max-width: clamp(200px, 28vw, 340px);
  width: auto; object-fit: contain;
}
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: clamp(4.75rem, 8vw, 5rem) 0 2.75rem;
  background: linear-gradient(180deg, #080b0d 0%, color-mix(in oklch, var(--bg) 86%, var(--green) 14%) 100%);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
.footer-brand {
  flex: 0 1 auto;
  max-width: 340px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
}
.footer-col {
  flex: 0 0 auto;
  min-width: 7.5rem;
}
.footer-col:last-child {
  min-width: 11rem;
  max-width: 14rem;
}
@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem 3rem;
  }
  .footer-nav {
    gap: 1.5rem;
  }
}
footer .logo img { height: 30px; width: auto; opacity: 0.94; }
.footer-desc {
  margin-top: 1.375rem;
  max-width: 340px;
  color: rgba(255,255,255,0.52);
  font-size: 0.875rem;
  line-height: 1.8;
}
.footer-title {
  font-size: var(--fs-body-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.125rem;
  color: color-mix(in oklch, var(--yellow) 68%, white);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.56); }
.footer-links a { color: rgba(255,255,255,0.56); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-line { font-weight: 400; color: rgba(255,255,255,0.56); }
.footer-bottom {
  margin-top: 3.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  font-size: 0.78125rem;
  color: rgba(255,255,255,0.38);
}
.footer-bottom a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.62); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* CTA */
.cta-banner { position: relative; overflow: hidden; padding: 4rem 2rem; text-align: center; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--green) 16%, transparent),
    transparent 45%,
    color-mix(in oklch, var(--yellow) 10%, transparent));
}
.cta-banner > * { position: relative; }

/* Animate */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.bullet-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem; list-style: none;
}
.bullet-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0; margin-top: 0.5rem;
}
.skiff-deployment-visual .skiff-deployment-col .bullet-list.skiff-deployment-list li {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 0 14px rgba(0,0,0,0.55);
}
.bullet-yellow li::before { background: var(--yellow); }

.card-pad { padding: clamp(1.75rem, 3vw, 2.5rem); }
@media (min-width: 768px) { .card-pad { padding: clamp(2rem, 3.5vw, 3rem); } }

.highlight-bar {
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--green) 10%, transparent),
    var(--surface-glass));
  border-radius: 16px; padding: clamp(2rem, 4vw, 3rem); text-align: center;
  margin-top: var(--stack-gap);
}

/* 主题版本切换 */
.theme-switcher {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 90; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem;
  padding: 0.35rem; border-radius: 999px;
  background: rgba(10,12,16,0.92); backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.theme-switcher a {
  padding: 0.45rem 0.9rem; border-radius: 999px;
  font-size: var(--fs-body-sm); font-weight: 600; text-decoration: none;
  color: var(--text-dim); transition: all 0.2s ease;
}
.theme-switcher a:hover { color: var(--text-muted); background: rgba(255,255,255,0.05); }
.theme-switcher a.is-active {
  color: var(--bg); background: var(--yellow);
}

.solution-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; }
.link-arrow { color: var(--green); text-decoration: none; font-size: 0.875rem; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; margin-top: 1.5rem; transition: color 0.2s; }
.link-arrow:hover { color: var(--yellow); }

/* Nav dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  right: -0.75rem;
  top: 100%;
  height: 1rem;
  pointer-events: auto;
  z-index: 199;
}
.nav-item > a, .nav-item > button.nav-trigger {
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem;
  background: none; border: none; cursor: pointer; font-family: inherit; padding: 0;
  display: inline-flex; align-items: center; gap: 0.25rem; line-height: 1.65;
  transition: color 0.2s;
}
.nav-item > a:hover, .nav-item > button.nav-trigger:hover, .nav-item > a.active, .nav-item > button.nav-trigger.active { color: var(--yellow); }
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 0.75rem); left: 50%;
  transform: translateX(-50%); min-width: 320px;
  background: rgba(12,14,18,0.98); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.5rem; box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  z-index: 200;
}
.nav-item:hover .nav-dropdown, .nav-item.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 0.65rem 0.85rem; border-radius: 8px;
  color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.8125rem;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.06); color: var(--yellow); }
.nav-dropdown .nav-dd-desc {
  display: block; font-size: var(--fs-label); color: var(--text-dim); margin-top: 0.2rem; line-height: 1.4;
}
.mobile-nav .nav-group-label {
  padding: 0.5rem 1rem 0.25rem; font-size: var(--fs-label); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim);
}
.mobile-nav .nav-sub { padding-left: 0.5rem; }

.page-hero {
  padding-top: calc(64px + clamp(3rem, 8vh, 5rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}
.page-hero .hero-title { font-size: var(--fs-title-page); min-height: auto; }
.page-hero .hero-desc { min-height: auto; margin-top: 1.25rem; }
.page-hero .hero-title,
.page-hero .hero-desc,
.page-hero .hero-trust {
  text-wrap: wrap;
}
.page-hero .hero-trust {
  margin-top: 1.25rem;
  font-size: var(--fs-body);
  color: var(--text-dim);
  line-height: 1.75;
}
.trust-line {
  margin-top: 1.25rem; font-size: var(--fs-body); color: var(--text-dim);
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; justify-content: center;
}
.trust-line span:not(:last-child)::after { content: '·'; margin-left: 0.75rem; opacity: 0.5; }

.form-grid { display: grid; gap: 1.25rem; max-width: 640px; margin: 0 auto; text-align: left; }
.form-row label { display: block; font-size: var(--fs-body); font-weight: 600; margin-bottom: 0.4rem; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 8px;
  background: color-mix(in oklch, var(--bg) 88%, var(--green) 12%);
  border: 1px solid var(--border); color: var(--text); font-family: inherit; font-size: 0.9375rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--green); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-error { font-size: 0.75rem; color: #f87171; margin-top: 0.35rem; display: none; }
.form-row.invalid .form-error { display: block; }
.form-row.invalid input, .form-row.invalid select, .form-row.invalid textarea { border-color: #f87171; }
.form-toast { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.875rem; display: none; text-align: center; }
.form-toast.show { display: block; }
.form-toast.ok { background: color-mix(in oklch, var(--green) 20%, transparent); }
.form-toast.err { background: rgba(248,113,113,0.15); color: #fca5a5; }

.case-industry { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--yellow); margin: 3rem 0 1.5rem; }
.case-industry:first-of-type { margin-top: 0; }
.case-detail { margin-bottom: 2rem; }
.case-detail h4 { font-family: 'Outfit', sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.case-detail p { font-size: var(--fs-body); color: var(--text-muted); line-height: 1.75; margin-bottom: 0.75rem; }
.case-detail .case-label { font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green); margin-bottom: 0.35rem; }
.case-teaser-industry { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--yellow); display: block; margin-bottom: 0.35rem; }

.compare-table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); margin-top: 1.5rem; }
.compare-table th, .compare-table td { padding: 0.75rem 1rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table th { background: color-mix(in oklch, var(--green) 12%, transparent); color: var(--text); font-weight: 600; }
.compare-table td { color: var(--text-muted); }
.compare-table .col-highlight { background: color-mix(in oklch, var(--green) 8%, transparent); color: var(--text); }

.content-block h3 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 600; margin: 2rem 0 0.75rem; }
.content-block p, .content-block li { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; }
.content-block ul { margin: 0.75rem 0 1rem 1.25rem; }
.mission-grid .card-pad h4 { font-family: 'Outfit', sans-serif; color: var(--green); margin-bottom: 0.5rem; }

.hero-banner--simple { min-height: auto; }
.hero-banner--simple .hero-content { min-height: auto; grid-template-columns: 1fr; }
.hero-banner--simple .hero-aside { display: none; }

/* Unified layout system */
main,
section,
footer {
  isolation: isolate;
}

.container {
  width: min(100% - clamp(2rem, 5vw, 4rem), var(--max-w));
  padding-left: 0;
  padding-right: 0;
}

.section-header {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .section-sub,
.section-sub {
  max-width: min(48rem, 100%);
}

.page-hero {
  min-height: clamp(30rem, 58dvh, 42rem);
  display: grid;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-hero .container {
  max-width: min(58rem, 100% - clamp(2rem, 5vw, 4rem));
}

#hero.page-hero .container {
  max-width: min(62rem, 100% - clamp(2rem, 5vw, 4rem)) !important;
}

.page-hero .hero-title,
.page-hero .hero-desc,
.page-hero .hero-trust,
.page-hero .hero-en,
.page-hero .hero-desc-sm {
  margin-left: auto;
  margin-right: auto;
}

.page-hero .hero-desc {
  max-width: 48rem;
}

.page-hero .hero-desc-sm,
.page-hero .hero-trust {
  max-width: 44rem;
}

.page-hero .fade-up[style*="display:flex"],
.page-hero .hero-actions {
  justify-content: center;
}

.grid-2,
.grid-3,
.grid-4,
.grid-5,
.news-grid,
.news-list,
.case-grid {
  align-items: stretch;
}

.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.grid-5 > *,
.news-grid > *,
.news-list > *,
.case-grid > * {
  min-width: 0;
}

.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.grid-5 > *,
.case-grid > *,
.news-grid .news-card,
.news-list .news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.grid-2 > * > .link-arrow,
.grid-3 > * > .link-arrow,
.grid-4 > * > .link-arrow,
.grid-5 > * > .link-arrow,
.case-grid > * > .link-arrow {
  margin-top: auto;
  padding-top: 1.25rem;
}

.card-pad {
  gap: 0.75rem;
}

.card-pad > :first-child {
  margin-top: 0 !important;
}

.card-pad > :last-child {
  margin-bottom: 0 !important;
}

.glass h3,
.glass h4,
.card-solid h3,
.card-solid h4,
.case-card h3,
.case-card h4,
.case-detail h3,
.case-detail h4,
.solution-card h3,
.solution-card h4 {
  line-height: 1.35;
  text-wrap: balance;
}

.glass p,
.card-solid p,
.case-card p,
.case-detail p,
.solution-card p {
  max-width: 65ch;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

/* Three-up case grid (used when there are exactly 3 cases) */
@media (min-width: 768px) {
  .case-grid.case-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.case-detail {
  margin-bottom: 0;
}

.case-detail .case-industry {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.case-detail h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  margin: 0;
}

.case-value {
  margin-top: auto;
  padding-top: 0.75rem;
}

.news-grid .news-card,
.news-list .news-card {
  border-radius: 16px;
  background: var(--surface-glass);
  box-shadow: 0 8px 32px color-mix(in oklch, black 50%, transparent);
}

.news-grid .news-card .card-pad,
.news-list .news-card .card-pad {
  height: auto;
}

.news-title {
  text-wrap: balance;
}

.cta-banner {
  /* max-width: var(--max-w); */
  margin-left: auto;
  margin-right: auto;
}

section > .container.glass.cta-banner {
  width: min(100% - clamp(2rem, 5vw, 4rem), var(--max-w));
}

.cta-banner .section-title,
.cta-banner .section-sub,
.cta-banner p {
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .section-sub,
.cta-banner p {
  max-width: 46rem;
}

.footer-grid {
  align-items: flex-start;
}

@media (min-width: 768px) {
  .case-grid:not(.medical-case-single):not(.case-single):not(.case-grid--triple) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .case-grid:not(.medical-case-single):not(.case-single):not(.case-grid--triple) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --section-y: clamp(4.5rem, 10vh, 6rem);
    --section-y-compact: clamp(3.25rem, 8vh, 4.75rem);
    --section-header-gap: clamp(2rem, 8vw, 3rem);
    --grid-gap: 1rem;
  }

  .header-inner {
    height: 60px;
  }

  .mobile-nav {
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
  }

  .page-hero {
    min-height: auto;
    padding-top: calc(60px + 3.5rem) !important;
    padding-bottom: 3.25rem !important;
  }

  .hero-title {
    font-size: clamp(2rem, 13vw, 3rem);
    letter-spacing: -0.02em;
  }

  .hero-desc,
  .hero-desc-sm {
    min-height: auto;
    margin-top: 1.25rem;
  }

  .page-hero .fade-up[style*="display:flex"],
  .hero-actions,
  .cta-banner .fade-up[style*="display:flex"],
  .cta-banner div[style*="display:flex"] {
    width: 100%;
  }

  .btn {
    min-height: 44px;
  }

  .btn-lg {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .card-pad {
    padding: 1.375rem;
  }

  .cta-banner {
    padding: 2.25rem 1.375rem;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-nav {
    gap: 1.5rem;
  }
}

/* Home visual refresh */
#hero.visual-hero {
  min-height: 100dvh;
  padding-top: calc(64px + clamp(3rem, 7vh, 4.5rem)) !important;
  padding-bottom: clamp(3.5rem, 8vh, 5rem) !important;
  text-align: left;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: url("../assets/generated/aip-agent-orchestration-hero.png");
  background-position: 72% 48%;
  background-size: cover;
  background-repeat: no-repeat;
}

#hero.visual-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7, 10, 14, 0.98) 0%,
      rgba(7, 10, 14, 0.9) 30%,
      rgba(7, 10, 14, 0.48) 54%,
      rgba(7, 10, 14, 0.12) 100%),
    linear-gradient(180deg,
      rgba(7, 10, 14, 0.18) 0%,
      transparent 58%,
      var(--bg) 100%);
}

#hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 76% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

#hero.visual-hero .container,
#hero.page-hero.visual-hero .container {
  max-width: var(--max-w) !important;
}

.hero-visual-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(42rem, 56%);
  min-width: 0;
}

.visual-hero .hero-title,
.visual-hero .hero-desc,
.visual-hero .hero-trust,
.visual-hero .hero-en,
.visual-hero .hero-desc-sm {
  margin-left: 0;
  margin-right: 0;
}

.visual-hero .hero-title {
  max-width: 11ch;
}

.visual-hero .hero-desc {
  max-width: 36rem;
}

.visual-hero .hero-desc-sm {
  max-width: 35rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.visual-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 2rem;
}

.visual-hero .hero-trust {
  margin-top: 2rem;
  font-size: var(--fs-body);
  color: var(--text-dim);
}

.visual-hero .hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.visual-hero .hero-chips span {
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--green) 13%, transparent);
  color: var(--text-muted);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--green) 25%, transparent);
  font-size: var(--fs-body-sm);
}

/* Product pages — visual hero (matches index.html) */
.aip-product-page .product-hero.visual-hero,
.industrial-product-page .product-hero.visual-hero,
.medical-product-page .product-hero.visual-hero,
.skiff-page .product-hero.visual-hero {
  min-height: 100dvh;
  padding-top: calc(64px + clamp(3rem, 7vh, 4.5rem)) !important;
  padding-bottom: clamp(3.5rem, 8vh, 5rem) !important;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  background-size: cover;
  background-repeat: no-repeat;
}

.aip-product-page .product-hero.visual-hero {
  background-image: url("../assets/generated/aip-agent-orchestration-hero.png");
  background-position: 72% 48%;
}

.industrial-product-page .product-hero.visual-hero {
  background-image: url("../assets/generated/industry-tunnel-aip.png");
  background-position: 58% center;
}

.medical-product-page .product-hero.visual-hero {
  background-image: url("../assets/generated/industry-medical-aip.png");
  background-position: 56% center;
}

.skiff-page .product-hero.visual-hero {
  background-image: url("../assets/generated/skiff-fast/moe-hero.webp");
  background-position: 72% center;
}

.aip-product-page .product-hero.visual-hero::before,
.industrial-product-page .product-hero.visual-hero::before,
.medical-product-page .product-hero.visual-hero::before,
.skiff-page .product-hero.visual-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7, 10, 14, 0.98) 0%,
      rgba(7, 10, 14, 0.9) 30%,
      rgba(7, 10, 14, 0.48) 54%,
      rgba(7, 10, 14, 0.12) 100%),
    linear-gradient(180deg,
      rgba(7, 10, 14, 0.18) 0%,
      transparent 58%,
      var(--bg) 100%);
}

.aip-product-page .product-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 76% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.industrial-product-page .product-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 58% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.medical-product-page .product-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 56% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.skiff-page .product-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 72% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.aip-product-page .product-hero.visual-hero .container,
.industrial-product-page .product-hero.visual-hero .container,
.medical-product-page .product-hero.visual-hero .container,
.skiff-page .product-hero.visual-hero .container {
  max-width: var(--max-w) !important;
}

.industrial-product-page .product-hero.visual-hero .hero-title {
  max-width: none;
  white-space: nowrap;
  margin-top: 0.85rem;
  font-size: clamp(2.1rem, 3.5vw, 3.35rem);
}

.industrial-product-page .product-hero.visual-hero .hero-copy {
  width: min(52rem, 78%);
}

.medical-product-page .product-hero.visual-hero .hero-title {
  max-width: none;
  white-space: nowrap;
  margin-top: 1.25rem;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

.medical-product-page .product-hero.visual-hero .hero-copy {
  width: min(52rem, 78%);
}

.skiff-page .product-hero.visual-hero .hero-title {
  max-width: none;
  margin-top: 1.25rem;
}

.aip-product-page .product-hero.visual-hero .hero-title {
  max-width: none;
  white-space: nowrap;
}

.aip-product-page .product-hero.visual-hero .hero-copy {
  width: min(48rem, 72%);
}

.aip-product-page .product-hero.visual-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.gap-flow {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  max-width: 760px;
  margin: calc(-1 * var(--section-header-gap) + 1rem) auto 2.25rem;
  color: var(--text-muted);
  font-size: var(--fs-body);
}

#gaps .section-title--sm {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.25vw, 2.25rem);
}

.gap-flow span {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--green) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--green) 28%, transparent);
  white-space: nowrap;
}

.gap-flow i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  opacity: 0.75;
}

.gap-card-grid .glass {
  position: relative;
  overflow: hidden;
}

.gap-card-grid .glass::after {
  content: '';
  position: absolute;
  inset: auto 1.5rem 1.25rem auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--green) 24%, transparent), transparent 68%);
  pointer-events: none;
}

.visual-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.visual-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) contrast(1.04);
}

.visual-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.35rem, 2.8vw, 2rem);
}

.visual-card-body h3 {
  margin-top: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.3;
}

.visual-card-body > .tag {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.visual-card-body p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.75;
}

.case-card-visual {
  overflow: hidden;
  padding: 0;
}

.case-card-visual img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.03);
}

.case-card-visual > div {
  padding: 1.35rem 1.5rem 1.5rem;
}

.case-card-visual .case-industry {
  display: inline-flex;
  margin: 0;
}

.case-card-visual .case-title {
  margin-top: 0.55rem;
}

@media (max-width: 1023px) {
  #gaps .section-title--sm {
    white-space: normal;
  }

  #hero.visual-hero {
    text-align: center;
    background-position: 64% 48%;
  }

  #hero.visual-hero::before {
    background:
      linear-gradient(180deg,
        rgba(7, 10, 14, 0.72) 0%,
        rgba(7, 10, 14, 0.82) 48%,
        var(--bg) 100%),
      linear-gradient(90deg,
        rgba(7, 10, 14, 0.68) 0%,
        rgba(7, 10, 14, 0.28) 50%,
        rgba(7, 10, 14, 0.68) 100%);
  }

  .aip-product-page .product-hero.visual-hero,
  .industrial-product-page .product-hero.visual-hero,
  .medical-product-page .product-hero.visual-hero,
  .skiff-page .product-hero.visual-hero {
    text-align: center;
  }

  .aip-product-page .product-hero.visual-hero {
    background-position: 64% 48%;
  }

  .industrial-product-page .product-hero.visual-hero {
    background-position: 60% 48%;
  }

  .medical-product-page .product-hero.visual-hero {
    background-position: 58% 48%;
  }

  .skiff-page .product-hero.visual-hero {
    background-position: 64% 48%;
  }

  .aip-product-page .product-hero.visual-hero::before,
  .industrial-product-page .product-hero.visual-hero::before,
  .medical-product-page .product-hero.visual-hero::before,
  .skiff-page .product-hero.visual-hero::before {
    background:
      linear-gradient(180deg,
        rgba(7, 10, 14, 0.72) 0%,
        rgba(7, 10, 14, 0.82) 48%,
        var(--bg) 100%),
      linear-gradient(90deg,
        rgba(7, 10, 14, 0.68) 0%,
        rgba(7, 10, 14, 0.28) 50%,
        rgba(7, 10, 14, 0.68) 100%);
  }

  .hero-copy {
    width: min(42rem, 100%);
    margin: 0 auto;
  }

  .visual-hero .hero-title,
  .visual-hero .hero-desc,
  .visual-hero .hero-trust,
  .visual-hero .hero-en,
  .visual-hero .hero-desc-sm {
    margin-left: auto;
    margin-right: auto;
  }

  .medical-product-page .product-hero.visual-hero .hero-title {
    white-space: normal;
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  }

  .visual-hero .hero-actions,
  .visual-hero .hero-chips {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  #hero.visual-hero,
  .aip-product-page .product-hero.visual-hero,
  .industrial-product-page .product-hero.visual-hero,
  .medical-product-page .product-hero.visual-hero,
  .skiff-page .product-hero.visual-hero,
  .solution-overview .solution-hero.visual-hero,
  .solution-industrial .solution-hero.visual-hero,
  .solution-medical .solution-hero.visual-hero,
  .solution-government .solution-hero.visual-hero,
  .solution-police .solution-hero.visual-hero,
  .solution-retail .solution-hero.visual-hero {
    padding-top: calc(60px + 3rem) !important;
  }

  #hero.visual-hero {
    background-position: 62% center;
  }

  .gap-flow {
    grid-template-columns: 1fr;
    margin-top: calc(-1 * var(--section-header-gap) + 0.25rem);
    text-align: center;
  }

  .gap-flow i {
    width: 1px;
    height: 24px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--green), var(--yellow));
  }

  .visual-card-body,
  .case-card-visual > div {
    padding: 1.25rem;
  }
}

/* Solutions — themed imagery, iconography and editorial layout */
.solution-page {
  --solution-accent: var(--green);
  --solution-accent-soft: color-mix(in oklch, var(--solution-accent) 17%, transparent);
  --solution-accent-line: color-mix(in oklch, var(--solution-accent) 32%, transparent);
}

.solution-industrial { --solution-accent: var(--yellow-mix); }
.solution-medical { --solution-accent: color-mix(in oklch, var(--green) 72%, white); }
.solution-government { --solution-accent: color-mix(in oklch, var(--yellow) 62%, var(--green)); }
.solution-police { --solution-accent: color-mix(in oklch, var(--green) 58%, #7db8ff); }
.solution-retail { --solution-accent: var(--yellow); }

.solution-overview .solution-hero.visual-hero,
.solution-industrial .solution-hero.visual-hero,
.solution-medical .solution-hero.visual-hero,
.solution-government .solution-hero.visual-hero,
.solution-police .solution-hero.visual-hero,
.solution-retail .solution-hero.visual-hero {
  min-height: 100dvh;
  padding-top: calc(64px + clamp(3rem, 7vh, 4.5rem)) !important;
  padding-bottom: clamp(3.5rem, 8vh, 5rem) !important;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-size: cover;
  background-repeat: no-repeat;
}

.solution-overview .solution-hero.visual-hero {
  background-image: url("../assets/solutions/solutions-overview-hero.png");
  background-position: 72% 48%;
}

.solution-industrial .solution-hero.visual-hero {
  background-image: url("../assets/generated/industry-tunnel-aip.png");
  background-position: 58% center;
}

.solution-medical .solution-hero.visual-hero {
  background-image: url("../assets/generated/industry-medical-aip.png");
  background-position: 56% center;
}

.solution-government .solution-hero.visual-hero {
  background-image: url("../assets/generated/case-government-city.png");
  background-position: 54% center;
}

.solution-police .solution-hero.visual-hero {
  background-image: url("../assets/solutions/police-intelligence-hero.png");
  background-position: 60% center;
}

.solution-retail .solution-hero.visual-hero {
  background-image: url("../assets/solutions/retail-intelligence-hero.png");
  background-position: 62% center;
}

.solution-overview .solution-hero.visual-hero::before,
.solution-industrial .solution-hero.visual-hero::before,
.solution-medical .solution-hero.visual-hero::before,
.solution-government .solution-hero.visual-hero::before,
.solution-police .solution-hero.visual-hero::before,
.solution-retail .solution-hero.visual-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7, 10, 14, 0.98) 0%,
      rgba(7, 10, 14, 0.9) 30%,
      rgba(7, 10, 14, 0.48) 54%,
      rgba(7, 10, 14, 0.12) 100%),
    linear-gradient(180deg,
      rgba(7, 10, 14, 0.18) 0%,
      transparent 58%,
      var(--bg) 100%);
}

.solution-overview .solution-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 76% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.solution-industrial .solution-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 58% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.solution-medical .solution-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 56% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.solution-government .solution-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 54% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.solution-police .solution-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 60% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.solution-retail .solution-hero.visual-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 62% 46%, transparent 0%, rgba(7, 10, 14, 0.06) 42%, rgba(7, 10, 14, 0.4) 100%);
}

.solution-overview .solution-hero.visual-hero .hero-copy,
.solution-industrial .solution-hero.visual-hero .hero-copy,
.solution-medical .solution-hero.visual-hero .hero-copy,
.solution-government .solution-hero.visual-hero .hero-copy,
.solution-police .solution-hero.visual-hero .hero-copy,
.solution-retail .solution-hero.visual-hero .hero-copy {
  width: min(42rem, 56%);
}

.solution-industrial .solution-hero.visual-hero .hero-actions,
.solution-medical .solution-hero.visual-hero .hero-actions,
.solution-government .solution-hero.visual-hero .hero-actions,
.solution-police .solution-hero.visual-hero .hero-actions,
.solution-retail .solution-hero.visual-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.solution-hero {
  min-height: clamp(34rem, 68dvh, 50rem);
  padding-top: calc(64px + clamp(3rem, 7vh, 5rem));
  padding-bottom: clamp(3rem, 7vh, 5rem);
  text-align: left;
}

.solution-hero .container {
  width: min(100% - clamp(2rem, 5vw, 4rem), var(--max-w));
  max-width: var(--max-w);
}

.solution-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(25rem, 1.18fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.solution-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.solution-hero .hero-title,
.solution-hero .hero-desc {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.solution-hero .hero-title {
  max-width: 11ch;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
}

.solution-overview .solution-hero .hero-title {
  max-width: none;
  white-space: nowrap;
}

.solution-overview .solution-hero.visual-hero .hero-copy {
  width: min(48rem, 72%);
}

.solution-industrial .solution-hero .hero-title {
  max-width: none;
  white-space: nowrap;
}

.solution-industrial .solution-hero.visual-hero .hero-copy {
  width: min(48rem, 72%);
}

.solution-medical .solution-hero .hero-title {
  max-width: none;
  white-space: nowrap;
}

.solution-medical .solution-hero.visual-hero .hero-copy {
  width: min(48rem, 72%);
}

.solution-government .solution-hero .hero-title {
  max-width: none;
  white-space: nowrap;
}

.solution-government .solution-hero.visual-hero .hero-copy {
  width: min(48rem, 72%);
}

.solution-police .solution-hero .hero-title {
  max-width: none;
  white-space: nowrap;
}

.solution-police .solution-hero.visual-hero .hero-copy {
  width: min(48rem, 72%);
}

.solution-retail .solution-hero .hero-title {
  max-width: none;
  white-space: nowrap;
}

.solution-retail .solution-hero.visual-hero .hero-copy {
  width: min(52rem, 78%);
}

.solution-hero .hero-desc {
  max-width: 38rem;
  line-height: 1.72;
}

.solution-hero-visual {
  position: relative;
  min-height: clamp(21rem, 37vw, 33rem);
  margin: 0 -5vw 0 0;
  overflow: hidden;
  border-radius: 26px 0 0 26px;
  background: var(--surface);
  box-shadow: 0 28px 80px color-mix(in oklch, black 64%, transparent);
}

.solution-hero-visual::before,
.solution-hero-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.solution-hero-visual::before {
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in oklch, var(--bg) 62%, transparent) 15%, transparent 46%),
    linear-gradient(180deg, transparent 58%, color-mix(in oklch, var(--bg) 68%, transparent) 100%);
}

.solution-hero-visual::after {
  inset: 1rem;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--solution-accent-line);
}

.solution-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04) brightness(0.92);
}

.solution-industrial .solution-hero-visual img { object-position: 58% center; }
.solution-medical .solution-hero-visual img { object-position: 56% center; }
.solution-government .solution-hero-visual img { object-position: 54% center; }
.solution-police .solution-hero-visual img { object-position: 60% center; }
.solution-retail .solution-hero-visual img { object-position: 62% center; }

.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 13px;
  color: var(--solution-accent);
  background: var(--solution-accent-soft);
  box-shadow:
    inset 0 0 0 1px var(--solution-accent-line),
    0 10px 30px color-mix(in oklch, var(--solution-accent) 10%, transparent);
}

.solution-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-page .grid-2 > .glass,
.solution-page .grid-3 > .glass,
.solution-page .grid-4 > .glass,
.solution-page .solution-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.solution-page .grid-2 > .glass::after,
.solution-page .grid-3 > .glass::after,
.solution-page .grid-4 > .glass::after,
.solution-page .solution-card::after {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--solution-accent-soft), transparent 68%);
  pointer-events: none;
}

.solution-page .grid-2 > .glass:hover,
.solution-page .grid-3 > .glass:hover,
.solution-page .grid-4 > .glass:hover,
.solution-page .solution-card:hover {
  transform: translateY(-5px);
  background: color-mix(in oklch, var(--surface-glass) 80%, var(--solution-accent) 20%);
  box-shadow:
    0 22px 54px color-mix(in oklch, black 58%, transparent),
    0 8px 28px color-mix(in oklch, var(--solution-accent) 13%, transparent);
}

.solution-feature-card .solution-icon,
.solution-card .solution-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}

.solution-feature-card h4,
.solution-card h3,
.solution-feature-card p,
.solution-card p {
  position: relative;
  z-index: 1;
}

.solution-card {
  min-height: clamp(14rem, 22vw, 18rem);
  justify-content: flex-end;
}

.solution-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.solution-card::before {
  content: "↗";
  position: absolute;
  right: clamp(1.5rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  z-index: 2;
  color: var(--solution-accent);
  font-size: 1.35rem;
  transition: transform 0.25s ease;
}

.solution-card:hover::before {
  transform: translate(3px, -3px);
}

/* 全行业解决方案：5 卡片 bento 布局，工业智能作为宽幅主推卡填满整行 */
@media (min-width: 768px) {
  .solution-overview .solution-cards .solution-card--feature {
    grid-column: span 2;
  }
  .solution-overview .solution-cards .solution-card--feature h3 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
  }
  .solution-overview .solution-cards .solution-card--feature p {
    font-size: 1.05rem;
    max-width: 42ch;
  }
}

.solution-story {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  overflow: hidden;
}

.solution-story > .solution-icon {
  grid-row: 1 / span 2;
}

.solution-story > h3,
.solution-story > p {
  grid-column: 2;
}

.solution-story > p {
  margin-top: 0 !important;
}

.solution-story--single > .solution-icon {
  grid-row: auto;
}

.solution-story--single > p {
  align-self: center;
}

.solution-page .case-detail {
  position: relative;
  overflow: hidden;
}

.solution-page .case-detail::after {
  content: "";
  position: absolute;
  inset: auto -5rem -5rem auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--solution-accent-soft), transparent 68%);
  pointer-events: none;
}

.case-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.4rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.case-heading .solution-icon {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
}

.case-heading .case-industry {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.case-heading h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

.medical-challenge-flat > article {
  position: relative;
  padding-left: 4.5rem;
}

.medical-challenge-flat > article > .solution-icon {
  position: absolute;
  top: 2rem;
  left: 0;
}

.medical-case-flat-header .solution-icon {
  align-self: center;
}

.medical-case-flat-header {
  align-items: center;
}

@media (max-width: 1023px) {
  .solution-overview .solution-hero.visual-hero {
    text-align: center;
    background-position: 64% 48%;
  }

  .solution-industrial .solution-hero.visual-hero {
    text-align: center;
    background-position: 60% 48%;
  }

  .solution-medical .solution-hero.visual-hero {
    text-align: center;
    background-position: 58% 48%;
  }

  .solution-government .solution-hero.visual-hero {
    text-align: center;
    background-position: 56% 48%;
  }

  .solution-police .solution-hero.visual-hero {
    text-align: center;
    background-position: 58% 48%;
  }

  .solution-retail .solution-hero.visual-hero {
    text-align: center;
    background-position: 64% 48%;
  }

  .solution-overview .solution-hero.visual-hero::before,
  .solution-industrial .solution-hero.visual-hero::before,
  .solution-medical .solution-hero.visual-hero::before,
  .solution-government .solution-hero.visual-hero::before,
  .solution-police .solution-hero.visual-hero::before,
  .solution-retail .solution-hero.visual-hero::before {
    background:
      linear-gradient(180deg,
        rgba(7, 10, 14, 0.72) 0%,
        rgba(7, 10, 14, 0.82) 48%,
        var(--bg) 100%),
      linear-gradient(90deg,
        rgba(7, 10, 14, 0.68) 0%,
        rgba(7, 10, 14, 0.28) 50%,
        rgba(7, 10, 14, 0.68) 100%);
  }

  .solution-overview .solution-hero.visual-hero .hero-copy,
  .solution-industrial .solution-hero.visual-hero .hero-copy,
  .solution-medical .solution-hero.visual-hero .hero-copy,
  .solution-government .solution-hero.visual-hero .hero-copy,
  .solution-police .solution-hero.visual-hero .hero-copy,
  .solution-retail .solution-hero.visual-hero .hero-copy {
    width: min(42rem, 100%);
    margin: 0 auto;
  }

  .solution-overview .solution-hero.visual-hero .hero-title,
  .solution-overview .solution-hero.visual-hero .hero-desc,
  .solution-industrial .solution-hero.visual-hero .hero-title,
  .solution-industrial .solution-hero.visual-hero .hero-desc,
  .solution-medical .solution-hero.visual-hero .hero-title,
  .solution-medical .solution-hero.visual-hero .hero-desc,
  .solution-government .solution-hero.visual-hero .hero-title,
  .solution-government .solution-hero.visual-hero .hero-desc,
  .solution-police .solution-hero.visual-hero .hero-title,
  .solution-police .solution-hero.visual-hero .hero-desc,
  .solution-retail .solution-hero.visual-hero .hero-title,
  .solution-retail .solution-hero.visual-hero .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .solution-industrial .solution-hero.visual-hero .hero-actions,
  .solution-medical .solution-hero.visual-hero .hero-actions,
  .solution-government .solution-hero.visual-hero .hero-actions,
  .solution-police .solution-hero.visual-hero .hero-actions,
  .solution-retail .solution-hero.visual-hero .hero-actions {
    justify-content: center;
  }

  .solution-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .solution-hero-copy {
    width: min(42rem, 100%);
  }

  .solution-hero-visual {
    width: min(54rem, 100%);
    min-height: clamp(20rem, 58vw, 31rem);
    margin: 0 auto;
    border-radius: 24px;
  }

  .solution-hero-visual::before {
    background: linear-gradient(180deg, transparent 54%, color-mix(in oklch, var(--bg) 44%, transparent) 100%);
  }
}

@media (max-width: 767px) {
  .solution-overview .solution-hero.visual-hero {
    background-position: 62% center;
  }

  .solution-industrial .solution-hero.visual-hero {
    background-position: 58% center;
  }

  .solution-medical .solution-hero.visual-hero {
    background-position: 56% center;
  }

  .solution-government .solution-hero.visual-hero {
    background-position: 54% center;
  }

  .solution-police .solution-hero.visual-hero {
    background-position: 58% center;
  }

  .solution-retail .solution-hero.visual-hero {
    background-position: 62% center;
  }

  .solution-hero {
    padding-top: calc(60px + 3.5rem) !important;
    padding-bottom: 3.25rem !important;
  }

  .solution-hero .hero-title {
    max-width: 13ch;
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .solution-hero-visual {
    min-height: 18rem;
    border-radius: 18px;
  }

  .solution-hero-visual::after {
    inset: 0.65rem;
    border-radius: 13px;
  }

  .solution-story {
    grid-template-columns: 1fr;
  }

  .solution-story > .solution-icon,
  .solution-story > h3,
  .solution-story > p {
    grid-column: 1;
    grid-row: auto;
  }

  .medical-challenge-flat > article {
    padding-left: 0;
    padding-top: 5.5rem;
  }

  .medical-challenge-flat > article > .solution-icon {
    top: 1.5rem;
  }

  .medical-case-flat-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .medical-case-flat-header .solution-icon {
    grid-row: 1 / span 2;
  }

  .medical-case-flat-header .case-industry,
  .medical-case-flat-header h3 {
    grid-column: 2;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-page .grid-2 > .glass,
  .solution-page .grid-3 > .glass,
  .solution-page .grid-4 > .glass,
  .solution-page .solution-card,
  .solution-card::before {
    transition: none;
  }
}

/* Production polish — shared detail system for secondary pages */
.nav-item > button.nav-trigger {
  min-height: 40px;
  padding: 0 0.15rem;
}

.nav-item > button.nav-trigger::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.1rem;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.72;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-item > button.nav-trigger[aria-expanded="true"]::after,
.nav-item.open > button.nav-trigger::after,
.nav-item:hover > button.nav-trigger::after {
  transform: rotate(225deg) translate(-2px, -1px);
  opacity: 1;
}

.nav-item > button.nav-trigger:focus-visible,
.nav-dropdown a:focus-visible,
.mobile-nav a:focus-visible,
.btn:focus-visible,
.link-arrow:focus-visible,
.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--yellow) 78%, white);
  outline-offset: 3px;
}

.nav-dropdown {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  min-height: 2.75rem;
}

.nav-dropdown a strong {
  display: block;
  font-weight: 650;
}

.mobile-nav.open {
  box-shadow: 0 22px 52px color-mix(in oklch, black 52%, transparent);
}

.product-card-icon,
.detail-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: color-mix(in oklch, var(--green) 70%, white);
  background: color-mix(in oklch, var(--green) 17%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in oklch, var(--green) 28%, transparent),
    0 10px 28px color-mix(in oklch, var(--green) 10%, transparent);
}

.product-card-icon svg,
.detail-card-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card-icon--yellow,
.detail-card-icon--yellow {
  color: var(--yellow);
  background: color-mix(in oklch, var(--yellow) 12%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in oklch, var(--yellow) 25%, transparent),
    0 10px 28px color-mix(in oklch, var(--yellow) 8%, transparent);
}

.feature-icon-card,
.product-icon-card,
.aip-layer-card,
.about-value-card,
.demo-form-shell,
.news-list-shell {
  position: relative;
  overflow: hidden;
}

.feature-icon-card::after,
.product-icon-card::after,
.aip-layer-card::after,
.about-value-card::after,
.demo-form-shell::after,
.news-list-shell::after {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--green) 15%, transparent), transparent 68%);
  pointer-events: none;
}

.feature-icon-card > *,
.product-icon-card > *,
.aip-layer-card > *,
.about-value-card > *,
.demo-form-shell > *,
.news-list-shell > * {
  position: relative;
  z-index: 1;
}

.feature-icon-card .product-card-icon,
.product-icon-card .product-card-icon,
.aip-layer-card .product-card-icon,
.about-value-card .detail-card-icon {
  margin-bottom: 0.8rem;
}

.feature-icon-card strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.product-icon-card--compact {
  min-height: 100%;
}

.product-icon-card--compact h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
}

.aip-layer-card {
  display: flex;
  flex-direction: column;
}

.aip-layer-card::before {
  content: attr(data-layer);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  color: color-mix(in oklch, var(--green) 48%, transparent);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
}

.aip-layer-card h3,
.aip-layer-card p,
.aip-layer-card a {
  max-width: 28rem;
}

.proof-card,
.deployment-card,
.hub-card,
.skiff-feature-card,
.case-detail {
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.proof-card:hover,
.deployment-card:hover,
.hub-card:hover,
.skiff-feature-card:hover,
.about-value-card:hover,
.case-detail:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 48px color-mix(in oklch, black 56%, transparent),
    0 8px 26px color-mix(in oklch, var(--green) 12%, transparent);
}

.skiff-feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.skiff-feature-card .product-card-icon {
  margin-top: 0.1rem;
}

.skiff-feature-card h3,
.skiff-feature-card h4 {
  margin-top: 0;
}

.about-value-card h3 {
  font-family: 'Outfit', sans-serif;
}

.about-value-card p {
  max-width: 38rem;
}

.case-detail {
  position: relative;
}

.cases-page .case-detail .case-industry {
  color: color-mix(in oklch, var(--yellow) 84%, white);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 1.12fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.demo-aside {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  min-height: 100%;
}

.demo-aside-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-content: center;
  align-items: start;
  min-height: 0;
}

.demo-aside-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
}

.demo-aside-item p {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.demo-form-shell .form-row + .form-row {
  margin-top: 1rem;
}

.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.news-toolbar p {
  color: var(--text-muted);
  font-size: var(--fs-body);
}

.news-toolbar .tag {
  flex-shrink: 0;
}

/* News / contact — title offset aligned with opensource hero */
.news-page .page-hero,
.contact-page .page-hero {
  min-height: auto;
  align-items: start;
  /* Match opensource title top (~ center of tall hero with richer content) */
  padding-top: calc(64px + clamp(8rem, 16vh, 11rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.news-page .section-compact,
.contact-page .section-compact {
  padding-top: clamp(1.25rem, 2.5vh, 2rem);
  padding-bottom: clamp(3rem, 6vh, 5rem);
}

.news-page .news-list-shell {
  margin-top: 0;
}

.news-page .news-empty {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: 12rem;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  border: 1px dashed color-mix(in oklch, var(--border) 88%, var(--green) 12%);
  background:
    radial-gradient(circle at 50% 0%, color-mix(in oklch, var(--green) 10%, transparent), transparent 55%),
    color-mix(in oklch, var(--surface-glass) 55%, transparent);
}

.news-img:empty {
  background:
    radial-gradient(circle at 28% 35%, color-mix(in oklch, var(--green) 22%, transparent), transparent 42%),
    radial-gradient(circle at 78% 68%, color-mix(in oklch, var(--yellow) 14%, transparent), transparent 46%),
    linear-gradient(
      145deg,
      color-mix(in oklch, var(--surface) 82%, var(--green) 18%),
      color-mix(in oklch, var(--bg) 88%, black)
    );
}

@media (max-width: 767px) {
  .news-page .page-hero,
  .contact-page .page-hero {
    padding-top: calc(60px + 3.5rem) !important;
    padding-bottom: 3.25rem !important;
  }
}

@media (max-width: 900px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .skiff-feature-card,
  .demo-aside-item {
    grid-template-columns: 1fr;
  }

  .aip-layer-card::before {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
  }
}

/* Careers page */
.careers-hero .careers-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: color-mix(in oklch, var(--green) 78%, white);
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.careers-section-head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.careers-section-head .section-sub {
  display: none;
}

.careers-role-list {
  display: grid;
  gap: 0.875rem;
}

.careers-role-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

section a.careers-role-row[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
}

.careers-role-row:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px color-mix(in oklch, black 52%, transparent),
    0 6px 20px color-mix(in oklch, var(--green) 10%, transparent);
}

.careers-role-main {
  min-width: 0;
}

.careers-role-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.careers-role-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0;
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.careers-role-meta span {
  display: inline-flex;
  align-items: center;
}

.careers-role-meta span:not(:last-child)::after {
  content: "|";
  margin: 0 0.55rem;
  color: color-mix(in oklch, var(--text-muted) 55%, transparent);
}

.careers-role-date {
  flex-shrink: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.careers-reason-list {
  display: grid;
  gap: 1rem;
}

.careers-reason {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.careers-reason-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: color-mix(in oklch, var(--green) 42%, transparent);
}

.careers-reason-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.careers-reason-desc {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 40rem;
}

.careers-cta {
  margin-top: 3rem;
  text-align: center;
}

.careers-cta-lead {
  color: var(--text);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.careers-cta-mail {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.careers-role-row:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--green) 70%, white);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .careers-role-row {
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.125rem 1.25rem;
  }

  .careers-role-date {
    white-space: normal;
  }

  .careers-reason {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .careers-reason-num {
    font-size: 1.75rem;
  }
}

/* AIP 概览卡 — 左文案 + 右「生产鸿沟 → AIP 答案」论证面板 */
.aip-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.62fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: stretch;
}
.aip-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.aip-overview-copy p {
  max-width: none;
}
.aip-overview-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: 16px;
  background: color-mix(in oklch, var(--bg) 80%, var(--green) 20%);
  box-shadow: inset 0 0 0 1px var(--border);
}
.aip-gap-value {
  display: block;
  margin-top: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 5.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.aip-overview-aside .aip-gap-desc {
  margin: 0.6rem 0 0;
  max-width: none;
  font-size: var(--fs-body-sm);
  line-height: 1.55;
  color: var(--text-muted);
}
.aip-overview-aside .aip-gap-desc strong {
  color: var(--text);
  font-weight: 600;
}
.aip-gap-answer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  box-shadow: 0 -1px 0 var(--border);
}
.aip-gap-answer .label-answer {
  margin-top: 0;
}
.aip-gap-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin-top: 0.7rem;
}
.aip-gap-pipeline span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--text);
  background: color-mix(in oklch, var(--bg) 66%, var(--green) 34%);
}
.aip-gap-pipeline i {
  font-style: normal;
  font-weight: 700;
  color: var(--green);
}

@media (max-width: 900px) {
  .aip-overview-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
