:root {
  color-scheme: dark;
  --white: #f7f8fb;
  --muted: rgba(247, 248, 251, 0.72);
  --line: rgba(255, 255, 255, 0.24);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #07101f;
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  min-height: 100svh;
  padding: clamp(0.5rem, 1.2vw, 1rem);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100svh - clamp(1rem, 2.4vw, 2rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: clamp(1.1rem, 2vw, 2rem);
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 22, 72, 0.15) 0%,
      transparent 66%,
      rgba(6, 22, 72, 0.05) 100%
    ),
    linear-gradient(0deg, rgba(14, 31, 82, 0.09) 0%, transparent 42%),
    url("assets/zyncite-clouds-v3.png");
  background-position: center;
  background-size: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(118, 127, 206, 0.02) 56%,
      rgba(16, 39, 104, 0.07)
    ),
    radial-gradient(
      circle at 20% 17%,
      rgba(255, 255, 255, 0.08),
      transparent 34%
    );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.topbar {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 2.5vw, 2.25rem) var(--pad);
}

.brand {
  display: block;
  width: clamp(8.25rem, 13vw, 11.5rem);
  height: auto;
  filter: brightness(0) invert(1);
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  box-shadow:
    0 18px 45px rgba(17, 37, 98, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(112, 139, 220, 0.18);
}

.liquid-glass__effect,
.liquid-glass__tint,
.liquid-glass__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.liquid-glass__effect {
  z-index: 0;
  backdrop-filter: url(#glass-refraction) blur(9px) saturate(145%)
    brightness(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(145%) brightness(1.08);
}

.liquid-glass__tint {
  z-index: 1;
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(255, 255, 255, 0.31),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15),
      rgba(109, 140, 218, 0.08)
    );
}

.liquid-glass__shine {
  z-index: 2;
  box-shadow:
    inset 1.5px 1.5px 1px rgba(255, 255, 255, 0.66),
    inset -1px -1px 1px rgba(255, 255, 255, 0.16);
}

.liquid-glass__content {
  position: relative;
  z-index: 3;
}

.status {
  border-radius: 999px;
}

.status .liquid-glass__effect {
  clip-path: inset(0 round 999px);
  backdrop-filter: blur(14px) saturate(145%) brightness(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(145%) brightness(1.08);
}

.status .liquid-glass__content {
  display: flex;
  align-items: center;
  padding: 0.72rem 1.05rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__content {
  z-index: 4;
  align-self: center;
  padding: 3rem var(--pad) clamp(11rem, 23vh, 15rem);
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(4rem, 9.2vw, 9.5rem);
  font-weight: 540;
  letter-spacing: -0.073em;
  line-height: 0.82;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(18, 39, 91, 0.1);
}

.note {
  position: absolute;
  z-index: 10;
  right: var(--pad);
  bottom: clamp(4.5rem, 8vw, 6.5rem);
  width: min(31rem, calc(100% - (var(--pad) * 2)));
  border-radius: 1.55rem;
}

.note__content {
  padding: clamp(1.35rem, 2.6vw, 2.2rem);
}

.note__copy {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.glass-filter {
  position: absolute;
  width: 0;
  height: 0;
}

@media (max-width: 700px) {
  .hero {
    min-height: calc(100svh - 1rem);
    background-position: 58% center;
  }

  .brand {
    width: 7.2rem;
  }

  .status .liquid-glass__content {
    padding: 0.62rem 0.8rem;
    font-size: 0.57rem;
  }

  .hero__content {
    align-self: start;
    padding-top: clamp(6rem, 17vh, 9rem);
    padding-bottom: 18rem;
  }

  h1 {
    font-size: clamp(3.7rem, 17.5vw, 6rem);
    line-height: 0.88;
  }

  .note {
    bottom: 5.4rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: reveal 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero__content,
  .note {
    animation: rise 1s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .note {
    animation-delay: 0.3s;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}
