.stream-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 34px;
}

.stream-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.stream-hero-copy h1 {
  margin-top: 20px;
  font-size: clamp(48px, 5vw, 68px);
}

.stream-hero-lead {
  max-width: 40em;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.8;
}

.stream-hero-actions {
  margin-top: 10px;
  margin-bottom: 25px;
}

.stream-hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background-color: var(--color-panel-soft);
  background-image:
    radial-gradient(var(--color-dot) 1px, transparent 1.4px),
    linear-gradient(145deg, var(--color-panel-warm), var(--color-panel-soft));
  background-size: 27px 27px, auto;
}

.screen-frame {
  position: absolute;
  top: 13%;
  right: 9%;
  left: 12%;
  z-index: 2;
  min-height: 54%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: var(--color-panel);
  box-shadow: var(--shadow-lift);
  transform: rotate(-2deg);
}

.screen-top {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--color-line);
}

.screen-top span {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-line);
}

.screen-top span:first-child {
  background: var(--color-coral);
}

.screen-top span:nth-child(2) {
  background: var(--color-amber);
}

.screen-top span:last-child {
  background: var(--color-accent);
}

.screen-content {
  display: grid;
  min-height: 245px;
  place-items: center;
  padding: 36px;
}

.play-disc {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-accent-12);
  color: var(--color-accent);
}

.play-disc svg {
  width: 54px;
  height: 54px;
}

.stream-lines {
  display: grid;
  width: min(78%, 290px);
  gap: 10px;
}

.stream-line {
  display: block;
  width: 68%;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--color-line);
}

.stream-line-wide {
  width: 100%;
  background: var(--color-accent-22);
}

.stream-line-short {
  width: 45%;
}

.route-fold {
  position: absolute;
  z-index: 3;
  height: 34px;
  border-top: 1px solid var(--color-panel);
  border-bottom: 1px solid var(--color-panel);
  box-shadow: var(--shadow-card);
  transform: rotate(-15deg) skewX(-20deg);
}

.route-fold-amber {
  right: 53%;
  bottom: 22%;
  left: -5%;
  background: linear-gradient(90deg, var(--color-amber-light), var(--color-amber));
}

.route-fold-coral {
  right: 22%;
  bottom: 31%;
  left: 39%;
  background: linear-gradient(90deg, var(--color-amber), var(--color-coral));
}

.route-fold-teal {
  right: -7%;
  bottom: 40%;
  left: 69%;
  background: linear-gradient(90deg, var(--color-coral), var(--color-accent));
}

.route-rivet {
  position: absolute;
  z-index: 4;
  width: 14px;
  height: 14px;
  border: 3px solid var(--color-panel-soft);
  border-radius: var(--radius-pill);
  background: var(--color-text);
  box-shadow: var(--shadow-card);
}

.route-rivet-start {
  bottom: 25%;
  left: 37%;
}

.route-rivet-middle {
  right: 27%;
  bottom: 34%;
}

.route-rivet-end {
  right: 5%;
  bottom: 43%;
}

.stream-intro-grid,
.stream-quality-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.stream-intro-grid .section-head,
.stream-quality-grid .section-head {
  margin-bottom: 0;
}

.stream-prose {
  min-width: 0;
  max-width: 760px;
}

.stream-prose p {
  color: var(--color-muted);
  line-height: 1.85;
}

.stream-soft-section {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-panel-warm);
}

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

.support-state {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  color: var(--color-success);
  font-weight: 700;
}

.support-state::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-right: 7px;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  content: "";
}

.table-note {
  max-width: 850px;
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.stream-steps {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
}

.stream-step {
  position: relative;
  min-width: 0;
  padding: 28px;
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}

.stream-step:nth-child(2),
.stream-step:nth-child(3) {
  background: var(--color-panel-soft);
}

.stream-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.stream-step h3 {
  padding-right: 76px;
}

.stream-step p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.step-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-12);
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.stream-ip-layout {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.stream-ip-layout .section-head {
  margin-bottom: 0;
}

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

.ip-comparison .card p {
  color: var(--color-muted);
}

.ip-comparison .card p:last-child {
  margin-bottom: 0;
}

.error-ledger {
  display: grid;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.error-item {
  display: grid;
  grid-template-columns: minmax(110px, .28fr) minmax(0, 1.72fr);
  gap: 24px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--color-line);
}

.error-item:last-child {
  border-bottom: 0;
}

.error-label {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.error-item h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

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

.check-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
}

.check-card:nth-child(2),
.check-card:nth-child(3) {
  background: var(--color-panel-soft);
}

.check-card ul {
  display: grid;
  gap: 9px;
  margin-bottom: 0;
  padding-left: 1.25em;
  color: var(--color-muted);
}

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

.next-link {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 72px 30px 30px;
  color: var(--color-text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.next-link:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.next-link-kicker {
  margin-bottom: auto;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.next-link strong {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 25px;
}

.next-link > span:last-of-type {
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 14px;
}

.next-link svg {
  position: absolute;
  right: 28px;
  bottom: 31px;
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

@media (max-width: 980px) {
  .stream-hero,
  .stream-intro-grid,
  .stream-quality-grid,
  .stream-ip-layout {
    grid-template-columns: 1fr;
  }

  .stream-hero-visual {
    min-height: 420px;
  }

  .stream-intro-grid .section-head,
  .stream-quality-grid .section-head,
  .stream-ip-layout .section-head {
    margin-bottom: 10px;
  }
}

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

  .stream-hero-copy {
    padding: 30px 22px;
  }

  .stream-hero-copy h1 {
    font-size: clamp(28px, 9.5vw, 38px);
  }

  .stream-hero-lead {
    font-size: 15px;
  }

  .stream-hero-visual {
    min-height: 330px;
  }

  .screen-frame {
    top: 10%;
    right: 7%;
    left: 7%;
  }

  .screen-content {
    min-height: 190px;
    padding: 24px;
  }

  .play-disc {
    width: 68px;
    height: 68px;
  }

  .play-disc svg {
    width: 42px;
    height: 42px;
  }

  .stream-steps,
  .ip-comparison,
  .check-grid,
  .next-link-grid {
    grid-template-columns: 1fr;
  }

  .error-item {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 23px 20px;
  }

  .next-link {
    min-height: 170px;
    padding: 25px 62px 25px 24px;
  }

  .next-link svg {
    right: 23px;
    bottom: 27px;
  }
}

@media (max-width: 420px) {
  .stream-hero-visual {
    min-height: 290px;
  }

  .screen-frame {
    right: 5%;
    left: 5%;
  }

  .screen-content {
    min-height: 165px;
  }

  .stream-step {
    padding: 24px 20px;
  }

  .stream-step h3 {
    padding-right: 0;
  }

  .step-mark {
    position: static;
    width: max-content;
    margin-bottom: 13px;
  }

  .route-rivet {
    width: 12px;
    height: 12px;
  }
}