/* Shared styles for the legal pages. Colours match index.html. */
:root {
  --emerald: #092F27;
  --emerald-light: #2F6B57;
  --gold: #D4A34F;
  --gold-deep: #8A6420;
  --champagne: #F6CC8D;
  --obsidian: #1C211E;
  --ivory: #F7F4ED;
  --muted: #6B706D;
  --border: rgba(28, 33, 30, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.7; color: var(--obsidian); background: var(--ivory); -webkit-font-smoothing: antialiased;
}
a { color: var(--emerald-light); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 20px; }

header.site { background: var(--emerald); }
header.site .wrap { max-width: 1180px; display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand { min-width: 0; }
.brand-mark { width: auto; height: 44px; flex: none; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.22rem; line-height: 1.1; min-width: 0; }
@media (max-width: 480px) { .back { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.back:hover { color: var(--champagne); }

main.wrap { padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(48px, 8vw, 88px); }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .3em; font-weight: 800; }
h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 2.2em 0 .5em; font-weight: 700; }
p, ul { margin: 0 0 1em; }
li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .92rem; margin-bottom: 2em; }
.note { background: #FBF1DE; border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .95rem; }

footer.site { background: var(--obsidian); color: rgba(255,255,255,.6); padding: 32px 0; font-size: .88rem; }
footer.site .wrap { max-width: 1180px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site a { color: rgba(255,255,255,.8); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--champagne); }
