/* styles.css - generic maintenance page */
/* Use system fonts to keep this file self-contained and generic */
:root{
  --bg: #f5f7fb;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #2563eb;
  --glass: rgba(37,99,235,0.08);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20,20,50,0.08);
  --max-width: 720px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

* { box-sizing: border-box; }
html,body { height: 100%; margin: 0; padding: 0; }

body {
  background: linear-gradient(180deg, var(--bg), #eef2ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.45;
  color: #0f172a;
  padding: 24px;
}

/* Main wrapper centers content */
.wrapper {
  width: 100%;
  max-width: var(--max-width);
  padding: 20px;
}

/* Card */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  text-align: center;
  border: 1px solid rgba(15,23,42,0.04);
}

/* Logo placeholder - generic, not brand-specific */
.logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: var(--accent);
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--glass);
  margin-bottom: 18px;
}

/* Headline & text */
h1 {
  margin: 6px 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.lead {
  margin: 0 auto 18px;
  max-width: 58ch;
  color: var(--muted);
}

/* Items list */
.items {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  color: var(--muted);
}
.items li { margin: 8px 0; }

/* Spinner and status */
.status {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

/* Simple CSS spinner */
.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 5px solid rgba(37,99,235,0.12);
  border-top-color: var(--accent);
  animation: spin 1.1s linear infinite;
  box-shadow: 0 6px 18px rgba(37,99,235,0.08) inset;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Small footer */
.small {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .card { padding: 24px; border-radius: 12px; }
  h1 { font-size: 20px; }
  .logo { font-size: 15px; padding: 6px 10px; }
  .spinner { width: 36px; height: 36px; border-width: 4px; }
}