.streaming-hero {
  position: relative;
  padding-top: 64px;
  padding-bottom: 72px;
  overflow-x: clip;
}

.streaming-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: center;
  gap: 64px;
}

.streaming-copy {
  min-width: 0;
}

.streaming-copy h1 {
  margin-top: 18px;
  margin-bottom: 0;
}

.streaming-copy .lede {
  margin-top: 24px;
}

.streaming-copy .button-row {
  margin-top: 28px;
}

.streaming-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--color-text-soft);
  font-size: 13px;
  font-weight: 650;
}

.streaming-trust span {
  position: relative;
}

.streaming-trust span + span::before {
  position: absolute;
  top: 50%;
  left: -11px;
  width: 4px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  content: "";
  transform: translateY(-50%);
}

.streaming-visual {
  min-width: 0;
  padding: 30px 22px 40px 34px;
}

.streaming-stage {
  position: relative;
  min-height: 450px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--color-text);
  box-shadow:
    inset 0 1px 0 var(--highlight-dark),
    0 30px 64px var(--shadow-blue-strong);
}

.streaming-stage::before {
  position: absolute;
  z-index: -1;
  right: -22px;
  bottom: -28px;
  width: 48%;
  height: 44%;
  background: var(--color-coral);
  content: "";
  clip-path: polygon(30% 0, 100% 22%, 88% 100%, 0 80%);
}

.streaming-stage::after {
  position: absolute;
  z-index: -1;
  top: -28px;
  right: 12%;
  width: 42%;
  height: 88px;
  background: var(--color-panel-muted);
  content: "";
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 72%);
}

.streaming-stage-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--color-border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.streaming-stage-head .badge {
  margin-left: auto;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.stage-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  box-shadow: 0 0 0 5px var(--tint-honey);
}

.streaming-screen {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 24px 52px var(--shadow-blue-deep);
}

.screen-library {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg);
}

.screen-label {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.screen-library strong {
  display: block;
  margin-top: 7px;
  font-size: 18px;
}

.screen-bars {
  display: grid;
  grid-template-columns: 1.4fr 1fr .7fr;
  gap: 8px;
  margin-top: 18px;
}

.screen-bars i {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.screen-bars i:nth-child(2) {
  background: var(--color-text);
}

.screen-bars i:nth-child(3) {
  background: var(--color-coral);
}

.screen-route {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}

.screen-route svg {
  width: 100%;
  height: 74px;
}

.route-point {
  padding-bottom: 9px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.stream-path-back {
  fill: none;
  stroke: var(--color-border);
  stroke-linecap: round;
  stroke-width: 7;
}

.stream-path {
  fill: none;
  stroke: var(--color-text);
  stroke-linecap: round;
  stroke-width: 2;
}

.stream-node {
  fill: var(--color-text);
  stroke: var(--color-panel);
  stroke-width: 3;
}

.stream-node-accent {
  fill: var(--color-accent);
}

.screen-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.screen-checks span {
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: var(--tint-blue);
  color: var(--color-text-soft);
  font-size: 11px;
  font-weight: 700;
}

.streaming-status-card {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: min(330px, 70%);
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: var(--color-accent);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 22px 46px var(--shadow-honey-strong);
}

.streaming-status-card span {
  display: block;
  color: var(--color-text-soft);
  font-size: 11px;
  font-weight: 750;
}

.streaming-status-card strong {
  display: block;
  margin-top: 5px;
  line-height: 1.4;
}

.streaming-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.streaming-fact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 16px 38px var(--shadow-blue);
}

.streaming-fact > .mono {
  flex-shrink: 0;
  color: var(--color-text);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.streaming-fact h2 {
  margin-bottom: 3px;
  font-size: 16px;
  letter-spacing: 0;
}

.streaming-fact p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.45;
}

.streaming-article {
  position: relative;
}

.streaming-article > .toc-tabs {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--text-max);
  margin-right: auto;
  margin-left: auto;
}

.streaming-section-muted {
  background: var(--color-panel-muted);
}

.streaming-section-head {
  max-width: var(--text-max);
  margin-bottom: 34px;
}

.streaming-section-head > p:last-child {
  color: var(--color-muted);
  font-size: 17px;
}

.streaming-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}

