/* Shared styling for the policy pages. Kept in its own file rather than
   inlined so these pages run under the same script-src/style CSP as the
   landing page without needing 'unsafe-inline' widened for them. */

:root {
  --ink: #16241f;
  --ink-soft: #46564f;
  --ink-faint: #7c8a83;
  --paper: #fbfaf7;
  --sage: #eef1ec;
  --signal: #1f7a4d;
  --warn: #b8860b;
  --edge: #d8d6cf;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 24px;
}
.brand {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 9px;
}
.brand-mark {
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--signal); position: relative; flex-shrink: 0;
}
.brand-mark::after {
  content: ""; position: absolute; width: 6px; height: 6px;
  border-radius: 50%; background: var(--paper); top: 5px; right: 5px;
}
.nav-right { display: flex; gap: 24px; }
.nav-right a { font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.nav-right a:hover { color: var(--ink); }

/* ── Document ── */
.doc { padding: 36px 24px 96px; }
h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 5vw, 42px); line-height: 1.08;
  letter-spacing: -0.02em;
}
.updated { font-size: 14px; color: var(--ink-faint); margin-top: 10px; }
.lede { font-size: 18px; color: var(--ink-soft); margin-top: 24px; }

h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 23px; letter-spacing: -0.015em;
  margin: 44px 0 12px;
}
h3 { font-size: 16.5px; font-weight: 600; margin: 26px 0 8px; }

p { color: var(--ink-soft); margin-bottom: 13px; }
p strong, li strong { color: var(--ink); font-weight: 600; }
a { color: var(--signal); }
a:hover { color: var(--ink); }

ul { margin: 0 0 16px 22px; color: var(--ink-soft); }
li { margin-bottom: 9px; }

.callout {
  background: #fff; border: 1px solid var(--edge);
  border-left: 3px solid var(--signal);
  border-radius: 9px; padding: 18px 20px; margin: 26px 0;
  font-size: 15.5px; color: var(--ink-soft);
}
.callout.warn { border-left-color: var(--warn); }

table {
  width: 100%; border-collapse: collapse; margin: 18px 0 22px;
  font-size: 14.5px;
}
th, td {
  text-align: left; padding: 11px 12px;
  border-bottom: 1px solid var(--edge); vertical-align: top;
  color: var(--ink-soft);
}
th { color: var(--ink); font-weight: 600; background: var(--sage); }
td:first-child { color: var(--ink); }

.footnote {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--edge);
  font-size: 13.5px; color: var(--ink-faint);
}

footer {
  border-top: 1px solid var(--edge); padding: 30px 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--ink-faint);
  max-width: 720px; margin: 0 auto;
}
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }
.foot-links { display: flex; gap: 22px; }

@media (max-width: 560px) {
  .doc { padding-top: 20px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--edge); padding: 10px 0; }
  th, td { border: none; padding: 3px 0; }
  td:first-child { font-weight: 600; }
}
