:root {
  color-scheme: light;
  --bg: #f4f8fc;
  --bg-soft: #edf4fb;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-strong: rgba(255, 255, 255, 0.99);
  --line: rgba(27, 91, 195, 0.10);
  --line-strong: rgba(27, 91, 195, 0.22);
  --text: #16324f;
  --muted: #667a92;
  --accent: #1f6bff;
  --accent-2: #2ab8ff;
  --accent-3: #89b5ff;
  --shadow: 0 24px 48px rgba(27, 52, 92, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 40%, #edf4fb 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(31, 107, 255, 0.12), transparent 26%),
    radial-gradient(circle at 84% 8%, rgba(42, 184, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(237, 244, 251, 0));
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(22, 50, 79, 0.08);
  backdrop-filter: blur(18px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 18px rgba(31, 107, 255, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  background: rgba(31, 107, 255, 0.08);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.hero,
.section {
  padding: 32px 0 72px;
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

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

.hero-copy-center {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy-center h1,
.hero-copy-center .hero-text {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy-center .chip-row,
.hero-copy-center .cta-row,
.hero-copy-center .hero-note-grid {
  justify-content: center;
}

.page-hero {
  padding-top: 48px;
}

.business-hero {
  background: radial-gradient(circle at 18% 8%, rgba(31, 107, 255, 0.10), transparent 24%);
}

.technology-hero {
  background: radial-gradient(circle at 82% 0%, rgba(42, 184, 255, 0.10), transparent 22%);
}

.eyebrow,
.panel-kicker,
.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.split-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  margin-top: 14px;
  max-width: 13ch;
  letter-spacing: -0.04em;
}

.section-head h2,
.split-copy h2,
.final-banner h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  margin-top: 12px;
}

.hero-text,
.section-head p,
.split-copy p {
  color: var(--muted);
  max-width: 66ch;
  margin-top: 18px;
}

.chip-row,
.cta-row,
.hero-note-grid,
.metric-row,
.artifact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chip-row,
.cta-row {
  margin-top: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 91, 195, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #1f6bff, #2f88ff);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(31, 107, 255, 0.20);
}

.button-secondary {
  border-color: rgba(27, 91, 195, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent);
}

.hero-panel,
.artifact-panel,
.diagram-shell,
.feature-card,
.signal-card,
.story-card,
.final-banner,
.metric-card {
  border-radius: var(--radius);
}

.hero-panel,
.artifact-panel,
.diagram-shell,
.final-banner {
  padding: 28px;
}

.story-stack {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.story-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(27, 91, 195, 0.10);
}

.story-step.active {
  border-color: rgba(31, 107, 255, 0.18);
  background: linear-gradient(135deg, rgba(31, 107, 255, 0.10), rgba(42, 184, 255, 0.10));
}

.story-index,
.story-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f2f7ff, #e7f0ff);
  color: var(--accent);
  font-weight: 800;
}

.story-step h2,
.feature-card h3,
.story-card h3,
.signal-card h2 {
  font-size: 1.2rem;
}

.story-step p,
.feature-card p,
.story-card p,
.signal-card h2,
.metric-card span,
.site-footer,
.footer-row a,
.clean-list {
  color: var(--muted);
}

.metric-row {
  margin-top: 20px;
}

.metric-card {
  flex: 1 1 0;
  min-width: 110px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(27, 91, 195, 0.10);
  text-align: center;
}

.metric-card strong {
  display: block;
  font-size: 1.7rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.hero-note-grid {
  margin-top: 22px;
}

.signal-card,
.feature-card,
.story-card {
  padding: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.signal-card.compact {
  min-width: 260px;
  flex: 1 1 280px;
}

.section-head {
  margin-bottom: 22px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.story-card {
  min-height: 180px;
}

.clean-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.clean-list li {
  position: relative;
  padding-left: 18px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.tall-list {
  gap: 14px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(31, 107, 255, 0.03), rgba(255, 255, 255, 0));
}

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

.diagram-shell {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.flow-svg {
  width: 100%;
  height: auto;
  display: block;
}

.diagram-surface {
  fill: #f5f9ff;
}

.lane {
  fill: rgba(255, 255, 255, 0.98);
  stroke: rgba(27, 91, 195, 0.08);
}

.flow-svg text {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.lane-title {
  fill: #4073b8;
  font-size: 18px;
  font-weight: 700;
}

.node-box {
  stroke: rgba(127, 201, 249, 0.24);
  stroke-width: 1.2;
}

.node-box.accent {
  stroke: rgba(83, 235, 188, 0.3);
}

.node-label {
  fill: #eff7ff;
  font-size: 17px;
  font-weight: 700;
}

.node-note {
  fill: #bfd3ef;
  font-size: 11px;
}

.flow-line {
  fill: none;
  stroke: url(#traceBusiness);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-svg .soft {
  stroke-dasharray: 12 12;
  opacity: 0.78;
}

.pulse-dot {
  fill: #6ce5ff;
  filter: drop-shadow(0 0 12px rgba(108, 229, 255, 0.9));
}

.callout {
  fill: #5f7ea3;
  font-size: 13px;
}

.business-diagram-section .flow-svg .flow-line {
  stroke: url(#traceBusiness);
}

.technology-diagram-section .flow-svg .flow-line {
  stroke: url(#traceTech);
}

.final-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, rgba(31, 107, 255, 0.08), rgba(42, 184, 255, 0.08));
}

.site-footer {
  padding: 0 0 24px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(22, 50, 79, 0.08);
  padding-top: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .three-up,
  .story-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .final-banner,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }
}

@media (max-width: 720px) {
  .hero,
  .section {
    padding: 24px 0 56px;
  }

  .hero-copy h1,
  .split-copy h1 {
    max-width: none;
  }

  .hero-panel,
  .artifact-panel,
  .diagram-shell,
  .feature-card,
  .signal-card,
  .story-card,
  .final-banner,
  .metric-card {
    padding: 18px;
    border-radius: 22px;
  }

  .flow-svg {
    min-width: 980px;
  }

  .diagram-shell {
    overflow-x: auto;
  }
}

@media print {
  body {
    background: #ffffff;
    color: #08101d;
  }

  body::before,
  .site-header,
  .site-footer,
  .button,
  .nav-toggle {
    display: none !important;
  }

  .glass,
  .feature-card,
  .signal-card,
  .story-card,
  .metric-card {
    background: #ffffff;
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.14);
    color: #08101d;
  }

  .section,
  .hero {
    padding: 16px 0 24px;
  }

  .hero-grid,
  .split-grid,
  .three-up,
  .story-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}
