.streaming-hero {
  padding-top: clamp(52px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 108px);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-page);
}

.streaming-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.streaming-hero-copy {
  max-width: 41rem;
}

.streaming-hero-copy h1 {
  margin-top: 1.4rem;
}

.streaming-lead {
  max-width: 39rem;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.85;
}

.streaming-hero-copy .button-row {
  margin-top: 1.8rem;
}

.streaming-facts {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-line);
}

.streaming-facts .status-dot {
  background: var(--color-accent);
}

.streaming-hero-plate {
  position: relative;
  min-height: 470px;
  overflow: clip;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.streaming-specimen {
  width: 100%;
  min-height: 420px;
  color: var(--color-ink);
}

.specimen-route,
.specimen-route-secondary {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 4;
  stroke-dasharray: 10 13;
  stroke-linecap: round;
}

.specimen-route-secondary {
  stroke: var(--color-sky-deep);
  stroke-width: 3;
}

.specimen-screen {
  fill: var(--color-page);
  stroke: var(--color-ink);
  stroke-width: 5;
}

.specimen-screen-inner {
  fill: var(--color-panel-strong);
  stroke: var(--color-line);
  stroke-width: 3;
}

.specimen-play {
  fill: var(--color-accent);
}

.specimen-stand {
  fill: var(--color-page);
  stroke: var(--color-ink);
  stroke-width: 5;
  stroke-linejoin: round;
}

.specimen-base,
.specimen-feather-line {
  fill: none;
  stroke: var(--color-ink);
  stroke-width: 5;
  stroke-linecap: round;
}

.specimen-station {
  fill: var(--color-page);
  stroke: var(--color-accent);
  stroke-width: 5;
}

.specimen-feather {
  fill: var(--color-apricot);
  stroke: var(--color-ink);
  stroke-width: 4;
}

.specimen-feather-line {
  stroke-width: 3;
}

.plate-caption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.1rem;
  left: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
}

.streaming-article {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: var(--space-section);
}

.streaming-article > .toc-tabs {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.streaming-section {
  display: grid;
  grid-template-columns: minmax(210px, .34fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(52px, 8vw, 96px);
  border-top: 1px solid var(--color-line);
}

.streaming-section:first-of-type {
  border-top: 0;
}

.section-heading {
  align-self: start;
}

.section-heading h2 {
  font-size: clamp(30px, 3.5vw, 45px);
}

.section-heading > p:last-child {
  color: var(--color-muted);
}

.streaming-copy {
  max-width: var(--reading-max);
}

.streaming-copy p {
  color: var(--color-muted);
}

.streaming-copy p:first-child {
  color: var(--color-ink);
  font-size: 1.06rem;
}

.streaming-section > .callout,
.streaming-section > .compare-table-wrap,
.streaming-section > .table-footnote,
.streaming-section > .ip-comparison,
.streaming-section > .quality-ledger,
.streaming-section > .error-ledger,
.streaming-section > .selection-steps {
  grid-column: 2;
}

.streaming-section > .callout {
  width: 100%;
  max-width: var(--reading-max);
}

.compare-table-wrap {
  align-self: start;
}

.compare-table {
  min-width: 780px;
}

.table-footnote {
  margin-top: .8rem;
  color: var(--color-muted);
  font-size: .85rem;
}

.ip-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ip-entry {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-page);
}

.ip-entry:nth-child(even) {
  background: var(--color-panel);
}

.ip-entry h3 {
  margin-top: .8rem;
}

.ip-entry p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.entry-index {
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
}

#ip-types .streaming-copy {
  grid-column: 2;
  margin-top: 1.5rem;
}

.quality-ledger {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.quality-ledger article {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-line);
}

.quality-ledger h3 {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
}

.quality-ledger p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.error-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.error-entry {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-page);
}

.error-entry::before {
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  content: "";
}

.error-entry:nth-child(even) {
  background: var(--color-panel);
}

.error-entry h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
}

.error-entry p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.selection-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: selection-step;
}

.selection-steps li {
  position: relative;
  padding: 0 0 2rem 4rem;
  counter-increment: selection-step;
}

.selection-steps li:not(:last-child)::after {
  position: absolute;
  top: 2.6rem;
  bottom: .35rem;
  left: 1.25rem;
  border-left: 1px dashed var(--color-accent);
  content: "";
}

.selection-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: var(--color-page);
  color: var(--color-accent-dark);
  content: counter(selection-step);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
}

.selection-steps h3 {
  margin-bottom: .35rem;
  font-family: var(--font-body);
  font-size: 1.08rem;
}

.selection-steps p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.streaming-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(40px, 7vw, 88px);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--color-apricot-deep);
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
}

.streaming-closing h2 {
  margin-bottom: .6rem;
  font-size: clamp(30px, 4vw, 44px);
}

.streaming-closing p {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--color-muted);
}

.streaming-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (max-width: 980px) {
  .streaming-hero-grid {
    grid-template-columns: 1fr;
  }

  .streaming-hero-copy {
    max-width: 46rem;
  }

  .streaming-hero-plate {
    min-height: 400px;
  }

  .streaming-specimen {
    max-height: 430px;
    margin-inline: auto;
  }

  .streaming-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .streaming-section > .callout,
  .streaming-section > .compare-table-wrap,
  .streaming-section > .table-footnote,
  .streaming-section > .ip-comparison,
  .streaming-section > .quality-ledger,
  .streaming-section > .error-ledger,
  .streaming-section > .selection-steps,
  #ip-types .streaming-copy {
    grid-column: 1;
  }

  .section-heading {
    max-width: var(--reading-max);
  }
}

@media (max-width: 720px) {
  .streaming-hero {
    padding-top: 42px;
  }

  .streaming-hero-plate {
    min-height: 320px;
  }

  .streaming-specimen {
    min-height: 300px;
  }

  .plate-caption {
    position: static;
    margin: 0 1rem 1rem;
  }

  .ip-comparison,
  .error-ledger {
    grid-template-columns: 1fr;
  }

  .quality-ledger article {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .streaming-closing {
    grid-template-columns: 1fr;
  }

  .streaming-closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .streaming-closing-actions .btn-primary,
  .streaming-closing-actions .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .streaming-hero-plate {
    min-height: 270px;
  }

  .plate-caption span:last-child {
    display: none;
  }

  .selection-steps li {
    padding-left: 3.35rem;
  }

  .selection-steps li:not(:last-child)::after {
    left: 1.05rem;
  }

  .selection-steps li::before {
    width: 2.2rem;
    height: 2.2rem;
  }
}