:root {
  --ink: #f4f8ff;
  --muted: #9ca7ba;
  --cyan: #62e5ff;
  --violet: #9e79ff;
  --red: #ff5878;
  --night: #05060a;
  --mx: 50%;
  --my: 48%;
  --shift-x: 0px;
  --shift-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--night);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--night);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.scene,
.scene > div {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scene {
  overflow: hidden;
  background: #020307;
}

.scene__image {
  inset: -3% !important;
  background-image: url("/assets/cenebaz-signal.jpg");
  background-position: center 48%;
  background-size: cover;
  filter: saturate(.88) contrast(1.08) brightness(.76);
  transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(1.04);
  animation: awaken 14s ease-in-out infinite alternate;
  will-change: transform;
}

.scene__veil {
  background:
    linear-gradient(90deg, rgba(2, 3, 7, .82) 0%, rgba(2, 3, 7, .34) 34%, rgba(2, 3, 7, .24) 62%, rgba(2, 3, 7, .78) 100%),
    linear-gradient(180deg, rgba(3, 4, 8, .42), rgba(3, 4, 8, .08) 47%, rgba(3, 4, 8, .78));
}

.scene__grid {
  opacity: .09;
  background-image:
    linear-gradient(rgba(126, 229, 255, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 229, 255, .14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 54%, black 100%);
}

.scene__scan {
  height: 26vh;
  inset: -30vh 0 auto !important;
  background: linear-gradient(to bottom, transparent, rgba(98, 229, 255, .035), transparent);
  animation: scan 10s linear infinite;
}

.scene__noise {
  opacity: .055;
  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='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.scene__glow {
  background: radial-gradient(circle 22rem at var(--mx) var(--my), rgba(98, 229, 255, .07), transparent 72%);
  transition: background .15s linear;
}

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1600px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2.9rem) clamp(1.25rem, 5vw, 5.5rem) clamp(1.35rem, 3.4vw, 3.5rem);
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.topbar {
  opacity: 0;
  animation: rise .7s .05s ease-out forwards;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  box-shadow: inset 0 0 1.1rem rgba(98, 229, 255, .08), 0 0 1.6rem rgba(98, 229, 255, .06);
}

.brand__mark::before {
  width: .83rem;
  height: .83rem;
  border: 2px solid var(--cyan);
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(22deg);
}

.brand__mark i {
  position: absolute;
  top: .36rem;
  right: .34rem;
  width: .23rem;
  height: .23rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 .75rem var(--red);
}

.brand__name {
  font-size: .96rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.system-status {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #c4ccda;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.system-status__dot {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 .28rem rgba(98, 229, 255, .08), 0 0 .85rem rgba(98, 229, 255, .78);
  animation: pulse 2.1s ease-in-out infinite;
}

.hero {
  align-self: center;
  width: min(46rem, 70vw);
  margin-top: 1rem;
  padding: 4rem 0 3rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.15rem;
  color: #d5dce8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise .7s .18s ease-out forwards;
}

.eyebrow b {
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(98, 229, 255, .08));
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.8rem, 8.2vw, 8.5rem);
  font-weight: 760;
  letter-spacing: -.075em;
  line-height: .82;
  text-wrap: balance;
  text-transform: uppercase;
  text-shadow: 0 .12rem 1.8rem rgba(0, 0, 0, .46);
  opacity: 0;
  animation: rise .85s .28s cubic-bezier(.2, .75, .25, 1) forwards;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(229, 241, 255, .78);
  text-shadow: 0 0 2rem rgba(98, 229, 255, .08);
}

.intro {
  max-width: 39rem;
  margin: clamp(1.7rem, 4vh, 2.8rem) 0 0;
  color: #c0c9d7;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
  text-wrap: pretty;
  opacity: 0;
  animation: rise .75s .42s ease-out forwards;
}

.launch-line {
  display: grid;
  grid-template-columns: auto minmax(5rem, 13rem) auto;
  align-items: center;
  gap: .9rem;
  width: min(100%, 29rem);
  margin-top: clamp(1.8rem, 4.4vh, 3rem);
  color: #eef8ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise .75s .54s ease-out forwards;
}

.launch-line__track {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .22);
}

.launch-line__track i {
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  box-shadow: 0 0 .75rem var(--cyan);
  animation: transmit 2.6s ease-in-out infinite;
}

.launch-line__code {
  color: #8995a8;
}

.footer {
  align-self: end;
  color: #8f9bad;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise .7s .7s ease-out forwards;
}

.manifest {
  margin: 0;
}

.manifest span {
  margin: 0 .55rem;
  color: rgba(98, 229, 255, .54);
}

.legacy {
  margin: 0;
  color: #d3dae5;
  font-weight: 650;
}

@keyframes awaken {
  from { transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(1.035); }
  to { transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(1.075); }
}

@keyframes scan {
  to { transform: translateY(150vh); }
}

@keyframes pulse {
  50% { opacity: .48; box-shadow: 0 0 0 .42rem rgba(98, 229, 255, 0), 0 0 .35rem rgba(98, 229, 255, .5); }
}

@keyframes transmit {
  0% { left: -42%; }
  65%, 100% { left: 105%; }
}

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

@media (max-width: 800px) {
  .scene__image {
    background-position: 57% 48%;
  }

  .scene__veil {
    background: linear-gradient(180deg, rgba(2, 3, 7, .56), rgba(2, 3, 7, .26) 35%, rgba(2, 3, 7, .75) 100%);
  }

  .hero {
    width: min(100%, 38rem);
  }

  .footer {
    align-items: flex-end;
  }

  .manifest {
    max-width: 28rem;
    line-height: 1.8;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 1.25rem 1.2rem 1.35rem;
  }

  .system-status span:last-child {
    white-space: nowrap;
    font-size: .64rem;
    letter-spacing: .08em;
    text-align: right;
  }

  .hero {
    align-self: end;
    margin: 0 0 2.5vh;
    padding: 5.5rem 0 2.2rem;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.7rem);
  }

  .intro {
    max-width: 31rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .launch-line {
    grid-template-columns: auto 1fr;
  }

  .launch-line__code {
    display: none;
  }

  .footer {
    display: block;
  }

  .manifest {
    display: none;
  }

  .legacy {
    font-size: .68rem;
  }
}

@media (max-height: 670px) and (min-width: 561px) {
  .hero {
    padding: 2.4rem 0 1.6rem;
  }

  h1 {
    font-size: clamp(3.5rem, 11vh, 6rem);
  }

  .intro {
    margin-top: 1.5rem;
    line-height: 1.55;
  }

  .launch-line {
    margin-top: 1.5rem;
  }
}

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

  .scene__image {
    transform: scale(1.04);
  }
}
