:root {
  color-scheme: dark;
  --navy: #0a1628;
  --blue: #5b9ac8;
  --blue-soft: #9fc6e4;
  --lime: #b2d660;
  --text: #f6f8fb;
  --muted: #b9c8d8;
  --line: rgb(255 255 255 / 15%);
}

* { box-sizing: border-box; }

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

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  transition: opacity .4s ease;
}

.page.is-ready { opacity: 1; }

.page::before,
.page::after {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  filter: blur(10px);
}

.page::before {
  top: -22rem;
  right: -15rem;
  width: min(58vw, 45rem);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(91 154 200 / 42%), rgb(91 154 200 / 13%) 42%, transparent 70%);
  animation: drift-blue 16s ease-in-out infinite alternate;
}

.page::after {
  bottom: -22rem;
  left: -19rem;
  width: min(50vw, 40rem);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(178 214 96 / 23%), rgb(178 214 96 / 7%) 42%, transparent 70%);
  animation: drift-lime 20s ease-in-out infinite alternate;
}

::selection { background: var(--lime); color: var(--navy); }

.header,
main,
footer { width: min(100%, 67rem); margin: 0 auto; }

.header {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: rgb(255 255 255 / 5%);
}

.brand-mark img { display: block; width: 2.3rem; height: auto; }

.header::after {
  flex: 1;
  min-width: 2rem;
  height: 1px;
  margin-left: auto;
  background: linear-gradient(90deg, transparent, rgb(91 154 200 / 50%), rgb(178 214 96 / 75%), transparent);
  background-size: 220% 100%;
  content: "";
  animation: light-sweep 5.5s linear infinite;
}

.brand-name {
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

main {
  display: grid;
  align-content: center;
  min-height: 31rem;
  padding: clamp(4rem, 12vh, 8rem) 0;
}

.status {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.4rem;
  color: var(--blue-soft);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status::before {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 .42rem rgb(178 214 96 / 13%);
  content: "";
  animation: status-glow 2.8s ease-in-out infinite;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 8.8vw, 7rem);
  font-weight: 780;
  letter-spacing: -.065em;
  line-height: .92;
}

h1 span { color: var(--lime); }

.message {
  max-width: 36rem;
  margin: 1.9rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.7;
}

footer {
  display: grid;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
}

details { padding-bottom: 1.35rem; }
summary { width: fit-content; cursor: pointer; }
summary:focus-visible { outline: 2px solid var(--lime); outline-offset: .3rem; }
.company-data { max-width: 62rem; margin: .8rem 0 0; }
.company-data p { margin: .35rem 0; }

@keyframes drift-blue {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-7vw, 8vh, 0) scale(1.16); }
}

@keyframes drift-lime {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(9vw, -8vh, 0) scale(1.12); }
}

@keyframes light-sweep {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

@keyframes status-glow {
  0%, 100% { box-shadow: 0 0 0 .42rem rgb(178 214 96 / 10%); }
  50% { box-shadow: 0 0 0 .72rem rgb(178 214 96 / 20%); }
}

@media (max-width: 40rem) {
  .page { padding: 1.5rem; }
  .header { padding-bottom: 1.1rem; }
  .brand-name { font-size: .8rem; }
  .brand-mark { width: 2.8rem; height: 2.8rem; }
  .brand-mark img { width: 2rem; }
  main { min-height: 29rem; padding: 4.5rem 0; }
  h1 { max-width: 10ch; }
}

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