:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #d7dde8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --navy: #111827;
  --blue: #1262b3;
  --cyan: #0e8ba9;
  --red: #d72828;
  --gold: #c58b1a;
  --green: #098a57;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 34%, #f3f6fa 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

button,
a {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(8, 15, 30, 0.86);
  color: #fff;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--red), #f3b431);
  box-shadow: 0 10px 30px rgba(215, 40, 40, 0.35);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.top-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.top-nav a:hover {
  color: #fff;
}

.nav-cta {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(215, 40, 40, 0.28);
}

.nav-cta-link {
  display: inline-flex;
  align-items: center;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #08101f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.42;
  filter: saturate(0.92) contrast(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 25, 0.96) 0%, rgba(5, 12, 25, 0.78) 44%, rgba(5, 12, 25, 0.28) 100%),
    linear-gradient(0deg, rgba(246, 248, 251, 1) 0%, rgba(246, 248, 251, 0) 18%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 64px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #f3b431;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.98;
  font-weight: 900;
}

.subtitle {
  margin: 20px 0 0;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 900;
  border: 0;
  cursor: pointer;
}

.primary-action {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 36px rgba(215, 40, 40, 0.35);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.metric-band {
  width: min(1180px, calc(100% - 48px));
  margin: -50px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric-band div {
  min-height: 112px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.metric-band div:last-child {
  border-right: 0;
}

.metric-band strong {
  display: block;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.metric-band span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-contact-strip {
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.top-contact-strip strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
}

.top-contact-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.compact-action {
  min-width: 122px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
  scroll-margin-top: 88px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.12;
  font-weight: 900;
  text-wrap: balance;
}

.section h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 16px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-grid article,
.experience-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 8px;
}

.proof-index {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: #111827;
  color: #fff;
}

.showcase-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.52fr);
  gap: 32px;
  align-items: end;
  order: 2;
}

.showcase p {
  color: rgba(255, 255, 255, 0.75);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-list li {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.screenshot-frame {
  order: 1;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 1500 / 980;
  object-fit: contain;
  background: #e8edf4;
}

.module-filter {
  position: sticky;
  top: 68px;
  z-index: 8;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0;
  margin-bottom: 20px;
  background: rgba(246, 248, 251, 0.9);
  backdrop-filter: blur(12px);
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 7px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.module-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  box-shadow: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.module-card:hover {
  background: #fff;
  border-color: #b9c7d8;
  transform: translateY(-2px);
}

.module-card.hidden {
  display: none;
}

.module-shot {
  border: 0;
  padding: 0;
  background: #eef2f7;
  cursor: zoom-in;
}

.module-shot img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: top left;
  background: #eef2f7;
}

.module-process-shot {
  width: 100%;
  min-height: 148px;
  padding: 12px;
  text-align: left;
  background: #eef2f7;
}

.module-process-static {
  cursor: default;
}

.module-process-panel {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 13px;
  border: 1px solid #d8e1ec;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.module-process-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(18, 98, 179, 0.12), transparent);
  transform: translateX(-120%);
  animation: module-scan 5.4s ease-in-out infinite;
}

.module-process-head,
.module-process-steps,
.module-process-metrics,
.module-process-panel p {
  position: relative;
  z-index: 1;
}

.module-process-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.module-process-head span {
  display: block;
  margin-bottom: 5px;
  color: #7b341e;
  font-size: 12px;
  font-weight: 900;
}

.module-process-head strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.module-process-head em {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f3f6fa;
  color: #42526a;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.module-process-head em i {
  display: none;
}

.module-process-steps {
  display: none;
}

.module-process-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: #fff;
  animation: module-step 6.4s ease-in-out infinite;
  animation-delay: calc(var(--step-index) * 0.7s);
}

.module-process-steps b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
}

.module-process-steps span {
  color: #26384f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.module-process-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.module-process-metrics span {
  min-height: 26px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #f1f6fd;
  color: #244a73;
  font-size: 11px;
  font-weight: 900;
  animation: none;
}

.module-process-metrics span:nth-child(2) {
  animation-delay: 0.5s;
}

.module-process-metrics span:nth-child(3) {
  animation-delay: 1s;
}

.module-process-metrics span:nth-child(4) {
  animation-delay: 1.5s;
}

.module-process-panel p {
  display: none;
}

@keyframes module-scan {
  0%, 38% {
    transform: translateX(-120%);
  }
  72%, 100% {
    transform: translateX(120%);
  }
}

@keyframes module-step {
  0%, 100% {
    border-color: #dbe5ef;
    transform: translateY(0);
  }
  12% {
    border-color: rgba(18, 98, 179, 0.5);
    box-shadow: 0 10px 22px rgba(18, 98, 179, 0.12);
    transform: translateY(-2px);
  }
}

.module-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.module-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.module-tag {
  color: #7b341e;
  font-size: 12px;
  font-weight: 900;
}

.module-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.22;
}

.module-body p {
  margin-top: 0;
  min-height: 0;
  max-width: 100%;
  color: #41516a;
  font-size: 14px;
  line-height: 1.72;
}

.module-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
}

