:root {
  --bg: #050805;
  --bg-soft: rgba(7, 16, 10, 0.72);
  --fg: #eef6ee;
  --muted: #9fb49f;
  --accent: rgba(125, 255, 161, 0.72);
  --accent-soft: rgba(125, 255, 161, 0.16);
  --border: rgba(125, 255, 161, 0.12);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, #0d150f 0%, var(--bg) 55%, #020302 100%);
  color: var(--fg);
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

#matrix {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.26;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(92vw, 42rem);
  height: min(60vh, 24rem);
  background: linear-gradient(180deg, rgba(10, 20, 12, 0.82), rgba(5, 8, 5, 0.65));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.hero > * {
  position: relative;
}

.hero {
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

@media (max-width: 640px) {
  .hero {
    padding: 1.25rem;
  }

  .hero::before {
    width: calc(100vw - 2rem);
    height: auto;
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    right: auto;
    padding-bottom: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #matrix {
    display: none;
  }
}
