/*
 * Shared styling for the decoy site.
 *
 * The stylesheet is external on purpose: Telemt serves static decoy files with
 * `Content-Security-Policy: style-src 'self'`, which blocks inline <style>
 * blocks. Keep the CSS in this file so the pages render as intended.
 */
:root {
  color-scheme: light dark;
  --bg: #f5f7fa;
  --fg: #1f2933;
  --muted: #52606d;
  --card: #ffffff;
  --ok: #0f7b4f;
  --border: #d9e2ec;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1720;
    --fg: #e6edf3;
    --muted: #9fb3c8;
    --card: #16212b;
    --ok: #4ade80;
    --border: #24323f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
header, main, footer { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 24px; }
header { padding-top: 48px; }
.brand { font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; }
main { flex: 1; padding-top: 40px; padding-bottom: 48px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin: 0 0 16px; }
p { color: var(--muted); max-width: 640px; }
.card {
  margin-top: 32px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.status { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent);
}
ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
li { margin: 6px 0; }
footer { padding-bottom: 32px; color: var(--muted); font-size: .9rem; }

/* Error page */
body.error {
  display: grid;
  place-items: center;
  text-align: center;
}
body.error h1 { font-size: 3rem; margin: 0 0 12px; }
body.error p { margin: 0; max-width: none; }