.module-points span,
.ai-points span {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.ai-section {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: #fff;
}

.ai-layout {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 42px;
  align-items: center;
}

.ai-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.ai-shot {
  border: 1px solid var(--line);
}

.ai-process-demo {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #cdd8e7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 252, 0.96)),
    #fff;
  box-shadow: var(--shadow);
}

.ai-process-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(18, 98, 179, 0.12) 42%, transparent 68%);
  transform: translateX(-100%);
  animation: process-scan 4.8s ease-in-out infinite;
}

.process-top,
.report-preview {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.process-label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.process-top strong {
  display: block;
  font-size: 26px;
  line-height: 1.18;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.live-badge i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(9, 138, 87, 0.4);
  animation: live-pulse 1.4s ease-out infinite;
}

.process-stream {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 84px;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  animation: step-glow 7.2s ease-in-out infinite;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.process-step strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.process-step p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.45;
}

.process-step em {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3ebf4;
}

.process-step em::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform-origin: left center;
  animation: process-fill 7.2s ease-in-out infinite;
}

.step-two {
  animation-delay: 1.2s;
}

.step-two em::after {
  animation-delay: 1.2s;
}

.step-three {
  animation-delay: 2.4s;
}

.step-three em::after {
  animation-delay: 2.4s;
}

.step-four {
  animation-delay: 3.6s;
}

.step-four em::after {
  animation-delay: 3.6s;
}

.agent-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.agent-board span {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: #f8fbff;
  color: #23344b;
  font-size: 13px;
  font-weight: 900;
  animation: agent-tick 5.6s ease-in-out infinite;
}

.agent-board span:nth-child(2) {
  animation-delay: 0.5s;
}

.agent-board span:nth-child(3) {
  animation-delay: 1s;
}

.agent-board span:nth-child(4) {
  animation-delay: 1.5s;
}

.agent-board span:nth-child(5) {
  animation-delay: 2s;
}

.report-preview {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
}

.report-preview strong {
  display: block;
  color: #fff;
}

.report-preview p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.report-preview button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  cursor: zoom-in;
  white-space: nowrap;
}

@keyframes process-scan {
  0%, 34% {
    transform: translateX(-120%);
  }
  65%, 100% {
    transform: translateX(120%);
  }
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(9, 138, 87, 0.35);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(9, 138, 87, 0);
  }
}

@keyframes step-glow {
  0%, 18%, 100% {
    border-color: #dbe5ef;
    box-shadow: none;
    transform: translateY(0);
  }
  8% {
    border-color: rgba(18, 98, 179, 0.45);
    box-shadow: 0 12px 30px rgba(18, 98, 179, 0.12);
    transform: translateY(-2px);
  }
}

@keyframes process-fill {
  0%, 16%, 100% {
    transform: scaleX(0.18);
  }
  8% {
    transform: scaleX(0.96);
  }
}

@keyframes agent-tick {
  0%, 100% {
    border-color: #dbe5ef;
    color: #23344b;
  }
  12% {
    border-color: rgba(9, 138, 87, 0.42);
    color: var(--green);
  }
}

.data-source-ai {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-bottom: 32px;
  background:
    linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.data-source-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.5fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 28px;
}

.data-source-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 900;
}

.data-source-copy p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.85;
}

.data-source-demo {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid #d6e0ec;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 52%, rgba(18, 98, 179, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, #edf4fb);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
}

.data-source-demo::before,
.data-source-demo::after {
  content: "";
  position: absolute;
  inset: 54px 80px;
  border: 1px dashed rgba(18, 98, 179, 0.22);
  border-radius: 999px;
  pointer-events: none;
}

.data-source-demo::after {
  inset: 92px 160px;
  border-color: rgba(215, 40, 40, 0.16);
}

.source-node,
.source-core {
  position: absolute;
  z-index: 1;
}

.source-node {
  width: min(260px, 28vw);
  min-height: 94px;
  padding: 18px;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.source-node::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(18, 98, 179, 0), rgba(18, 98, 179, 0.9), rgba(215, 40, 40, 0));
  animation: source-flow 3.8s ease-in-out infinite;
}

.source-node-a {
  left: 34px;
  top: 34px;
}

.source-node-a::after {
  right: -76px;
  top: 70px;
}

.source-node-b {
  right: 34px;
  top: 34px;
}

.source-node-b::after {
  left: -76px;
  top: 70px;
}

.source-node-c {
  left: 34px;
  bottom: 34px;
}

