/* Root variables */
:root {
  --accent: #39ff14;
}

/* Global box-sizing reset */
*, ::before, ::after {
  box-sizing: border-box;
}

/* Full-height html background */
html {
  height: 100%;
  margin: 0;
  background: #000;
}

/* Body layout and typography */
body {
  height: 100%;
  margin: 0;
  background: transparent;
  color: #f2f2f2;
  font-family: 'Orbitron', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Matrix canvas layer */
#matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Headline and subhead styling */
h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  margin: 0;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 3rem);
  margin: 0.5rem 0 0;
  display: inline-flex;
  align-items: center;
}

.spacer {
  visibility: hidden;
}

/* Dark outline for better contrast */
h1, h2 {
  -webkit-text-stroke: 2px #000;
  text-shadow:
    0 0 4px #000,
    -2px -2px 2px #000, 2px -2px 2px #000,
    -2px  2px 2px #000, 2px  2px 2px #000;
}
