/* The Complete AI family list, for the footer of every Complete AI site (brand/v2/source/family.py).
   Each site lists the other three businesses. Uses the shared family tokens (--ink, --ink-2, --muted, --blue-50, --mono)
   with fallbacks, so it works on any page. */
.fam-list { margin-top: 22px; display: grid; gap: 6px; max-width: 360px; }
.fam-list .fam-h { margin: 0 0 2px; font: 600 12px/1.3 var(--mono, ui-monospace, Menlo, monospace); letter-spacing: .09em; text-transform: uppercase; color: var(--muted, #7F8A98); }
.fam-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fam-list li { margin: 0; }
.fam-list a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; color: var(--ink, #202832); text-decoration: none; transition: background .15s; }
.fam-list a:hover, .fam-list a:focus-visible { background: var(--blue-50, #F1F6FD); text-decoration: none; }
.fam-list b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.25; color: var(--ink, #202832); }
.fam-list small { display: block; margin-top: 1px; font-size: 13px; line-height: 1.35; color: var(--ink-2, #4D5866); }
.fam-mk { width: 28px; height: 28px; display: block; }
.fam-mk .o { fill: #FF8700; }
.fam-mk .b { fill: #0057BA; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fam-mk .b { fill: #5C9DFF; } }
:root[data-theme="dark"] .fam-mk .b { fill: #5C9DFF; }

/* The copyright line at the very bottom of every page, centred. In a grid footer it spans all columns. */
.fam-legal, .foot .fam-legal { grid-column: 1 / -1; max-width: none; margin: 12px 0 0; padding-top: 18px; border-top: 1px solid var(--line, #E2E7EE); font-size: 13px; line-height: 1.6; text-align: center; color: var(--muted, #7F8A98); }
.fam-legal a { color: var(--ink-2, #4D5866); font-weight: 600; text-decoration: none; white-space: nowrap; }
.fam-legal a:hover { color: var(--blue, #0852A8); text-decoration: underline; }
/* on a page without the family footer (404, old report viewer) */
.fam-legal-page { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 32px; }
