.solution-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-line);
}

.solution-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 86% 38%, #29364ab5, transparent 62%),
    radial-gradient(ellipse at 74% 100%, #ab471d35, transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 57px, #a7b2c211 58px 59px, transparent 60px);
  animation: atmosphere 11s ease-in-out infinite alternate paused;
}

@keyframes atmosphere {
  from { transform: translateX(0) scale(1.02); opacity: .72; }
  to { transform: translateX(-2%) scale(1.08); opacity: 1; }
}

.solution-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4.5vw, 5.25rem);
}

.solution-hero h1 { font-size: clamp(3rem, 5.2vw, 5.15rem); }
.solution-hero h1 span { text-wrap: balance; }
.solution-hero .hero-intro { max-width: 33rem; }

.workbench {
  min-width: 0;
  padding: clamp(1.15rem, 3vw, 2.2rem);
  border: 1px solid #a7b2c259;
  border-top: 2px solid var(--solar);
  border-radius: .6rem;
  box-shadow: 0 1.1rem 3rem #111b268c;
  background:
    radial-gradient(circle at 98% 0, #29364a 0, transparent 58%),
    var(--midnight);
}

.workbench-header, .demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.workbench-header img { width: 3rem; margin: .5rem; }
.workbench-kicker { color: var(--solar); font-size: .875rem; font-weight: 600; }
.workbench h2 { margin-top: .3rem; font-size: clamp(1.38rem, 2.55vw, 2.15rem); line-height: 1.14; text-wrap: pretty; }

.demo-options { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.demo-options button, .motion-button {
  min-height: 2.65rem;
  padding: .4rem .65rem;
  border: 1px solid var(--dark-line);
  border-radius: .3rem;
  background: transparent;
  color: var(--ivory);
  font: 600 .875rem/1.25 Inter, sans-serif;
  cursor: pointer;
}
.demo-options button[aria-pressed="true"] { border-color: var(--solar); background: #f58a421c; color: var(--solar); }
.demo-options button:hover, .motion-button:hover { border-color: var(--silver); }

.demo-panel { margin-top: 1.15rem; }
.demo-panel h3 { font-size: 1.13rem; letter-spacing: -.015em; text-wrap: pretty; }
.demo-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .2rem;
  margin: .7rem 0 .95rem;
  padding: .6rem .1rem .45rem;
  list-style: none;
}

.demo-pipeline::before, .demo-pipeline::after {
  content: "";
  position: absolute;
  top: 1.125rem;
  left: 12.5%;
  width: 75%;
  height: 1px;
  pointer-events: none;
}
.demo-pipeline::before { background: var(--dark-line); }
.demo-pipeline::after {
  width: 20%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--solar), transparent);
  animation: route-signal 5.6s ease-in-out infinite paused;
}

.demo-pipeline li {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
  color: var(--silver);
  font-size: .8rem;
  line-height: 1.25;
}
.pulse-node {
  display: block;
  width: .55rem;
  height: .55rem;
  margin: .28rem auto .45rem;
  border: 1px solid var(--solar);
  border-radius: 50%;
  background: var(--midnight);
  box-shadow: 0 0 0 3px var(--midnight);
  animation: node-signal 5.6s ease-in-out infinite paused;
}
.demo-pipeline li:nth-child(2) .pulse-node { animation-delay: .65s; }
.demo-pipeline li:nth-child(3) .pulse-node { animation-delay: 1.3s; }
.demo-pipeline li:nth-child(4) .pulse-node { animation-delay: 1.95s; }

@keyframes route-signal {
  0% { transform: translateX(0); opacity: 0; }
  14% { opacity: .85; }
  58% { transform: translateX(265%); opacity: .8; }
  72%, 100% { transform: translateX(265%); opacity: 0; }
}
@keyframes node-signal {
  0%, 28%, 100% { background: var(--midnight); box-shadow: 0 0 0 3px var(--midnight); }
  12% { background: var(--solar); box-shadow: 0 0 .75rem .1rem #f58a4266; }
}
.motion-running::before,
.motion-running .demo-pipeline::after,
.motion-running .pulse-node { animation-play-state: running; }

.demo-data > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: .7rem;
  padding: .45rem .55rem;
  border-top: 1px solid var(--dark-line);
  font-size: .875rem;
  line-height: 1.4;
}
.demo-data dt { color: var(--ivory); font-weight: 600; }
.demo-data dd { color: var(--silver); }
.demo-output {
  display: grid;
  gap: .1rem;
  padding: .65rem .75rem;
  margin-top: .65rem;
  border-left: 2px solid var(--solar);
  background: #29364a85;
  font-size: .875rem;
  line-height: 1.43;
}
.demo-output strong { color: var(--solar); }
.demo-footer { align-items: center; margin-top: .8rem; }
.demo-footer p { font-size: .8125rem; }
.motion-button { min-height: 2.75rem; }

.vertical-strip { padding-block: clamp(2.4rem, 5vw, 4.4rem); border-top: 1px solid var(--dark-line); }
.vertical-strip h2 { margin-block: .75rem; font-size: clamp(1.95rem, 3.9vw, 3.5rem); }
.vertical-strip p:last-child { max-width: 42rem; }
.artifact { padding: clamp(1.25rem, 2.9vw, 2rem); border: 1px solid var(--divider); border-top: 2px solid var(--copper); background: var(--white); }
.white .artifact { background: var(--ivory); }
.artifact h3 { margin-block: .45rem .65rem; }
.artifact .text-link { display: inline-block; margin-top: .65rem; }
.conduct-details { display: grid; gap: 1rem; }
.implementation-grid, .application-grid { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; }
.implementation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.application-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.implementation-grid li, .application-grid article { padding: 1.3rem; border-top: 2px solid var(--copper); background: var(--white); }
.white .implementation-grid li, .white .application-grid article { background: var(--ivory); }
.implementation-grid p, .application-grid p { margin-top: .55rem; }
.insight-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 65rem) {
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 59rem) {
  .solution-hero .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .solution-hero h1 { font-size: clamp(2.4rem, 8.3vw, 4.8rem); max-width: 13ch; }
  .solution-hero h1 span { text-wrap: pretty; }
  .workbench { width: min(100%, 43rem); }
}
@media (max-width: 48rem) {
  .implementation-grid, .insight-grid-featured { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 35rem) {
  .application-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-data > div { grid-template-columns: minmax(0, .95fr) minmax(0, 1.65fr); gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .solution-hero::before, .demo-pipeline::after, .pulse-node { animation: none; }
}
@media (forced-colors: active) {
  .demo-options button[aria-pressed="true"] { border: 2px solid Highlight; }
}
