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

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #203054;
  line-height: 1.7;
}

/* ── Nav tabs ── */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #173f64;
  border-bottom: 1px solid rgba(49,157,207,0.25);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.legal-nav::-webkit-scrollbar { display: none; }

.legal-nav__brand {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  margin-right: 32px;
  white-space: nowrap;
  padding: 18px 0;
  letter-spacing: 0.02em;
}

.legal-nav__link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 18px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.legal-nav__link:hover,
.legal-nav__link.active {
  color: #fff;
  border-bottom-color: #319dcf;
}

/* ── Page wrap ── */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}

/* ── Section ── */
.legal-section {
  margin-bottom: 80px;
  scroll-margin-top: 72px;
}

.legal-section__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #319dcf;
  margin-bottom: 10px;
}

.legal-section__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #173f64;
  margin-bottom: 6px;
  line-height: 1.2;
}

.legal-section__date {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 32px;
}

.legal-divider {
  height: 2px;
  background: linear-gradient(90deg, #319dcf 0%, transparent 100%);
  border: none;
  margin-bottom: 32px;
  border-radius: 2px;
}

/* ── Typography ── */
.legal-wrap h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #173f64;
  margin: 28px 0 10px;
}

.legal-wrap h2:first-of-type { margin-top: 0; }

.legal-wrap h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2a6d94;
  margin: 20px 0 8px;
}

.legal-wrap p {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 14px;
}

.legal-wrap ul, .legal-wrap ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-wrap li {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 6px;
}

/* Nested sub-bullets (e.g. the healthcare-data note under section 2.2) */
.legal-wrap li > ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.legal-wrap li > ul > li {
  color: #475569;
  margin-bottom: 0;
}

/* Contact block — section 12 */
.legal-contact {
  font-style: normal;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.9;
  margin: 0 0 14px;
  padding: 14px 18px;
  background: #fff;
  border-left: 3px solid #319dcf;
  border-radius: 0 8px 8px 0;
}

.legal-wrap a {
  color: #319dcf;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-wrap a:hover { color: #1a7aa8; }

/* ── Attributions ── */
.attr-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.attr-list li {
  font-size: 0.78rem;
  color: #94a3b8;
  padding: 6px 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: baseline;
}

.attr-list li:last-child { border-bottom: none; }

.attr-list__model {
  font-weight: 600;
  color: #64748b;
}

.attr-list a {
  font-size: 0.78rem;
  color: #94a3b8;
}

.attr-note {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

/* ── Back link ── */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #319dcf;
  text-decoration: none;
  margin-bottom: 40px;
}
.legal-back:hover { color: #1a7aa8; }
