:root {
  color-scheme: dark;
  --bg: #05040a;
  --panel: rgba(18, 10, 28, 0.78);
  --panel-strong: rgba(23, 13, 36, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #fff7fb;
  --muted: #c9b8d7;
  --pink: #ff2d9a;
  --orange: #ffb11f;
  --cyan: #35c7ff;
}

* {
  box-sizing: border-box;
}

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

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

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 27% 23%, rgba(255, 45, 154, 0.35), transparent 30%),
    radial-gradient(circle at 74% 28%, rgba(53, 199, 255, 0.22), transparent 28%),
    radial-gradient(circle at 48% 82%, rgba(255, 177, 31, 0.16), transparent 34%),
    linear-gradient(135deg, #06040b 0%, #12071e 46%, #030914 100%);
}

.grid {
  position: absolute;
  inset: -20%;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(520px) rotateX(62deg) translateY(12%);
  animation: drift 18s linear infinite;
}

.beam {
  position: absolute;
  width: 54vw;
  height: 2px;
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.75;
  transform: rotate(-18deg);
  animation: sweep 7s ease-in-out infinite;
}

.beam-one {
  left: -10vw;
  top: 22vh;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}

.beam-two {
  right: -12vw;
  top: 56vh;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation-delay: -2.4s;
}

.beam-three {
  left: 18vw;
  bottom: 18vh;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation-delay: -4s;
}

.topbar {
  width: min(1160px, calc(100% - 40px));
  margin: 22px auto 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  background: rgba(7, 5, 14, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 900;
}

.nav-button,
.primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #12030d;
  box-shadow: 0 0 32px rgba(255, 45, 154, 0.28);
}

.secondary {
  border: 1px solid rgba(53, 199, 255, 0.42);
  background: rgba(53, 199, 255, 0.09);
  color: #e8f8ff;
}

main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 54px;
  padding: 52px 0 42px;
}

.subpage {
  min-height: calc(100vh - 170px);
}

.compact-hero {
  min-height: 520px;
}

.status-hero {
  padding: 92px 0 46px;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 124px);
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow:
    0 0 28px rgba(255, 45, 154, 0.38),
    0 0 58px rgba(53, 199, 255, 0.14);
}

.lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.24;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 45, 154, 0.12), rgba(53, 199, 255, 0.08)),
    rgba(10, 5, 17, 0.62);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.04), 0 30px 90px rgba(0, 0, 0, 0.42);
}

.hero-mark img {
  width: min(76%, 420px);
  filter: drop-shadow(0 0 34px rgba(255, 45, 154, 0.35));
  animation: pulse 4.8s ease-in-out infinite;
}

.status-strip,
.content-grid,
.release-note {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.status-strip div {
  padding: 18px 20px;
  display: grid;
  gap: 4px;
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip span:last-child {
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  background: #42f5b3;
  box-shadow: 0 0 16px rgba(66, 245, 179, 0.8);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.service-strip {
  margin-top: -18px;
}

article {
  padding: 26px;
  min-height: 210px;
  border-right: 1px solid var(--line);
}

article:last-child {
  border-right: 0;
}

.number {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

h2 {
  margin: 12px 0 12px;
  font-size: 30px;
  letter-spacing: 0;
}

article p,
.release-note p {
  color: var(--muted);
  line-height: 1.55;
}

.release-note {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin-bottom: 30px;
}

footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 247, 251, 0.58);
  font-size: 13px;
}

@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}

@keyframes sweep {
  0%, 100% { transform: translateX(-6%) rotate(-18deg); opacity: 0.2; }
  50% { transform: translateX(12%) rotate(-18deg); opacity: 0.82; }
}

@keyframes pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

@media (max-width: 820px) {
  .topbar,
  main,
  footer {
    width: min(100% - 24px, 1160px);
  }

  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .compact-hero {
    min-height: auto;
  }

  .status-hero {
    padding-top: 54px;
  }

  .hero-mark {
    max-width: 430px;
    margin: 0 auto;
  }

  .status-strip,
  .content-grid,
  .service-grid,
  .release-note {
    grid-template-columns: 1fr;
  }

  .status-strip div,
  article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-strip div:last-child,
  article:last-child {
    border-bottom: 0;
  }
}
