/* Nutriglance — shared stylesheet for the legal documents.
   Seven of the eight documents link this file; privacy_policy.html carries the same
   rules inline. Keep the two in step, or the set stops looking like one document. */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px;
  line-height: 1.65;
  color: #263238;
  background: #fff;
}

h1 { color: #166534; margin-bottom: .25rem; line-height: 1.2; }
h2 { color: #166534; border-bottom: 1px solid #e5e7eb; padding-bottom: .35rem; margin-top: 2rem; }
h3 { margin-top: 1.4rem; }

a { color: #15803d; }

p, li { max-width: 78ch; }

.meta { color: #64748b; margin: .2rem 0; }

.notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
  max-width: none;
}
.notice p, .notice li { max-width: none; }

/* Wide tables scroll inside their own box instead of pushing the page sideways. */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; }
th, td { border: 1px solid #d1d5db; padding: 9px; vertical-align: top; text-align: left; }
th { background: #f8fafc; }

ul, ol { padding-left: 1.3rem; }

.links { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.links a { font-size: .92rem; }

.back-link { text-decoration: none; display: inline-block; margin-bottom: 8px; }

code {
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .92em;
}

/* The consent gate injects a fixed bar; give the page room so the last line of a
   document is never hidden underneath it. */
body { padding-bottom: 96px; }

@media (max-width: 640px) {
  body { padding: 16px 14px 96px; }
  table { font-size: .88rem; }
  th, td { padding: 7px; }
}

@media print {
  body { max-width: none; padding: 0; }
  .links, .back-link { display: none; }
}
