:root {
  --bg: #030806;
  --text: #ecfdf5;
  --font-display: "Syne", system-ui, sans-serif;
  --font-brand: "Instrument Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  overflow: hidden;
}

#ecg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

h1 {
  position: fixed;
  z-index: 2;
  top: calc(62vh - min(86px, 20vh) - 5.25rem);
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow:
    0 0 24px rgba(3, 8, 6, 0.95),
    0 0 48px rgba(3, 8, 6, 0.8);
}

h1 .brand {
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: -0.01em;
}
