/* ============================================================
   Legal pages: /privacy-policy, /terms-of-use, /accessibility.

   Loaded after listings.css, which supplies the base typography, the
   nav, and the container. Everything here is about long-form reading:
   one column, a measure that tops out around 70 characters, and no
   competing call to action. These pages are read by someone looking
   for a specific sentence, not browsing.

   Green is a call-to-action color on this site and it is not used
   below. Links inside the prose are ink, underlined, which is what
   makes them read as references rather than as buttons.
============================================================ */

.legal {
  padding: var(--space-6) 0 var(--space-7);
}

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.legal h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-updated {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-mute);
}


.legal h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--text-heading);
  line-height: 1.3;
  color: var(--ink);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--ink);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.legal p,
.legal li {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink-soft);
}

.legal p + p {
  margin-top: var(--space-3);
}

.legal ul,
.legal ol {
  margin: var(--space-3) 0 0;
  padding-left: var(--space-4);
}

.legal li + li {
  margin-top: var(--space-2);
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

/* Ink and underlined, never green. Long URLs in a 375px column would
   otherwise push the page sideways. */
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--slate);
}

/* The all-caps disclaimer block. Caps at body size is a wall, so it
   drops a step and gains line-height to stay readable. */
.legal-allcaps {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.legal address {
  font-style: normal;
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: var(--space-3);
}

@media (max-width: 640px) {
  .legal {
    padding: var(--space-5) 0 var(--space-6);
  }
  .legal h2 {
    margin-top: var(--space-5);
  }
}
