/*
 * Styles for the two legal pages (privacy.html, terms.html).
 *
 * They lived in a <style> block in each page, which the landing's CSP
 * (style-src 'self', Caddyfile) blocks: on forceavo.com both pages rendered
 * unstyled, in Times New Roman, with the English and the Polish text shown at
 * once, because the language switch is `section { display: none }` plus
 * `:target`. A file of our own origin is allowed under that policy.
 *
 * The pages are copied byte for byte to apps/web/public, and so is this file
 * (tools/ci/check-landing.sh).
 */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
/* Forceavo guidebook palette (CLAUDE.md §17). */
:root { --ink:#000000; --accent:#F24D00; --muted:#6F6A6A; --border:#E6E1DC; --surface:#F6F2EE; }
* { box-sizing: border-box; }
body { margin:0; background:var(--surface); color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,sans-serif; line-height:1.65; }
.wrap { max-width:760px; margin:0 auto; padding:40px 22px 80px; }
.draft { background:#FFF3E8; border:1px solid #F0C9A0; color:#B5701F; padding:12px 16px;
  border-radius:12px; font-size:14px; font-weight:600; margin-bottom:28px; }
h1 { font-size:30px; letter-spacing:-.5px; margin:0 0 4px; }
.meta { color:var(--muted); font-size:14px; margin-bottom:26px; }
h2 { font-size:19px; margin:30px 0 8px; }
p, li { font-size:15px; color:#1a1a1a; }
a { color:var(--accent); }
.lang { margin-bottom:22px; font-size:14px; }
.lang a { font-weight:700; text-decoration:none; margin-right:14px; }
section { display:none; }
/* A section opens when it is targeted or holds the target, so a deep link
   such as #pl-delete-account opens the Polish text at that heading. */
section:target, section.default, section:has(:target) { display:block; }
/* Choosing a language replaces the default one rather than adding to it:
   "Polski" used to put the Polish text under the English. */
body:has(section:not(.default):target, section:not(.default) :target) section.default { display:none; }
table { border-collapse:collapse; width:100%; margin:10px 0; }
th, td { border:1px solid var(--border); padding:8px 10px; text-align:left; font-size:14px; }
footer { margin-top:40px; color:var(--muted); font-size:13px; border-top:1px solid var(--border); padding-top:18px; }
