/* Shared footer: scoped overrides for legacy layouts and preview packages. */
html footer.frontier-footer.footer-clarity {
  display: block;
  box-sizing: border-box;
  padding: clamp(28px, 4vw, 48px);
  margin-top: clamp(48px, 7vw, 96px);
  overflow: visible;
  text-align: left;
}
html footer.footer-clarity .footer-clarity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(24px, 4vw, 56px);
}
html footer.footer-clarity .footer-clarity-grid > * { min-width: 0; }
html footer.footer-clarity p { margin: 0; max-width: none; font-size: 14px; line-height: 1.65; }
html footer.footer-clarity .footer-clarity-name { font-size: 17px; color: var(--ink); margin-bottom: 12px; }
html footer.footer-clarity .footer-clarity-copyright { margin-top: 24px; color: var(--muted); }
html footer.footer-clarity .footer-clarity-heading { color: var(--muted); margin-bottom: 12px; font-size: 13px; font-weight: 600; }
html footer.footer-clarity nav { display: block; max-width: none; text-align: left; }
html footer.footer-clarity ul { list-style: none; display: block; padding: 0; margin: 0; }
html footer.footer-clarity li { padding: 0; margin: 0; }
html footer.footer-clarity a, html footer.footer-clarity button {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; gap: 8px;
  padding: 6px 0; box-sizing: border-box; font: inherit; font-size: 15px; line-height: 1.45;
  text-align: left; overflow-wrap: anywhere; color: var(--ink); text-decoration: none;
  background: none; border: 0; border-radius: 0; cursor: pointer;
}
html footer.footer-clarity a:hover, html footer.footer-clarity button:hover { text-decoration: underline; text-underline-offset: 4px; }
html footer.footer-clarity a:focus-visible, html footer.footer-clarity button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
html footer.footer-clarity .footer-clarity-note { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); margin: -3px 0 8px; }
html footer.footer-clarity .footer-clarity-meta { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
html footer.footer-clarity .privacy-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px 28px; margin: 0; }
html footer.footer-clarity .privacy-footer-links a, html footer.footer-clarity .privacy-footer-links button { font-size: 13px; }
html footer.footer-clarity .footer-credits { margin: 16px 0 0; max-width: 90ch; font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) {
  html footer.footer-clarity .footer-clarity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html footer.footer-clarity .footer-clarity-identity { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  html footer.frontier-footer.footer-clarity { padding: 28px 24px; }
  html footer.footer-clarity .footer-clarity-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  html footer.footer-clarity .privacy-footer-links { flex-direction: column; align-items: flex-start; gap: 0; }
}
