/* Styles for standalone static pages (e.g. accessibility.html). External file so the CSP needs no 'unsafe-inline'. */
:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --accent: #be123c;
  --border: #e2e8f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #fb7185;
    --border: #27272a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
}

header, main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

header { border-bottom: 1px solid var(--border); }

main { padding-bottom: 4rem; }
main:focus { outline: none; }

h1 { font-size: 2.25rem; line-height: 1.2; margin: 1rem 0 0.25rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.meta { color: var(--muted); margin-top: 0; }

a { color: var(--accent); }
.brand { font-weight: 700; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #be123c;
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }
