:root {
  --bg: #03152d;
  --bg-deep: #010c1b;
  --bg-soft: #0a2d59;
  --surface: rgba(8, 31, 62, 0.62);
  --surface-strong: rgba(10, 37, 72, 0.82);
  --line: rgba(186, 220, 255, 0.18);
  --text: #eff7ff;
  --text-soft: rgba(239, 247, 255, 0.78);
  --text-mute: rgba(239, 247, 255, 0.58);
  --accent: #4db6ff;
  --accent-2: #86d4ff;
  --accent-3: #1d7be6;
  --shadow: 0 30px 90px rgba(0, 8, 20, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --display: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--sans);
  background:
    radial-gradient(circle at 20% 20%, rgba(81, 181, 255, 0.24), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(29, 123, 230, 0.34), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(10, 77, 168, 0.3), transparent 34%),
    linear-gradient(145deg, var(--bg-deep) 0%, var(--bg) 46%, #07234a 100%);
  color: var(--text);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p {
  text-wrap: pretty;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6.8vw, 5.95rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
  max-width: 9.4ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 span {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-deep);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: clip;
}

.ambient,
.grid-glow {
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.ambient-a,
.ambient-b {
  width: 52rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.85;
  animation: drift 14s var(--ease-soft) infinite alternate;
}

.ambient-a {
  top: -14rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(92, 203, 255, 0.5) 0%, rgba(92, 203, 255, 0) 68%);
}

.ambient-b {
  right: -12rem;
  bottom: -14rem;
  background: radial-gradient(circle, rgba(23, 94, 204, 0.5) 0%, rgba(23, 94, 204, 0) 65%);
  animation-duration: 18s;
}

.grid-glow {
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 210, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 210, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 85%);
  opacity: 0.45;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.brand-chip,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 23, 45, 0.36);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: var(--text-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-chip {
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.status-chip::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(77, 182, 255, 0.9);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 5.5rem);
  min-height: calc(100svh - 5.5rem);
  padding: 1.5rem 1rem 2rem;
}

.hero-card {
  position: relative;
  display: grid;
  gap: 2rem;
  width: min(1220px, 100%);
  padding: clamp(1.4rem, 2vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(140deg, rgba(8, 31, 62, 0.78), rgba(6, 22, 43, 0.62));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(134, 212, 255, 0.18), transparent 22%),
    radial-gradient(circle at bottom left, rgba(29, 123, 230, 0.18), transparent 26%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--spot-x, 78%) var(--spot-y, 22%),
    rgba(134, 212, 255, 0.18),
    transparent 28%
  );
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 1.1rem;
  min-width: 0;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.lead {
  max-width: 31rem;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.meta-row {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.meta-block {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(173, 218, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.meta-link {
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    background 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.meta-link:hover,
.meta-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(134, 212, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 8, 20, 0.24);
}

.meta-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.meta-block strong {
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding-inline: 1rem;
}

.logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(173, 218, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(7, 23, 45, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 60px rgba(0, 8, 20, 0.45);
}

.brand-logo {
  width: min(100%, 280px);
  object-fit: contain;
  filter: drop-shadow(0 22px 50px rgba(0, 10, 26, 0.45));
  animation: floatLogo 6s var(--ease-soft) infinite;
}

.logo-orbit {
  position: absolute;
  width: min(100%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(134, 212, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(9, 54, 112, 0.2) inset,
    0 0 60px rgba(77, 182, 255, 0.12);
}

.logo-orbit::before,
.logo-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.logo-orbit::before {
  inset: 12%;
  border: 1px solid rgba(77, 182, 255, 0.18);
  animation: spin 16s linear infinite;
}

.logo-orbit::after {
  top: 14%;
  right: 18%;
  width: 1rem;
  height: 1rem;
  background: radial-gradient(circle, rgba(134, 212, 255, 0.98), rgba(134, 212, 255, 0.1));
  box-shadow: 0 0 30px rgba(134, 212, 255, 0.9);
  animation: orbitPulse 4.5s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-split] {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .meta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .hero-card {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
    align-items: center;
    min-height: min(760px, calc(100svh - 8rem));
    padding: 2.5rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-copy {
    padding: 0.5rem 0 0.5rem 0.35rem;
  }

  h1 {
    max-width: 9.8ch;
  }

  .meta-row {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    max-width: 38rem;
  }

  .logo-frame {
    width: min(100%, 440px);
  }

  .brand-logo {
    width: min(100%, 300px);
  }
}

@media (min-width: 1200px) {
  .hero-card {
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.86fr);
  }

  h1 {
    font-size: clamp(4.7rem, 6vw, 6rem);
    max-width: 10ch;
  }

  .lead {
    max-width: 33rem;
  }
}

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

  .brand-chip,
  .status-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero {
    padding-inline: 0.75rem;
  }

  .hero-card {
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 9.2ch;
  }

  .eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .meta-row {
    gap: 0.85rem;
  }

  .meta-block {
    padding: 0.95rem 1rem;
  }

  .meta-label {
    font-size: 0.74rem;
  }

  .hero-visual {
    min-height: 260px;
  }

  .logo-frame {
    width: min(100%, 320px);
    border-radius: 26px;
  }

  .brand-logo {
    width: min(100%, 220px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient-a,
  .ambient-b {
    animation-duration: 24s;
  }

  .logo-orbit::before {
    animation-duration: 28s;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(3%, 2%, 0) scale(1.12);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}
