:root {
  --bg0: #071216;
  --bg1: #0c1f26;
  --ink: #e7f7f2;
  --muted: #8aa8a0;
  --accent: #3dffb5;
  --accent-dim: #1fa87a;
  --warn: #ffb020;
  --line: rgba(61, 255, 181, 0.18);
  --font: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg0);
  line-height: 1.5;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(61, 255, 181, 0.16), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(20, 120, 160, 0.22), transparent 50%),
    linear-gradient(165deg, #061014 0%, #0a1c22 45%, #07151a 100%);
}
.grid-fade {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(61, 255, 181, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 181, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  animation: drift 28s linear infinite;
}
@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 28px, 56px 28px; }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  background: linear-gradient(135deg, var(--accent), #1494b8);
  box-shadow: 0 0 24px rgba(61, 255, 181, 0.35);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(61, 255, 181, 0.25); }
  50% { box-shadow: 0 0 32px rgba(61, 255, 181, 0.55); }
}
.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.nav {
  display: flex;
  gap: 1.25rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav a:hover { color: var(--ink); }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  min-height: calc(100vh - 5.5rem);
  padding: clamp(1rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-hero {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.12rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--accent);
  color: #042018;
}
.btn.primary:hover { background: #6fffc8; }
.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(7, 20, 24, 0.35);
}
.btn.ghost:hover { border-color: var(--accent); }

.hero-stage { position: relative; }
.panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(12, 36, 42, 0.92), rgba(7, 18, 22, 0.88));
  padding: 1rem 1.1rem 1.2rem;
  backdrop-filter: blur(8px);
  animation: rise 1s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
}
.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--muted);
}
.dot.live {
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(61, 255, 181, 0.6);
  animation: live 1.8s infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 181, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(61, 255, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 181, 0); }
}
.mono { font-family: var(--mono); }
.dim { color: var(--muted); margin-left: auto; }

.waveform {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 0.28rem;
  height: 7.5rem;
  align-items: end;
  padding: 0.5rem 0 1rem;
}
.waveform span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
  height: 30%;
  animation: bar 1.4s ease-in-out infinite;
}
.waveform span:nth-child(odd) { animation-duration: 1.1s; }
.waveform span:nth-child(3n) { animation-duration: 1.7s; }
.waveform span:nth-child(1) { animation-delay: 0.05s; height: 45%; }
.waveform span:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.waveform span:nth-child(3) { animation-delay: 0.15s; height: 38%; }
.waveform span:nth-child(4) { animation-delay: 0.2s; height: 88%; }
.waveform span:nth-child(5) { animation-delay: 0.25s; height: 55%; }
.waveform span:nth-child(6) { animation-delay: 0.3s; height: 72%; }
.waveform span:nth-child(7) { animation-delay: 0.35s; height: 40%; }
.waveform span:nth-child(8) { animation-delay: 0.4s; height: 95%; }
.waveform span:nth-child(9) { animation-delay: 0.45s; height: 60%; }
.waveform span:nth-child(10) { animation-delay: 0.5s; height: 48%; }
.waveform span:nth-child(11) { animation-delay: 0.55s; height: 78%; }
.waveform span:nth-child(12) { animation-delay: 0.6s; height: 36%; }
.waveform span:nth-child(13) { animation-delay: 0.65s; height: 68%; }
.waveform span:nth-child(14) { animation-delay: 0.7s; height: 52%; }
.waveform span:nth-child(15) { animation-delay: 0.75s; height: 42%; }
@keyframes bar {
  0%, 100% { transform: scaleY(0.7); opacity: 0.75; }
  50% { transform: scaleY(1); opacity: 1; }
}

.meters { display: grid; gap: 0.55rem; }
.meters div {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.meters i {
  display: block;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.meters i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  background: var(--accent);
  border-radius: inherit;
}
.meters i.ok::after { background: var(--warn); width: var(--v); }

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem);
}
.section.alt {
  border-block: 1px solid var(--line);
  background: rgba(8, 28, 34, 0.45);
}
.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}
.section-lede {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-row article h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.feature-row article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.ticks {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.ticks li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}
.status-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}
.status-list .ok { color: var(--accent); }
.status-list .warn { color: var(--warn); }

.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }
  .feature-row { grid-template-columns: 1fr; }
}
