/* Page-local additions for the Privacy Policy page.
   Header nav, buttons, torn edge, hours/contact footer are inherited unchanged from
   /v6/styles.css. R-048 (Darrel, DM trace 7b232831): unified this page's layout to match
   the Terms of Service page (his call, layout-wise the better one) instead of the previous
   bespoke .policy-hero/.policy-card pattern -- these two legal pages should read as a
   matched pair, same .legal-hero/.legal-body/.legal-card classes as Terms. */

.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;
}

/* Real client photo (engine.jpg, a macro shot of an engine's timing gear train), shared with
   the sibling Terms of Service hero so the two legal pages read as a matched pair. */
.legal-hero {
  min-height: auto;
  background-image:
    linear-gradient(180deg, rgba(17,21,23,0.88) 0%, rgba(13,16,18,0.92) 100%),
    url("assets/hero.jpg");
  background-position: center;
  background-size: cover;
}

.legal-hero .hero-content {
  padding: 64px 100px 72px;
}

.legal-hero .torn-edge {
  height: 120px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.legal-subhead {
  width: min(100%, 640px);
  margin-top: 20px;
  font-size: 18px;
  line-height: 32px;
  font-weight: 400;
  color: #dce8ee;
}

.legal-updated {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #c7efff;
}

.legal-body {
  padding: 72px var(--gutter) 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--color-worktruck-white);
}

.legal-intro {
  max-width: 900px;
  font-size: 17px;
  line-height: 30px;
  font-weight: 500;
  color: #3d5059;
}

.legal-card {
  padding: 40px 44px;
  border: 2px solid #d8e1e6;
  background: #fff;
}

.legal-card-index {
  display: block;
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-diesel-blue);
  margin-bottom: 10px;
}

.legal-card h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 1.8vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-deep-blue);
  margin-bottom: 18px;
}

.legal-card p {
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  color: #3d5059;
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-card li {
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  color: #3d5059;
}

.legal-card a {
  color: var(--color-diesel-blue);
  font-weight: 700;
}

.legal-card a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .legal-hero .hero-content { padding: 48px 24px 56px; }
  .legal-body { padding: 56px 24px 72px; }
  .legal-card { padding: 30px 26px; }
}
