/**
 * Legal pages (Privacy, Terms, Cookie policy). Design system: ivory band, navy text,
 * brand red only on the two-tone H1 word, Montserrat, flat, no cards or shadows.
 * Long-form documents, so body text is held to a ~680px measure (~70 characters per
 * line) for comfortable reading, inside the full-bleed ivory band. Tables scroll inside
 * their own container so the page never overflows on mobile.
 */
.rp-legal{--navy:#002c41;--red:#e4022e;--ivory:#F6F5EE;--ink:#0a2233;--muted:#5a6168;--line:#d7d3c7}
.rp-legal{background:var(--ivory);padding:var(--rp-section-y) 0}
/* reading column: 680px of text + 48px gutters (24px on mobile) */
.rp-legal .rp-legal-wrap{max-width:776px;margin:0 auto;padding:0 48px}

/* ---------- Headings ---------- */
.rp-legal h1{font-size:clamp(2rem,5vw,2.75rem);font-weight:800;line-height:1.06;letter-spacing:-.01em;text-transform:uppercase;color:var(--navy);margin:0 0 6px}
.rp-legal h1 span{color:var(--red)}
.rp-legal .rp-legal-updated{font-size:14px;color:var(--muted);margin:0 0 34px}
.rp-legal h2{font-size:23px;font-weight:800;line-height:1.25;color:var(--navy);margin:42px 0 12px}
.rp-legal h3{font-size:17px;font-weight:800;line-height:1.3;color:var(--navy);margin:26px 0 8px}

/* ---------- Body ---------- */
.rp-legal p,.rp-legal li{font-size:18px;line-height:1.7;color:var(--ink)}
.rp-legal p{margin:0 0 16px}
.rp-legal strong{font-weight:700;color:var(--navy)}
.rp-legal ul{margin:14px 0 18px;padding-left:22px}
.rp-legal li{margin:7px 0}
.rp-legal hr{border:0;border-top:1px solid rgba(0,44,65,.12);margin:34px 0}

/* in-text links: navy underlined (red is reserved for buttons) */
.rp-legal a{color:var(--navy);text-decoration:underline;text-underline-offset:2px;overflow-wrap:break-word}
.rp-legal a:hover{color:var(--navy);text-decoration-thickness:2px}

/* inline cookie names etc. (flat tint, not a card) */
.rp-legal code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;background:rgba(0,44,65,.06);padding:1px 6px;border-radius:4px;color:var(--navy);overflow-wrap:break-word}

/* ---------- Tables: scroll inside their own container, never overflow the page ---------- */
.rp-legal .rp-legal-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:16px 0 22px}
.rp-legal table{width:100%;min-width:560px;border-collapse:collapse;font-size:15px}
.rp-legal th,.rp-legal td{text-align:left;vertical-align:top;padding:11px 14px;line-height:1.5}
.rp-legal thead th{color:var(--navy);font-weight:800;border-bottom:2px solid var(--navy)}
.rp-legal tbody td{color:var(--ink);border-bottom:1px solid rgba(0,44,65,.12)}
.rp-legal tbody tr:last-child td{border-bottom:0}
.rp-legal td code{font-size:.9em}

/* ---------- Mobile ---------- */
@media (max-width:720px){
	.rp-legal .rp-legal-wrap{padding:0 24px}
	.rp-legal p,.rp-legal li{font-size:16.5px}
	.rp-legal h2{font-size:21px;margin-top:36px}
	.rp-legal table{font-size:14px}
	.rp-legal th,.rp-legal td{padding:9px 12px}
}
