/* ============================================================
   aBetterMyGCC privacy policy

   Sits on top of /style.css, which supplies the fonts, colours (light and
   dark), sunset background and top bar. This file only adds the reading
   column. No inline styles anywhere: the site's CSP blocks them.
   ============================================================ */

/* No script on this page to fade the bar in on scroll, so it is always frosted. */
.top::before { opacity: 1; }

.legal {
  flex: 1;
  width: 100%;
  max-width: calc(var(--col) + var(--gut) * 2);
  margin: 0 auto;
  padding: clamp(1.5rem, 6vh, 3.5rem) var(--gut) clamp(3rem, 10vh, 6rem);
  font-size: 1.0625rem;   /* 17px body text */
  font-weight: 400;       /* the site's 300 is too light for long reading */
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.9rem, 6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.legal h2 {
  margin: 2.4rem 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.legal p,
.legal li { margin: 0 0 0.8rem; }

.legal ul { margin: 0 0 0.8rem; padding-left: 1.4rem; }

.legal strong { font-weight: 600; }

.legal .date {
  margin-bottom: 2rem;
  color: var(--mute);
}

.legal code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--line);
  border-radius: 0.35em;
  background: var(--field);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

/* The orange accent is too pale for text on cream, so links keep the body
   colour and carry the accent in the underline, as on the other pages. */
.legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.legal hr {
  margin: 2.5rem 0 1.25rem;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal .small {
  font-size: 0.9rem;
  color: var(--mute);
}

@media (prefers-contrast: more) {
  .legal .date,
  .legal .small { color: var(--ink); }
}
