/* System sans throughout. No webfonts, so nothing to load and nothing to
   fail. Palette stays close to the client's own site. */
:root {
  --bg: #f7f9fa;
  --surface: #fff;
  --border: #d8dee4;
  --text: #1f2933;
  --muted: #52606d;
  --link: #1a4fa0;
  --warn: #94301b;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3rem;
  --measure: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--space-5) var(--space-3) var(--space-5);
}

.wordmark {
  display: inline-block;
  margin: 0 0 var(--space-1);
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

h1 {
  margin: 0 0 var(--space-1);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h2 {
  margin: var(--space-4) 0 var(--space-1);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}

p,
ul {
  margin: 0 0 var(--space-2);
}

/* The entity and jurisdiction line under a page title. */
.legal {
  margin-bottom: var(--space-4);
  color: var(--muted);
  font-size: 0.9375rem;
}

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

.links {
  padding: 0;
  list-style: none;
}

.links li {
  margin-bottom: var(--space-1);
}

.back {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
}

/* The four lines carriers check for, and the texting number, are boxed so a
   reviewer finds them without reading the page. */
.key-lines,
.number-block,
.callout {
  margin: 0 0 var(--space-2);
  padding: var(--space-3) var(--space-3) var(--space-1);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.callout {
  padding-bottom: var(--space-3);
}

.key-lines p:last-child,
.number-block p:last-child {
  margin-bottom: var(--space-2);
}

.number {
  font-size: 1.375rem;
  font-weight: 600;
}

.placeholder-note {
  color: var(--warn);
  font-size: 0.875rem;
}

.footer {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 30rem) {
  .page {
    padding: var(--space-4) var(--space-2) var(--space-4);
  }

  body {
    font-size: 1rem;
  }

  h1,
  .wordmark {
    font-size: 1.5rem;
  }
}