.source-node-c::after {
  right: -76px;
  top: 34px;
}

.source-node-d {
  right: 34px;
  bottom: 34px;
}

.source-node-d::after {
  left: -76px;
  top: 34px;
}

.source-node strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.source-node span {
  display: block;
  margin-top: 9px;
  color: #52647a;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}

.source-core {
  left: 50%;
  top: 50%;
  width: min(420px, 42vw);
  min-height: 260px;
  transform: translate(-50%, -50%);
  padding: 26px;
  border: 1px solid rgba(18, 98, 179, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 254, 0.94)),
    #fff;
  box-shadow: 0 22px 62px rgba(18, 98, 179, 0.16);
}

.source-core h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 30px;
}

.source-core p {
  margin: 0;
  color: #52647a;
  font-size: 14px;
  font-weight: 900;
}

.source-bars {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.source-bars span {
  position: relative;
  overflow: hidden;
  height: 34px;
  border-radius: 7px;
  background: #eef4fb;
}

.source-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(18, 98, 179, 0.82), rgba(215, 40, 40, 0.72));
  transform-origin: left center;
  animation: source-bar 3.4s ease-in-out infinite;
}

.source-bars b {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 12px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.data-source-explain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.data-source-explain article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.data-source-explain span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 38px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff2f2;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.data-source-explain h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 22px;
}

.data-source-explain p {
  margin: 0;
  color: #45566d;
  font-size: 15px;
  line-height: 1.75;
}

@keyframes source-flow {
  0%, 100% {
    opacity: 0.2;
    transform: scaleX(0.35);
  }
  48% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes source-bar {
  0%, 100% {
    transform: scaleX(0.62);
  }
  50% {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-process-demo::before,
  .source-node::after,
  .source-bars span::before,
  .analysis-runner::before,
  .runner-track b,
  .module-process-panel::before,
  .module-process-head em i,
  .module-process-steps div,
  .module-process-metrics span,
  .live-badge i,
  .process-step,
  .process-step em::after,
  .agent-board span {
    animation: none;
  }
}

.github-bridge {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(8, 15, 30, 0.98), rgba(20, 36, 63, 0.98)),
    #080f1e;
  color: #fff;
}

.bridge-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.56fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 30px;
}

.bridge-copy h2,
.decision-flow h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}

.github-bridge p,
.decision-flow p {
  color: rgba(255, 255, 255, 0.72);
}

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

.bridge-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.bridge-grid span,
.flow-steps span,
.ai-column-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(243, 180, 49, 0.16);
  color: #f3b431;
  font-size: 13px;
  font-weight: 900;
}

.bridge-grid h3 {
  margin: 22px 0 12px;
  color: #fff;
  font-size: 24px;
}

.claim-ribbon {
  margin-top: 20px;
  padding: 18px 22px;
  border-left: 5px solid var(--red);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.agent-runtime {
  width: 100%;
  padding: 32px max(24px, calc((100% - 1180px) / 2)) 76px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f4f7fb 100%);
}

.runtime-intro {
  max-width: 920px;
  margin-bottom: 30px;
}

.runtime-label {
  margin: 0 0 14px;
  color: #7b341e;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.runtime-intro h2 {
  max-width: 780px;
  margin: 0;
  color: #111827;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.12;
  font-weight: 900;
  text-wrap: balance;
}

.runtime-intro p {
  max-width: 740px;
  margin-top: 20px;
  color: #41516a;
  font-size: 17px;
  line-height: 1.9;
}

.runtime-architecture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.runtime-architecture strong {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f3f6fa;
  color: #1f2d3d;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.runtime-architecture i {
  height: 1px;
  background: #a9b6c8;
}

.runtime-architecture i::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-left: auto;
  margin-top: -3px;
  border-top: 1px solid #a9b6c8;
  border-right: 1px solid #a9b6c8;
  transform: rotate(45deg);
}

.runtime-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.runtime-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 30px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.runtime-card-openclaw {
  box-shadow: 0 18px 38px rgba(32, 63, 102, 0.08);
}

.runtime-card-hermes {
  box-shadow: 0 18px 38px rgba(83, 62, 31, 0.08);
}

.runtime-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3e9f1;
}

.runtime-card-head span {
  color: #7b341e;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.runtime-card-head strong {
  color: #111827;
  text-align: right;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  text-wrap: balance;
}

.runtime-lead {
  margin: 22px 0 0;
  color: #3d4c63;
  font-size: 16px;
  line-height: 1.85;
}

.runtime-spec {
  display: grid;
  gap: 0;
  margin: 24px 0 18px;
  border-top: 1px solid #e3e9f1;
  border-bottom: 1px solid #e3e9f1;
}

.runtime-spec div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #e3e9f1;
}

