/* Legal / policy pages. Deliberately plain and high-contrast: these are documents
   people read when something has gone wrong, so legibility beats decoration. */

:root {
  --ink: #1d1b18;
  --muted: #5f5952;
  --line: #e6ded2;
  --paper: #fdfaf5;
  --accent: #c4552a;
  --accent-soft: #fbeee6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

/* Header */
.l-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
  background: #fff; position: sticky; top: 0; z-index: 5;
}
.l-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.l-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--ink); color: #fff; font-family: Fredoka, sans-serif; font-weight: 700; letter-spacing: .5px;
}
.l-brand b { display: block; font-family: Fredoka, sans-serif; font-size: 17px; line-height: 1.15; }
.l-brand i { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.l-topnav { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.l-topnav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.l-topnav a:hover { color: var(--ink); }
.l-topnav .l-cta {
  background: var(--accent); color: #fff; padding: 9px 15px; border-radius: 999px; font-weight: 700;
}
.l-topnav .l-cta:hover { color: #fff; filter: brightness(1.06); }

/* Layout */
.l-wrap { max-width: 760px; margin: 0 auto; padding: 30px 22px 64px; }
.l-crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.l-crumb a { color: var(--muted); }

h1 {
  font-family: Fredoka, sans-serif; font-size: clamp(30px, 5vw, 40px);
  line-height: 1.12; margin: 0 0 10px;
}
.l-lede { font-size: 18px; color: var(--muted); margin: 0 0 22px; }

/* Cross-links between policies */
.l-policynav {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px;
}
.l-policynav a {
  font-size: 13.5px; text-decoration: none; font-weight: 500;
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--muted);
}
.l-policynav a:hover { border-color: var(--accent); color: var(--accent); }
.l-policynav a[aria-current="page"] {
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 700;
}

/* Document body */
.l-doc h2 {
  font-family: Fredoka, sans-serif; font-size: 22px; line-height: 1.25;
  margin: 34px 0 10px; padding-top: 4px;
}
.l-doc h2:first-child { margin-top: 0; }
.l-doc h3 { font-size: 17px; margin: 24px 0 8px; }
.l-doc p { margin: 0 0 14px; }
.l-doc ul, .l-doc ol { margin: 0 0 16px; padding-left: 22px; }
.l-doc li { margin-bottom: 7px; }
.l-doc strong { font-weight: 700; }
.l-doc code {
  background: #f2ece3; padding: 1px 5px; border-radius: 4px;
  font-size: .92em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Tables scroll rather than forcing the page to */
.l-tablewrap { overflow-x: auto; margin: 0 0 18px; }
.l-doc table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.l-doc th, .l-doc td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.l-doc th { font-weight: 700; background: #fff; white-space: nowrap; }

.l-contact {
  margin-top: 34px; padding: 16px 18px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid #f2d9c9; font-size: 15.5px;
}

/* Footer */
.l-foot {
  border-top: 1px solid var(--line); background: #fff;
  padding: 26px 22px 34px; text-align: center; font-size: 14px; color: var(--muted);
}
.l-foot p { margin: 0 0 8px; }
.l-foot a { color: var(--muted); text-decoration: none; }
.l-foot a:hover { color: var(--accent); text-decoration: underline; }
.l-copy { font-size: 12.5px; opacity: .75; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .l-brand i { display: none; }
  .l-topnav { gap: 10px; font-size: 13px; }
}