.streaming-table th,
.streaming-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.streaming-table th {
  background: var(--color-text);
  color: var(--color-panel);
  font-size: 13px;
  font-weight: 800;
}

.streaming-table td {
  background: var(--color-panel);
  color: var(--color-text-soft);
  font-size: 14px;
}

.streaming-table td:first-child {
  color: var(--color-text);
  font-weight: 800;
}

.streaming-table tbody tr:last-child td {
  border-bottom: 0;
}

.streaming-table-note {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

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

.ip-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
  box-shadow: 0 14px 34px var(--shadow-blue);
}

.ip-card h3 {
  margin-top: 18px;
  font-size: 19px;
}

.ip-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.streaming-dark-section {
  background: var(--color-text);
  color: var(--color-panel);
}

.streaming-dark-section h2 {
  color: var(--color-panel);
}

.streaming-dark-section p {
  color: var(--color-border);
}

.error-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.error-item {
  position: relative;
  padding: 24px 26px 24px 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
  box-shadow: 0 12px 30px var(--shadow-blue);
}

.error-item::before {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 0;
  width: 5px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: var(--color-coral);
  content: "";
}

.error-item h3 {
  font-size: 20px;
}

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

.streaming-steps {
  display: grid;
  gap: 16px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
  counter-reset: stream-step;
}

.streaming-steps li {
  position: relative;
  padding: 24px 24px 24px 82px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
  box-shadow: 0 12px 30px var(--shadow-blue);
  counter-increment: stream-step;
}

.streaming-steps li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: var(--color-text);
  content: counter(stream-step);
  font-family: var(--font-mono);
  font-weight: 800;
}

.streaming-steps h3 {
  font-size: 19px;
}

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

.streaming-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.streaming-next-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
  align-items: flex-start;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 20px 46px var(--shadow-blue);
}

.streaming-next-card h2 {
  margin-top: 22px;
  font-size: clamp(28px, 3vw, 38px);
}

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

.streaming-next-card .btn {
  margin-top: auto;
}

.streaming-next-accent {
  border-color: var(--color-accent);
  background: linear-gradient(145deg, var(--tint-honey), var(--color-panel));
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 22px 48px var(--shadow-honey-strong);
}

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

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

  .streaming-visual {
    width: min(680px, 100%);
    padding-left: 0;
  }

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

  .ip-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .streaming-hero {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .streaming-visual {
    padding-top: 14px;
    padding-right: 10px;
    padding-bottom: 36px;
  }

  .streaming-stage {
    min-height: 390px;
    padding: 18px;
  }

  .streaming-stage-head {
    letter-spacing: .04em;
  }

  .streaming-screen {
    padding: 18px;
  }

  .streaming-status-card {
    right: -8px;
    max-width: calc(100% - 24px);
  }

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

  .streaming-next-card {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .streaming-trust {
    gap: 8px 12px;
  }

  .streaming-trust span + span::before {
    display: none;
  }

  .streaming-stage {
    min-height: 360px;
    border-radius: var(--radius-lg);
  }

  .streaming-stage-head > span:nth-child(2) {
    display: none;
  }

  .streaming-screen {
    margin-top: 18px;
    padding: 14px;
    border-radius: var(--radius-card);
  }

  .screen-library {
    padding: 16px;
  }

  .screen-route {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2px;
  }

  .screen-route svg {
    height: 60px;
  }

  .route-point {
    padding-bottom: 0;
  }

  .route-point:last-child {
    text-align: right;
  }

  .screen-checks {
    margin-top: 12px;
  }

  .streaming-status-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin-top: 12px;
  }

  .streaming-fact {
    padding: 18px;
  }

  .streaming-article > .toc-tabs {
    width: calc(100% - (var(--gutter) * 2));
  }

  .streaming-steps li {
    padding: 76px 20px 22px;
  }

  .streaming-steps li::before {
    top: 20px;
    left: 20px;
  }

  .error-item {
    padding: 22px 20px 22px 27px;
  }

  .streaming-next-card {
    min-height: 0;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .streaming-stage,
  .streaming-screen,
  .streaming-status-card {
    transform: none;
  }
}