/* SWS Manager public information site. Static, no external resources, no tracking. */

:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --text: #1c2024;
  --muted: #5b646d;
  --accent: #1f5f8b;
  --border: #e3e5e8;
  --max: 46rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --surface: #1b1f23;
    --text: #e8eaed;
    --muted: #a3acb5;
    --accent: #7fb7de;
    --border: #2c3238;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
  color: var(--accent);
}

.site-header,
.site-footer {
  border-color: var(--border);
  border-style: solid;
  border-width: 0 0 1px;
  background: var(--surface);
}

.site-footer {
  border-width: 1px 0 0;
  margin-top: 4rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--muted);
}

nav a:first-child {
  margin-left: 0;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--accent);
}

main {
  padding-block: 2.5rem 0;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.5rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.site-footer .wrap {
  padding-block: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
