/* v1.3.4: theme-aware brand panel; separate terms/privacy page states. */
:root {
 --systech-card-start:#e4f3eb; --systech-card-end:#f7fbf8;
 --systech-card-line:#bad7c8; --systech-name:#164b38;
 --systech-slogan:#41614f; --systech-shadow:0 5px 18px #12352609;
}
html[data-theme="dark"] {
 --systech-card-start:#112d22; --systech-card-end:#071510;
 --systech-card-line:#315a49; --systech-name:#dcf8e9;
 --systech-slogan:#b2cebe; --systech-shadow:0 5px 18px #00000018;
}
.site-footer .systech-footer, .subpage-footer .systech-footer {
 background:linear-gradient(130deg,var(--systech-card-start),var(--systech-card-end));
 border-color:var(--systech-card-line);box-shadow:var(--systech-shadow);
}
.site-footer .systech-footer strong,.subpage-footer .systech-footer strong {color:var(--systech-name)!important}
.site-footer .systech-footer small,.subpage-footer .systech-footer small {color:var(--systech-slogan)!important}
html[data-theme="light"] .site-footer {background:#edf4ef;color:#214734;border-top:1px solid #d3e1d8}
html[data-theme="light"] .site-footer h2 {color:#214734}
html[data-theme="light"] .site-footer .footer-brand>p,
html[data-theme="light"] .site-footer .footer-bottom {color:#446051;border-color:#cfddd4}
html[data-theme="light"] .site-footer .footer-grid a:not(.systech-footer) {color:#365e49}
html[data-theme="light"] .site-footer .footer-grid a:not(.systech-footer):hover {color:#116447}
html[data-theme="light"] .site-footer .social-links a {background:#e0eee5;border-color:#c1d8ca;color:#315a43}
html[data-theme="light"] .site-footer .social-links a:hover {background:#d1e7d9;border-color:#7fae94}
html[data-theme="light"] .site-footer .social-play {fill:#e0eee5}
/* Preserve explicit CMS colors; default theme colors are CSS-driven. */
.footer-grid a.default-footer-link {color:#9bcab8}
html[data-theme="light"] .footer-grid a.default-footer-link {color:#365e49}
.legal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.legal-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:11px;font-size:calc(13px * var(--font-scale,1));font-weight:700;color:var(--muted);text-decoration:none;background:var(--surface)}
.legal-tabs a[aria-current="page"]{background:var(--brand-soft);color:var(--brand-strong);border-color:var(--brand)}
.subpage-footer-links a[aria-current="page"]{color:var(--brand-strong);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.terms-article h2:first-child{margin-top:0}.terms-related{padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:430px){.legal-tabs a{flex:1;justify-content:center;padding:10px 8px;font-size:calc(12px * var(--font-scale,1))}}
