/* LabelLens legal pages — sibling design to prodduck.stillraft.com.
   Card-based layout on a lavender page bg, mint-green brand accents, system sans-serif. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: #EFEFF4; }

body {
  margin: 0;
  background: #EFEFF4;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

@media (max-width: 600px) {
  .page { padding: 36px 16px 60px; }
}

/* ── Hero header — large centered app icon, brand name, subtitle ───────────── */
.hero {
  text-align: center;
  padding: 8px 0 28px;
  border-bottom: 1px solid #d8d8df;
  margin-bottom: 28px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.hero-name {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #10B981;
  margin: 0;
  line-height: 1.1;
}

.hero-tagline {
  font-size: 15px;
  color: #6e6e73;
  margin: 8px 0 0;
}

/* ── Meta callout — effective date / updated / applies-to ─────────────────── */
.meta-callout {
  background: #E6F7F0;
  border-left: 4px solid #10B981;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 32px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #1d3b30;
}

.meta-callout strong { color: #0E8B5E; font-weight: 700; }

/* ── Section cards — each top-level section is a white card ───────────────── */
.card {
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 14px;
  padding: 28px 30px;
  margin: 0 0 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

@media (max-width: 600px) {
  .card { padding: 22px 20px; }
}

.card h2 {
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8ed;
  scroll-margin-top: 16px;
}

.card h3 {
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.card h3:first-of-type { margin-top: 4px; }

.card p, .card ul, .card ol { margin: 0 0 14px; }
.card *:last-child { margin-bottom: 0; }

.card ul, .card ol { padding-left: 22px; }
.card li { margin-bottom: 6px; }

/* ── Body text ─────────────────────────────────────────────────────────────── */
a {
  color: #10B981;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

strong { color: #1d1d1f; font-weight: 700; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: #f4f5f7;
  padding: 1px 6px;
  border-radius: 4px;
  color: #1a1a1a;
}

/* ── Crumb / back-link ─────────────────────────────────────────────────────── */
.crumb {
  display: inline-block;
  text-decoration: none;
  color: #6e6e73;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
}

.crumb:hover { color: #1d1d1f; }

/* ── Page title — under hero ───────────────────────────────────────────────── */
h1.page-title {
  font-size: 28px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
}

/* ── Table of contents — its own card ──────────────────────────────────────── */
.toc {
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 0 0 22px;
}

.toc h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 12px;
}

.toc ol {
  margin: 0;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.85;
  color: #1d1d1f;
}

.toc li { margin-bottom: 0; }

.toc a { color: #10B981; }

/* ── Green principle pills (used in Overview section) ──────────────────────── */
.pill-green {
  display: inline-block;
  background: #E6F7F0;
  color: #0E8B5E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Critical disclaimer (Terms — medical & data accuracy) ─────────────────── */
.critical {
  background: #FBE9EC;
  border-left: 4px solid #D7263D;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 14px 0 18px;
  color: #4a0d15;
  font-size: 15px;
  line-height: 1.55;
}

.critical strong { color: #8C1024; }
.critical p { margin: 0 0 10px; }
.critical *:last-child { margin-bottom: 0; }

/* ── Tables ────────────────────────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
  font-size: 14.5px;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid #e8e8ed;
}

th {
  background: #FAFAFC;
  font-weight: 700;
  color: #1d1d1f;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tr:last-child td { border-bottom: 0; }

/* ── Footer — appears at the very bottom of every page, after the Contact card.
   © + brand + domain. Mirrors ProdDuck's pattern. ───────────────────────────── */
.site-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #d8d8df;
  text-align: center;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer a {
  color: #10B981;
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }
