.page-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header .brand.dark,
.page-header .brand.dark strong,
.page-header .desktop-nav {
  color: #fff;
}

.page-header .desktop-nav > a,
.page-header .nav-item > a {
  color: rgba(255, 255, 255, 0.76);
}

.page-header .desktop-nav > a:hover,
.page-header .nav-item > a:hover {
  color: #fff;
}

.usecase-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: clamp(142px, 13vw, 190px) 28px clamp(128px, 12vw, 176px);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 82% 7%, rgba(241, 154, 102, 0.78), transparent 31%),
    radial-gradient(circle at 14% 34%, rgba(30, 223, 229, 0.26), transparent 38%),
    linear-gradient(155deg, #0a238a 0%, #2a35ea 54%, #662dec 100%);
}

.usecase-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(4, 8, 38, 0.12), transparent 42%);
  content: "";
}

.usecase-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 210px;
  background: linear-gradient(180deg, rgba(247, 248, 255, 0), #f7f8ff 72%, #f7f8ff);
  content: "";
}

.usecase-hero > * {
  position: relative;
  z-index: 1;
}

.usecase-hero .eyebrow,
.usecase-hero h1 {
  color: #fff;
}

.usecase-hero h1 {
  max-width: 950px;
  margin: 0 auto;
  font-size: clamp(48px, 6.2vw, 88px);
  letter-spacing: -0.024em;
  text-wrap: balance;
}

.usecase-hero > p:not(.eyebrow) {
  max-width: 790px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(19px, 2vw, 26px);
}

