:root {
  --stream-table-min-width: 940px;
  --stream-error-table-min-width: 820px;
  --stream-card-min-height: 100%;
  --stream-copy-width: 700px;
  --stream-quality-width: 430px;
  --stream-step-marker-size: 42px;
  --stream-section-border: 1px;
}

.streaming-hero {
  padding-bottom: clamp(54px, 7vw, 88px);
}

.streaming-hero .hero-title {
  max-width: 860px;
}

.streaming-hero .hero-subtitle {
  max-width: 800px;
}

.streaming-hero .hero-device {
  margin-top: 42px;
}

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

.section--tinted {
  border-top: var(--stream-section-border) solid var(--color-border);
  border-bottom: var(--stream-section-border) solid var(--color-border);
  background: var(--color-panel-recessed);
}

.stream-prose {
  color: var(--color-text-muted);
  font-size: 17px;
}

.stream-prose > p:first-child {
  color: var(--color-text);
  font-size: 19px;
  font-weight: 600;
}

.stream-table {
  width: 100%;
  min-width: var(--stream-table-min-width);
  border-collapse: collapse;
  background: var(--color-panel);
}

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

.stream-table th {
  background: var(--color-panel-recessed);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.stream-table td {
  color: var(--color-text-muted);
}

.stream-table td:first-child {
  color: var(--color-text);
  font-weight: 800;
  white-space: nowrap;
}

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

.support-check {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  color: var(--color-warning);
  font-weight: 700;
}

.table-note {
  max-width: 860px;
  margin: 20px auto 0;
  color: var(--color-text-muted);
  font-size: 14px;
  text-align: center;
}

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

.ip-card {
  min-height: var(--stream-card-min-height);
  padding: clamp(24px, 4vw, 38px);
}

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

.ip-card p,
.ip-card li {
  color: var(--color-text-muted);
}

.ip-card ul {
  display: grid;
  margin-bottom: 0;
  padding-left: 1.2em;
  gap: 9px;
}

.reading-callout {
  max-width: 860px;
  margin: 28px auto 0;
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--stream-copy-width)) minmax(320px, var(--stream-quality-width));
  align-items: center;
  justify-content: space-between;
  gap: clamp(38px, 7vw, 88px);
}

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

.quality-copy h2 {
  margin-top: 18px;
}

.quality-copy p {
  color: var(--color-text-muted);
  font-size: 17px;
}

.quality-panel {
  min-width: 0;
  padding: clamp(23px, 4vw, 34px);
}

.quality-panel__head {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quality-list {
  margin: 0;
}

.quality-list > div {
  padding: 17px 0;
  border-top: 1px solid var(--color-border);
}

.quality-list dt {
  margin-bottom: 5px;
  color: var(--color-text);
  font-weight: 800;
}

.quality-list dd {
  margin: 0;
  color: var(--color-text-muted);
}

.error-table {
  min-width: var(--stream-error-table-min-width);
}

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

.test-steps li {
  position: relative;
  min-width: 0;
  padding: 24px 24px 24px 84px;
  counter-increment: stream-step;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-panel);
  box-shadow: var(--highlight-inner), var(--shadow-soft);
}

.test-steps li::before {
  content: counter(stream-step);
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: var(--stream-step-marker-size);
  height: var(--stream-step-marker-size);
  place-items: center;
  border-radius: var(--radius-round);
  background: linear-gradient(180deg, var(--color-accent-bright), var(--color-accent));
  box-shadow: inset 0 1px 0 var(--color-white-35), var(--shadow-button);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-weight: 800;
}

.test-steps h3 {
  font-size: 21px;
}

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

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

.next-card {
  display: flex;
  min-width: 0;
  min-height: var(--stream-card-min-height);
  padding: clamp(26px, 5vw, 44px);
  align-items: flex-start;
  flex-direction: column;
}

.next-card h2 {
  margin-top: 20px;
  font-size: clamp(30px, 4vw, 44px);
}

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

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

.next-card--accent {
  border-color: var(--color-accent-30);
  background: linear-gradient(145deg, var(--color-panel), var(--color-accent-06));
}

@media (max-width: 900px) {
  .ip-grid,
  .next-grid,
  .quality-layout {
    grid-template-columns: 1fr;
  }

  .quality-layout {
    gap: 34px;
  }

  .quality-panel {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .streaming-hero .hero-device {
    margin-top: 36px;
  }

  .stream-prose {
    font-size: 16px;
  }

  .stream-prose > p:first-child {
    font-size: 17px;
  }

  .ip-card,
  .quality-panel,
  .next-card {
    padding: 22px 18px;
  }

  .test-steps li {
    padding: 76px 18px 22px;
  }

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

  .next-card .btn {
    width: 100%;
  }

  .table-note {
    text-align: left;
  }
}