/* Styles for the simple text pages (privacy, code of conduct).
   Colour tokens match the :root block in index.html — change both if the brand changes. */
:root {
  --ink:   #17312B;
  --soft:  #4A625B;
  --leaf:  #1F8A5B;
  --leaf-dark: #176B47;
  --mint:  #E8F5EE;
  --sun:   #FFB938;
  --paper: #FFFFFF;
  --line:  #D5E6DD;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--leaf-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
header { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { height: 48px; width: auto; }
header nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
header nav a:hover { color: var(--leaf); }

/* Content */
main { padding: 4rem 0 5rem; }
.prose { max-width: 42rem; }
.prose h1, .prose h2 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); margin-bottom: 1rem; }
.prose h2 { font-size: 1.5rem; margin: 2.6rem 0 .7rem; letter-spacing: -0.01em; }
.prose .lead { font-size: 1.2rem; color: var(--soft); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: .9rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-top: .4rem; }
.prose li::marker { color: var(--leaf); }
.prose .callout { background: var(--mint); border-radius: 16px; padding: 1.2rem 1.4rem; margin-top: 1.4rem; }
.prose .updated { margin-top: 3rem; font-size: .95rem; color: var(--soft); }

/* Footer: keep in step with the footer in index.html */
footer { background: var(--ink); color: #CFE3DA; padding: 3rem 0; font-size: .95rem; }
footer a { color: #fff; }
footer .logo { margin-bottom: .8rem; }
footer .logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-links { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
