/* ========================= */
/* LEGAL PAGE SHELL */
/* ========================= */
.legal-page {
  min-height: 100vh;
  padding-top: 76px;
  background: #f4f5f2;
  color: #17191d;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.legal-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* ========================= */
/* LEGAL HERO */
/* ========================= */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 100px);
  background:
    linear-gradient(115deg, rgba(200, 16, 26, 0.16), transparent 42%), #0b0d11;
  color: #fff;
}

.legal-hero::after {
  content: "LEGAL";
  position: absolute;
  right: max(24px, calc((100% - 1120px) / 2));
  bottom: -0.2em;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(8rem, 18vw, 15rem);
  line-height: 0.8;
  pointer-events: none;
}

.legal-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #ff5c64;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  background: #ef1a23;
}

.legal-title {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: left;
}

.legal-title span {
  color: #ff4a53;
}

.legal-intro {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 28px 0 0;
  color: #c8cdd4;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.75;
}

/* ========================= */
/* LEGAL CONTENT LAYOUT */
/* ========================= */
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 90px);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(80px, 10vw, 132px);
}

.legal-summary {
  position: sticky;
  top: 104px;
  border-top: 3px solid #c8101a;
  padding-top: 18px;
}

.legal-summary p {
  margin: 0 0 14px;
  color: #70757d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-summary a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #d7d9d5;
  color: #272b30;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-summary a span {
  color: #c8101a;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.1rem;
}

.legal-summary a:hover,
.legal-summary a:focus-visible {
  color: #c8101a;
}

.legal-content {
  min-width: 0;
}

.legal-block {
  scroll-margin-top: 110px;
  padding: 0 0 clamp(64px, 8vw, 92px);
}

.site-section-divider--contained + .legal-block {
  padding-top: clamp(64px, 8vw, 92px);
}

.legal-block-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 38px;
}

.legal-block-head > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  background: #c8101a;
  color: #fff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.25rem;
}

.legal-block-head p {
  margin: 1px 0 5px;
  color: #8a3035;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-block h2 {
  margin: 0;
  color: #17191d;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-details {
  margin: 0;
  border-top: 1px solid #cfd2ce;
}

.legal-details div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid #cfd2ce;
}

.legal-details dt {
  color: #696e75;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-details dd {
  margin: 0;
  color: #25282d;
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-prose {
  display: grid;
  gap: 2px;
  border-left: 3px solid #c8101a;
}

.legal-prose section {
  padding: 25px 30px;
  background: #e9ebe7;
}

.legal-prose h3 {
  margin: 0 0 9px;
  color: #202328;
  font-size: 1rem;
  letter-spacing: 0;
}

.legal-prose p {
  margin: 0;
  color: #555b63;
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ========================= */
/* RESPONSIVE OVERRIDES */
/* ========================= */
@media (max-width: 760px) {
  .legal-page {
    padding-top: 68px;
  }

  .legal-shell {
    width: min(100% - 40px, 1120px);
  }

  .legal-hero {
    padding-top: 64px;
  }

  .legal-hero::after {
    right: 14px;
    font-size: 8rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .legal-summary {
    position: static;
  }

  .legal-details div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .legal-prose section {
    padding: 22px 20px;
  }
}
