/* The dashboard's Dusk colors (design.md), dark by default and light when the system asks for it:
   the page has no script for a theme switch (SITE-1). System fonts, since the CSP loads none (SITE-4). */
:root {
  color-scheme: dark;
  --bg: #17181f;
  --text-strong: #e4e4ec;
  --accent: #9a8fe0;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f6f6f9;
    --text-strong: #1d1e27;
    --accent: #6c5fca;
  }
}

html {
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: ui-sans-serif, system-ui, sans-serif;
  color: var(--text-strong);
  -webkit-font-smoothing: antialiased;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
}

h1::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 1px;
  background-color: var(--accent);
}
