/* Reading layout for the generated /privacy and /terms pages.
 *
 * site.css's .sec is a MARKETING section — display:flex, align-items:center, built to sit a
 * paragraph beside an image. A 2,400-word policy dropped into it centres its blocks against
 * each other and wraps at whatever width the flex line allows. .sec.legal turns it back into
 * an ordinary single column with a real measure.
 *
 * No colours are defined here. site.css already declares the full token set on :root with a
 * dark twin under html[data-theme='dark'], stamped by theme-init.js before first paint —
 * so these rules inherit both themes by using the tokens and defining none.
 */

.sec.legal {
  display: block;
  max-width: 68ch;          /* ~65 characters of running text; the rest of the site is wider */
  padding: 8px 0 40px;
}

.sec.legal h2 {
  font-size: 19px;
  letter-spacing: -.01em;
  margin: 30px 0 10px;
}
.sec.legal h2:first-child { margin-top: 0; }

.sec.legal p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink2);
  margin-bottom: 14px;
}

.sec.legal ul { margin: 0 0 16px; }
.sec.legal li { line-height: 1.6; }

/* Definition lists carry the "what we collect" and "who sees it" tables. The term needs to
   read as a label without becoming a heading — the document already has one heading level
   doing structural work, and a second competing weight makes it skimmable in the wrong way. */
.sec.legal dl { margin: 0 0 18px; }
.sec.legal dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 14px;
}
.sec.legal dd {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink2);
  margin: 4px 0 0;
  padding-left: 0;
}

.sec.legal a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* The "Last updated" line under the intro, borrowed from the hero's note treatment. */
.hero .cta-note { display: inline-block; margin-top: 10px; }

@media (max-width: 560px) {
  .sec.legal h2 { font-size: 18px; }
  .sec.legal p, .sec.legal dd { font-size: 15px; }
}
