:root {
  --ink: #0a100e;
  --soil: #16110c;
  --moss: #1c2a22;
  --foam: #e8f0e4;
  --mute: #9aab9c;
  --sap: #d6ff4a;
  --sap-deep: #9fc41f;
  --clay: #c4784a;
  --font-display: "Syne", system-ui, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, monospace;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--foam);
  font-family: var(--font-mono);
  background: var(--ink);
  overflow-x: hidden;
}

.soil {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(196, 120, 74, 0.18), transparent 55%),
    radial-gradient(90% 70% at 15% 85%, rgba(214, 255, 74, 0.08), transparent 50%),
    linear-gradient(165deg, #101612 0%, var(--soil) 42%, #0d1411 100%);
}

.hex-veil {
  position: fixed;
  inset: -20%;
  z-index: 1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath fill='none' stroke='%23d6ff4a' stroke-opacity='0.35' stroke-width='1' d='M28 2 L54 17 V47 L28 62 L2 47 V17 Z M28 62 V92'/%3E%3C/svg%3E");
  background-size: 56px 98px;
  animation: drift 48s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}

.glow {
  position: fixed;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  left: 58%;
  top: 18%;
  translate: -50% -20%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 255, 74, 0.2), transparent 68%);
  filter: blur(8px);
  animation: pulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 52rem;
}

.mark {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--sap);
  text-shadow: 0 0 40px rgba(214, 255, 74, 0.25);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.line {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foam);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.lede {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  color: var(--mute);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  background: var(--sap);
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 rgba(214, 255, 74, 0);
}

.btn:hover {
  background: #e7ff7a;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(214, 255, 74, 0.2);
}

.btn:focus-visible {
  outline: 2px solid var(--foam);
  outline-offset: 3px;
}

.aside {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

.foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.25rem clamp(2rem, 6vw, 5rem) 1.75rem;
  font-size: 0.78rem;
  color: var(--mute);
  border-top: 1px solid rgba(232, 240, 228, 0.08);
  background: linear-gradient(to top, rgba(10, 16, 14, 0.85), transparent);
}

.foot a {
  color: var(--foam);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 255, 74, 0.35);
}

.foot a:hover {
  color: var(--sap);
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-56px, -98px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -20%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -20%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hex-veil,
  .glow,
  .mark,
  .line,
  .lede,
  .cta {
    animation: none;
  }
}
