:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #a9b6ca;
  --soft: rgba(247, 251, 255, 0.74);
  --line: rgba(128, 178, 255, 0.22);
  --deep: #050712;
  --reef: #11172a;
  --cyan: #20e6ff;
  --blue: #4c7dff;
  --violet: #9b5cff;
  --amber: #ffcf5a;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--deep);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(32, 230, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 78% 22%, rgba(155, 92, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 86% 76%, rgba(255, 207, 90, 0.09), transparent 22rem),
    linear-gradient(135deg, #050712 0%, #0d1020 48%, #11172a 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(128, 178, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 178, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 88%);
}

#tide-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.brand {
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  font-size: 1.02rem;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(32, 230, 255, 0.68);
  border-radius: 8px;
  color: #050712;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, var(--violet));
  box-shadow: 0 16px 42px rgba(32, 230, 255, 0.24);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  padding: 24px 0 76px;
}

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

.kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(32, 230, 255, 0.4);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(4.4rem, 10vw, 8.4rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0;
}

.lede {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.signals span {
  padding: 9px 12px;
  border: 1px solid rgba(244, 247, 238, 0.14);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(128, 178, 255, 0.07);
}

.launch-panel {
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(128, 178, 255, 0.16), rgba(247, 251, 255, 0.04)),
    rgba(5, 7, 18, 0.78);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(255, 207, 90, 0.12), 0 0 24px rgba(255, 207, 90, 0.72);
}

.metric {
  margin-top: 72px;
}

.metric-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.metric strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.tide-meter {
  height: 10px;
  margin: 34px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(128, 178, 255, 0.12);
}

.tide-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet), var(--amber));
  animation: tidePulse 2.8s ease-in-out infinite;
}

.launch-panel p {
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes tidePulse {
  0%,
  100% {
    transform: translateX(-8%);
  }

  50% {
    transform: translateX(20%);
  }
}

@media (max-width: 880px) {
  .shell {
    width: min(100% - 28px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 42px;
  }

  .launch-panel {
    min-height: 320px;
  }

  .metric {
    margin-top: 46px;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

}

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