@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Instrument+Sans:wght@400;500;600;700&display=swap");
/* Privacy and Terms pages: same palette and type as the home page, one readable column. */
:root {
  --bg: #fbfaf7; --card: #ffffff; --text: #1b1d22; --muted: #5d636e; --brand: #1f4fd1; --border: #e4e0d7;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111317; --card: #1c2027; --text: #eceef2; --muted: #a1a8b3; --brand: #7ea1ff; --border: #2a2f38; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 Inter, -apple-system, system-ui, sans-serif; }
a { color: var(--brand); }
.top { border-bottom: 1px solid var(--border); }
.top .in, main, footer .in { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.top .in { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 12px; }
.logo { font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 28px; height: 28px; display: block; }
.top nav { display: flex; gap: 16px; font-size: 15px; flex-wrap: wrap; }
main { padding-top: 40px; padding-bottom: 56px; }
h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
.updated { color: var(--muted); margin: 0 0 24px; }
.summary { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; }
.summary ul { margin: 8px 0 0; padding-left: 20px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 24px 0; }
footer .in { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }

/* ------------------------------------------------------------------------------------------------------------------
   New look for the privacy and terms pages: the paper, brick and night-blue of the home page.
   Appended to the classic rules and served as /assets/legal.css when SITE_VARIANT=new. No markup changes.
   ------------------------------------------------------------------------------------------------------------------ */

:root, :root:root { --bg: #f2e9d3; --card: #f7f0de; --text: #1c2530; --muted: #47525e; --brand: #a3291d; --border: #cfc2a2; --night: #141b25; --amber: #f0a44a; }
@media (prefers-color-scheme: dark) { :root, :root:root { --bg: #f2e9d3; --card: #f7f0de; --text: #1c2530; --muted: #47525e; --brand: #a3291d; --border: #cfc2a2; } }
body { font: 400 17px/1.65 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.top { background: var(--night); border-bottom: 1px solid #2a3443; }
.top .in { height: 58px; max-width: none; padding: 0 clamp(16px, 4vw, 56px); }
.logo { font: 700 21px/1 'Fraunces', Georgia, serif; color: #f2e9d3; letter-spacing: -0.01em; }
.logo img { display: none; }
.top nav a { color: #cfd5dc; text-decoration: none; } .top nav a:hover { color: #fff; text-decoration: underline; }
main { padding-top: 48px; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.012em; }
h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.08; }
h2 { font-size: 24px; line-height: 1.2; margin-top: 42px; }
h2::before { content: ""; display: block; width: 26px; height: 4px; background: var(--amber); margin-bottom: 10px; }
h3 { font-size: 18px; letter-spacing: 0; }
.summary { border: 1.5px solid var(--border); border-top: 5px solid var(--brand); border-radius: 2px; box-shadow: 6px 7px 0 rgba(8, 12, 18, 0.18); padding: 18px 22px; }
th { color: var(--brand); font: 700 12px/1.3 'Instrument Sans', Arial, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }
th, td { border-bottom: 1.5px solid var(--border); }
footer { background: var(--night); color: #c4cbd3; border-top: 5px solid var(--brand); padding: 28px 0; }
footer a { color: #dfe4ea; }
