:root {
  --navy: #061734;
  --blue: #08327d;
  --electric: #4d8fff;
  --cyan: #55d6ff;
  --white: #f7f9ff;
  --muted: rgba(228, 236, 255, 0.65);
  --line: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--navy);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 46%, rgba(23, 72, 155, 0.3), transparent 31rem),
    linear-gradient(135deg, #041127 0%, #071c40 50%, #04142f 100%);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.loader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.2rem;
  background: #061734;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__mark {
  position: relative;
  width: 70px;
  height: 46px;
}

.loader__mark span {
  position: absolute;
  bottom: 0;
  width: 39px;
  height: 39px;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}

.loader__mark span:first-child {
  left: 2px;
}

.loader__mark span:last-child {
  right: 2px;
}

.loader p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font: 600 0.62rem/1 "Manrope", sans-serif;
  letter-spacing: 0.42em;
  animation: breathe 1.2s ease-in-out infinite alternate;
}

#particle-canvas,
.noise,
.grid,
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#particle-canvas {
  z-index: 1;
  opacity: 0.72;
}

.noise {
  z-index: 4;
  opacity: 0.025;
  background-image: repeating-radial-gradient(circle at 25% 30%, #fff 0 0.5px, transparent 0.7px 3px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

.grid {
  z-index: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(circle at 72% 48%, #000, transparent 63%);
  mask-image: radial-gradient(circle at 72% 48%, #000, transparent 63%);
  transform: perspective(700px) rotateX(58deg) scale(1.55) translateY(19%);
  transform-origin: center bottom;
}

.aurora {
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  will-change: transform;
}

.aurora--one {
  inset: 8% auto auto 47%;
  width: 44vw;
  height: 44vw;
  background: #0f65f2;
  animation: drift-one 13s ease-in-out infinite alternate;
}

.aurora--two {
  inset: auto auto -28% -10%;
  width: 45vw;
  height: 45vw;
  background: #1146a0;
  opacity: 0.14;
  animation: drift-two 16s ease-in-out infinite alternate;
}

.page-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vw, 3.75rem) clamp(1.4rem, 6vw, 7rem) 2rem;
  overflow: hidden;
}

.topbar,
.footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  width: clamp(126px, 10vw, 160px);
  transition: opacity 0.25s ease;
}

.brand:hover {
  opacity: 0.75;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.environment-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 1rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  backdrop-filter: blur(12px);
}

.environment-pill__pulse {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72e5ff;
  box-shadow: 0 0 14px #72e5ff;
}

.environment-pill__pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(114, 229, 255, 0.55);
  border-radius: inherit;
  animation: ping 2.3s ease-out infinite;
}

.hero {
  position: relative;
  z-index: 4;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  width: min(750px, 61vw);
  padding: clamp(5rem, 10vh, 8rem) 0 clamp(4rem, 8vh, 6rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.65rem;
  color: rgba(190, 211, 255, 0.68);
  font: 500 0.65rem/1 "Manrope", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

h1 {
  max-width: 820px;
  margin: 0;
  font: 500 clamp(3.4rem, 7.3vw, 7.6rem)/0.91 "Manrope", sans-serif;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #fff 4%, #87b5ff 52%, #67e1ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__copy {
  max-width: 590px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.13rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.35rem;
}

.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 218px;
  padding: 0.9rem 0.95rem 0.9rem 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.95);
  color: #082556;
  font: 600 0.84rem/1 "Manrope", sans-serif;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.primary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #dff8ff, #fff);
  transform: translateX(-102%);
  transition: transform 0.55s var(--ease);
}

.primary-button:hover::before {
  transform: translateX(0);
}

.primary-button:hover {
  box-shadow: 0 18px 55px rgba(85, 214, 255, 0.16);
}

.primary-button span {
  position: relative;
  z-index: 1;
}

.primary-button__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #092e6f;
  color: #fff;
  font-size: 1rem;
}

.access-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 240px;
  margin: 0;
  color: rgba(220, 230, 252, 0.52);
  font-size: 0.7rem;
  line-height: 1.45;
}

