/* Shared styling for Pawperator policy pages. Self-contained on purpose so the
   pages work before you've wired them into the main site stylesheet. Once you
   have, delete this file and let the site's own CSS take over. */
:root {
  color-scheme: light dark;
  /* Matched to the Pawperator palette in index.html */
  --ink: #1a2e22;
  --muted: #6b7f72;
  --bg: #fcecc9;
  --panel: #ffffff;
  --line: #e3ede6;
  --accent: #2d6a4f;
  --deep: #374b40;
  --gold: #e9c46a;
}
@media (prefers-color-scheme: dark) {
  :root { --ink:#e8efeb; --muted:#9db0a8; --bg:#16201a; --panel:#1e2b24; --line:#2c3a33; --accent:#74c69d; --deep:#0f1712; --gold:#e9c46a; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  padding: 0 20px;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 48px 0 96px; }
header.doc { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 32px; }
.eyebrow { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 6px; }
h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 .6rem; letter-spacing: -.01em; }
h3 { font-size: 1rem; margin: 1.6rem 0 .4rem; }
p, li { color: var(--ink); }
.lede { color: var(--muted); font-size: 1.05rem; margin: 0; }
.updated { color: var(--muted); font-size: .875rem; margin: 10px 0 0; }
a { color: var(--accent); }
ul, ol { padding-left: 1.25rem; }
li { margin: .35rem 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 2px 12px rgba(27,67,50,.08); padding: 18px 20px; margin: 1.5rem 0; }
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
.scroll { overflow-x: auto; }
footer.doc { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; font-size: .9rem; color: var(--muted); }
footer.doc a { margin-right: 1rem; }
code { background: var(--panel); padding: .1em .35em; border-radius: 4px; font-size: .9em; }

/* ---- Ownership badge: the FTC-critical component ---------------------------
   Use on the K9 Gourmet BB listing card AND profile header. It must be at
   least as prominent as the Raw Score, and must not be behind a tooltip. */
.pw-owned {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff4d6; color: #6b4b00; border: 1px solid #e8c56a;
  border-radius: 999px; padding: .3rem .75rem;
  font-size: .8125rem; font-weight: 600; line-height: 1.3;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  .pw-owned { background: #3a2f10; color: #f5d98a; border-color: #6d5820; }
}
.pw-owned:hover { filter: brightness(.97); }
.pw-owned::before { content: "\26A0\FE0F"; font-size: .9em; }

/* Brand header strip, matching the site nav */
header.doc { border-bottom: 3px solid var(--gold); }
.eyebrow { color: var(--accent); }
h1 { color: var(--deep); }
@media (prefers-color-scheme: dark) { h1 { color: var(--ink); } }
.back-home {
  display:inline-flex; align-items:center; gap:.4rem; margin-bottom:20px;
  font-size:.875rem; font-weight:600; color:var(--accent); text-decoration:none;
}
.back-home:hover { text-decoration: underline; }
