:root {
  color-scheme: dark;
  --bg: #06070d;
  --text: #f5f4ef;
  --muted: #c5c7d3;
}

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

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

body {
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(11, 23, 63, 0.9), transparent 44%),
    linear-gradient(180deg, #070811 0%, var(--bg) 68%);
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at 13% 22%, rgba(255, 255, 255, 0.30) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 13% 22%, rgba(240, 242, 167, 0.12) 0 3px, rgba(240, 242, 167, 0.05) 4px, transparent 8px),
    radial-gradient(circle at 24% 68%, rgba(255, 255, 255, 0.22) 0 1.2px, transparent 2px),
    radial-gradient(circle at 24% 68%, rgba(240, 242, 167, 0.12) 0 3px, rgba(240, 242, 167, 0.05) 4px, transparent 8px),
    radial-gradient(circle at 39% 14%, rgba(255, 244, 210, 0.26) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 39% 14%, rgba(240, 242, 167, 0.12) 0 3px, rgba(240, 242, 167, 0.05) 4px, transparent 8px),
    radial-gradient(circle at 61% 78%, rgba(255, 255, 255, 0.23) 0 1.3px, transparent 2.1px),
    radial-gradient(circle at 61% 78%, rgba(240, 242, 167, 0.12) 0 3px, rgba(240, 242, 167, 0.05) 4px, transparent 8px),
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.29) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 76% 20%, rgba(240, 242, 167, 0.12) 0 3px, rgba(240, 242, 167, 0.05) 4px, transparent 8px),
    radial-gradient(circle at 88% 61%, rgba(255, 244, 210, 0.22) 0 1.3px, transparent 2.1px),
    radial-gradient(circle at 88% 61%, rgba(240, 242, 167, 0.12) 0 3px, rgba(240, 242, 167, 0.05) 4px, transparent 8px),
    radial-gradient(
      ellipse 58% 24% at 38% 18%,
      rgba(6, 28, 115, 0.22),
      transparent 72%
    ),
    radial-gradient(
      ellipse 52% 22% at 64% 20%,
      rgba(151, 24, 158, 0.16),
      transparent 74%
    ),
    radial-gradient(
      ellipse 46% 32% at 42% 52%,
      rgba(6, 28, 115, 0.16),
      transparent 72%
    ),
    radial-gradient(
      ellipse 42% 30% at 61% 53%,
      rgba(151, 24, 158, 0.12),
      transparent 74%
    );
}

body::after {
  content: "";
  position: fixed;
  top: 18%;
  left: -180px;
  width: 150px;
  height: 2px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.92)
  );
  box-shadow: 0 0 6px rgba(240, 242, 167, 0.38);
  transform: rotate(7deg);
  animation: maintenance-shoot 12s ease-in 3s infinite;
}

@keyframes maintenance-shoot {
  0%,
  72%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(7deg);
  }

  75% {
    opacity: 0.72;
  }

  87% {
    opacity: 0.72;
  }

  91% {
    opacity: 0;
    transform: translate3d(122vw, 110px, 0) rotate(7deg);
  }
}

img {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.panel {
  width: min(100%, 760px);
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(3, 3, 7, 0.26);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.brand__mark {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-inline: auto;
}

.content {
  margin: 28px auto 0;
  max-width: 38rem;
  text-align: center;
}

h1 {
  margin: 0 auto;
  max-width: 680px;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
  white-space: normal;
}

.lead {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.55;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.closing {
  margin: 12px auto 0;
  max-width: 900px;
  color: var(--muted);
  font-size: inherit;
  line-height: 1.55;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 640px) {
  body::before {
    opacity: 0.52;
  }

  body::after {
    display: none;
  }

  .brand__mark {
    max-width: 300px;
  }

  h1 {
    max-width: 100%;
    font-size: 27px;
    line-height: 1.08;
    white-space: normal;
  }

  .lead {
    font-size: 18px;
    line-height: 1.55;
    max-width: 100%;
  }

  .closing {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.55;
    white-space: normal;
  }

  .page {
    padding: 16px;
  }

  .panel {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .content {
    margin-top: 26px;
  }
}

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

  body::after {
    display: none;
    animation: none;
  }
}