.runtime-spec div:last-child {
  border-bottom: 0;
}

.runtime-spec dt {
  color: #7b341e;
  font-size: 14px;
  font-weight: 900;
}

.runtime-spec dd {
  margin: 0;
  color: #253246;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
}

.runtime-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.runtime-card li {
  position: relative;
  padding: 9px 0 9px 18px;
  color: #46566c;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
}

.runtime-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 6px;
  background: #7b341e;
}

.runtime-output {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e3e9f1;
  color: #28384d;
  font-size: 15px;
  line-height: 1.7;
}

.runtime-output strong {
  color: #111827;
}

.runtime-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 800;
}

.agent-system {
  background: var(--paper);
}

.agent-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.agent-matrix article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.agent-matrix strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.agent-matrix p {
  margin-top: 14px;
}

.agent-matrix ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.agent-matrix li {
  padding: 11px 0 11px 22px;
  border-top: 1px solid #e8edf4;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  position: relative;
}

.agent-matrix li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
}

.decision-flow {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: #101827;
  color: #fff;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.flow-steps article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.flow-steps h3 {
  color: #fff;
  margin: 20px 0 12px;
  font-size: 22px;
}

.ai-columns {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.ai-demo-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: -8px 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ai-demo-intro strong {
  color: var(--red);
  font-weight: 900;
}

.ai-demo-intro span {
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.ai-demo-intro i {
  width: 28px;
  height: 1px;
  background: var(--line);
}

.ai-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.ai-column-grid article {
  min-height: 0;
  padding: 22px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.ai-column-grid .featured-demo {
  border-color: #c7d2e0;
  background: #fff;
}

.ai-column-grid span {
  background: #f3f6fa;
  color: #7b341e;
}

.ai-column-grid h3 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.ai-demo-card p {
  min-height: 0;
  color: #41516a;
  font-size: 15px;
  line-height: 1.76;
}

.demo-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 16px 0 12px;
}

.demo-flow span {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f3f6fa;
  color: #24364b;
  text-align: left;
  font-size: 13px;
  font-weight: 900;
}

.demo-flow i {
  display: none;
}

.ai-demo-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-demo-card li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-top: 1px solid #e8edf4;
  color: #46566c;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.ai-demo-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  background: #7b341e;
}

.demo-output {
  margin-top: 14px;
  padding: 13px 0 0;
  border-top: 1px solid #e8edf4;
  border-radius: 0;
  background: transparent;
  color: #27364a;
}

.demo-output strong {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.demo-output p {
  min-height: 0;
  margin-top: 5px;
  color: #52647a;
  font-size: 13px;
  line-height: 1.65;
}

.demo-shot {
  margin-top: 14px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(18, 98, 179, 0.22);
  border-radius: 7px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  cursor: zoom-in;
}

.analysis-runner {
  position: relative;
  overflow: hidden;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #e1e8f0;
  border-radius: 7px;
  background: #f8fafc;
}

.analysis-runner::before {
  display: none;
}

.runner-head,
.runner-track,
.analysis-runner p {
  position: relative;
  z-index: 1;
}

.runner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.runner-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.runner-head span {
  min-height: 26px;
  padding: 0 9px;
  background: #fff;
  color: #42526a;
  font-size: 12px;
}

.runner-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.runner-track b {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 9px;
  border: 1px solid #e1e8f0;
  border-radius: 6px;
  background: #fff;
  color: #29425f;
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  animation: none;
}

.runner-track b:nth-child(2) {
  animation-delay: 0.7s;
}

.runner-track b:nth-child(3) {
  animation-delay: 1.4s;
}

.runner-track b:nth-child(4) {
  animation-delay: 2.1s;
}

.analysis-runner p {
  min-height: 0;
  margin-top: 10px;
  color: #52647a;
  font-size: 13px;
  line-height: 1.62;
}

@keyframes mini-scan {
  0%, 38% {
    transform: translateX(-120%);
  }
  70%, 100% {
    transform: translateX(120%);
  }
}

@keyframes runner-step {
  0%, 100% {
    border-color: #dbe5ef;
    color: #29425f;
    transform: translateY(0);
  }
  12% {
    border-color: rgba(18, 98, 179, 0.52);
    color: var(--blue);
    box-shadow: 0 10px 22px rgba(18, 98, 179, 0.12);
    transform: translateY(-2px);
  }
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.final-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 44px;
  background: linear-gradient(135deg, #111827, #1b2a45);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
}

.final-cta p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  background: #080f1e;
  color: #fff;
}

.site-footer div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3, 7, 18, 0.86);
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.lightbox-panel {
  width: min(1420px, 100%);
}

.lightbox-panel p {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 900;
}

.lightbox-panel img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(10px);
}

.contact-modal.open {
  display: flex;
}

