/* The hero's little tools get a contained playground below the footer links. */
.lp-footer.has-footer-cards { padding-inline: 0; padding-bottom: 0; }
.lp-footer.has-footer-cards > .lp-footer__card { width: calc(100% - 48px); }
.footer-card-field {
  position: relative;
  width: 100%;
  max-width: none;
  height: 240px;
  margin: 0 auto;
  overflow: hidden;
  contain: layout paint;
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
}
.footer-tool {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  width: 120px;
  height: 86px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  outline: none;
  background: var(--tool-paper);
  color: #23352c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .09), inset 0 1px rgba(255, 255, 255, .35);
  transform-origin: center;
  visibility: hidden;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
}
.footer-tool > * { pointer-events: none; }
.footer-tool.is-grabbed { cursor: grabbing; }
.lp-footer .footer-tool:focus:not(:focus-visible) { outline: none; }
.lp-footer .footer-tool:focus-visible { outline: 2px solid #f3f7f1; outline-offset: 4px; }
.footer-card-instructions { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer-card-field.is-ready .footer-tool { visibility: visible; }
.footer-tool[hidden] { display: none; }
.footer-card-field.is-moving .footer-tool { will-change: transform; }
.footer-tool > svg { width: 19px; height: 19px; flex: none; }
.footer-tool__name { font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: -.01em; }
.footer-tool__lines { display: flex; gap: 4px; width: 80%; opacity: .22; }
.footer-tool__lines i { width: 46%; height: 3px; border-radius: 2px; background: currentColor; }
.footer-tool__lines i:nth-child(2) { width: 24%; }
.footer-tool__lines i:nth-child(3) { width: 14%; }

@media (max-width: 1100px) {
  .footer-tool { width: 108px; height: 80px; padding: 11px 12px; }
}
@media (max-width: 600px) {
  .footer-card-field { margin-top: 0; }
  .footer-tool { width: 80px; height: 68px; gap: 5px; padding: 9px; border-radius: 9px; }
  .footer-tool > svg { width: 16px; height: 16px; }
  .footer-tool__name { font-size: 10px; line-height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-card-field.is-moving .footer-tool { will-change: auto; }
}
@media (forced-colors: active) {
  .footer-tool { background: Canvas; color: CanvasText; border-color: CanvasText; box-shadow: none; }
}
@media print {
  .footer-card-field { display: none; }
}
