/* AQ-275: shared static footer for every New Energy route, outside #workspace.
   Entertainment reference and content boundaries: docs/FOOTER-PARITY.md.
   Scope all rules to the footer so reader views cannot resize its contents. */
.site-footer {
  background: #1d6bb4;
  color: #e9f2fb;
  border-top: 0;
  margin-top: 30px;
  padding: 34px max(20px, calc((100% - 1560px) / 2 + 20px)) 30px;
  font: 12px/1.65 var(--sans, Inter, sans-serif);
}
.site-footer .ftwrap { width: 100%; max-width: 1520px; margin: 0; }
.site-footer .ftcols { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.site-footer :is(.ftbrand, .ftcredits) { min-width: 0; max-width: 100%; }
.site-footer .ftbrand > a { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; }
.site-footer .ftlogo { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .95; }
.site-footer .ftdesc { max-width: 560px; margin: 0; font-size: 12.5px; line-height: 1.6; }
.site-footer .ftdesc b { color: #fff; }
.site-footer .ftcredits { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer .cred { font-size: 12px; line-height: 1.55; color: #f2f6fb; }
.site-footer a { color: #fff; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; }
.site-footer .madeby { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px; margin-block: -10px; font-weight: 400; text-decoration: none; }
.site-footer .anthropic-logo { height: 13px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .95; }
.site-footer .madeby:hover .anthropic-logo { opacity: 1; }
.site-footer .ftkeys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #ffffff3d; }
.site-footer .ftkeys-l { font: 12px/1.5 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: #e9f2fb; margin-right: 2px; }
.site-footer .ftkeys .k { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.site-footer .ftkeys kbd { font: 12px/1 var(--mono, monospace); min-width: 20px; padding: 5px 6px; text-align: center; color: #fff; background: #03203c66; border: 1px solid #ffffff70; border-bottom-width: 2px; border-radius: 4px; }
.site-footer .ftparent { margin: 22px 0 0; font-size: 13px; font-weight: 600; color: #fff; }
.site-footer .ftdisc { margin: 12px 0 0; padding-top: 16px; max-width: 900px; font-size: 12px; line-height: 1.65; color: #e9f2fb; border-top: 1px solid #ffffff3d; }
.site-footer .ftdisc a { overflow-wrap: anywhere; }
.site-footer .ftlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; max-width: 900px; margin: 12px 0 0; font-size: 12px; line-height: 1.95; }
.site-footer .ftlinks a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff80; }
.site-footer .ftlinks a:hover { text-decoration-color: #fff; }
.site-footer .ftcopy { margin: 10px 0 0; font-size: 12px; color: #f2f6fb; line-height: 2; }
.site-footer .ftbug { display: inline-flex; align-items: center; min-height: 44px; margin-left: 4px; padding: 3px 11px; border: 1px solid #ffffff70; border-radius: 999px; background: #03203c66; font: 12px/1.7 var(--mono, monospace); letter-spacing: .07em; text-transform: uppercase; vertical-align: middle; }
.site-footer .ftbug:hover { background: #03203c99; }
@media (max-width: 780px) {
  .site-footer { padding: 22px 14px 20px; }
  .site-footer .ftcols { gap: 18px; }
  .site-footer .ftkeys { gap: 8px 12px; }
  .site-footer .ftlinks { gap: 4px 8px; }
  .site-footer .ftbug { margin-block: 6px; }
}
