.system-state-page {
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px;
  display: grid;
  place-items: center;
  color: #f6f8ff;
  background:
    radial-gradient(circle at 18% 16%, #76b7ff24, transparent 34%),
    radial-gradient(circle at 82% 78%, #9b72d720, transparent 38%),
    #05070b;
  font-family: var(--font-geist-sans), Arial, sans-serif;
}

.system-state-page::before {
  width: min(760px, 86vw);
  aspect-ratio: 1;
  position: absolute;
  z-index: -1;
  border: 1px solid #a7caff12;
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 72px #a7caff08,
    0 0 0 146px #9b8cff05;
}

.system-state-card {
  width: min(100%, 610px);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid #ffffff1a;
  border-radius: 26px;
  background: #0c111ade;
  box-shadow: 0 32px 90px #0009;
  backdrop-filter: blur(22px);
}

.system-state-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.system-state-brand img {
  display: block;
  width: 112px;
  height: 31px;
}

.system-state-eyebrow {
  margin: clamp(38px, 7vw, 62px) 0 10px;
  color: #9fc8ff;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 1.7px;
}

.system-state-card h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 0.98;
  letter-spacing: var(--title-letter-spacing);
}

.system-state-copy {
  max-width: 480px;
  margin: 18px 0 0;
  color: #a5adbd;
  font-size: 14px;
  line-height: 1.65;
}

.system-state-error {
  margin: 16px 0 0;
  color: #ffb9b9;
  font-size: 14px;
  line-height: 1.5;
}

.system-state-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.system-state-actions a,
.system-state-actions button {
  min-height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  color: #d6deeb;
  background: #ffffff05;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    background-color 150ms ease;
}

.system-state-actions .system-state-primary {
  border-color: transparent;
  color: #07101a;
  background: #eef4ff;
}

.system-state-actions a:hover,
.system-state-actions button:hover {
  border-color: #ffffff33;
  color: #ffffff;
  background: #ffffff0a;
}

.system-state-actions .system-state-primary:hover {
  color: #07101a;
  background: #ffffff;
}

.system-state-actions a:focus-visible,
.system-state-actions button:focus-visible,
.system-state-brand:focus-visible {
  outline: 2px solid #84b9ff;
  outline-offset: 3px;
}

.system-state-global-body {
  min-height: 100%;
  margin: 0;
  background: #05070b;
}

@media (max-width: 560px) {
  .system-state-page {
    padding: 16px;
  }

  .system-state-card {
    padding: 28px 22px;
    border-radius: 21px;
  }

  .system-state-eyebrow {
    margin-top: 42px;
  }

  .system-state-card h1 {
    letter-spacing: var(--title-letter-spacing);
  }

  .system-state-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .system-state-actions a,
  .system-state-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-state-actions a,
  .system-state-actions button {
    transition: none;
  }
}
