@font-face {
  font-family: 'VT323';
  src: url('fonts/vt323.woff2') format('woff2');
  font-display: swap;
}

:root {
  --bg: #0c0903;
  --phos: #ffb000;
  --phos-hi: #ffd27a;
  --phos-dim: #6e5210;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; }

body {
  background: var(--bg);
  color: var(--phos);
  font-family: 'VT323', 'Courier New', ui-monospace, monospace;
  font-size: 1.2rem;
  line-height: 1.45;
  min-height: 100vh;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 6vw, 2.5rem);
  text-shadow: 0 0 0.4em rgba(255, 176, 0, 0.35);
}

/* scanlines + vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.20) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.5) 100%);
}

main { max-width: 62rem; margin: 0 auto; }

h1 {
  color: var(--phos-hi);
  font-size: clamp(2.6rem, 10vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 0 0.25em rgba(255, 176, 0, 0.55);
}

.tag { margin-top: 0.2rem; font-size: 1.3rem; }

.cursor::after {
  content: "█";
  margin-left: 0.15em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.intro { margin-top: 2.5rem; }

section { margin-top: 3rem; }

h2 {
  color: var(--phos-hi);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

ul { list-style: none; }

.menu li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}
.menu .k { color: var(--phos-hi); }
.menu .dots {
  flex: 1 1 1rem;
  min-width: 1.5rem;
  border-bottom: 2px dotted var(--phos-dim);
  margin: 0 0.5rem;
  transform: translateY(-0.3em);
}
.menu .v { flex: 0 1 100%; }
@media (min-width: 40rem) {
  /* fixed key + fixed value columns; the dot leader flexes to fill the
     whole gap between them, so every row lines up */
  .menu .k { flex: 0 0 auto; }
  .menu li { max-width: 55rem; }
  .menu .dots { flex: 1 1 1rem; min-width: 1.5rem; }
  .menu .v { flex: 0 0 45rem; }
}

.steps li { margin-bottom: 0.35rem; }
.steps b { color: var(--phos-hi); font-weight: 400; margin-right: 0.4em; }
.steps span { color: var(--phos); }

a { color: var(--phos-hi); text-decoration: underline dotted; }
a:hover { background: var(--phos); color: var(--bg); text-shadow: none; }

#mail-in p { margin-bottom: 0.6rem; }

hr {
  border: none;
  border-top: 1px dashed var(--phos-dim);
  margin: 3.5rem 0 1.2rem;
}

footer p { margin-bottom: 0.2rem; }
.dim { color: var(--phos-dim); }

.land {
  color: var(--phos);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
  .cursor::after { animation: none; }
}
