:root {
  --navy: #0b1624;
  --navy-2: #13253a;
  --ink: #e8eef6;
  --muted: #9fb0c5;
  --teal: #3db48a;
  --teal-2: #5ec9a3;
  --cross-blue: #203a56;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--navy);
  overflow-x: hidden;
  position: relative;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(61, 180, 138, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 60% at 10% 80%, rgba(32, 58, 86, 0.9), transparent 50%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 45%, #0a121c 100%);
  animation: atmosphere-shift 14s ease-in-out infinite alternate;
}

@keyframes atmosphere-shift {
  from {
    filter: hue-rotate(0deg) saturate(1);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(8deg) saturate(1.08);
    transform: scale(1.03);
  }
}

.mark-plane {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.18;
}

.mark-plane img {
  width: min(92vw, 720px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.45));
  animation: mark-drift 18s ease-in-out infinite alternate;
}

@keyframes mark-drift {
  from {
    transform: translate3d(4%, -2%, 0) scale(1.02);
  }
  to {
    transform: translate3d(-3%, 3%, 0) scale(1.08);
  }
}

.top,
.hero,
.foot {
  position: relative;
  z-index: 2;
}

.top {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 0;
  animation: rise 0.8s ease both;
}

.brand-lockup {
  display: block;
  width: min(220px, 58vw);
  height: auto;
}

.hero {
  min-height: calc(100svh - 9rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3.5rem;
  max-width: 40rem;
}

.brand-word {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(105deg, #c5d2e2 18%, var(--teal) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s 0.08s ease both;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
  animation: rise 0.9s 0.16s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.24s ease both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: #062016;
  background: linear-gradient(120deg, var(--teal), var(--teal-2));
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 10px 28px rgba(61, 180, 138, 0.28);
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(61, 180, 138, 0.38);
}

.cta:focus-visible {
  outline: 2px solid var(--teal-2);
  outline-offset: 3px;
}

.cta.ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(159, 176, 197, 0.35);
  box-shadow: none;
}

.cta.ghost:hover {
  border-color: rgba(61, 180, 138, 0.55);
  background: rgba(61, 180, 138, 0.08);
  box-shadow: none;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  border-top: 1px solid rgba(159, 176, 197, 0.12);
  color: var(--muted);
  font-size: 0.875rem;
}

.foot p {
  margin: 0;
}

.foot nav {
  display: flex;
  gap: 1rem;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--teal-2);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .mark-plane img,
  .top,
  .brand-word,
  .lede,
  .cta-row {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .hero {
    justify-content: center;
    min-height: calc(100svh - 8rem);
  }

  .mark-plane {
    opacity: 0.12;
  }
}
