.stream-intro {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: stretch;
  gap: clamp(20px, 4vw, 56px);
  margin-block: 28px 20px;
  padding: clamp(20px, 4vw, 56px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-panel);
  background: linear-gradient(145deg, var(--stage-top) 35%, var(--stage-bottom));
  box-shadow: var(--shadow-card), inset 0 1px 0 var(--hl);
}

.stream-intro-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
}

.stream-intro .lead {
  max-inline-size: 32em;
}

.stream-illustration {
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: clip;
  border-radius: var(--r-sm);
  background: var(--glass);
  color: var(--mist-0);
}

.stream-illustration .stage-glow {
  top: 0;
  right: 0;
  width: 90%;
  height: 100%;
}

.stream-illustration svg {
  display: block;
  max-inline-size: 100%;
  height: auto;
}

.stream-arc {
  stroke: currentColor;
}

.stream-section {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(12px, 2vw, 28px);
}

.stream-section .section-head p {
  max-inline-size: 76ch;
  line-height: 1.75;
}

.stream-section .table-scroll table {
  min-width: 760px;
}

.stream-section .table-scroll th[scope="row"] {
  background: var(--bg-panel);
}

.stream-section .table-scroll td:last-child {
  word-break: normal;
}

.stream-table-tip {
  margin-block-start: 10px;
  font-size: .875rem;
}

.stream-note {
  margin-block-start: 20px;
}

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

.stream-section .card p {
  line-height: 1.8;
  color: var(--text-muted);
}

.stream-end {
  padding-bottom: var(--section-space);
}

.stream-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  background: var(--stage-top);
}

.stream-next > .stack {
  flex: 1 1 32rem;
}

.stream-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stream-next-links .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .stream-intro {
    grid-template-columns: minmax(0, 1fr);
    margin-block-start: 16px;
  }

  .stream-illustration svg {
    width: min(100%, 220px);
  }

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

  .stream-next-links .btn {
    padding-inline: 14px;
  }
}