:root {
  --paper: #f7f4ef;
  --ink: #201f1d;
  --muted: #69645d;
  --line: rgba(32, 31, 29, 0.12);
  --panel: #fffdf8;
  --rose: #e9a6a0;
  --teal: #1c8f87;
  --green: #5c8f4f;
  --blue: #315c9d;
  --gold: #c38a2e;
  --shadow: 0 24px 80px rgba(32, 31, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.icon-sprite {
  position: absolute;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 244, 239, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(112px, 12vw, 150px);
  height: auto;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(32, 31, 29, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-cta {
  color: var(--ink);
  font-weight: 700;
}

.hero,
.section,
.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  min-height: calc(100vh - 72px);
  align-items: center;
  padding: 64px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 36px -5vw auto auto;
  width: min(46vw, 560px);
  height: min(46vw, 560px);
  background:
    radial-gradient(circle at 35% 35%, rgba(233, 166, 160, 0.28), transparent 45%),
    radial-gradient(circle at 62% 60%, rgba(28, 143, 135, 0.18), transparent 42%);
  filter: blur(6px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lede,
.section-copy p,
.solution p,
.capability p,
.problem-list p,
.cta-section h2 {
  color: var(--muted);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(32, 31, 29, 0.22);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(32, 31, 29, 0.26);
}

.button-secondary {
  background: rgba(255, 253, 248, 0.62);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.62);
}

.hero-metrics dt {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-wrap {
  position: relative;
  min-width: 0;
}

.dashboard-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(32, 31, 29, 0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(244, 236, 226, 0.92));
  box-shadow: var(--shadow);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.dashboard-topbar span:nth-child(2) {
  background: var(--gold);
}

.dashboard-topbar span:nth-child(3) {
  background: var(--teal);
}

.dashboard-topbar strong {
  margin-left: auto;
  font-size: 13px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  padding: 14px;
}

.panel {
  min-height: 136px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.panel-wide {
  grid-column: span 2;
}

.panel p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.panel strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.panel small {
  color: var(--muted);
}

.accent {
  background: rgba(233, 166, 160, 0.18);
}

.pulse-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(28, 143, 135, 0.4);
  animation: pulse 2.2s infinite;
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 94px;
  margin-top: 18px;
}

.bars i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  transform-origin: bottom;
  animation: rise 900ms ease both;
}

.integration-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-height: auto;
}

.integration-map span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.flow-lines {
  position: absolute;
  inset: -34px;
  z-index: 1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(28, 143, 135, 0.24) 46% 47%, transparent 47% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(49, 92, 157, 0.18) 48% 49%, transparent 49% 100%);
  background-size: 80px 80px;
  animation: drift 12s linear infinite;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-copy p,
.solution p {
  max-width: 680px;
  font-size: 18px;
}

.problem-list {
  display: grid;
  gap: 14px;
}

.problem-list article,
.capability,
.chain-card,
.benefit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.problem-list article {
  padding: 22px;
}

.problem-list article:hover,
.capability:hover,
.chain-card:hover,
.benefit-card:hover {
  border-color: rgba(28, 143, 135, 0.32);
  box-shadow: 0 16px 38px rgba(32, 31, 29, 0.09);
  transform: translateY(-3px);
}

.problem-list span {
  color: var(--rose);
  font-weight: 900;
}

.solution {
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(32, 31, 29, 0.04), transparent 35%),
    linear-gradient(90deg, rgba(28, 143, 135, 0.1), rgba(195, 138, 46, 0.08));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding-inline: clamp(24px, 5vw, 64px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

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

.capability {
  min-height: 250px;
  padding: 24px;
}

.capability svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience {
  overflow: hidden;
}

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

.chain-card,
.benefit-card {
  min-height: 180px;
  padding: 24px;
}

.chain-card h3,
.benefit-card h3 {
  color: var(--teal);
}

.chain-card p,
.benefit-card p {
  color: var(--muted);
}

.tag-cloud,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-cloud span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  color: var(--ink);
  font-weight: 800;
}

.tag-cloud span:nth-child(3n + 1),
.tag-list span:nth-child(3n + 1) {
  border-color: rgba(28, 143, 135, 0.26);
}

.tag-cloud span:nth-child(3n + 2),
.tag-list span:nth-child(3n + 2) {
  border-color: rgba(49, 92, 157, 0.24);
}

.tag-cloud span:nth-child(3n),
.tag-list span:nth-child(3n) {
  border-color: rgba(195, 138, 46, 0.28);
}

.innovation,
.ai-section {
  align-items: center;
}

.role-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.role-row span {
  flex: 1 1 180px;
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.role-row span:nth-child(2) {
  background: var(--teal);
}

.role-row span:nth-child(3) {
  background: var(--blue);
}

.role-row span:nth-child(4) {
  background: var(--green);
}

.role-row span:nth-child(5) {
  background: var(--gold);
}

.cta-section {
  margin-bottom: 42px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(32, 31, 29, 0.09);
}

.cta-section h2 {
  max-width: 860px;
  font-size: clamp(28px, 4vw, 48px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(28, 143, 135, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(28, 143, 135, 0);
  }
}

@keyframes rise {
  from {
    transform: scaleY(0.25);
  }
}

@keyframes drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 80px 80px;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-wrap {
    overflow: hidden;
    max-width: 640px;
    border-radius: 8px;
  }

  .flow-lines {
    inset: 0;
  }

  .split,
  .capability-grid,
  .chain-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .cta-section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 44px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero-metrics,
  .dashboard-grid,
  .integration-map {
    grid-template-columns: 1fr;
  }

  .panel-wide {
    grid-column: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
