:root {
  --bg: #070b09;
  --text: #e8f3ed;
  --muted: #8da397;
  --green: #49f28d;
  --line: rgba(73, 242, 141, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #070b09;
  color: var(--text);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(135deg, #050706, #0b100d 45%, #060807);
}

a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.15s ease;
}

a:hover {
  border-bottom: 1px solid var(--green);
  color: white;
}

.wrap {
  max-width: 1000px;
  margin: auto;
  padding: 48px 16px;
  flex: 1;

  position: relative;
  z-index: 1;
}

header {
  margin-bottom: 48px;
}

h1 {
  font-size: 64px;
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
}

.actions {
  margin-top: 16px;
}

.button {
  border: 1px solid var(--line);
  background: #0d1511;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text);
  display: inline-block;
  transition: 0.18s ease;
}

.button:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(73,242,141,0.3);
  transform: translateY(-1px);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 16px;
  background: #0d1511;
}

.wide {
  grid-column: span 2;
}

.signal {
  margin-top: 20px;
  height: 80px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.signal canvas,
#signal {
  display: block;
  width: 100%;
  height: 100%;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.bold {
  font-weight: 600;
}

.wrap {
  position: relative;
  z-index: 1;
}

#spotlight {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--spot-w, 90px);
  height: var(--spot-h, 90px);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  background: rgba(73, 242, 141, var(--spot-alpha, 0.16));
  filter: blur(var(--spot-blur, 8px));
  transform:
    translate(-50%, -50%)
    rotate(var(--spot-rot, 0deg));
}

.wrap {
  position: relative;
  z-index: 1;
}

#shapeGlow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

#shapeGlowPath {
  fill: rgba(73, 242, 141, var(--shape-fill, 0));
  stroke: rgba(73, 242, 141, var(--shape-alpha, 0));
  stroke-width: var(--shape-width, 2);
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: blur(var(--shape-blur, 2px));
}