.landing-page {
  background: #090d15;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.site-header a {
  color: var(--ink);
  text-decoration: none;
}

.header-link {
  border-bottom: 1px solid var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100vh - 68px));
  padding: 110px max(20px, calc((100vw - 1180px) / 2)) 60px;
  overflow: hidden;
  align-items: center;
  isolation: isolate;
}

#hero-canvas {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(8, 11, 18, 0.44);
  content: "";
}

.hero-content {
  width: min(770px, 100%);
}

.hero-kicker,
.section-number {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 8rem;
  letter-spacing: 0;
  line-height: 0.85;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 28px 0 30px;
  color: #c5cddd;
  font-size: 1.2rem;
  line-height: 1.55;
}

.channel-launcher {
  width: min(680px, 100%);
}

.channel-launcher > label,
.url-box > label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.channel-row {
  display: grid;
  min-height: 56px;
  border: 1px solid rgba(87, 243, 255, 0.42);
  border-radius: 6px;
  background: rgba(8, 13, 22, 0.9);
  box-shadow: inset 3px 0 0 var(--cyan);
  grid-template-columns: auto 1fr;
  align-items: center;
}

.channel-row span {
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.95rem;
}

.channel-row input {
  min-width: 0;
  height: 54px;
  padding: 0 16px 0 2px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 800;
}

.channel-row:focus-within {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.field-error {
  min-height: 20px;
  margin: 5px 0;
  color: var(--danger);
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-actions button,
.hero-actions .button {
  display: inline-grid;
  min-height: 47px;
  padding: 0 18px;
  place-items: center;
  text-decoration: none;
}

.hero-actions button:first-child {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #061015;
}

.demo-button {
  border-color: rgba(255, 79, 189, 0.55);
}

.live-readout {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.live-readout span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.live-readout strong {
  color: var(--ink);
}

.config-band,
.steps-band,
.privacy-band {
  border-top: 1px solid var(--line);
}

.config-band {
  background: #101621;
}

.config-inner,
.steps-inner,
.privacy-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.config-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px 70px;
}

.config-heading h2,
.steps-inner h2,
.privacy-band h2 {
  margin: 0;
  max-width: 820px;
  font-size: 3.2rem;
  letter-spacing: 0;
  line-height: 1.05;
}

.config-heading > p:last-child,
.privacy-band > p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

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

.controls-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.controls-grid output {
  color: var(--cyan);
}

.controls-grid select {
  min-height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #171f30;
}

input[type="range"] {
  accent-color: var(--cyan);
}

.controls-grid .check-control {
  display: flex;
  align-items: center;
  gap: 9px;
}

.check-control input {
  width: 18px;
  height: 18px;
  accent-color: var(--lime);
}

.url-box {
  grid-column: 1 / -1;
}

.url-box > div {
  display: grid;
  grid-template-columns: 1fr 90px;
}

.url-box input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #090d15;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.url-box button {
  border-radius: 0 6px 6px 0;
}

.url-box p {
  min-height: 18px;
  margin: 7px 0 0;
  color: var(--lime);
  font-size: 0.76rem;
}

.steps-list {
  display: grid;
  margin: 42px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  list-style: none;
}

.steps-list li {
  display: grid;
  min-height: 190px;
  padding: 28px;
  border-top: 1px solid var(--line);
  background: #0d121d;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.steps-list li > span {
  color: var(--pink);
  font-size: 1.5rem;
  font-weight: 950;
}

.steps-list strong {
  font-size: 1.1rem;
}

.steps-list p {
  color: var(--muted);
  line-height: 1.55;
}

.privacy-band {
  min-height: 380px;
  background: #15131c;
}

.privacy-band > p:last-child {
  max-width: 700px;
}

footer {
  display: flex;
  min-height: 86px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.76rem;
}

footer a {
  color: var(--ink);
}

@media (max-width: 760px) {
  .hero {
    min-height: calc(100svh - 42px);
    padding: 80px 20px 26px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-copy {
    margin: 14px 0 16px;
    font-size: 0.92rem;
  }
  .live-readout {
    display: none;
  }
  .hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-actions > * {
    width: 100%;
    padding: 0 8px;
    font-size: 0.78rem;
  }
  .hero-actions .demo-button {
    grid-column: 1 / -1;
  }
  .config-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .controls-grid {
    grid-template-columns: 1fr;
  }
  .steps-list {
    grid-template-columns: 1fr;
  }
  .steps-list li {
    min-height: 130px;
  }
  .config-heading h2,
  .steps-inner h2,
  .privacy-band h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-canvas {
    opacity: 0.45;
  }
}
