/* Shared look for the legal pages (/terms, /privacy, /consumer-health-data).
   Same Saffron & Chili tokens and fonts as index.html. */
:root {
  --canvas: #FFF7EC;
  --card: #FFFFFF;
  --border: #F0E5D2;
  --ink: #241C18;
  --muted: #5E5347;
  --muted2: #7C6E5C;
  --chili: #D5372A;
  --chili-deep: #AE2A1F;
  --saffron: #E8A11C;
  --brand-soft: #FBEEDC;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.top {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Rubik', system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand svg { width: 36px; height: 36px; display: block; }

.doc {
  max-width: 760px;
  margin: 20px auto 0;
  padding: 32px 28px 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  line-height: 1.6;
  font-size: 16px;
}

h1 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 99px;
  background: var(--saffron);
  margin: 14px 0 0;
}

h2 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 34px 0 8px;
}

h3 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  margin: 22px 0 6px;
}

p, li { color: var(--ink); }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 0 0 6px; }

.dates { color: var(--muted); font-size: 15px; margin-bottom: 4px; }

.callout {
  background: var(--brand-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0;
}

.caps { font-weight: 700; }

a { color: var(--chili); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; color: var(--chili-deep); }
a:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 3px; }

.table-wrap { overflow-x: auto; margin: 6px 0 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { font-weight: 700; background: var(--brand-soft); }

/* A blank only the owner can fill. Must not reach the live site. */
mark.fill { background: #FFE7A3; color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }

.foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 24px 36px;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.6;
  text-align: center;
}

.foot a { font-weight: 600; }

@media (max-width: 520px) {
  .doc { padding: 24px 18px 30px; border-radius: 14px; }
}
