/* ============================================================
   legal.css — long-form prose styles for the static Terms /
   Privacy / Support pages. Loaded ONLY by terms.html, privacy.html
   and support.html (index.html and the app shell never load this
   file) — kept separate from components.css because it styles
   plain content pages, not app widgets, and none of these rules
   are needed by the JS-driven shell. Uses the same design tokens
   (colors/fonts) as the rest of the site — no hardcoded values.
   ============================================================ */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 24px;
}

.legal__updated {
  font-family: var(--body-face);
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 28px;
}

.legal__intro {
  font-family: var(--body-face);
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.legal h1 {
  font-family: var(--head-face);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
}

.legal h2 {
  font-family: var(--head-face);
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 32px 0 10px;
}

.legal h2:first-of-type { margin-top: 8px; }

.legal p,
.legal li {
  font-family: var(--body-face);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

.legal p { margin: 0 0 14px; }

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal li { margin-bottom: 6px; }

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

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--ink); }

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

/* header brand mark doubles as the "back to app" link on these pages --
   .topbar__brand is a <div> on index.html but an <a> here. */
a.topbar__brand { text-decoration: none; color: inherit; }
