/**
 * Fast Tracking — shared footer stylesheet.
 *
 * Styles the legal row added beneath the existing .footer-grid:
 *   - Copyright line (left)
 *   - Privacy Policy + Terms & Conditions links (right)
 *
 * Designed to inherit from the existing design tokens defined in :root
 * (--sans, --white, etc.) which are declared in each page's style-{page}.css.
 * Where variables aren't guaranteed, sane literal fallbacks are provided.
 *
 * Aligned with existing footer styles in style-home.css:
 *   - .footer-grid uses max-width: 1280px
 *   - .footer has padding: 56px 48px (40px 24px below 720px)
 *   - Hover state matches .footer-contact a — color-only, no underline
 *
 * Location:
 *   /wp-content/themes/astra-child/assets/shared/style-footer.css
 *
 * Enqueued via functions.php on these 10 page templates:
 *   home, melbourne, sydney, brisbane, perth, adelaide, hobart,
 *   about, how-to-bill, pricing
 *
 * Pairs with: /template-parts/footer-ft.php
 */

/* ===== Footer legal row ===== */
.footer-legal {
  max-width: 1280px;            /* matches .footer-grid */
  margin: 32px auto 0;          /* gap above; centered within .footer's padding */
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  margin: 0;
  font-family: var(--sans, 'Inter Tight', -apple-system, sans-serif);
  font-size: 0.82rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-legal-links a {
  font-family: var(--sans, 'Inter Tight', -apple-system, sans-serif);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-legal-links a:focus-visible {
  color: #ffffff;
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== Mobile (matches existing 720px breakpoint) ===== */
@media (max-width: 720px) {
  .footer-legal {
    margin-top: 24px;
    padding-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-legal-links {
    gap: 20px;
  }
}
