:root {
  --ink: #ffffff;
  --dim: rgba(255, 255, 255, 0.56);
  --faint: rgba(255, 255, 255, 0.3);
  --ghost: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #bcd6ff;
  --mono:
    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans:
    "Helvetica Neue", Helvetica, Inter, system-ui, -apple-system, "Segoe UI",
    Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  min-height: 100%;
}
body {
  background: #000;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection {
  background: #fff;
  color: #000;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- background layers ---------- */
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.aurora {
  position: fixed;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.6;
}
.aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.a1 {
  width: 52vw;
  height: 52vw;
  left: 4%;
  top: 12%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(90, 150, 255, 0.38),
    transparent 62%
  );
  animation: drift1 26s ease-in-out infinite;
}
.a2 {
  width: 46vw;
  height: 46vw;
  right: 2%;
  top: 24%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(150, 110, 255, 0.3),
    transparent 62%
  );
  animation: drift2 34s ease-in-out infinite;
}
.a3 {
  width: 60vw;
  height: 38vw;
  left: 22%;
  bottom: -8%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(60, 220, 220, 0.2),
    transparent 65%
  );
  animation: drift3 42s ease-in-out infinite;
}
@keyframes drift1 {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(6vw, -4vh, 0) scale(1.14);
  }
}
@keyframes drift2 {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.05);
  }
  50% {
    transform: translate3d(-7vw, 5vh, 0) scale(0.92);
  }
}
@keyframes drift3 {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4vw, -6vh, 0) scale(1.1);
  }
}
.scrim {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 60% 46% at 50% 46%,
      rgba(0, 0, 0, 0.84) 0%,
      rgba(0, 0, 0, 0.4) 48%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 95% 85% at 50% 50%,
      transparent 40%,
      rgba(0, 0, 0, 0.6) 88%,
      rgba(0, 0, 0, 0.92) 100%
    );
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.6'/></svg>");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-3%, 2%);
  }
  40% {
    transform: translate(2%, -3%);
  }
  60% {
    transform: translate(-2%, -2%);
  }
  80% {
    transform: translate(3%, 1%);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* ---------- chrome ---------- */
.topbar,
.botbar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 3vh, 30px) clamp(20px, 4vw, 20px);
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards;
}
.topbar {
  top: 0;
  padding-top: 0;
}
.botbar {
  bottom: 0;
  animation-delay: 1.6s;
}
.topbar__mark {
  font-family: var(--mono);
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 500;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  color: var(--dim);
}

/* ---------- centre lockup ---------- */
.stage {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(920px, 92vw);
}

.logo {
  width: clamp(180px, 34vw, 240px);
  height: auto;
  display: block;
  opacity: 0;
  animation:
    rise 1.15s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s forwards,
    breathe 6.5s ease-in-out 1.6s infinite;
}

.tagline {
  font-size: clamp(21px, 3.5vw, 48px);
  line-height: 1.24;
  font-weight: 200;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 25ch;
  text-wrap: balance;
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.75s forwards;
  font-family: var(--mono);
  margin-top: 64px;
}

.builtby {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 72px;
  padding: 0.5em 1em 0.5em 0.95em;
  border: 1px solid var(--ghost);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  transition:
    color 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.95s forwards;
}
.builtby img {
  height: 1.35em;
  width: auto;
  opacity: 0.72;
  transition: opacity 0.28s ease;
}
.builtby__dom {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.28s ease;
}
.builtby:hover {
  color: var(--dim);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}
.builtby:hover img {
  opacity: 1;
}
.builtby:hover .builtby__dom {
  color: #fff;
}

/* ---------- metrics ---------- */
.stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(22px, 4.4vw, 52px);
  margin-top: clamp(34px, 6vh, 62px);
  padding-top: clamp(22px, 3.4vh, 32px);
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 1.2s forwards;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55em;
  min-width: 0;
}
.stats__rule {
  width: 1px;
  align-self: center;
  height: 2.6em;
  background: linear-gradient(
    180deg,
    transparent,
    var(--ghost) 40%,
    var(--ghost) 60%,
    transparent
  );
}
.stats__item dt {
  font-family: var(--mono);
  font-size: clamp(8px, 0.85vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.stats__period {
  display: block;
  margin-top: 0.35em;
  font-size: clamp(8px, 0.85vw, 10px);
  letter-spacing: 0.1em;
  color: var(--faint);
  opacity: 0.6;
}
.stats__item dd {
  font-family: var(--mono);
  font-size: clamp(19px, 2.5vw, 32px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stats__item .unit {
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-left: 0.45em;
}

.powered {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: clamp(28px, 4.6vh, 46px);
  font-family: var(--mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 1.45s forwards;
}
.powered strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.2em;
}

/* ---------- footer ---------- */
.social {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: clamp(9px, 0.95vw, 11px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.social a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
.social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: none;
}
.copy {
  font-family: var(--mono);
  font-size: clamp(8px, 0.9vw, 10px);
  letter-spacing: 0.12em;
  color: var(--dim);
}

/* ---------- motion ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.94;
  }
  50% {
    opacity: 1;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .stats {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: clamp(8px, 3vw, 20px);
  }
  .stats__item {
    gap: 0.3em;
  }
  .stats__item dt {
    white-space: normal;
    text-align: center;
    font-size: 8px;
  }
  .stats__item dd {
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .topbar,
  .botbar {
    position: static;
    padding: 18px;
  }
  .botbar {
    flex-direction: column-reverse;
    gap: 14px;
    text-align: center;
  }
  .stage {
    min-height: 0;
    padding: 40px 20px 32px;
  }
  .tagline {
    margin-top: clamp(18px, 3.4vh, 34px);
    max-width: 15ch;
  }
  .builtby {
    margin-top: 24px;
  }
  body {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
  }
  .stage {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .topbar,
  .botbar,
  .logo,
  .tagline,
  .builtby,
  .stats,
  .powered {
    opacity: 1 !important;
  }
}
