/* Shared by the legal pages (privacy, terms). Colours and type match index.html. */
:root {
  --navy: #13294B;
  --ink: #0E1A2B;
  --paper: #F5F3EE;
  --card: #FFFFFF;
  --line: #E3DED3;
  --muted: #5D6B7E;
  --amber: #F2A93B;
  --amber-text: #9A5B00;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.top { background: var(--navy); color: #fff; border-bottom: 6px solid var(--amber); }
.top header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav { display: flex; gap: 20px; font-size: 15px; font-weight: 700; }
.top nav a { text-decoration: none; opacity: .75; }
.top nav a:hover, .top nav a[aria-current] { opacity: 1; }
.top .title { padding: 32px 0 48px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 800; margin-top: 12px; }
.top .title p { color: #A9B8CE; margin: 12px 0 0; }

main { padding: 48px 0 80px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; margin-bottom: 40px; }
.summary h2 { font-size: 20px; margin-bottom: 12px; }
.summary ul { margin: 0; padding-left: 20px; }
.summary li { margin: 6px 0; }
.toc { margin-bottom: 48px; }
.toc h2 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

section { scroll-margin-top: 16px; margin-bottom: 40px; }
section h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
section h3 { font-size: 17px; font-weight: 700; margin: 20px 0 6px; }
section p, section li { color: #2A3647; }
section ul, section ol { padding-left: 22px; }
section li { margin: 6px 0; }
section a { color: var(--amber-text); font-weight: 600; }
.callout { background: #FFF6E6; border-left: 4px solid var(--amber); border-radius: 0 12px 12px 0; padding: 14px 18px; }
.callout p { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
.table-scroll { overflow-x: auto; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; }

@media (max-width: 600px) {
  .toc ol { columns: 1; }
  .summary { padding: 20px; }
  .top nav { gap: 14px; font-size: 14px; }
  .brand span { display: none; }
}
@media print {
  .top { background: none; color: var(--ink); border: 0; }
  .top nav, .toc, footer nav { display: none; }
}
