:root {
  --ink: #132c23;
  --green: #1f6b50;
  --green-dark: #173d2f;
  --paper: #f5f7f3;
  --line: #ccd9d1;
  --muted: #607168;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); line-height: 1.65; }
a { color: var(--green); }

.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 6vw, 96px); border-bottom: 1px solid var(--line); background: white; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 20px "Manrope", system-ui, sans-serif; letter-spacing: -.04em; }
.brand img { width: 30px; height: 30px; }
.legal-header nav { display: flex; gap: 18px; font-size: 14px; }
.legal-header nav a { color: var(--muted); text-decoration: none; }
.legal-header nav a[aria-current="page"] { color: var(--green-dark); font-weight: 600; }

main { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; }
h1 { margin: 0 0 6px; font: 700 clamp(30px, 5vw, 42px)/1.15 "Manrope", system-ui, sans-serif; letter-spacing: -.03em; }
.updated { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
h2 { margin: 40px 0 10px; font: 700 21px/1.3 "Manrope", system-ui, sans-serif; letter-spacing: -.02em; }
h3 { margin: 24px 0 6px; font-size: 16px; }
p, li { font-size: 16px; }
ul { padding-left: 22px; }
li + li { margin-top: 6px; }
.summary { margin: 0 0 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.summary p { margin: 0; }
.summary p + p { margin-top: 8px; }
table { width: 100%; margin: 12px 0; border-collapse: collapse; font-size: 15px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
/* Pending company details: filled in before publishing. */
mark { padding: 0 4px; border-radius: 4px; background: #f3e98b; }

.legal-footer { padding: 24px clamp(16px, 6vw, 96px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-footer a { color: var(--muted); }

@media (max-width: 560px) {
  .legal-header { flex-direction: column; align-items: flex-start; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { padding: 4px 0; border: 0; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
}
