.legal-page-main {
  background: #f5f6f7;
  padding: 34px max(24px, calc((100vw - 1240px) / 2)) 72px;
}

.legal-hero {
  background: #162a40;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: grid;
  gap: 14px;
  padding: clamp(34px, 6vw, 72px);
}

/* Relevant sourcing imagery is retained behind a high-contrast policy heading. */
.policy-privacy .legal-hero { background-image: linear-gradient(90deg,rgba(11,30,50,.92),rgba(11,30,50,.60) 58%,rgba(11,30,50,.28)),url("images/general-support-team-v1.webp"); }
.policy-returns .legal-hero { background-image: linear-gradient(90deg,rgba(12,32,51,.92),rgba(12,32,51,.62) 58%,rgba(12,32,51,.28)),url("images/general-custom-packaging-v1.webp"); }
.policy-shipping .legal-hero { background-image: linear-gradient(90deg,rgba(11,31,50,.92),rgba(11,31,50,.60) 58%,rgba(11,31,50,.28)),url("images/general-catalogue-warehouse-v1.webp"); }
.policy-terms .legal-hero { background-image: linear-gradient(90deg,rgba(11,31,50,.92),rgba(11,31,50,.62) 58%,rgba(11,31,50,.28)),url("images/general-about-team-v1.webp"); }

.legal-hero span {
  color: #ff9a55;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.05;
  margin: 0;
  max-width: 880px;
}

.legal-hero p {
  color: #d9e2ea;
  line-height: 1.75;
  margin: 0;
  max-width: 820px;
}

.legal-updated {
  color: #617080;
  font-size: 13px;
  margin: 20px 0 0;
}

.legal-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 280px;
  margin-top: 22px;
}

.legal-sections {
  display: grid;
  gap: 16px;
}

.legal-sections article,
.legal-contact-card {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
}

.legal-sections h2,
.legal-contact-card h2 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  margin: 0 0 12px;
}

.legal-sections p,
.legal-sections li,
.legal-contact-card p {
  color: #4f5d6b;
  line-height: 1.75;
}

.legal-sections p:last-child,
.legal-contact-card p:last-child {
  margin-bottom: 0;
}

.legal-sections ul {
  margin: 0;
  padding-left: 20px;
}

.legal-contact-card {
  align-self: start;
  position: sticky;
  top: 18px;
}

.legal-contact-card a {
  color: #d84f10;
  font-weight: 900;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .legal-page-main { padding: 18px 16px 48px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-contact-card { position: static; }
  .legal-hero { background-position: 65% center; }
}
