:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #607185;
  --paper: #f7fbff;
  --sky: #dff0ff;
  --blue: #2563eb;
  --green: #14946c;
  --mint: #d9f5e9;
  --coral: #ff6b5f;
  --gold: #ffbd4a;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: rgba(20, 45, 80, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(20, 148, 108, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, var(--paper) 42%, var(--sky) 100%);
  background-size:
    38px 38px,
    38px 38px,
    auto;
}

body::before {
  position: fixed;
  inset: auto 0 0;
  height: min(30vh, 260px);
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 52px,
      rgba(16, 32, 51, 0.08) 52px 54px,
      transparent 54px 108px
    ),
    linear-gradient(to top, rgba(20, 148, 108, 0.12), transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}

.scene-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.ambient-routes {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-routes span {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 32px;
  transform: rotate(45deg);
  animation: routeFloat 16s ease-in-out infinite;
}

.ambient-routes span:nth-child(1) {
  top: 10%;
  right: 11%;
  border-color: rgba(255, 107, 95, 0.24);
}

.ambient-routes span:nth-child(2) {
  right: 20%;
  bottom: 12%;
  width: 150px;
  height: 150px;
  border-color: rgba(20, 148, 108, 0.24);
  animation-delay: -5s;
}

.ambient-routes span:nth-child(3) {
  bottom: 22%;
  left: 10%;
  width: 180px;
  height: 180px;
  border-color: rgba(255, 189, 74, 0.28);
  animation-delay: -9s;
}

.page-shell {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(28px, 6vw, 86px);
}

.hero {
  width: min(840px, 100%);
  padding-block: clamp(30px, 9vh, 88px);
}

.brand-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background:
    linear-gradient(150deg, #ffffff, #e8f6ff 58%, var(--mint)),
    var(--mint);
  box-shadow:
    0 22px 70px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  animation: markRise 4.4s ease-in-out infinite;
}

.brand-mark span {
  color: var(--green);
  font-size: 36px;
  font-weight: 850;
  line-height: 1;
}

.eyebrow {
  width: fit-content;
  margin: 34px 0 12px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 13vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin: clamp(20px, 3vw, 32px) 0 0;
  font-size: clamp(1.55rem, 4.1vw, 3rem);
  line-height: 1.12;
  font-weight: 780;
}

.subcopy {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.62;
}

.status-line {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: clamp(30px, 5vw, 50px);
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.95rem;
  box-shadow: 0 18px 45px rgba(20, 45, 80, 0.09);
  backdrop-filter: blur(14px);
}

.status-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(20, 148, 108, 0.14);
  animation: statusPulse 1.9s ease-in-out infinite;
}

@keyframes markRise {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes routeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(45deg) scale(1);
  }
  50% {
    transform: translateY(-18px) rotate(45deg) scale(1.04);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(20, 148, 108, 0.14);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(20, 148, 108, 0);
  }
}

@media (max-width: 640px) {
  .page-shell {
    align-items: start;
    padding: 28px 20px 42px;
  }

  .hero {
    padding-top: 38px;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .brand-mark span {
    font-size: 31px;
  }

  .status-line {
    align-items: flex-start;
    border-radius: 18px;
  }

  .status-dot {
    margin-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
