:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293b;
  background: #f5f7fa;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 240px;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

main {
  width: 100%;
  max-width: 440px;
  padding: 32px;
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 16px;
}

h1 {
  margin: 0 0 20px;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -.02em;
}

p { margin: 12px 0; line-height: 1.6; }

#status { font-weight: 600; }
#details { color: #475569; }

noscript { display: block; margin-top: 12px; line-height: 1.6; }

@media (max-width: 360px) {
  body { padding: 16px; }
  main { padding: 24px; }
}

@media (prefers-color-scheme: dark) {
  :root { color: #e2e8f0; background: #0f172a; }
  main { background: #172033; border-color: #334155; }
  #details { color: #cbd5e1; }
}
