/* The three public pages. The blues are the app's brand blue (Theme.kt). */

:root {
  --bg: #fbfcfe;
  --text: #191c1e;
  --muted: #41484d;
  --rule: #c1c7ce;
  --accent: #00658f;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191c1e;
    --text: #e1e2e5;
    --muted: #c1c7ce;
    --rule: #41484d;
    --accent: #83cfff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

header, main, footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  align-items: baseline;
  padding-top: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

header .name { font-weight: 700; font-size: 20px; color: var(--accent); text-decoration: none; }
header nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }

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

h1 { font-size: 28px; line-height: 1.25; margin: 32px 0 4px; }
h2 { font-size: 20px; margin: 28px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }

.date, .switch { color: var(--muted); font-size: 15px; }
.switch { margin: 16px 0 0; }

section + section { border-top: 1px solid var(--rule); margin-top: 48px; }

li { margin: 6px 0; }

footer {
  color: var(--muted);
  font-size: 15px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  margin-top: 48px;
}
