/* ─────────────────────────────────────────────────────────────────
   Shared site footer CSS — one canonical copy for every jursu.com
   page. Loaded via nginx sub_filter (same mechanism as nav.css/
   consent.js) so it reaches every page automatically.
   Fixes a real drift bug found 2026-09-20, the same class of bug
   nav.css already fixed once for the nav on 2026-09-14: 5 of 14
   top-level pages (pricing, about, contact, features, integrations)
   were each missing .btn-playstore entirely, so the footer's Play
   Store badge rendered at its raw 300x98 image size instead of the
   intended ~40px-tall badge, and none of the 5 had the narrower
   mobile breakpoint the other 9 pages had for stacking the footer
   columns. The footer HTML itself was unified the same day
   (_footer.html + sync-footer.js) - this covers the CSS half of the
   same problem, since identical HTML still renders differently if
   the CSS styling it differs page to page.
   Relies only on --text/--text-secondary/--blue/--border/--surface, which
   every page already defines identically (same assumption nav.css
   already makes).
   ───────────────────────────────────────────────────────────────── */

footer { border-top: 1px solid var(--border); padding: 64px 6% 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-top: 12px; max-width: 220px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--surface); color: var(--text-secondary); transition: color .2s, background .2s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.footer-social a:hover { color: #fff; background: var(--blue); }
.footer-col h3 { font-size: 12px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-secondary); text-decoration: none; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--text-secondary); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a, .footer-legal-btn { font-size: 12px; color: var(--text-secondary); text-decoration: none; }
.footer-legal a:hover, .footer-legal-btn:hover { color: var(--text); }
.footer-legal-btn { background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; }

/* Also used by the homepage's app-showcase section (a white-background
   variant is applied there via a more specific selector on that page) -
   not footer-exclusive, but this is the footer's own use of it. */
.btn-playstore { display: inline-flex; align-items: center; background: var(--surface); padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: border-color .2s, transform .2s, box-shadow .2s; }
.btn-playstore:hover { border-color: #94a3b8; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.btn-playstore img { display: block; height: 40px; width: auto; }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { max-width: 100%; margin: 10px auto 0; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}
