/*
 * Maintenance page.
 *
 * Needs tokens.css loaded first and <html data-theme="dark">. Every colour comes
 * from the token layer; the only literals are alpha mixes of those tokens.
 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--zh-space-7) var(--zh-space-5);
  font-family: var(--zh-font-sans);
  line-height: 1.6;
  color: var(--zh-body);
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%,
      color-mix(in srgb, var(--zh-brand) 22%, transparent),
      transparent 70%),
    var(--zh-bg);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    color-mix(in srgb, var(--zh-muted) 14%, transparent) 1px,
    transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000, transparent 75%);
}
.maintenance {
  position: relative;
  width: 100%;
  max-width: 560px;
  text-align: center;
}
.logo {
  display: block;
  height: 56px;
  width: auto;
  margin: 0 auto;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--zh-space-2);
  margin: var(--zh-space-7) 0 var(--zh-space-5);
  padding: var(--zh-space-1) 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--zh-warn) 30%, transparent);
  background: var(--zh-warn-tint);
  color: var(--zh-warn-text);
  font-size: var(--zh-text-meta);
  font-weight: 600;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zh-warn);
  box-shadow: 0 0 10px var(--zh-warn);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.3; }
}
h1 {
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--zh-ink);
  margin-bottom: var(--zh-space-5);
  text-wrap: balance;
}
.lede {
  max-width: 42ch;
  margin: 0 auto var(--zh-space-6);
  font-size: 1.125rem;
}
.note {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--zh-space-3);
  max-width: 44ch;
  padding: var(--zh-space-4) var(--zh-space-5);
  border: 1px solid var(--zh-border);
  border-radius: var(--zh-radius-btn);
  background: color-mix(in srgb, var(--zh-surface) 70%, transparent);
  font-size: 0.9375rem;
  text-align: left;
}
.note-icon {
  flex: none;
  margin-top: 3px;
  color: var(--zh-brand);
}
.footer {
  margin-top: var(--zh-space-7);
  font-size: var(--zh-text-meta);
  color: var(--zh-muted);
}
.footer a {
  color: var(--zh-brand);
  text-underline-offset: 3px;
}
.footer a:focus-visible {
  outline: 2px solid var(--zh-brand);
  outline-offset: 3px;
  border-radius: 2px;
}
.footer-copyright {
  margin-top: var(--zh-space-3);
  font-size: var(--zh-text-micro);
}
@media (max-width: 480px) {
  body {
    padding: var(--zh-space-6) var(--zh-space-5);
  }
  h1 {
    font-size: 2.25rem;
  }
  .lede {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot {
    animation: none;
  }
}
