/* =========================================================================
   Pythonation — privacy policy and terms (/privacy/ · /terms/, + ar/ zh/)
   Loads after site.css and reuses its fonts, tokens, header and footer.
   ========================================================================= */

@font-face { font-family: "Plex SC Legal"; font-weight: 400; font-display: swap;
  src: url("../fonts/plex-sc-legal-400.woff2") format("woff2"); }
@font-face { font-family: "Plex SC Legal"; font-weight: 600; font-display: swap;
  src: url("../fonts/plex-sc-legal-600.woff2") format("woff2"); }
:lang(zh-Hans) { --font: "Plex SC Legal", "Plex Arabic", "PingFang SC", "Microsoft YaHei", sans-serif; }

.lg { padding-block: clamp(8px, 3vw, 28px) clamp(40px, 6vw, 64px); }
.lg-doc { max-width: 46rem; margin-inline: auto; background: var(--card); border: 1px solid var(--card-line);
  border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.lg-doc h1 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 600; line-height: 1.25; }
.lg-date { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-block: 8px 22px; }
.lg-date:lang(ar), .lg-date:lang(zh-Hans) { font-family: var(--font); font-size: 14px; }
.lg-doc h2 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-block: 30px 8px; }
.lg-doc p, .lg-doc li { font-size: 16px; line-height: 1.75; }
.lg-doc p + p { margin-block-start: 10px; }
.lg-doc ul { padding-inline-start: 1.3em; display: grid; gap: 6px; margin-block: 8px; }
.lg-doc .lg-lead { font-size: 18px; color: var(--muted); }
.lg-doc code { font-family: var(--mono); font-size: .92em; }
.lg-doc a { overflow-wrap: anywhere; }
.lg-other { text-align: center; margin-block-start: 22px; color: var(--muted); font-size: 15px; }
