:root {
  color-scheme: dark;
  --bg: #08090d;
  --panel: #11141c;
  --panel-2: #171b25;
  --text: #f5f7fb;
  --muted: #aab2c2;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #43d9ff;
  --coral: #ff6b61;
  --lime: #bbf24f;
  --ink: #08090d;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(8, 9, 13, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.metrics,
.widget-head,
.mode-row,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 8px;
}

.nav {
  gap: clamp(14px, 4vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav-action:hover {
  color: var(--text);
}

.nav-action {
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 5vw, 64px) 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.96) 0%, rgba(8, 9, 13, 0.68) 42%, rgba(8, 9, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 9, 13, 0.92) 0%, rgba(8, 9, 13, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.eyebrow,
.section-kicker {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(64px, 10vw, 142px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.hero-copy,
.section p,
.console-copy p,
.feature-card p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 580px;
  font-size: 19px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--lime);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
}

.button:hover {
  transform: translateY(-1px);
}

.signal-panel {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 42px;
  z-index: 1;
  width: min(280px, calc(100% - 36px));
  padding: 18px;
  background: rgba(17, 20, 28, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.signal-panel div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--lime);
}

.signal-panel strong {
  display: block;
  font-size: 46px;
}

.signal-panel small {
  color: var(--muted);
}

.band {
  padding-inline: clamp(18px, 5vw, 64px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-block: 1px;
  background: var(--line);
}

.metrics div {
  min-height: 128px;
  padding: 24px;
  background: var(--bg);
}

.metrics strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(32px, 5vw, 58px);
}

.metrics span {
  color: var(--muted);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 98px clamp(18px, 5vw, 64px);
}

.intro {
  max-width: 980px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 0;
}

.feature-card {
  min-height: 270px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 54px;
  color: var(--cyan);
  border: 1px solid rgba(67, 217, 255, 0.45);
  border-radius: 8px;
  font-weight: 900;
}

.console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(24px, 6vw, 78px);
  align-items: center;
  padding-block: 82px;
  background:
    radial-gradient(circle at 12% 0%, rgba(67, 217, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #0d1118, #17121b 55%, #12181a);
  border-block: 1px solid var(--line);
}

.latency-widget {
  padding: 24px;
  background: rgba(8, 9, 13, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.widget-head,
.mode-row,
.footer {
  justify-content: space-between;
}

.widget-head span,
.mode-row,
.footer {
  color: var(--muted);
}

.widget-head strong {
  color: var(--lime);
}

.dial {
  display: grid;
  place-items: center;
  width: min(260px, 100%);
  aspect-ratio: 1;
  margin: 28px auto;
  border: 18px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--cyan);
  border-right-color: var(--coral);
  border-radius: 50%;
}

.dial span {
  font-size: 70px;
  font-weight: 900;
}

.dial small {
  margin-top: -46px;
  color: var(--muted);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--lime);
}

.mode-row {
  margin-top: 10px;
  font-size: 13px;
}

#qualityHint {
  min-height: 52px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.invite-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
select {
  width: 100%;
  min-height: 48px;
  color: var(--text);
  background: #0c0f15;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  font: inherit;
}

.footer {
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .topbar {
    position: sticky;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 820px;
    align-items: start;
    padding-top: 88px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 9, 13, 0.94), rgba(8, 9, 13, 0.38)),
      linear-gradient(0deg, rgba(8, 9, 13, 0.96), transparent 58%);
  }

  .hero-content {
    padding-top: 52px;
  }

  .signal-panel {
    left: 18px;
    right: 18px;
    bottom: 24px;
  }

  .metrics,
  .feature-grid,
  .console,
  .access {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: 108px;
  }
}

@media (max-width: 520px) {
  .nav-action {
    display: none;
  }

  h1 {
    font-size: clamp(54px, 18vw, 84px);
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
