:root {
  --bg0: #07140c;
  --bg1: #0c2216;
  --ink: #e8f2ea;
  --muted: #8aa894;
  --accent: #2ee59d;
  --accent-dim: #1a8f62;
  --line: rgba(46, 229, 157, 0.22);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(46, 229, 157, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(40, 120, 90, 0.25), transparent 50%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 55%, #06110a);
  background-attachment: fixed;
}

a {
  color: var(--accent);
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  padding: clamp(2rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 70%;
  background: repeating-conic-gradient(
    from 0deg at 50% 100%,
    transparent 0deg 4deg,
    rgba(46, 229, 157, 0.04) 4deg 5deg
  );
  opacity: 0.7;
  pointer-events: none;
  animation: sweep 18s linear infinite;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1rem;
  position: relative;
  animation: rise 0.9s ease-out both;
}

.brand span {
  color: var(--accent);
}

.tagline {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  margin: 0 0 1.75rem;
  position: relative;
  animation: rise 0.9s ease-out 0.12s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  position: relative;
  animation: rise 0.9s ease-out 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #042016;
}

.btn-primary:hover {
  background: #5ff0b8;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(0, 0, 0, 0.2);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.note {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32rem;
  position: relative;
  animation: rise 0.9s ease-out 0.36s both;
}

.note code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1em 0.4em;
  border: 1px solid var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .brand,
  .tagline,
  .cta,
  .note {
    animation: none;
  }
}