.contact-card {
  position: relative;
  width: min(420px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card .section-kicker {
  margin-bottom: 8px;
}

.contact-card h2 {
  margin: 0 0 22px;
  font-size: 34px;
  line-height: 1.15;
}

.contact-card img {
  width: min(260px, 82vw);
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.contact-note {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 700;
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 64px;
    padding: 12px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .top-nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .top-nav a,
  .top-nav button {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 86vh;
  }

  .metric-band,
  .top-contact-strip,
  .proof-grid,
  .module-grid,
  .experience-grid,
  .showcase,
  .showcase-copy,
  .ai-layout,
  .data-source-copy,
  .data-source-explain,
  .bridge-copy,
  .bridge-grid,
  .runtime-grid,
  .agent-matrix,
  .flow-steps,
  .ai-column-grid,
  .section-head,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .top-contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-band div:last-child {
    border-bottom: 0;
  }

  .module-filter {
    top: 102px;
  }

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

  .data-source-demo {
    min-height: auto;
    display: grid;
    gap: 14px;
    padding: 18px;
  }

  .data-source-demo::before,
  .data-source-demo::after {
    display: none;
  }

  .source-node,
  .source-core {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .source-node::after {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

@media (max-width: 620px) {
  .hero-inner,
  .section,
  .metric-band {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .subtitle {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 16px;
    max-width: 100%;
  }

  .agent-runtime {
    padding-top: 56px;
    padding-bottom: 84px;
  }

  .runtime-intro h2 {
    font-size: 28px;
    line-height: 1.16;
  }

  .runtime-intro p {
    font-size: 15px;
    line-height: 1.82;
  }

  .runtime-card {
    min-height: auto;
    padding: 24px;
  }

  .runtime-card-head strong {
    font-size: 24px;
  }

  .runtime-lead,
  .runtime-spec dd,
  .runtime-card li,
  .runtime-output {
    font-size: 14px;
  }

  .hero-actions a {
    flex: 1 1 145px;
    padding: 0 14px;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    flex: 1 1 145px;
    padding: 0 14px;
  }

  .module-points,
  .ai-points,
  .agent-board {
    grid-template-columns: 1fr;
  }

  .demo-flow {
    grid-template-columns: 1fr;
  }

  .runtime-architecture {
    grid-template-columns: 1fr;
  }

  .runtime-architecture i {
    height: 18px;
    width: 2px;
    justify-self: center;
  }

  .runtime-architecture i::after {
    margin-left: -3px;
    margin-top: 11px;
    transform: rotate(135deg);
  }

  .runtime-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .runtime-card-head strong {
    text-align: left;
  }

  .runtime-spec div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .demo-flow i {
    width: 2px;
    height: 18px;
    justify-self: center;
  }

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

  .module-process-steps,
  .module-process-metrics {
    grid-template-columns: 1fr;
  }

  .module-process-head {
    flex-direction: column;
  }

  .ai-demo-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-demo-intro i {
    width: 2px;
    height: 18px;
    margin-left: 8px;
  }

  .process-top,
  .report-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .process-step em {
    grid-column: 1 / -1;
  }

  .section {
    padding: 64px 0;
  }
}

/* Homepage quality refresh: scoped so article/detail pages keep their current layout. */
body.home-page {
  --ink: #182235;
  --muted: #667386;
  --line: #e1e7ef;
  --paper: #f7f8fb;
  --white: #ffffff;
  --navy: #202b3b;
  --blue: #285f9f;
  --red: #b9463a;
  --gold: #a9772c;
  --shadow: 0 18px 52px rgba(30, 42, 62, 0.11);
  background:
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 42%, #f4f6fa 100%);
  color: var(--ink);
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

body.home-page .site-header {
  height: 72px;
  padding: 0 46px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-bottom: 1px solid rgba(120, 132, 150, 0.18);
  box-shadow: 0 10px 30px rgba(30, 42, 62, 0.08);
}

body.home-page .brand,
body.home-page .top-nav a {
  color: var(--ink);
}

body.home-page .brand {
  font-weight: 700;
}

body.home-page .brand-mark {
  border-radius: 8px;
  background: #202b3b;
  color: #fff;
  box-shadow: none;
  font-weight: 700;
}

body.home-page .top-nav {
  gap: 22px;
}

body.home-page .top-nav a {
  color: #4c596b;
  font-weight: 600;
}

body.home-page .top-nav a:hover {
  color: var(--red);
}

body.home-page .nav-cta {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(185, 70, 58, 0.2);
  background: var(--red);
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(185, 70, 58, 0.18);
}

body.home-page .hero {
  min-height: 760px;
  background: #172133;
}

body.home-page .hero-bg {
  opacity: 0.36;
  filter: saturate(0.9) contrast(1.02);
  object-position: center top;
}

body.home-page .hero-shade {
  background:
    linear-gradient(90deg, rgba(19, 28, 43, 0.94) 0%, rgba(19, 28, 43, 0.78) 43%, rgba(19, 28, 43, 0.24) 100%),
    linear-gradient(0deg, rgba(247, 248, 251, 1) 0%, rgba(247, 248, 251, 0) 18%);
}

body.home-page .hero-inner {
  width: min(1200px, calc(100% - 56px));
  padding-top: 78px;
}

body.home-page .eyebrow,
body.home-page .section-kicker {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.home-page .hero h1,
body.home-page .final-cta h2 {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-weight: 650;
  letter-spacing: 0;
}

body.home-page .hero h1 {
  max-width: 760px;
  font-size: clamp(50px, 6.2vw, 88px);
  line-height: 1.05;
}

body.home-page .subtitle {
  margin-top: 18px;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

body.home-page .hero-copy {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.92;
}

body.home-page .primary-action,
body.home-page .secondary-action {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body.home-page .primary-action {
  background: var(--red);
  box-shadow: 0 16px 34px rgba(185, 70, 58, 0.22);
}

body.home-page .secondary-action {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
}

body.home-page .primary-action:hover,
body.home-page .secondary-action:hover,
body.home-page .nav-cta:hover,
body.home-page .filter-btn:hover {
  transform: translateY(-1px);
}

body.home-page .metric-band {
  width: min(1200px, calc(100% - 56px));
  margin-top: -44px;
  overflow: hidden;
  border-color: rgba(120, 132, 150, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

body.home-page .metric-band div {
  min-height: 108px;
  background: rgba(255, 255, 255, 0.96);
}

body.home-page .metric-band strong {
  color: var(--red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.home-page .metric-band span,
body.home-page .top-contact-strip span {
  font-weight: 500;
}

body.home-page .top-contact-strip {
  width: min(1200px, calc(100% - 56px));
  border: 1px solid rgba(120, 132, 150, 0.18);
  border-left: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 34px rgba(30, 42, 62, 0.06);
}

body.home-page .top-contact-strip strong {
  font-weight: 650;
}

body.home-page .section {
  width: min(1200px, calc(100% - 56px));
  padding: 78px 0;
}

body.home-page .section h2 {
  color: var(--ink);
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.22;
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-weight: 650;
  max-width: 760px;
}

body.home-page .section h3,
body.home-page .module-body h3 {
  font-weight: 650;
}

body.home-page .section p,
body.home-page .module-body p {
  color: var(--muted);
}

body.home-page .proof-grid {
  gap: 18px;
}

body.home-page .proof-grid article,
body.home-page .experience-grid article {
  border: 1px solid rgba(120, 132, 150, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 253, 0.96));
  box-shadow: 0 14px 36px rgba(30, 42, 62, 0.06);
}

body.home-page .proof-index,
body.home-page .module-tag {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0;
}

body.home-page .showcase {
  background: #eef3f7;
  color: var(--ink);
}

body.home-page .showcase p {
  color: var(--muted);
}

body.home-page .check-list li {
  border-color: rgba(120, 132, 150, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
  font-weight: 500;
}

body.home-page .screenshot-frame {
  border-radius: 8px;
  box-shadow: 0 22px 64px rgba(30, 42, 62, 0.16);
}

body.home-page .module-filter {
  top: 72px;
  gap: 10px;
  background: rgba(247, 248, 251, 0.92);
}

body.home-page .filter-btn {
  border-color: rgba(120, 132, 150, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  font-weight: 650;
}

body.home-page .filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

body.home-page .module-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

body.home-page .module-card {
  border: 1px solid rgba(120, 132, 150, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(30, 42, 62, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.home-page .module-card:hover {
  border-color: rgba(185, 70, 58, 0.22);
  box-shadow: 0 22px 56px rgba(30, 42, 62, 0.12);
  transform: translateY(-3px);
}

body.home-page .module-shot,
body.home-page .module-process-shot {
  background: #e9eef5;
}

body.home-page .module-shot img {
  height: 172px;
  object-fit: cover;
}

body.home-page .module-body {
  padding: 20px;
}

body.home-page .module-body h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
}

body.home-page .module-points span,
body.home-page .ai-points span {
  border: 1px solid rgba(120, 132, 150, 0.12);
  background: #f5f7fa;
  color: #3b4656;
  font-weight: 600;
}

body.home-page .module-process-panel {
  border-color: rgba(120, 132, 150, 0.16);
  background: #fff;
}

body.home-page .module-process-head span,
body.home-page .module-process-metrics span,
body.home-page .module-process-steps span {
  font-weight: 650;
}

body.home-page .ai-section {
  background: #fff;
}

body.home-page .final-cta {
  border-radius: 8px;
  background: linear-gradient(135deg, #202b3b, #27364c);
  box-shadow: 0 20px 58px rgba(30, 42, 62, 0.16);
}

body.home-page .final-cta h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
}

body.home-page .site-footer {
  background: #151d2a;
}

body.home-page a:focus-visible,
body.home-page button:focus-visible {
  outline: 3px solid rgba(185, 70, 58, 0.38);
  outline-offset: 3px;
}

@media (min-width: 1160px) {
  body.home-page .module-card:nth-child(1),
  body.home-page .module-card:nth-child(2) {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  body.home-page .site-header {
    height: auto;
    padding: 12px 20px;
  }

  body.home-page .hero {
    min-height: 720px;
  }

  body.home-page .module-filter {
    top: 102px;
  }
}

@media (max-width: 620px) {
  body.home-page .hero-inner,
  body.home-page .section,
  body.home-page .metric-band,
  body.home-page .top-contact-strip {
    width: min(100% - 28px, 1200px);
  }

  body.home-page .hero h1 {
    font-size: 42px;
  }

  body.home-page .subtitle {
    font-size: 22px;
  }

  body.home-page .module-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage layout correction pass: remove bottom-aligned split copy blocks. */
body.home-page .section-head,
body.home-page .data-source-copy,
body.home-page .bridge-copy {
  align-items: start;
  gap: 34px;
}

body.home-page .section-head p,
body.home-page .data-source-copy p,
body.home-page .bridge-copy p {
  max-width: 640px;
  padding-top: 6px;
  font-size: 16px;
  line-height: 1.86;
}

body.home-page .showcase {
  width: min(1200px, calc(100% - 56px));
  padding: 84px 0;
  background: transparent;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: center;
}

body.home-page .showcase-copy {
  order: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  align-content: center;
  gap: 16px;
}

body.home-page .showcase-copy .section-kicker,
body.home-page .showcase-copy h2,
body.home-page .showcase-copy p {
  margin: 0;
}

body.home-page .showcase-copy h2 {
  max-width: 560px;
}

body.home-page .showcase-copy p {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.82;
}

body.home-page .showcase-copy .check-list {
  margin-top: 8px;
}

body.home-page .showcase-copy .check-list li {
  min-height: auto;
  padding: 14px 16px;
  line-height: 1.6;
}

body.home-page .screenshot-frame {
  order: 1;
}

body.home-page .ai-layout,
body.home-page .data-source-explain,
body.home-page .bridge-grid,
body.home-page .runtime-grid,
body.home-page .agent-matrix,
body.home-page .ai-column-grid,
body.home-page .experience-grid {
  align-items: start;
}

body.home-page .ai-layout > div:first-child,
body.home-page .data-source-copy,
body.home-page .bridge-copy,
body.home-page .runtime-intro {
  text-wrap: pretty;
}

body.home-page .runtime-intro {
  display: grid;
  gap: 16px;
}

body.home-page .runtime-intro h2,
body.home-page .data-source-copy h2,
body.home-page .bridge-copy h2,
body.home-page .ai-column-intro h2 {
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.22;
  font-weight: 650;
  max-width: 820px;
}

body.home-page .data-source-copy h2,
body.home-page .bridge-copy h2 {
  margin: 0;
}

body.home-page .data-source-copy p,
body.home-page .bridge-copy p,
body.home-page .runtime-intro p {
  margin: 0;
}

body.home-page .data-source-copy .section-kicker,
body.home-page .bridge-copy .section-kicker {
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  body.home-page .showcase,
  body.home-page .section-head,
  body.home-page .data-source-copy,
  body.home-page .bridge-copy {
    grid-template-columns: 1fr;
  }

  body.home-page .showcase-copy,
  body.home-page .screenshot-frame {
    order: 0;
  }
}

/* Homepage vertical rhythm pass: tighten large gaps without changing content. */
body.home-page .section {
  padding-top: 58px;
  padding-bottom: 58px;
}

body.home-page .section-head {
  margin-bottom: 22px;
  gap: 28px;
}

body.home-page .trust {
  padding-bottom: 34px;
}

body.home-page .showcase {
  padding-top: 42px;
  padding-bottom: 58px;
  gap: 28px;
}

body.home-page .showcase-copy {
  gap: 14px;
}

body.home-page .module-overview,
body.home-page .ai-section,
body.home-page .data-source-ai,
body.home-page .agent-runtime,
body.home-page .github-bridge,
body.home-page .agent-system,
body.home-page .decision-flow,
body.home-page .ai-columns,
body.home-page .experience {
  padding-top: 60px;
  padding-bottom: 60px;
}

body.home-page .ai-section,
body.home-page .data-source-ai,
body.home-page .github-bridge {
  padding-left: max(24px, calc((100% - 1200px) / 2));
  padding-right: max(24px, calc((100% - 1200px) / 2));
}

body.home-page .agent-runtime {
  padding: 56px max(24px, calc((100% - 1200px) / 2)) 62px;
}

body.home-page .proof-grid,
body.home-page .module-grid,
body.home-page .experience-grid,
body.home-page .bridge-grid,
body.home-page .agent-matrix,
body.home-page .ai-column-grid {
  gap: 18px;
}

body.home-page .proof-grid article,
body.home-page .experience-grid article,
body.home-page .module-card,
body.home-page .ai-demo-card,
body.home-page .bridge-card,
body.home-page .agent-card {
  box-shadow: 0 10px 28px rgba(30, 42, 62, 0.055);
}

body.home-page .proof-grid article,
body.home-page .experience-grid article {
  padding: 22px;
}

body.home-page .proof-index {
  margin-bottom: 12px;
}

body.home-page .section h3,
body.home-page .module-body h3 {
  margin-top: 12px;
}

body.home-page .module-filter {
  margin: 20px 0 20px;
}

body.home-page .data-source-demo,
body.home-page .ai-process-demo,
body.home-page .runtime-architecture {
  margin-top: 24px;
}

body.home-page .final-cta {
  margin-bottom: 56px;
}

@media (max-width: 980px) {
  body.home-page .section,
  body.home-page .module-overview,
  body.home-page .ai-section,
  body.home-page .data-source-ai,
  body.home-page .agent-runtime,
  body.home-page .github-bridge,
  body.home-page .agent-system,
  body.home-page .decision-flow,
  body.home-page .ai-columns,
  body.home-page .experience {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  body.home-page .trust {
    padding-bottom: 28px;
  }

  body.home-page .showcase {
    padding-top: 34px;
    padding-bottom: 50px;
    gap: 22px;
  }
}

@media (max-width: 620px) {
  body.home-page .section,
  body.home-page .module-overview,
  body.home-page .ai-section,
  body.home-page .data-source-ai,
  body.home-page .agent-runtime,
  body.home-page .github-bridge,
  body.home-page .agent-system,
  body.home-page .decision-flow,
  body.home-page .ai-columns,
  body.home-page .experience {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  body.home-page .showcase {
    padding-top: 28px;
    padding-bottom: 42px;
  }

  body.home-page .section-head,
  body.home-page .showcase-copy {
    gap: 16px;
  }
}

/* Homepage module/AI repair pass: keep the demo grid compact and the AI block balanced. */
body.home-page .module-overview {
  padding-bottom: 44px;
}

body.home-page .module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

body.home-page .module-card {
  min-width: 0;
  height: 100%;
}

body.home-page .module-card:nth-child(1),
body.home-page .module-card:nth-child(2) {
  grid-column: auto;
}

body.home-page .module-shot img {
  height: 150px;
}

body.home-page .module-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body.home-page .module-body p {
  flex: 1;
}

body.home-page .module-points {
  margin-top: 16px;
}

body.home-page .module-process-panel {
  min-height: 150px;
}

body.home-page .ai-section {
  padding-left: 0;
  padding-right: 0;
  padding-top: 46px;
  padding-bottom: 58px;
}

body.home-page .data-source-ai,
body.home-page .agent-runtime,
body.home-page .github-bridge {
  padding-left: 0;
  padding-right: 0;
}

body.home-page .ai-layout {
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  gap: 44px;
  align-items: center;
}

body.home-page .ai-layout > div:first-child {
  max-width: 580px;
}

body.home-page .ai-layout h2 {
  max-width: 580px;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.18;
}

body.home-page .ai-layout p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.78;
}

body.home-page .ai-points {
  margin-top: 22px;
}

body.home-page .ai-process-demo {
  max-width: 620px;
  justify-self: end;
  padding: 22px;
  box-shadow: 0 14px 38px rgba(30, 42, 62, 0.08);
}

body.home-page .process-top strong {
  font-size: 24px;
}

body.home-page .process-stream {
  gap: 10px;
  margin-top: 18px;
}

body.home-page .process-step {
  grid-template-columns: 38px minmax(0, 1fr) 72px;
  gap: 12px;
  padding: 12px;
}

body.home-page .agent-board {
  margin-top: 12px;
}

body.home-page .agent-board span {
  min-height: 38px;
}

body.home-page .report-preview {
  margin-top: 14px;
  padding: 16px;
}

@media (max-width: 1180px) {
  body.home-page .module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-page .ai-layout {
    grid-template-columns: 1fr;
  }

  body.home-page .ai-layout > div:first-child,
  body.home-page .ai-process-demo {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  body.home-page .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body.home-page .module-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .process-step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  body.home-page .process-step em {
    grid-column: 1 / -1;
  }
}
