/* Original DNSly icon family. Shared geometry, restrained two-tone surfaces. */
.dnsly-icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; vertical-align: middle; }
.dnsly-icon .icon-tint { fill: currentColor; fill-opacity: .08; stroke: none; }
.brand-symbol { background: #245ddd; color: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px #ffffff18, 0 2px 5px #245ddd18; }
.brand-symbol .dnsly-icon { width: 25px; height: 25px; stroke-width: 1.8; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 15px; border: 1px solid #dfe8f8; background: #f0f5ff; color: #315fbc; }
.feature-icon .dnsly-icon { width: 28px; height: 28px; }
.feature-icon-search { background: #eef8f7; border-color: #dcefeb; color: #257d75; }
.feature-icon-dns { background: #f3f1fb; border-color: #e7e1f5; color: #6c56a6; }
.tool-link .tool-symbol:has([data-icon="search"]) { background: #eef8f7; border-color: #dcefeb; color: #257d75; }
.tool-link .tool-symbol:has([data-icon="dns"]) { background: #f3f1fb; border-color: #e7e1f5; color: #6c56a6; }
.tool-symbol .dnsly-icon { width: 22px; height: 22px; }
.text-link .dnsly-icon, .related-tools .dnsly-icon, .data-source .dnsly-icon { width: 14px; height: 14px; }
.related-tools a { display: inline-flex; align-items: center; gap: 8px; }
.disclosure-icon { display: inline-flex; align-items: center; justify-content: center; }
.disclosure-icon .dnsly-icon { width: 16px; height: 16px; }
.contact-icon { width: 21px; height: 21px; margin-right: 6px; color: #315fbc; }
.google-signin-icon { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; margin-right: 8px; }

/* Compact mobile navigation: accessible label without a visible title row. */
@media (max-width: 899px) {
  .site-header-inner { height: 60px; }
  .mobile-menu-button { width: 36px; height: 36px; }
  .mobile-menu-button .dnsly-icon { width: 21px; height: 21px; }
  .mobile-panel { padding: 12px; }
  .mobile-panel > .mobile-menu-button { position: absolute; top: 12px; right: 12px; }
  .mobile-panel > .nav-popover-label { min-height: 36px; padding: 9px 10px; margin-right: 44px; }
  .mobile-panel .tool-link { padding: 8px 10px; gap: 10px; }
  .mobile-panel .tool-symbol { width: 34px; height: 34px; border-radius: 9px; }
  .mobile-secondary-links { margin: 8px 0; padding-top: 8px; }
  .mobile-secondary-links .nav-link { padding: 6px 10px; min-height: 36px; }
  .mobile-panel .mobile-access { padding: 10px 14px; }
}

/* Refined mobile navigation surfaces and hierarchy. */
@media (max-width: 899px) {
  .site-header { box-shadow: 0 2px 12px #19284104; }
  .site-header-inner > .mobile-menu-button { background: #fff; border: 1px solid #e3e9f2; color: #263b5d; border-radius: 11px; box-shadow: 0 2px 4px #19284104; }
  .mobile-backdrop { background: #14223d55; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
  .mobile-panel { top: 10px; right: 10px; width: min(380px, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: 14px; border-radius: 23px; border: 1px solid #ffffffcc; background: linear-gradient(155deg, #f4f7ff 0, #fff 42%); box-shadow: 0 24px 70px #0e203933, 0 4px 16px #0e203912; }
  .mobile-panel > .mobile-menu-button { top: 13px; right: 13px; width: 34px; height: 34px; border-radius: 50%; background: #ffffffcc; border: 1px solid #e3e9f2; color: #67768b; }
  .mobile-panel > .nav-popover-label { min-height: 36px; margin-bottom: 9px; padding-left: 4px; color: #667895; font-size: 10px; letter-spacing: 1.35px; }
  .mobile-panel .tool-link { margin-bottom: 6px; padding: 11px 10px; gap: 11px; border: 1px solid #e9edf5; background: #ffffffd9; border-radius: 14px; box-shadow: 0 2px 4px #18325803; }
  .mobile-panel .tool-link:hover, .mobile-panel .tool-link.is-active { border-color: #cedcf5; background: #f0f5ff; }
  .mobile-panel .tool-symbol { width: 37px; height: 37px; border-radius: 11px; }
  .mobile-panel .tool-link strong { font-size: 13px; font-weight: 650; color: #23344f; }
  .mobile-panel .tool-link small { font-size: 11px; color: #76849a; }
  .mobile-tool-arrow { display: inline-flex; margin-left: auto; color: #98a8bf; }
  .mobile-tool-arrow .dnsly-icon { width: 15px; height: 15px; }
  .mobile-secondary-links { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px; margin: 14px 0; padding-top: 14px; border-top-color: #e6ecf5; }
  .mobile-secondary-links .nav-link { gap: 7px; padding: 9px 8px; min-height: 39px; font-size: 12px; font-weight: 500; color: #52627a; border-radius: 10px; }
  .mobile-secondary-links .nav-link:hover { background: #eef3fc; color: #245ddd; }
  .mobile-secondary-links .dnsly-icon { width: 16px; height: 16px; color: #8798af; }
  .mobile-panel .mobile-access { min-height: 44px; padding: 11px 14px; border-radius: 12px; background: #245ddd; border-color: #245ddd; box-shadow: 0 4px 10px #245ddd20; }
  .mobile-panel .mobile-access:hover { background: #194fc3; }
  .mobile-overlay:not([hidden]) .mobile-panel { animation: dnsly-menu-enter .18s ease-out; }
}
@keyframes dnsly-menu-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .mobile-overlay:not([hidden]) .mobile-panel { animation: none; } }
