:root {
  --brand: #1f99cc;
  --link: #13729b; /* darker brand blue, AA contrast for text on white */
  --text: #262626;
  --muted: #555;
  --line: #e3e6e8;
  --bg: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

/* the wordmark is white, it only works on the brand band */
/* side padding aligns the logo with main's 848px content column */
.band { background: var(--brand); padding: 32px max(16px, calc((100% - 848px) / 2)); }
.logo { display: block; width: 100%; max-width: 220px; height: auto; }

main {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 16px 48px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.lead { margin: 0 0 40px; max-width: 40em; color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 3px solid var(--brand);
}

.contact h2 {
  margin: 0 0 4px;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact p { margin: 0; }
address { font-style: normal; }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  padding: 24px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

footer a { color: inherit; }

/* legal pages */
.legal h2 { margin: 36px 0 8px; font-size: 1.15rem; }
.legal h3 { margin: 24px 0 6px; font-size: 1rem; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 1.2em; }
.legal a { overflow-wrap: anywhere; }