.access-note__icon {
  flex: 0 0 auto;
  width: 8px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

.access-note__icon::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: -5px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.footer {
  color: rgba(225, 234, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.footer p {
  margin: 0;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.footer__meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(116, 214, 255, 0.55);
}

.orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(-20rem, -10vw, -4rem);
  border: 1px solid rgba(140, 183, 255, 0.16);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.orbit--outer {
  width: min(53vw, 790px);
  aspect-ratio: 1;
  animation: rotate 32s linear infinite;
}

.orbit--inner {
  right: clamp(-10rem, -1vw, 3rem);
  width: min(38vw, 560px);
  aspect-ratio: 1;
  border-color: rgba(114, 229, 255, 0.09);
}

.orbit__dot {
  position: absolute;
  top: 16%;
  left: 16%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78e2ff;
  box-shadow: 0 0 20px #78e2ff;
}

.hero-mark {
  --mark-size: min(20vw, 290px);
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(3rem, 9vw, 11rem);
  width: calc(var(--mark-size) * 1.55);
  height: var(--mark-size);
  opacity: 0.8;
  filter: drop-shadow(0 0 45px rgba(69, 140, 255, 0.22));
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-mark span {
  position: absolute;
  bottom: 10%;
  width: 59%;
  aspect-ratio: 1;
  border-top: clamp(2px, 0.25vw, 4px) solid rgba(160, 199, 255, 0.68);
  border-left: clamp(2px, 0.25vw, 4px) solid rgba(160, 199, 255, 0.68);
  transform: rotate(45deg);
}

.hero-mark__left {
  left: 0;
  animation: mark-float-left 6s ease-in-out infinite alternate;
}

.hero-mark__right {
  right: 0;
  animation: mark-float-right 6s 0.8s ease-in-out infinite alternate;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
}

body.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

body.is-ready .reveal--one { transition-delay: 0.05s; }
body.is-ready .reveal--two { transition-delay: 0.16s; }
body.is-ready .reveal--three { transition-delay: 0.25s; }
body.is-ready .reveal--four { transition-delay: 0.38s; }
body.is-ready .reveal--five { transition-delay: 0.5s; }
body.is-ready .reveal--six { transition-delay: 0.62s; }

@keyframes breathe {
  to { opacity: 0.35; }
}

@keyframes ping {
  70%, 100% { opacity: 0; transform: scale(1.9); }
}

@keyframes rotate {
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes drift-one {
  to { transform: translate(6vw, 7vh) scale(1.12); }
}

@keyframes drift-two {
  to { transform: translate(9vw, -6vh) scale(0.9); }
}

@keyframes mark-float-left {
  to { transform: translate(5px, -9px) rotate(45deg); }
}

@keyframes mark-float-right {
  to { transform: translate(-5px, 8px) rotate(45deg); }
}

@media (max-width: 900px) {
  .page-shell {
    min-height: 100svh;
  }

  .hero {
    width: 92%;
  }

  .hero-mark {
    top: 55%;
    right: -5rem;
    opacity: 0.19;
    --mark-size: 250px;
  }

  .orbit {
    right: -19rem;
  }

  .orbit--outer {
    width: 650px;
  }

  .orbit--inner {
    width: 470px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 1.3rem 1.25rem 1.4rem;
  }

  .brand {
    width: 118px;
  }

  .environment-pill {
    padding: 0.55rem 0.78rem;
    font-size: 0.62rem;
  }

  .hero {
    width: 100%;
    padding: 6rem 0 4rem;
  }

  .eyebrow {
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.3rem;
    font-size: 0.56rem;
  }

  .eyebrow__line {
    width: 18px;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 5.2rem);
    white-space: normal;
  }

  .hero__copy {
    max-width: 94%;
    margin-top: 1.6rem;
    font-size: 0.94rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.9rem;
  }

  .primary-button {
    min-width: 212px;
  }

  .access-note {
    padding-left: 0.5rem;
  }

  .footer__meta {
    display: none;
  }

  .hero-mark {
    top: 45%;
    right: -8rem;
    --mark-size: 230px;
  }
}

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