/* Server-rendered pages: sign-in screens, the public site and the 404 page.
   The signed-in apps are React and carry their own stylesheet (public/app-assets). */

:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #14161a;
  --ink-2: #4a505c;
  --line: #dfe3e8;
  --accent: #0e9f6e;
  --accent-ink: #ffffff;
  --danger: #c0392b;
  --radius: 10px;
  --font: "Geist Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d10;
    --surface: #14171c;
    --ink: #eef0f3;
    --ink-2: #a3aab6;
    --line: #262b33;
    --accent: #19c58c;
    --accent-ink: #04120c;
    --danger: #ff6b5e;
  }
}

:root[data-theme="dark"] {
  --bg: #0b0d10;
  --surface: #14171c;
  --ink: #eef0f3;
  --ink-2: #a3aab6;
  --line: #262b33;
  --accent: #19c58c;
  --accent-ink: #04120c;
  --danger: #ff6b5e;
}

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

body.site {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--font);
}

.site-center {
  max-width: 480px;
  margin: 0 auto;
  padding: 96px 16px 48px;
  text-align: center;
}

.site-center h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.2; }
.site-center p { margin: 0 0 12px; color: var(--ink-2); }

/* The logo is shown as is, the same way the main site's apps show it. */
.brand-plate { display: inline-flex; align-items: center; line-height: 0; }
.brand-plate img { display: block; height: 32px; width: auto; }

.site-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.site-link:hover { text-decoration: underline; }
