:root {
  color-scheme: dark;
  --navy: #080f23;
  --white: #f4f8ff;
  --muted: #b8c7df;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  color: var(--white);
  background: var(--navy);
}

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

.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(145deg, #0b142d 0%, var(--navy) 55%, #08182c 100%);
}

.shell {
  width: min(88%, 82rem);
  margin-inline: auto;
}

.atmosphere, .currents {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.atmosphere {
  inset: 0;
  background:
    radial-gradient(ellipse at 89% 62%, #0caeaf28, transparent 39%),
    radial-gradient(ellipse at 70% 84%, #2457e443, transparent 39%);
}

.currents {
  right: -4%;
  bottom: 0;
  width: 108%;
  height: min(95%, 62rem);
  mask-image: linear-gradient(to right, #0002, #0008 44%, #000 76%);
  animation: current-drift 14s ease-in-out infinite alternate;
}

@keyframes current-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-1.25rem); }
}

.masthead {
  min-height: clamp(5.25rem, 11vh, 7.8rem);
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c6d9ff26;
}

.wordmark {
  --lockup-gap: clamp(.75rem, 1.4vw, 1.2rem);
  display: inline-flex;
  align-items: center;
  gap: var(--lockup-gap);
  line-height: 1;
}

.wordmark-name {
  display: grid;
  align-content: center;
  align-self: stretch;
  gap: .32rem;
  padding-inline-start: var(--lockup-gap);
  border-inline-start: 1px solid #a5b9d578;
  white-space: nowrap;
}

.wordmark strong {
  font-size: clamp(2rem, 3.25vw, 3.35rem);
  font-weight: 850;
  line-height: .86;
  letter-spacing: -.055em;
  font-variant-numeric: lining-nums tabular-nums;
}

.wordmark-label {
  color: var(--muted);
  font-size: clamp(.67rem, .95vw, .9rem);
  font-weight: 650;
  letter-spacing: .36em;
  text-transform: uppercase;
}

.mark {
  position: relative;
  width: clamp(3.2rem, 5.6vw, 5.1rem);
  flex: none;
  aspect-ratio: 1.27;
}

.mark::before, .mark::after {
  content: "";
  position: absolute;
  inset: 0;
}

.mark::before {
  border-radius: 0 50% 50% 0;
  background: linear-gradient(105deg, #2975f7 25%, #28a5ee 58%, #24dfc4);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 30% 100%, 44% 76%,
    63% 76%, 73% 72%, 80% 63%, 83% 50%, 80% 38%, 73% 29%, 63% 25%, 30% 25%);
}

.mark::after {
  background: linear-gradient(38deg, #315cf9, #31b7f3 65%);
  clip-path: polygon(0 100%, 31% 45%, 55% 45%, 24% 100%);
}

.hero {
  display: grid;
  align-items: center;
  flex: 1;
  padding-block: clamp(4.5rem, 9vh, 8rem);
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 9.7vw, 9.3rem);
  line-height: .91;
  font-weight: 750;
  letter-spacing: -.075em;
  overflow-wrap: anywhere;
}

h1 span { color: #80f4df; }

@supports (background-clip: text) {
  h1 span {
    color: transparent;
    background: linear-gradient(106deg, #7eacff 0%, #91cafe 40%, #79f3d5 96%);
    background-clip: text;
  }
}

.intro p {
  max-width: 39ch;
  margin: clamp(1.7rem, 4vh, 2.7rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.65;
}

.footer {
  position: relative;
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  border-top: 1px solid #c6d9ff26;
}

.coordinates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding-block: 1rem;
  font-size: .875rem;
  letter-spacing: .075em;
  color: #c6d4ec;
}

.separator { color: #80f4df; }
.crosshair {
  width: .95rem;
  height: .95rem;
  border: 1px solid #70ddd0;
  border-radius: 50%;
  background: radial-gradient(circle, #70ddd0 1px, transparent 2px);
  margin-right: .22rem;
}

@media (max-width: 40rem) {
  .shell { width: 87%; }
  .hero { padding-block: 4.25rem 7rem; }
  h1 { font-size: clamp(2.4rem, 11.1vw, 4.4rem); }
  .currents {
    width: 150%;
    right: -30%;
    height: 52%;
    opacity: .62;
    mask-image: linear-gradient(to top, #000 9%, #0007 53%, transparent 95%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .currents { animation: none; }
}

@media (forced-colors: active) {
  h1 span { color: CanvasText; background: none; }
  .mark { forced-color-adjust: none; }
  .atmosphere, .currents { display: none; }
}