.outcome {
  width: min(840px, 100%);
  margin: 32px auto 0;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 70px rgba(6, 13, 65, 0.22);
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.usecase-hero .primary-cta {
  margin-top: 32px;
}

.workflow-map {
  position: relative;
  max-width: none;
  margin: 0;
  padding: clamp(76px, 8vw, 116px) 28px clamp(50px, 6vw, 76px);
  background: #f7f8ff;
}

.workflow-map > .eyebrow,
.workflow-map > h2,
.workflow-flow {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.workflow-map h2,
.section-heading h2 {
  max-width: 850px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-intro {
  max-width: 760px;
  margin: 20px auto 0;
  color: #657087;
  font-size: 19px;
  line-height: 1.55;
  text-align: center;
}

.workflow-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  align-items: stretch;
  gap: 14px;
  margin-top: 36px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #dbe2f3;
  border-radius: 34px;
  background:
    linear-gradient(rgba(62, 84, 150, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 84, 150, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(30, 223, 229, 0.12), transparent 32%),
    #fff;
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: 0 30px 90px rgba(31, 41, 92, 0.08);
}

.workflow-flow::before {
  position: absolute;
  top: 50%;
  right: 54px;
  left: 54px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(43, 86, 255, 0.34), rgba(30, 223, 229, 0.36), transparent);
  content: "";
}

.flow-card {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 320px;
  padding: 24px;
  border: 1px solid #dfe5f3;
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(30, 223, 229, 0.1), transparent 30%),
    linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: 0 22px 70px rgba(31, 41, 92, 0.09);
}

.flow-card::before {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(49, 88, 255, 0.18);
  border-radius: 16px;
  color: #3158ff;
  background:
    radial-gradient(circle at 70% 18%, rgba(30, 223, 229, 0.55), transparent 36%),
    #eff4ff;
  box-shadow: 0 14px 28px rgba(49, 88, 255, 0.13);
  content: "↳";
  font-size: 25px;
  font-weight: 820;
}

.flow-card:first-child::before {
  content: "◌";
}

.flow-card:last-child::before {
  content: "✓";
}

.flow-card span,
.detail-list span,
.system-card span,
.outcome-card span,
.example-list span {
  display: block;
  margin-bottom: 14px;
  color: #4f3cff;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flow-card p,
.detail-list p,
.outcome-card p,
.example-list p {
  color: #657087;
  font-size: 16px;
}

.flow-logo-strip {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.flow-logo-pill,
.logo-list i {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #dfe5f3;
  border-radius: 999px;
  color: #242a46;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(31, 41, 92, 0.06);
  font-style: normal;
  font-weight: 720;
}

.logo-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #3158ff, #1edfe5);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
  background: #fff;
}

.flow-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: center;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(49, 88, 255, 0.22);
  border-radius: 50%;
  color: #3158ff;
  background: #fff;
  box-shadow: 0 16px 40px rgba(31, 41, 92, 0.11);
  font-size: 25px;
  font-weight: 760;
}

.demand-workflow-map {
  padding-top: clamp(64px, 7vw, 96px);
}

.demand-workflow-map > .eyebrow,
.demand-workflow-map > h2 {
  text-align: center;
}

.demand-architecture {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  max-width: 1220px;
  margin: 42px auto 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #dbe2f3;
  border-radius: 36px;
  background:
    linear-gradient(rgba(62, 84, 150, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 84, 150, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(30, 223, 229, 0.12), transparent 34%),
    #fff;
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: 0 34px 100px rgba(31, 41, 92, 0.1);
}

.demand-architecture::before,
.demand-architecture::after {
  position: absolute;
  top: 50%;
  width: 18%;
  height: 2px;
  background: linear-gradient(90deg, rgba(49, 88, 255, 0), rgba(49, 88, 255, 0.44), rgba(30, 223, 229, 0.58));
  content: "";
}

.demand-architecture::before {
  left: 28%;
}

.demand-architecture::after {
  right: 28%;
  transform: rotate(180deg);
}

.signal-column,
.action-column {
  display: grid;
  gap: 12px;
}

.column-label,
.agent-chip {
  display: inline-flex;
  width: max-content;
  margin-bottom: 2px;
  padding: 8px 12px;
  border: 1px solid rgba(79, 60, 255, 0.14);
  border-radius: 999px;
  color: #4f3cff;
  background: #f5f7ff;
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-column article,
.action-column article {
  position: relative;
  z-index: 1;
  padding: 18px;
  border: 1px solid #e0e6f4;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(31, 41, 92, 0.07);
}

.signal-column b,
.action-column b {
  display: block;
  color: #08091f;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.signal-column p,
.action-column p {
  margin: 7px 0 14px;
  color: #657087;
  font-size: 14px;
  line-height: 1.45;
}

.agent-core {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(241, 154, 102, 0.45), transparent 34%),
    linear-gradient(145deg, #194bff 0%, #2634e8 48%, #1edfe5 100%);
  box-shadow: 0 30px 84px rgba(35, 52, 213, 0.3);
}

.agent-core .agent-chip {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.agent-core h3 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.agent-core p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.agent-loop {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.agent-loop span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(5, 9, 34, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 760;
}

.agent-loop span::before {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #1edfe5, #3158ff);
  content: "✓";
  font-size: 12px;
}

.demand-framework-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 28px;
}

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

.framework-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid #e0e6f4;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 8%, rgba(30, 223, 229, 0.09), transparent 32%),
    #fff;
  box-shadow: 0 18px 50px rgba(31, 41, 92, 0.06);
}

.framework-grid span {
  color: #4f3cff;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.14em;
}

.framework-grid h3 {
  margin-top: 20px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.framework-grid p {
  margin-top: 12px;
  color: #657087;
  font-size: 15px;
}

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

.timeline-visual::before {
  position: absolute;
  top: 36px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(49, 88, 255, 0.4), rgba(30, 223, 229, 0.55), transparent);
  content: "";
}

.timeline-visual article {
  position: relative;
  z-index: 1;
  padding: 0 4px;
}

.timeline-visual span {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  place-items: center;
  border: 2px solid rgba(49, 88, 255, 0.18);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #3158ff, #1edfe5);
  box-shadow: 0 18px 44px rgba(49, 88, 255, 0.18);
  font-size: 24px;
  font-weight: 860;
}

.timeline-visual h3 {
  font-size: 20px;
}

.timeline-visual p {
  margin-top: 10px;
  color: #657087;
  font-size: 15px;
}

.metric-dashboard {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.metric-dashboard article {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 24px;
  border: 1px solid #e0e6f4;
  border-radius: 28px;
  background:
    linear-gradient(rgba(62, 84, 150, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 84, 150, 0.07) 1px, transparent 1px),
    #fff;
  background-size: 34px 34px;
  box-shadow: 0 24px 70px rgba(31, 41, 92, 0.08);
}

.metric-dashboard span {
  display: block;
  color: #3158ff;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 860;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.metric-dashboard h3 {
  margin-top: 18px;
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.metric-dashboard p {
  margin-top: 12px;
  color: #657087;
  font-size: 15px;
  line-height: 1.5;
}

.metric-dashboard .metric-large {
  color: #fff;
  background:
    radial-gradient(circle at 85% 8%, rgba(241, 154, 102, 0.42), transparent 34%),
    linear-gradient(145deg, #111a78, #2634e8 54%, #1edfe5);
}

.metric-dashboard .metric-large span,
.metric-dashboard .metric-large h3 {
  color: #fff;
}

.metric-dashboard .metric-large p {
  color: rgba(255, 255, 255, 0.78);
}

.detail-section,
.example-section,
.systems-section-page,
.outcomes-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px) 28px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

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

.detail-list article,
.outcome-card,
.example-list li {
  padding: 24px;
  border: 1px solid var(--soft-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(31, 41, 92, 0.07);
}

.detail-list h3,
.outcome-card h3 {
  font-size: 22px;
}

.detail-list p,
.outcome-card p {
  margin-top: 12px;
}

.example-section {
  max-width: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 223, 229, 0.1), transparent 34%),
    #f7f8ff;
}

.example-section > div {
  max-width: 1180px;
  margin: 0 auto;
}

.example-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.example-list h3 {
  font-size: 21px;
}

.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.system-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #dfe5f3;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(30, 223, 229, 0.08), transparent 28%),
    #fff;
  box-shadow: 0 18px 54px rgba(31, 41, 92, 0.07);
}

.system-card::after {
  position: absolute;
  right: -26px;
  bottom: -32px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(49, 88, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.logo-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.outcomes-section {
  padding-bottom: clamp(72px, 9vw, 118px);
}

.outcome-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding-top: 70px;
}

.outcome-card span {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #3158ff, #1edfe5);
  letter-spacing: -0.03em;
}

.outcome-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 96px;
  height: 58px;
  opacity: 0.28;
  background:
    linear-gradient(180deg, transparent 58%, rgba(49, 88, 255, 0.28) 0),
    linear-gradient(90deg, transparent 0 12px, #3158ff 12px 24px, transparent 24px 34px, #1edfe5 34px 48px, transparent 48px 58px, #3158ff 58px 72px, transparent 72px 82px, #1edfe5 82px 96px);
  border-radius: 8px;
  content: "";
}

.usecase-cta {
  padding: 84px 28px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(241, 154, 102, 0.72), transparent 30%),
    linear-gradient(145deg, #2334d5, #7f3df2);
}

.usecase-cta h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
}

@media (max-width: 980px) {
  .page-header {
    position: relative;
    color: var(--ink);
    background: #fff;
  }

  .page-header .brand.dark {
    color: var(--ink);
  }

  .page-header .brand.dark strong {
    color: var(--blue);
  }

  .workflow-flow,
  .demand-architecture,
  .detail-list,
  .example-list,
  .outcome-grid,
  .systems-grid,
  .framework-grid,
  .timeline-visual,
  .metric-dashboard {
    grid-template-columns: 1fr;
  }

  .demand-architecture::before,
  .demand-architecture::after,
  .timeline-visual::before {
    display: none;
  }

  .workflow-flow::before {
    top: 54px;
    bottom: 54px;
    left: 50%;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(43, 86, 255, 0.34), rgba(30, 223, 229, 0.36), transparent);
  }

  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 760px) {
  .page-header .desktop-nav,
  .page-header .nav-actions {
    display: none;
  }

  .usecase-hero {
    min-height: auto;
    padding-top: 84px;
  }
}
