:root {
  --background: #07141d;
  --foreground: #edf5fa;
  --muted: #9bb0c0;
  --muted-strong: #cad7e1;
  --line: rgba(173, 201, 226, 0.16);
  --surface-strong: rgba(10, 24, 37, 0.52);
  --surface-soft: rgba(244, 248, 251, 0.08);
  --cobalt: #63b8ff;
  --cobalt-deep: #4c83ff;
  --amber: #d6a85f;
  --emerald: #19c58f;
  --shadow-soft: 0 30px 90px rgba(1, 9, 17, 0.34);
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg-glow: radial-gradient(
    circle at 50% -18%,
    rgba(76, 131, 255, 0.22) 0%,
    rgba(76, 131, 255, 0.08) 32%,
    transparent 62%
  );
  --bg-base: linear-gradient(
    180deg,
    rgba(7, 20, 29, 0.96) 0%,
    rgba(8, 22, 34, 0.92) 42%,
    rgba(7, 20, 29, 0.98) 100%
  );
}

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

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  background-color: var(--background);
  background-image: var(--bg-glow), var(--bg-base);
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--foreground);
  color: var(--background);
  transition: top 160ms ease;
}

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

.page-shell {
  --shell-pad: clamp(0.9rem, 1.8vw, 1.5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background-color: var(--background);
}

.page-shell::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 24%, transparent 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.02), transparent 34%);
}

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.hero-atmosphere {
  position: absolute;
  inset: -18% -14%;
  z-index: 0;
  pointer-events: none;
}

.hero-blob,
.hero-haze {
  position: absolute;
  display: block;
  border-radius: 999px;
  transform: translateZ(0);
}

.hero-blob.is-cobalt {
  top: -22%;
  left: 50%;
  width: min(88vw, 1240px);
  height: min(78vw, 980px);
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(76, 131, 255, 0.42) 0%, rgba(76, 131, 255, 0.24) 28%, rgba(76, 131, 255, 0.08) 52%, rgba(76, 131, 255, 0.03) 66%, transparent 80%);
  filter: blur(72px) saturate(122%);
}

.hero-haze {
  left: 50%;
  bottom: -20%;
  width: min(104vw, 1480px);
  height: min(56vw, 700px);
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(76, 131, 255, 0.22) 0%, rgba(76, 131, 255, 0.1) 34%, rgba(214, 168, 95, 0.05) 48%, transparent 76%);
  filter: blur(96px) saturate(108%);
}

.hero-noise {
  position: relative;
  z-index: 3;
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image:
    linear-gradient(rgba(234, 243, 248, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 243, 248, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 78%);
}

.page-main {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding-left: calc(var(--shell-pad) + env(safe-area-inset-left));
  padding-right: calc(var(--shell-pad) + env(safe-area-inset-right));
}

.page-content {
  position: relative;
  display: grid;
  justify-items: center;
  flex: 1;
  width: 100%;
  max-width: 62rem;
  min-width: 0;
  text-align: center;
  gap: 0;
  padding-top: clamp(3.8rem, 8.4vh, 6rem);
  padding-bottom: 0;
}

.brand-mark {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(106px, 12.6vw, 156px);
  transform: translate(-50%, -58%);
  pointer-events: none;
}

.brand-block {
  display: grid;
  justify-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.brand-mark img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
}

.brand-name,
.brand-tagline,
.body-copy,
.site-footer p {
  min-width: 0;
  margin: 0;
}

.brand-name {
  margin-top: clamp(1.25rem, 2.9vh, 2.3rem);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.04;
  max-width: 100%;
  margin-inline: auto;
}

.brand-tagline {
  margin-top: 0.45rem;
  color: var(--muted);
  width: 100%;
  max-width: 32rem;
  font-size: clamp(15px, 1.55vw, 18px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  opacity: 0.72;
  margin-inline: auto;
  overflow-wrap: anywhere;
  white-space: normal;
}

.hero-copy {
  display: grid;
  justify-items: stretch;
  margin-top: clamp(1.65rem, 3.8vh, 2.6rem);
  width: 100%;
  min-width: 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: rgba(219, 233, 244, 0.72);
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
}

.headline-line {
  display: block;
}

.headline-line:first-child {
  white-space: nowrap;
}

.shimmer-divider {
  position: relative;
  margin: clamp(1.6rem, 3.4vh, 2.3rem) 0 clamp(1.25rem, 2.9vh, 1.85rem);
  margin-inline: auto;
  width: min(92vw, 760px);
  height: 1px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(99, 184, 255, 0) 0%,
    rgba(99, 184, 255, 0.16) 16%,
    rgba(99, 184, 255, 0.8) 50%,
    rgba(99, 184, 255, 0.16) 84%,
    rgba(99, 184, 255, 0) 100%
  );
  box-shadow: 0 0 14px rgba(99, 184, 255, 0.18);
}

.shimmer-divider span {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.08) 70%,
    transparent 100%
  );
  transform: translateX(-100%);
}

