/*
  The app's own palette and type, at reading size.

  Ink #3A1A22 on blush #FDF3F4 is what every screen in the app is set in, and
  a policy page that looks like a different company's is a small reason to
  wonder who you are dealing with. Measure is held near 68 characters because
  these are long documents and nobody reads a 1,400-pixel line.
*/
:root {
  --ink: #3A1A22;
  --ink-soft: #5C3A42;
  --mauve: #6F585C;
  --blush: #FDF3F4;
  --card: #FFFFFF;
  --line: #EFD9DF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px 8px;
}

.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  text-decoration: none;
}

.switch a, footer a { color: var(--mauve); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 24px 64px;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.15;
  margin: 24px 0 8px;
}

.effective {
  color: var(--mauve);
  margin: 0 0 28px;
  font-size: 15px;
}

/* The sections, listed. Long documents need a way in that is not scrolling. */
.contents {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 24px;
  margin: 0 0 40px;
}
.contents ul { margin: 0; padding: 0; list-style: none; }
.contents li { margin: 6px 0; }
.contents a { color: var(--ink-soft); text-decoration: none; }
.contents a:hover, .contents a:focus-visible { text-decoration: underline; }

article { max-width: 68ch; }

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  margin: 44px 0 12px;
  scroll-margin-top: 24px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 8px;
}

p { margin: 0 0 16px; color: var(--ink-soft); }
ul, ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-soft); }
li { margin: 6px 0; }

.contact a { color: var(--ink); font-weight: 600; }

footer {
  border-top: 1px solid var(--line);
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  color: var(--mauve);
  font-size: 14px;
}
footer p { color: inherit; margin: 4px 0; }

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
