:root {
  color-scheme: light;
  --bg: #f5f8f6;
  --ink: #102019;
  --muted: #63766c;
  --green: #0e5d3d;
  --green-2: #1f8a5b;
  --cyan: #168f99;
  --amber: #c58a32;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 22%, rgba(22, 143, 153, 0.12), transparent 34%),
    radial-gradient(circle at 14% 76%, rgba(197, 138, 50, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 72%);
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0 40px;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 72px);
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 46px);
  text-align: center;
}

.signal-stage {
  position: relative;
  display: grid;
  width: clamp(280px, 38vw, 470px);
  aspect-ratio: 1;
  place-items: center;
  isolation: isolate;
}

.signal-stage::before,
.signal-stage::after,
.ambient,
.wave,
.thread,
.pulse-dot,
.brand-core {
  position: absolute;
  content: "";
}

.signal-stage::before {
  inset: 10%;
  z-index: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 36%, rgba(255, 255, 255, 0.52) 37% 54%, transparent 70%),
    radial-gradient(circle, rgba(22, 143, 153, 0.15), transparent 64%);
  box-shadow:
    0 34px 90px rgba(16, 32, 25, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  animation: central-breathe 6.8s ease-in-out infinite;
}

.signal-stage::after {
  inset: -8%;
  z-index: 0;
  border-radius: 999px;
  background:
    linear-gradient(rgba(22, 143, 153, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 93, 61, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle, #000 0 38%, transparent 72%);
  mask-image: radial-gradient(circle, #000 0 38%, transparent 72%);
  opacity: 0.5;
  animation: grid-drift 9s linear infinite;
}

.brand-core {
  z-index: 8;
  display: grid;
  width: clamp(166px, 18vw, 230px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 32px;
  filter:
    drop-shadow(0 26px 36px rgba(16, 32, 25, 0.18))
    drop-shadow(0 0 34px rgba(22, 143, 153, 0.16));
  animation: brand-focus 6.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.brand-core img {
  display: block;
  width: 100%;
  height: 100%;
}

.ambient {
  z-index: 1;
  border-radius: 999px;
  pointer-events: none;
}

.ambient-one {
  inset: -2%;
  border: 1px solid rgba(22, 143, 153, 0.18);
  animation: ambient-open 6.8s ease-out infinite;
}

.ambient-two {
  inset: 8%;
  border: 1px dashed rgba(197, 138, 50, 0.22);
  animation: ambient-open 6.8s ease-out 1.1s infinite;
}

.wave {
  z-index: 2;
  border-radius: 999px;
  pointer-events: none;
}

.wave-one {
  inset: 2%;
  border: 1px solid rgba(14, 93, 61, 0.2);
  animation: wave-sync 5.6s ease-in-out infinite;
}

.wave-two {
  inset: 18%;
  border: 1px solid rgba(22, 143, 153, 0.3);
  animation: wave-sync 5.6s ease-in-out 0.65s infinite;
}

.wave-three {
  inset: 30%;
  border: 1px solid rgba(197, 138, 50, 0.24);
  animation: wave-sync 5.6s ease-in-out 1.3s infinite;
}

.thread {
  z-index: 3;
  left: 50%;
  top: 50%;
  height: 2px;
  width: 47%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(22, 143, 153, 0.56), rgba(197, 138, 50, 0.18));
  transform-origin: left center;
  opacity: 0;
}

.thread-one {
  animation: thread-one 6.8s ease-in-out infinite;
}

.thread-two {
  animation: thread-two 6.8s ease-in-out infinite;
}

.thread-three {
  animation: thread-three 6.8s ease-in-out infinite;
}

.pulse-dot {
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 0 0 5px rgba(22, 143, 153, 0.13),
    0 0 24px rgba(22, 143, 153, 0.55);
  opacity: 0;
}

.pulse-dot-one {
  animation: pulse-dot-one 6.8s ease-in-out infinite;
}

.pulse-dot-two {
  animation: pulse-dot-two 6.8s ease-in-out infinite;
}

.pulse-dot-three {
  animation: pulse-dot-three 6.8s ease-in-out infinite;
}

.pulse-dot-four {
  background: #fffaf1;
  box-shadow:
    0 0 0 5px rgba(197, 138, 50, 0.13),
    0 0 24px rgba(197, 138, 50, 0.46);
  animation: pulse-dot-four 6.8s ease-in-out infinite;
}

.pulse-dot-five {
  width: 7px;
  height: 7px;
  box-shadow:
    0 0 0 4px rgba(31, 138, 91, 0.13),
    0 0 20px rgba(31, 138, 91, 0.42);
  animation: pulse-dot-five 6.8s ease-in-out infinite;
}

.hero-copy {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 18ch;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  color: var(--ink);
  font-size: clamp(2.45rem, 5.4vw, 4.7rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  line-height: 1.72;
}

@keyframes central-breathe {
  0%,
  100% {
    opacity: 0.88;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes grid-drift {
  0% {
    background-position: 0 0, 0 0, 0 0;
    transform: rotate(0deg);
  }

  100% {
    background-position: 28px 28px, 28px 28px, 0 0;
    transform: rotate(4deg);
  }
}

@keyframes brand-focus {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  16% {
    transform: translateY(8px) scale(0.96);
  }

  42%,
  64% {
    transform: translateY(-5px) scale(1.025);
  }
}

@keyframes ambient-open {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  35% {
    opacity: 0.72;
  }

  76%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes wave-sync {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.92);
  }

  48% {
    opacity: 0.78;
    transform: scale(1.09);
  }
}

@keyframes thread-one {
  0%,
  18%,
  100% {
    opacity: 0;
    transform: rotate(-24deg) scaleX(0);
  }

  34%,
  72% {
    opacity: 0.8;
    transform: rotate(-24deg) scaleX(1);
  }
}

@keyframes thread-two {
  0%,
  28%,
  100% {
    opacity: 0;
    transform: rotate(154deg) scaleX(0);
  }

  44%,
  78% {
    opacity: 0.7;
    transform: rotate(154deg) scaleX(1);
  }
}

@keyframes thread-three {
  0%,
  42%,
  100% {
    opacity: 0;
    transform: rotate(78deg) scaleX(0);
  }

  56%,
  86% {
    opacity: 0.64;
    transform: rotate(78deg) scaleX(0.86);
  }
}

@keyframes pulse-dot-one {
  0%,
  20% {
    opacity: 0;
    transform: rotate(-24deg) translateX(38px) scale(0.8);
  }

  38%,
  56% {
    opacity: 1;
  }

  76%,
  100% {
    opacity: 0;
    transform: rotate(-24deg) translateX(185px) scale(0.8);
  }
}

@keyframes pulse-dot-two {
  0%,
  34% {
    opacity: 0;
    transform: rotate(154deg) translateX(38px) scale(0.8);
  }

  52%,
  68% {
    opacity: 1;
  }

  86%,
  100% {
    opacity: 0;
    transform: rotate(154deg) translateX(178px) scale(0.8);
  }
}

@keyframes pulse-dot-three {
  0%,
  44% {
    opacity: 0;
    transform: rotate(78deg) translateX(34px) scale(0.8);
  }

  60%,
  76% {
    opacity: 0.94;
  }

  92%,
  100% {
    opacity: 0;
    transform: rotate(78deg) translateX(150px) scale(0.8);
  }
}

@keyframes pulse-dot-four {
  0%,
  28% {
    opacity: 0;
    transform: rotate(24deg) translateX(34px) scale(0.8);
  }

  44%,
  62% {
    opacity: 0.9;
  }

  80%,
  100% {
    opacity: 0;
    transform: rotate(24deg) translateX(170px) scale(0.8);
  }
}

@keyframes pulse-dot-five {
  0%,
  52% {
    opacity: 0;
    transform: rotate(-118deg) translateX(28px) scale(0.8);
  }

  66%,
  78% {
    opacity: 0.82;
  }

  94%,
  100% {
    opacity: 0;
    transform: rotate(-118deg) translateX(145px) scale(0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-stage::before,
  .signal-stage::after,
  .brand-core,
  .ambient,
  .wave,
  .thread,
  .pulse-dot {
    animation: none;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 32px, 680px);
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    max-width: 17ch;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: calc(100% - 28px);
    padding-top: 18px;
  }

  .hero {
    gap: 28px;
    padding-top: 34px;
  }

  .signal-stage {
    width: 270px;
  }

  .brand-core {
    width: 158px;
  }

  h1 {
    max-width: 16ch;
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }
}
