:root {
  --bg: #000000;
  --green: #00ff41;
  --green-dim: #00a82c;
  --green-dark: #063d12;
  --green-glow: rgba(0, 255, 65, 0.35);
  --text: #b6ffc7;
  --font: "Share Tech Mono", ui-monospace, Menlo, "Courier New", monospace;
  --max: 900px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-shadow: 0 0 8px var(--green-glow);
  outline: none;
}

h1,
h2,
h3 {
  color: var(--green);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.04em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--green);
  color: var(--bg);
}

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

.cursor {
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
}
