:root {
  --ink: #e8f6f0;
  --muted: #9fb8af;
  --deep: #071411;
  --forest: #0b1f1a;
  --moss: #14352c;
  --leaf: #1fa97a;
  --leaf-bright: #3fd19a;
  --sand: #d7c4a3;
  --glow: rgba(63, 209, 154, 0.28);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

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

body {
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--deep);
  line-height: 1.55;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(31, 169, 122, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(215, 196, 163, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(14, 122, 98, 0.28), transparent 60%),
    linear-gradient(165deg, #0a1c17 0%, #071411 45%, #0d241d 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
  animation: grid-drift 28s linear infinite;
}

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

.top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.brand-mark img {
  border-radius: 10px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  background: linear-gradient(120deg, #f4fff9 20%, var(--leaf-bright) 70%, var(--sand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-in 0.9s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  animation: rise 0.85s 0.1s ease both;
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.05rem;
  animation: rise 0.85s 0.2s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.85s 0.3s ease both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--leaf-bright), var(--leaf));
  color: #042018;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px var(--glow);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(63, 209, 154, 0.38);
}

.cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(232, 246, 240, 0.22);
  box-shadow: none;
}

.cta.ghost:hover {
  border-color: rgba(63, 209, 154, 0.55);
  box-shadow: none;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.logo-stage {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: float 6s ease-in-out infinite;
}

.logo-hero {
  width: 62%;
  height: auto;
  border-radius: 28%;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
  z-index: 2;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(63, 209, 154, 0.25);
  inset: 8%;
  animation: spin 22s linear infinite;
}

.orbit-b {
  inset: 18%;
  border-color: rgba(215, 196, 163, 0.22);
  animation-direction: reverse;
  animation-duration: 16s;
}

.tile {
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, rgba(63, 209, 154, 0.55), rgba(14, 122, 98, 0.75));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  z-index: 3;
}

.t1 {
  top: 12%;
  right: 10%;
  animation: bob 4.5s ease-in-out infinite;
}

.t2 {
  bottom: 16%;
  left: 8%;
  width: 1.8rem;
  height: 1.8rem;
  background: linear-gradient(145deg, rgba(215, 196, 163, 0.7), rgba(160, 130, 90, 0.7));
  animation: bob 5.2s 0.4s ease-in-out infinite;
}

.t3 {
  bottom: 22%;
  right: 16%;
  width: 1.35rem;
  height: 1.35rem;
  opacity: 0.85;
  animation: bob 3.8s 0.8s ease-in-out infinite;
}

.about {
  padding: 3.5rem 0 1rem;
  border-top: 1px solid rgba(232, 246, 240, 0.08);
  max-width: 38rem;
}

.about h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.about p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  color: rgba(159, 184, 175, 0.75);
  font-size: 0.9rem;
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.25rem;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .logo-stage {
    width: min(100%, 280px);
  }

  .brand {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .hero h1 {
    max-width: 18ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
