:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --green: #2d6a4f;
  --green-dark: #1b4332;
  --border: #e2e2e2;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --font-head: "Source Serif 4", Georgia, serif;
  --max: 680px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  background: var(--bg);
}
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 99;
  padding: .5rem .9rem; background: var(--green); color: #fff;
  text-decoration: none; border-radius: 4px; font-weight: 600; font-size: .875rem;
}
.skip-link:focus { top: 1rem; }
.legal-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.legal-header .wrap {
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
}
.brand span { color: var(--green); }
.back {
  font-size: .875rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}
.back:hover { text-decoration: underline; }
.legal-main { padding: 2.5rem 0 3rem; }
.legal-main h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 600;
  color: var(--text);
}
.legal-main h2 {
  margin: 2rem 0 .6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.legal-main p { margin: 0 0 .85rem; }
.legal-main a { color: var(--green-dark); }
.legal-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: .8125rem;
  text-align: center;
  color: var(--muted);
}
.legal-footer a { color: var(--green-dark); text-decoration: none; font-weight: 500; }
.legal-footer a:hover { text-decoration: underline; }
.legal-footer p { margin: .6rem 0 0; }
