/* Shared nav and footer. Matches the homepage (Manrope + Inter, light palette).
   Loaded by scripts/nav.js and scripts/components.js. */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

nav.tc-header, header.tc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FAFAF9;
  border-bottom: 1px solid #DDE2E5;
  color: #12181C;
  font-family: Manrope, Helvetica, Arial, sans-serif;
}
nav.tc-header .row,
header.tc-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  height: auto;
}
nav.tc-header .tc-logo,
header.tc-header .tc-logo,
footer.tc-footer .tc-logo {
  font-family: Manrope, Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  font-size: 1.375rem;
  color: #12181C;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0;
}
nav.tc-header .mark,
header.tc-header .mark,
footer.tc-footer .mark { display: none; }
nav.tc-header .tc-links,
header.tc-header .tc-links,
nav.tc-header .tc-nav,
header.tc-header .tc-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav.tc-header .tc-links a,
header.tc-header .tc-links a,
nav.tc-header .tc-nav a,
header.tc-header .tc-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #5B6670;
  text-decoration: none;
  opacity: 1;
  font-family: Manrope, Helvetica, Arial, sans-serif;
}
nav.tc-header .tc-links a::after,
header.tc-header .tc-links a::after,
nav.tc-header .tc-nav a::after { display: none; }
nav.tc-header .tc-links a:hover,
header.tc-header .tc-links a:hover,
nav.tc-header .tc-nav a:hover,
nav.tc-header .tc-links a[aria-current],
header.tc-header .tc-nav a[aria-current],
nav.tc-header .tc-nav a[aria-current] { color: #0E7C86; opacity: 1; }
nav.tc-header .tc-toggle,
header.tc-header .tc-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #DDE2E5;
  border-radius: 8px;
  background: transparent;
  color: #12181C;
  font-size: 1.25rem;
}
nav.tc-header .row-utility,
header.tc-header .row-utility,
nav.tc-header .meta,
header.tc-header .meta,
nav.tc-header .right,
header.tc-header .right { display: none !important; }

@media (max-width: 767px) {
  nav.tc-header .tc-toggle,
  header.tc-header .tc-toggle { display: inline-flex; }
  nav.tc-header .tc-links,
  header.tc-header .tc-links,
  nav.tc-header .tc-nav,
  header.tc-header .tc-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #FFFFFF;
    border-bottom: 1px solid #DDE2E5;
    padding: 8px 16px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
  }
  nav.tc-header .tc-links.is-open,
  header.tc-header .tc-links.is-open,
  nav.tc-header .tc-nav.is-open,
  header.tc-header .tc-nav.is-open { display: flex; }
  nav.tc-header .tc-links a,
  header.tc-header .tc-links a,
  nav.tc-header .tc-nav a,
  header.tc-header .tc-nav a { min-height: 44px; }
  body { padding-bottom: 0; }
}

footer.tc-footer {
  background: #12181C;
  color: #F3F5F6;
  border-top: 0;
  padding: 48px 0 32px;
  font-family: Manrope, Helvetica, Arial, sans-serif;
}
footer.tc-footer .top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #2C353C;
}
footer.tc-footer .brand p,
footer.tc-footer .tc-blurb {
  color: rgba(243,245,246,.75);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 42ch;
  margin: 8px 0 0;
}
footer.tc-footer .tc-logo { color: #F3F5F6; }
footer.tc-footer h4 { display: none; }
footer.tc-footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
}
footer.tc-footer ul a,
footer.tc-footer .tc-foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: rgba(243,245,246,.85);
  text-decoration: none;
  font-size: 0.875rem;
}
footer.tc-footer ul a:hover,
footer.tc-footer .tc-foot-links a:hover { color: #5FC3CC; }
footer.tc-footer .bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 0;
  color: #DDE2E5;
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
  font-family: Manrope, Helvetica, Arial, sans-serif;
}
footer.tc-footer .bottom a,
footer.tc-footer .bottom .links a {
  color: #DDE2E5;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer.tc-footer .bottom a:hover,
footer.tc-footer .bottom .links a:hover { color: #5FC3CC; }
footer.tc-footer .bottom .links { display: flex; gap: 4px; align-items: center; }
footer.tc-footer .tc-note {
  display: block;
  margin-top: 12px;
  color: #DDE2E5;
  font-size: 0.75rem;
  line-height: 1.6;
}
footer.tc-footer .tc-note a { color: #5FC3CC; }

@media (prefers-reduced-motion: reduce) {
  nav.tc-header *,
  header.tc-header *,
  footer.tc-footer * {
    transition: none !important;
    animation: none !important;
  }
}
