/* Legal pages (security, BAA, privacy, terms, accessibility) and 404: a verbatim subset of the previous
   styles.css, so the legal text renders exactly as before inside the TimeGrid Care header and footer. */
:root {
  --ink: #131313;
  --sub: #495057;
  --muted: #7a7a7a;
  --muted-2: #878a99;
  --teal: #006e5b;
  --teal-dark: #005a4a;
  --teal-10: rgba(0, 110, 91, 0.10);
  --bg: #ffffff;
  --soft: #f8f8fb;
  --line: #eaeaea;
  --divider: #e2e2e2;
  --footer-bg: #131313;
  --footer-link: #a9abb6;
  --display: "Darker Grotesque", "Poppins", sans-serif;
  --body: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* The previous site's base rules, scoped to the legal content box. :where() keeps them at the element-level
   specificity they had before, so component rules such as .btn--primary still win. */
:where(.doc) { color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
:where(.doc) :where(h1, h2, h3, h4, p) { margin: 0; }
:where(.doc) :where(a) { color: inherit; }
:where(.doc) :where(img) { max-width: 100%; }
.btn-row--doc { margin-top: 28px; }
.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.container--narrow { max-width: 980px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--ghost { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-10); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
}
.doc { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 76px; }
.doc__title { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 52px); line-height: 1.02; letter-spacing: -.01em; margin-top: 12px; }
.doc__meta { font-size: 14px; color: #4A5664; margin-top: 12px; }
.doc__note {
  background: var(--teal-10); border: 1px solid rgba(0, 110, 91, .20); border-radius: 12px;
  padding: 15px 18px; margin: 26px 0 4px; font-size: 14px; color: var(--teal-dark); line-height: 1.55;
}
.doc__body { margin-top: 24px; }
.doc__body h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; margin-top: 40px; }
.doc__body h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-top: 24px; }
.doc__body p { font-size: 15.5px; line-height: 1.7; color: var(--sub); margin-top: 12px; }
.doc__body ul { margin: 12px 0 0; padding-left: 22px; }
.doc__body li { font-size: 15.5px; line-height: 1.7; color: var(--sub); margin-top: 6px; }
.doc__body a:not(.btn) { color: var(--teal); text-decoration: underline; }
.doc__body strong { color: var(--ink); font-weight: 600; }
.doc__body address { font-style: normal; color: var(--sub); font-size: 15.5px; line-height: 1.7; }
