.tqt-animated-mark {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.tqt-animated-mark::before,
.tqt-animated-mark::after { content: none !important; display: none !important; }

.tqt-animated-symbol { display: block; width: 100%; height: 100%; overflow: visible; }
.tqt-animated-symbol .tqt-logo-base,
.tqt-animated-symbol .tqt-logo-traces { fill: none; stroke: #05c7f4; stroke-width: 9; }
.tqt-animated-symbol .tqt-logo-base { opacity: .5; }
.tqt-animated-symbol .tqt-logo-trace { stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: tqt-brand-trace 7s ease-in-out infinite; }
.tqt-animated-symbol .tqt-logo-trace-inner { animation-delay: .65s; }
.tqt-animated-symbol .tqt-logo-core { fill: #05c7f4; stroke: none; }
.tqt-animated-symbol .tqt-logo-halo { fill: #05c7f4; opacity: .13; transform-box: fill-box; transform-origin: center; animation: tqt-brand-breathe 4s ease-in-out infinite; }
.tqt-animated-symbol .tqt-logo-orbit { transform-box: view-box; transform-origin: center; animation: tqt-brand-orbit 24s linear infinite; }
.tqt-animated-symbol .tqt-logo-orbit-point { fill: #9eefff; stroke: none; }
.tqt-animated-symbol .tqt-logo-orbit-halo { fill: rgba(5,199,244,.13); stroke: none; }

.tqt-animated-wordmark { display: inline-block; width: 2.5rem; max-width: 100%; height: auto; vertical-align: middle; overflow: visible; }
.tqt-animated-wordmark path { fill: #f0fcff !important; stroke: none !important; }
.tqt-wordmark-host { line-height: 1 !important; }
.nav-logo .nav-brand-sub,
.nav-logo .nav-logo-sub,
.snav-logo .snav-sub,
.hfb-logo .hfb-logo-sub { white-space: nowrap; }

@keyframes tqt-brand-trace {
  0%, 6% { stroke-dashoffset: 100; opacity: 0; }
  14% { opacity: 1; }
  48%, 78% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes tqt-brand-orbit { to { transform: rotate(360deg); } }
@keyframes tqt-brand-breathe {
  0%, 100% { transform: scale(1); opacity: .09; }
  50% { transform: scale(1.18); opacity: .2; }
}

/* Compact shared headers and wrapping footers on small phones. */
@media (max-width: 480px) {
  footer .footer-links { flex-wrap: wrap; gap: 12px 18px; }
}
@media (max-width: 380px) {
  .nav-logo-sub, .nav-brand-sub, .hfb-logo-sub { display: none; }
  .nav-back, .nav-cta { white-space: nowrap; flex-shrink: 0; }
  .nav-back svg { flex: 0 0 12px; }
  .wp-product-name { font-size: clamp(1.45rem, 7.5vw, 1.8rem); overflow-wrap: normal; }
  .cta-title { font-size: clamp(1.4rem, 7vw, 1.8rem); overflow-wrap: anywhere; }
}
