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

:root {
  color-scheme: light dark;

  --bg:        #f8f8f6;
  --surface:   #ffffff;
  --fg:        #111110;
  --muted:     #78716c;
  --accent:    #5b4fcf;
  --accent-lo: rgba(91, 79, 207, 0.09);
  --border:    rgba(0, 0, 0, 0.08);
  --shadow:    0 2px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  --icon-glow: none;
  --radius:    22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0c0c0b;
    --surface:   #161614;
    --fg:        #f5f4f0;
    --muted:     #8c8880;
    --accent:    #8b80ef;
    --accent-lo: rgba(139, 128, 239, 0.11);
    --border:    rgba(255, 255, 255, 0.07);
    --shadow:    0 2px 32px rgba(0,0,0,0.50), 0 1px 6px rgba(0,0,0,0.28);
    --icon-glow: 0 0 52px rgba(139, 128, 239, 0.20);
  }
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* subtle radial accent bleed from top */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -5%, var(--accent-lo), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ─── page ─── */

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  max-width: 440px;
  width: 100%;
}

/* ─── badge ─── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.70rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lo);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px;
  padding: 0.3em 0.9em;
  margin-bottom: 2.4rem;
}

.badge .dot {
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

/* ─── app icon ─── */

.icon {
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--icon-glow);
  margin-bottom: 1.7rem;
  display: block;
}

/* ─── heading ─── */

h1 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
}

/* inline glyph — inherits currentColor, scales with font */
.glyph {
  width: 0.82em;
  height: 0.82em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.06em;
  opacity: 0.80;
}

/* ─── tagline ─── */

.tagline {
  font-size: 1.03rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 300px;
}

/* ─── status card ─── */

.card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.4rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fg);
}

.card .note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.4rem;
}

/* ─── footer ─── */

footer {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.77rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  opacity: 0.75;
}

footer .glyph {
  width: 0.95em;
  height: 0.95em;
  opacity: 0.6;
}

/* ─── responsive ─── */

@media (max-width: 380px) {
  .page { padding: 2.25rem 1.25rem 2rem; }
  .icon { width: 88px; height: 88px; }
}