.body-copy {
  width: 100%;
  max-width: 52rem;
  color: rgba(214, 229, 241, 0.62);
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-inline: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.body-copy strong {
  color: rgba(237, 245, 250, 0.9);
  font-weight: 600;
}

.body-copy + .body-copy {
  margin-top: 0.85rem;
}

.body-copy a {
  color: rgba(237, 245, 250, 0.92);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-decoration: none;
}

.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: auto;
  min-height: clamp(4.25rem, 10vh, 6.25rem);
  padding-top: 0;
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: calc(var(--shell-pad) + env(safe-area-inset-left));
  padding-right: calc(var(--shell-pad) + env(safe-area-inset-right));
  border-top: 1px solid var(--line);
}

.site-footer p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: center;
  opacity: 0.7;
}

@media (max-width: 640px) {
  :root {
    --bg-glow: radial-gradient(
      circle at 50% -8%,
      rgba(76, 131, 255, 0.3) 0%,
      rgba(76, 131, 255, 0.12) 36%,
      transparent 72%
    );
  }

  .page-shell {
    --shell-pad: 1rem;
  }

  .page-content {
    padding-top: clamp(4.2rem, 8.4vh, 6rem);
  }

  .brand-mark {
    width: clamp(94px, 26.5vw, 126px);
    transform: translate(-50%, -54%);
  }

  .brand-name {
    margin-top: clamp(1rem, 2.2vh, 1.6rem);
    letter-spacing: -0.018em;
  }

  .hero-copy {
    margin-top: 1.8rem;
  }

  .hero-copy h1 {
    letter-spacing: -0.03em;
    max-width: 100%;
  }

  .site-footer {
    min-height: clamp(3.9rem, 9vh, 4.9rem);
    padding-top: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .body-copy {
    max-width: 26rem;
  }

  .hero-atmosphere {
    inset: -12% -16%;
  }

  .hero-blob.is-cobalt {
    top: -12%;
    width: 116vw;
    height: 106vw;
    filter: blur(60px) saturate(132%);
  }

  .hero-haze {
    bottom: -6%;
    width: 120vw;
    height: 72vw;
    filter: blur(88px) saturate(116%);
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .page-main {
    align-items: flex-end;
    padding-bottom: clamp(0.7rem, 2.1vh, 1.6rem);
  }

  .page-content {
    padding-top: clamp(2.8rem, 5.4vh, 4.2rem);
  }

  .brand-mark {
    width: clamp(116px, 15.5vw, 168px);
    transform: translate(-50%, -64%);
  }

  .hero-copy {
    margin-top: clamp(1rem, 2.1vh, 1.55rem);
  }

  .site-footer {
    min-height: clamp(3.85rem, 8vh, 5rem);
  }
}

@media (min-width: 641px) and (max-width: 1024px) and (min-height: 1100px) {
  .page-main {
    align-items: center;
    padding-bottom: 0;
  }

  .page-content {
    padding-top: clamp(2.2rem, 4vh, 3.4rem);
  }

  .brand-mark {
    transform: translate(-50%, -68%);
  }
}

@media (max-height: 680px) {
  .page-content {
    padding-top: clamp(4.65rem, 9vh, 6.7rem);
  }

  .brand-mark {
    width: clamp(96px, 11.5vw, 140px);
    transform: translate(-50%, -62%);
  }

  .hero-copy {
    margin-top: 1.45rem;
  }

  .shimmer-divider {
    margin: 1.35rem 0 1.1rem;
  }

  .site-footer {
    min-height: 3.2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .shimmer-divider span {
    animation: shimmer-sweep 3.8s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes shimmer-sweep {
  0% {
    transform: translateX(-100%);
  }

  55% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
}
