/* Shared styles for the simple legal pages (privacy, accessibility). */
:root {
  --blue: #1b3668;
  --blue-dark: #12234a;
  --ink: #131b2e;
  --ink-soft: #3b4559;
  --cream: #fcfaf5;
  --border: #e7e0cd;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  background: var(--blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

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

header .inner,
main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  font-family: 'Roboto Slab', Rockwell, Georgia, serif;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
}

main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

h1,
h2 {
  font-family: 'Roboto Slab', Rockwell, Georgia, serif;
  color: var(--blue-dark);
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.5rem;
}

.updated {
  color: var(--ink-soft);
  margin-top: 0;
}

a {
  color: var(--blue);
  font-weight: 600;
}

a:focus-visible {
  outline: 3px solid #d9a03f;
  outline-offset: 2px;
}

ul {
  padding-left: 1.25rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 1rem;
  color: var(--ink-soft);
}
