@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #eaffdf;
  --muted: #8fc397;
  --acid: #c7ff78;
  --green: #17f54b;
  --line: rgba(151, 255, 125, 0.523);
  --panel: rgba(3, 28, 14, 0.78);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  background: #02130b;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: '';
  background: radial-gradient(circle at 54% 47%, transparent 0, rgba(2, 19, 11, 0.1) 40%, rgba(2, 19, 11, 0.84) 100%);
}

#matrix-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 9vw, 1440px);
  margin: 0 auto;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-weight: 500;
}

.nav-button,
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--acid);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-button {
  padding: 13px 17px;
  border: 1px solid rgba(217, 255, 154, 0.7);
  background: rgba(10, 35, 26, 0.6);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  background: var(--acid);
  color: #07120e;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  z-index: 2;
  width: min(100% - 9vw, 1440px);
  min-height: calc(100vh - 93px);
  margin: 0 auto;
  padding: clamp(120px, 19vh, 210px) 0 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--green);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
}

h1 {
  max-width: 800px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 10vw, 9.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

h1 span {
  color: var(--acid);
}

.hero-copy {
  max-width: 370px;
  margin: 40px 0 32px 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.hero-link {
  margin-left: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--acid);
  transition: gap 180ms ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  gap: 26px;
}

.corner-label {
  position: fixed;
  bottom: 28px;
  z-index: 2;
  color: rgba(145, 170, 146, 0.7);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.corner-label-left {
  left: 4.5vw;
  .brand {
    margin-left: 100px;

  }
}

.corner-label-right {
  right: 4.5vw;
}

@media (max-width: 600px) {
  .topbar,
  .hero {
    width: min(100% - 40px, 1440px);
  }

  .topbar {
    padding: 22px 0;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-button {
    padding: 11px 12px;
    font-size: 10px;
  }

  .hero {
    min-height: calc(100vh - 74px);
    padding-top: 23vh;
  }

  h1 {
    font-size: clamp(3.7rem, 19vw, 6rem);
  }

  .hero-copy {
    margin-top: 30px;
    margin-left: 0;
    font-size: 14px;
  }

  .hero-link {
    margin-left: 0;
    font-size: 10px;
  }
}
