/* MottoVate brand: navy #071F41, teal #008582 (white text on it meets WCAG AA),
   teal hover #006F6C. Dark mode sits on the brand navy, with the teal lifted so
   links stay readable on it. */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1c2636;
  --heading: #071f41;
  --muted: #56627a;
  --accent: #008582;
  --accent-hover: #006f6c;
  --rule: #e1e6ee;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071f41;
    --surface: #0b2851;
    --text: #e6ecf5;
    --heading: #ffffff;
    --muted: #a8b6cc;
    --accent: #4cc3be;
    --accent-hover: #7fd8d4;
    --rule: #1c3a66;
  }
}

* { box-sizing: border-box; }

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

a { color: var(--accent); }
a:hover, a:focus { color: var(--accent-hover); }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

header.site .wrap {
  display: flex;
  align-items: center;
  min-height: 68px;
}

.brand { display: inline-flex; }
.brand img { display: block; height: 36px; width: auto; }

/* main.wrap, not main: .wrap sets padding too, and a class outranks an
   element selector, so a bare `main` rule never took effect. */
main.wrap { padding-top: 72px; padding-bottom: 64px; }

@media (max-width: 600px) {
  main.wrap { padding-top: 48px; }
}

h1, h2, h3 { color: var(--heading); }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.3rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 6px; }

.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 32px; }
.updated { color: var(--muted); margin: 0 0 24px; }

.note {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  margin: 20px 0;
}

.caps { text-transform: uppercase; font-size: 0.95rem; }

ul, ol { padding-left: 24px; }
li { margin-bottom: 4px; }

footer.site {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
  padding: 24px 0 40px;
}

footer.site nav a { margin-right: 16px; }
