/**
 * Motorwise Legal Pages — Shared Styles
 *
 * Vehicle Report scaffold: a single vertical-scroll page of white section cards
 * on a #fafafa ground, with a sticky scroll-spy pill nav. Shared across every
 * /legal/*.html page (contact, privacy, terms, cookies, accessibility,
 * app-privacy). Most styling is Tailwind CDN utilities; this file holds only
 * what utilities can't express.
 */

/* ============================================================================
   Base
   ============================================================================ */
body {
  font-family: 'Jost', sans-serif;
  background: #fafafa;
}

/* Section scroll offset so headings clear the fixed header (56px) + sticky nav
   when reached via the tab nav / deep-links. */
.legal-section {
  scroll-margin-top: 140px;
}

/* ============================================================================
   Tab nav — hidden horizontal scrollbar on the pill strip
   ============================================================================ */
#legal-tabnav-strip {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#legal-tabnav-strip::-webkit-scrollbar {
  display: none;
}

/* ============================================================================
   Prose inside legal cards — comfortable reading rhythm without a plugin
   ============================================================================ */
.legal-prose {
  color: #3f4651;
  font-size: 15px;
  line-height: 1.65;
}
.legal-prose > * + * {
  margin-top: 0.9rem;
}
.legal-prose p,
.legal-prose li {
  color: #3f4651;
}
.legal-prose strong {
  color: #11161c;
  font-weight: 600;
}
.legal-prose h3 {
  color: #11161c;
  font-size: 15px;
  font-weight: 700;
  margin-top: 1.4rem;
}
.legal-prose ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.legal-prose ul > li {
  position: relative;
  padding-left: 1.5rem;
}
.legal-prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #0066FF;
}
.legal-prose a {
  color: #0066FF;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.legal-prose a:hover {
  color: #0052CC;
}

/* ============================================================================
   Focus-visible states for keyboard navigation (brand ring)
   ============================================================================ */
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #0066FF;
  outline-offset: 2px;
}

/* ============================================================================
   Prefers reduced motion
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
