/* TechTools365 family brand. The one source for the top bar and footer on every site.
   Edit here, then run: python data-products/shared/brand/sync.py */

:root {
  --tt-night: #15161E;
  --tt-surface: #1E1F2A;
  --tt-hair: rgba(237, 237, 243, 0.14);
  --tt-text: #EDEDF3;
  --tt-muted: #A9ABBC;
  --tt-peach: #F2B38C;
  --tt-font: 'Hanken Grotesk', 'Segoe UI', Arial, sans-serif;
}

/* Top bar: the parent brand comes first on every page of every site */
.tt-bar { position: relative; z-index: 40; font-family: var(--tt-font); background: rgba(21, 22, 30, 0.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--tt-hair); }
.tt-bar-inner { max-width: 1320px; margin: 0 auto; padding: 10px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.tt-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--tt-text); font-size: 1.04rem; font-weight: 600; letter-spacing: 0.17em; white-space: nowrap; text-decoration: none; }
.tt-brand:hover { color: #fff; text-decoration: none; }
.tt-brand em { font-style: normal; color: var(--tt-peach); }
.tt-brand svg { display: block; flex-shrink: 0; }
.tt-sites { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.tt-sites a { color: var(--tt-muted); font-size: 0.94rem; font-weight: 450; padding: 4px 12px; border-radius: 99px; text-decoration: none; white-space: nowrap; }
.tt-sites a:hover { color: var(--tt-text); text-decoration: none; }
.tt-sites a[aria-current] { color: var(--tt-text); background: rgba(237, 237, 243, 0.13); font-weight: 500; }
.tt-extra { margin-left: auto; display: flex; flex-wrap: wrap; gap: 2px 18px; }
.tt-extra a { color: var(--tt-text); font-size: 0.94rem; font-weight: 450; text-decoration: none; }
.tt-extra a:hover { color: var(--tt-peach); text-decoration: none; }
.tt-extra a[aria-current] { color: var(--tt-peach); }

/* Footer */
.tt-footer { font-family: var(--tt-font); background: var(--tt-night); color: var(--tt-muted); border-top: 1px solid var(--tt-hair); font-size: 0.92rem; line-height: 1.55; }
.tt-footer-inner { max-width: 1180px; margin: 0 auto; padding: 32px 16px 12px; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(130px, 1fr)); gap: 24px 32px; }
.tt-footer-about p { margin: 12px 0 0; max-width: 36ch; }
.tt-footer h2 { margin: 0 0 8px; font-family: inherit; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--tt-text); }
.tt-footer ul { list-style: none; margin: 0; padding: 0; }
.tt-footer li { margin: 0 0 5px; }
.tt-footer a { color: var(--tt-muted); text-decoration: none; }
.tt-footer a:hover { color: var(--tt-text); text-decoration: underline; text-underline-offset: 3px; }
.tt-footer .tt-brand { color: var(--tt-text); }
.tt-footer-fine { max-width: 1180px; margin: 0 auto; padding: 12px 16px 26px; font-size: 0.82rem; }
.tt-footer-fine p { margin: 0; max-width: 82ch; }

/* The dusk scene behind each site's hero */
.tt-dusk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

@media (max-width: 720px) {
  .tt-bar-inner { padding: 9px 16px; gap: 4px 14px; }
  .tt-brand { font-size: 0.96rem; letter-spacing: 0.14em; }
  .tt-sites { margin-left: -12px; }
  .tt-sites a { font-size: 0.88rem; }
  .tt-extra { margin-left: 0; }
  .tt-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-footer-about { grid-column: 1 / -1; }
}
