/* Filomou website — minimal base styles for the legal pages.
   Intentionally plain: swap this file out when the real site is built. */

:root {
  --brand: #1CB0F6;
  /* Macaw blue is a display colour: #1CB0F6 on white is ~2.1:1 and fails
     WCAG AA for body text. Links use humpback blue (~5.2:1) instead. */
  --link: #2B70C9;
  --ink: #3C3C3C;
  --ink-muted: #6E7175;
  --line: #E5E5E5;
  --canvas: #FFFFFF;
  --surface: #F7F9FA;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 96px;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

header, main, footer { max-width: 720px; margin: 0 auto; }

header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav { margin-top: 12px; font-size: 15px; }
nav a { margin-right: 16px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 24px 0 4px; }

.updated { color: var(--ink-muted); font-size: 15px; margin: 0 0 24px; }

a { color: var(--link); }

ul, ol { padding-left: 22px; }
li { margin: 6px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--line);
}
th { background: var(--surface); font-weight: 600; }

.table-wrap { overflow-x: auto; }

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  padding: 12px 16px;
  margin: 24px 0;
  font-size: 15px;
}

.toc { background: var(--surface); border: 1px solid var(--line); padding: 12px 16px 12px 34px; font-size: 15px; }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 14px;
}

code { background: var(--surface); padding: 1px 5px; border-radius: 3px; font-size: 0.9em; }
