@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --ink: #f2f1e8;
  --muted: #a7b4a9;
  --line: rgba(233, 241, 230, 0.15);
  --green: #b6ef75;
  --background: #0c1d17;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 28%, rgba(71, 132, 93, 0.16), transparent 36rem),
    linear-gradient(145deg, #0c1d17 0%, #10271f 48%, #08130f 100%);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
}

.grain {
  position: absolute;
  inset: -100%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain 10s steps(6) infinite;
  pointer-events: none;
}

.orb {
  position: absolute;
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.orb::after {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(182, 239, 117, 0.1);
  border-radius: inherit;
  content: '';
}

.orb-one {
  top: 50%;
  right: -11vw;
  width: min(62vw, 58rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.orb-two {
  top: 50%;
  right: -1vw;
  width: min(42vw, 39rem);
  aspect-ratio: 1;
  border-color: rgba(182, 239, 117, 0.14);
  transform: translateY(-50%);
}

.orb-three {
  top: 50%;
  right: 9vw;
  width: min(22vw, 20rem);
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, rgba(182, 239, 117, 0.13), rgba(8, 23, 17, 0.18) 68%);
  box-shadow: 0 0 100px rgba(95, 179, 114, 0.08);
  transform: translateY(-50%);
}

.site-header,
footer {
  display: flex;
  width: 100%;
  max-width: 94rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

.site-header {
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 1rem rgba(182, 239, 117, 0.55);
}

.hero {
  align-self: center;
  width: 100%;
  max-width: 94rem;
  margin-inline: auto;
  padding: 7vh clamp(1.5rem, 5vw, 5rem) 10vh;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--green);
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.67rem, 1vw, 0.78rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  margin: 0 0.9rem 0.23em 0;
  background: currentColor;
  content: '';
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4rem, 9.8vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-wrap: balance;
}

.intro {
  max-width: 35rem;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  text-wrap: pretty;
}

footer {
  border-top: 1px solid var(--line);
  color: rgba(201, 213, 203, 0.64);
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  padding-block: 1.4rem;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(3%, -2%); }
  40% { transform: translate(-2%, 4%); }
  60% { transform: translate(4%, 2%); }
  80% { transform: translate(-3%, -4%); }
}

@media (max-width: 700px) {
  .orb-one {
    top: 44%;
    right: -62vw;
    width: 130vw;
  }

  .orb-two {
    top: 44%;
    right: -42vw;
    width: 92vw;
  }

  .orb-three {
    top: 44%;
    right: -17vw;
    width: 48vw;
  }

  .hero {
    padding-bottom: 12vh;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .intro {
    max-width: 28rem;
  }
}

@media (max-width: 430px) {
  .brand span {
    max-width: 5.5rem;
    line-height: 1.15;
  }

  .status {
    font-size: 0.57rem;
  }

  footer p:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grain {
    animation: none;
  }
}
