:root {
  --navy: #4d7ecf;
  --navy-core: #003882;
  --green: #00b46c;
  --ink: #070b14;
  --ink-soft: #0c1220;
  --paper: #e8eef8;
  --fog: rgba(232, 238, 248, 0.68);
  --muted: rgba(232, 238, 248, 0.38);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: "Quicksand", system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#flow-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 55% at 42% 45%,
      transparent 0%,
      rgba(7, 11, 20, 0.55) 58%,
      var(--ink) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 11, 20, 0.5) 0%,
      transparent 28%,
      transparent 65%,
      rgba(7, 11, 20, 0.85) 100%
    );
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 40rem;
}

.brand {
  font-weight: 700;
  font-size: clamp(2.6rem, 7.5vw, 4.75rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  animation: rise 1s var(--ease) both;
}

.brand-step {
  color: var(--navy);
}

.brand-mine {
  color: var(--green);
}

.headline {
  margin-top: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--fog);
  animation: rise 1s var(--ease) 0.1s both;
}

.lede {
  margin-top: 0.95rem;
  max-width: 26rem;
  font-weight: 500;
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  line-height: 1.55;
  color: var(--muted);
  animation: rise 1s var(--ease) 0.2s both;
}

.status {
  margin-top: clamp(1.6rem, 3.5vw, 2.25rem);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  animation: rise 1s var(--ease) 0.3s both;
}

.pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 180, 108, 0.35);
  animation: beat 2.2s ease-out infinite;
}

.foot {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  animation: rise 1s var(--ease) 0.4s both;
}

.foot a {
  color: rgba(232, 238, 248, 0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.foot a:hover {
  color: var(--green);
  border-bottom-color: rgba(0, 180, 108, 0.45);
}

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

@keyframes beat {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 180, 108, 0.35);
  }
  70% {
    box-shadow: 0 0 0 0.7rem transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .stage {
    padding-bottom: 5rem;
  }

  .foot {
    position: relative;
    margin-top: -4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .headline,
  .lede,
  .status,
  .foot,
  .pulse {
    animation: none;
  }
}
