/* Shared look for the legal pages (privacy, terms, refunds): same colors and fonts as the library page. */
:root { --navy: #1A2A49; --orange: #F28C28; --teal: #18A0A8; --mustard: #E9C46A; --text: #21262D; --muted: #5E6A80; --line: #E4DCCB; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #F3EBDD; color: var(--text); font-family: "Poppins", "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--navy); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
header { background: var(--navy); color: #fff; padding: 18px 0; }
header a { color: #fff; text-decoration: none; font-weight: 700; }
main { padding: 26px 0 30px; }
article { background: #fff; border-radius: 18px; padding: 24px clamp(18px, 4vw, 34px) 30px; box-shadow: 0 8px 22px rgba(40,30,20,.08); }
h1, h2 { font-family: "Lilita One", "Trebuchet MS", sans-serif; font-weight: 400; color: var(--navy); line-height: 1.15; }
h1 { font-size: clamp(32px, 6vw, 44px); margin: 0 0 4px; }
h2 { font-size: 23px; margin: 30px 0 6px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.summary { background: #F7F3EA; border-radius: 12px; padding: 14px 16px; margin: 0 0 6px; }
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }
footer.legal { text-align: center; color: var(--muted); font-size: 14px; padding: 4px 0 40px; }
footer.legal nav { display: flex; gap: 6px 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 6px; }
footer.legal a { color: var(--muted); }
