:root {
  --bg: #000;
  --ink: #d8ff3a;
  --mute: #6f7a3a;
  --glow: rgba(216, 255, 58, 0.14);
  --font: 'VT323', 'Courier New', Courier, monospace;
}

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

html,
body {
  min-height: 100%;
  background: #000;
}

body {
  min-height: 100dvh;
  background: #000;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: none;
  overflow-x: hidden;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 1.6vw, 1rem);
  padding: clamp(1rem, 4vw, 2rem);
  text-align: center;
}

.mark {
  width: min(72vw, 420px);
  height: auto;
  display: block;
  mix-blend-mode: lighten;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand,
.tag {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.ascii {
  margin: 0;
  padding: 0;
  width: max-content;
  white-space: pre;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  line-height: 1.05;
  text-align: left;
}

.ascii-brand {
  color: var(--ink);
  font-size: clamp(6px, calc((100vw - 2rem) / 78), 14px);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.ascii-tag {
  color: var(--mute);
  font-size: clamp(4px, calc((100vw - 2rem) / 120), 9px);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.blurb {
  width: min(100%, 34rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.5rem;
  color: var(--mute);
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.blurb .cmd {
  color: var(--ink);
}

.cta {
  margin-top: clamp(0.25rem, 1vw, 0.55rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--ink);
  color: #000;
  background: var(--ink);
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.cta:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), 0 0 28px var(--glow);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .mark {
    width: min(78vw, 320px);
  }

  .blurb {
    width: min(100%, 22rem);
    font-size: clamp(1rem, 4.2vw, 1.2rem);
  }

  .cta {
    width: min(100%, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  .ascii-brand,
  .ascii-tag,
  .blurb,
  .cta {
    animation: none;
  }

  .cta:hover {
    transform: none;
  }
}
