.stream-hero {
  position: relative;
  display: flex;
  min-height: calc(82svh - var(--header-height));
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.stream-hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
}

.stream-hero-pattern path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1;
}

.stream-hero-glow {
  position: absolute;
  top: -360px;
  right: -240px;
  width: 900px;
  height: 900px;
  border-radius: var(--radius-pill);
  background: radial-gradient(closest-side, var(--color-accent-a16), var(--color-accent-a08) 48%, transparent 72%);
  pointer-events: none;
}

.stream-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 72px;
  padding-top: 76px;
  padding-bottom: 84px;
}

.stream-hero-copy {
  max-width: 610px;
}

.stream-hero-copy h1 {
  max-width: 11em;
  margin-top: 22px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5vw, 68px);
}

.stream-hero-lead,
.stream-section-lead {
  color: var(--color-text-muted);
}

.stream-hero-lead {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.85;
}

.stream-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.stream-route-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel), 0 0 54px var(--color-accent-a12);
}

.stream-route-panel::before {
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: calc(var(--radius-panel) + 1px);
  background: linear-gradient(145deg, var(--color-accent-a35), transparent 42%);
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(var(--color-text) 0 0) content-box, linear-gradient(var(--color-text) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--color-text) 0 0) content-box, linear-gradient(var(--color-text) 0 0);
  mask-composite: exclude;
}

.stream-route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.stream-route-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stream-route-head i {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  box-shadow: 0 0 9px var(--color-accent-a45);
}

.stream-route-flow {
  display: grid;
  grid-template-columns: minmax(84px, 1fr) minmax(30px, 0.45fr) minmax(84px, 1fr) minmax(30px, 0.45fr) minmax(84px, 1fr);
  align-items: center;
  padding: 54px 8px 44px;
}

.stream-route-node {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.stream-route-node strong {
  margin-top: 18px;
  font-size: 16px;
}

.stream-route-node small {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.stream-route-hex {
  position: relative;
  display: block;
  width: 66px;
  height: 74px;
  background: var(--color-border);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.stream-route-hex::after {
  position: absolute;
  inset: 2px;
  background: var(--color-panel-raised);
  content: "";
  clip-path: inherit;
}

.stream-route-hex.is-active {
  background: var(--color-accent);
  box-shadow: 0 0 26px var(--color-accent-a35);
}

.stream-route-hex.is-active::after {
  inset: 3px;
}

.stream-route-line {
  position: relative;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 9px var(--color-accent-a45);
}

.stream-route-line::before,
.stream-route-line::after {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  content: "";
}

.stream-route-line::before {
  left: 0;
}

.stream-route-line::after {
  right: 0;
}

.stream-route-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel-raised);
}

.stream-route-note p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

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

.stream-section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 72px;
}

.stream-section-grid .section-head {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  margin-bottom: 0;
}

.stream-copy {
  max-width: var(--reading-width);
  color: var(--color-text-muted);
}

.stream-copy > p {
  font-size: 17px;
  line-height: 1.9;
}

.stream-support-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  color: var(--color-text-muted);
  font-size: 14px;
}

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

.stream-support-table th {
  background: var(--color-panel-raised);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

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

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

.stream-table-note {
  max-width: var(--reading-width);
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.stream-type-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stream-type-card {
  position: relative;
  min-width: 0;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
}

.stream-type-card h3 {
  position: relative;
  margin-top: 32px;
}

.stream-type-card p {
  position: relative;
  color: var(--color-text-muted);
}

.stream-card-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 56px;
  height: 64px;
  background: var(--color-border);
  opacity: 0.8;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.stream-card-mark.is-raised {
  background: var(--color-accent-dark);
  box-shadow: 0 0 20px var(--color-accent-a28);
}

.stream-checklist {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel-raised);
}

.stream-checklist h3 {
  margin-bottom: 20px;
}

.stream-checklist ol {
  margin-bottom: 0;
  padding-left: 22px;
}

.stream-checklist li + li {
  margin-top: 14px;
}

.stream-error-list {
  border-top: 1px solid var(--color-border);
}

.stream-error-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}

.stream-error-row h3 {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 21px;
}

.stream-error-row p {
  max-width: var(--reading-width);
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.stream-error-label {
  min-width: 0;
}

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

.stream-steps li {
  position: relative;
  min-height: 58px;
  padding-left: 76px;
  counter-increment: stream-step;
}

.stream-steps li + li {
  margin-top: 30px;
}

.stream-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 50px;
  height: 56px;
  place-items: center;
  background: var(--color-panel-raised);
  color: var(--color-accent);
  content: counter(stream-step);
  font-family: var(--font-mono);
  font-weight: 800;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.stream-steps h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.stream-steps p {
  margin-bottom: 0;
}

.stream-next-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid var(--color-accent-dark);
  border-radius: var(--radius-panel);
  background: var(--color-panel-raised);
  box-shadow: 0 0 48px var(--color-accent-a12);
}

.stream-next-panel::after {
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 340px;
  height: 340px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle, var(--color-accent-a16), transparent 68%);
  content: "";
  pointer-events: none;
}

.stream-next-panel > * {
  position: relative;
  z-index: 1;
}

.stream-next-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.stream-next-panel p:not(.promo-brand) {
  max-width: 760px;
  color: var(--color-text-muted);
}

.stream-next-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.stream-next-actions {
  display: flex;
  min-width: 180px;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 1040px) {
  .stream-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .stream-hero-copy {
    max-width: 720px;
  }

  .stream-route-panel {
    max-width: 760px;
  }

  .stream-section-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .stream-section-grid .section-head {
    position: static;
    margin-bottom: 0;
  }

  .stream-type-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .stream-type-card {
    max-width: var(--reading-width);
  }
}

@media (max-width: 768px) {
  .stream-hero {
    min-height: auto;
  }

  .stream-hero-grid {
    padding-top: 58px;
    padding-bottom: 66px;
  }

  .stream-hero-copy h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .stream-hero-glow {
    top: -300px;
    right: -520px;
  }

  .stream-route-panel {
    padding: 20px;
  }

  .stream-route-flow {
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .stream-route-hex {
    width: 52px;
    height: 58px;
  }

  .stream-error-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .stream-next-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px;
  }

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

  .stream-next-actions .btn-primary,
  .stream-next-actions .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .stream-route-panel {
    padding-inline: 14px;
  }

  .stream-route-head {
    gap: 10px;
  }

  .stream-route-flow {
    grid-template-columns: minmax(62px, 1fr) minmax(16px, 0.28fr) minmax(62px, 1fr) minmax(16px, 0.28fr) minmax(62px, 1fr);
    padding-inline: 0;
  }

  .stream-route-node strong {
    font-size: 14px;
  }

  .stream-route-node small {
    font-size: 9px;
  }

  .stream-route-hex {
    width: 44px;
    height: 50px;
  }

  .stream-route-note {
    align-items: stretch;
    flex-direction: column;
  }

  .stream-type-card,
  .stream-checklist {
    padding: 22px;
  }

  .stream-card-mark {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 52px;
  }

  .stream-steps li {
    padding-left: 62px;
  }

  .stream-steps li::before {
    width: 42px;
    height: 48px;
  }

  .stream-next-panel {
    padding: 24px;
  }
}