.streaming-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s8);
  position: relative;
  overflow-x: clip;
  max-width: var(--page-width);
  text-align: center;
}

.streaming-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at top, var(--warm-haze), var(--clear)),
    linear-gradient(180deg, var(--header-wash), var(--clear));
}

.streaming-hero-copy {
  max-width: var(--reading-width);
  margin-inline: auto;
}

.streaming-lead {
  max-width: var(--reading-width);
  margin: var(--s5) auto 0;
  color: var(--muted);
  line-height: var(--line-reading);
}

.streaming-facts {
  justify-content: center;
  margin-top: var(--s8);
}

.streaming-scope {
  max-width: var(--reading-width);
  margin-inline: auto;
  text-align: left;
}

.streaming-scope p:last-child {
  margin-bottom: 0;
}

.scope-label {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
  color: var(--accent-dark);
  font-size: var(--fs-xs);
  font-weight: var(--medium);
  letter-spacing: var(--tracking-label);
}

.streaming-article {
  padding-bottom: var(--s8);
}

.streaming-section-intro {
  max-width: var(--reading-width);
  margin: 0 0 var(--s6);
  color: var(--muted);
  line-height: var(--line-reading);
}

.streaming-table th:first-child {
  min-width: var(--fact-width-small);
}

.streaming-table td {
  line-height: var(--line-body);
}

.matrix-footnote {
  max-width: var(--reading-width);
  margin: var(--s4) 0 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: var(--line-reading);
}

.streaming-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin-block: var(--s8);
}

.streaming-check-grid .card {
  height: 100%;
}

.streaming-check-grid h3 {
  font-size: var(--fs-card);
}

.streaming-check-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--fs-md);
}

.streaming-definition-grid {
  margin-top: var(--s6);
}

.streaming-after-grid {
  margin-top: var(--s8);
}

.streaming-error-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}

.streaming-error {
  min-height: 100%;
}

.streaming-error h3 {
  font-family: var(--serif);
  font-weight: var(--regular);
  font-size: var(--fs-subheading);
}

.streaming-error p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: var(--line-reading);
}

.streaming-workflow {
  margin: var(--s8) 0;
  padding: 0;
  list-style: none;
  counter-reset: streaming-step;
}

.streaming-workflow li {
  position: relative;
  counter-increment: streaming-step;
  padding: var(--s6) var(--s6) var(--s6) var(--s16);
  border-bottom: var(--hairline) solid var(--border);
  background: var(--panel);
}

.streaming-workflow li:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.streaming-workflow li:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.streaming-workflow li::before {
  content: counter(streaming-step);
  position: absolute;
  top: var(--s6);
  left: var(--s6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--s8);
  height: var(--s8);
  border: var(--hairline) solid var(--accent);
  border-radius: var(--radius);
  background: var(--warm-haze);
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: var(--fs-sm);
}

.streaming-workflow h3 {
  margin-bottom: var(--s3);
  font-size: var(--fs-card);
}

.streaming-workflow p {
  margin-bottom: 0;
  color: var(--muted);
}

.streaming-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s6);
}

.streaming-plan-grid .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.streaming-plan-grid h3 {
  font-family: var(--serif);
  font-weight: var(--regular);
}

.streaming-plan-grid .mono {
  margin-bottom: var(--s2);
  color: var(--accent-dark);
}

.streaming-plan-grid .button {
  margin-top: auto;
}

.streaming-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
  padding: var(--s8);
}

.streaming-next h2 {
  display: inline;
  margin-left: var(--s3);
}

.streaming-next p {
  max-width: var(--reading-width);
  margin: var(--s4) 0 0;
  color: var(--muted);
}

.streaming-next-actions {
  display: flex;
  flex-shrink: 0;
  gap: var(--s3);
}

@media (max-width: 900px) {
  .streaming-check-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .streaming-next {
    align-items: flex-start;
    flex-direction: column;
  }

  .streaming-next-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .streaming-error-list,
  .streaming-plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .streaming-hero {
    gap: var(--s6);
  }

  .streaming-facts {
    justify-content: flex-start;
    text-align: left;
  }

  .streaming-workflow li {
    padding: var(--s5) var(--s4) var(--s5) var(--s12);
  }

  .streaming-workflow li::before {
    top: var(--s5);
    left: var(--s4);
  }

  .streaming-next {
    padding: var(--s5);
  }

  .streaming-next-actions {
    width: 100%;
  }

  .streaming-next-actions .button {
    flex: 1;
  }
}