/* ============================================================
   LEGAL.CSS
   Styles for legal pages — Terms of Use, Privacy, Environmental Policy
   ============================================================ */


/* ─────────────────────────────────────────────────────────────
   PAGE-LEVEL HEADER OVERRIDE
   Same pattern as other pages: sticky at top, all corners rounded
   at page top, flatten on scroll.
   ───────────────────────────────────────────────────────────── */
body.page--legal .site-header.is-scrolled {
  position: sticky;
  top: 0;
  animation: none;
  border-radius: var(--radius-md);
}

body.page--legal .site-header.is-scrolled.is-stuck {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}


/* ─────────────────────────────────────────────────────────────
   PAGE WRAPPER
   ───────────────────────────────────────────────────────────── */
.legal-page {
  display: flex;
  flex-direction: column;
  gap: 70px;
  padding: 32px 0 0;
}


/* ─────────────────────────────────────────────────────────────
   LEGAL BANNER
   Simple banner with heading and last updated date
   ───────────────────────────────────────────────────────────── */
.legal-banner {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.legal-banner__heading {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -1.28px;
  color: #111111;
  margin: 0 0 16px 0;
  text-align: center;
}

.legal-banner__date {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: #666666;
  margin: 0;
  text-align: center;
}


/* ─────────────────────────────────────────────────────────────
   LEGAL CONTENT
   Main content area with styled sections
   ───────────────────────────────────────────────────────────── */
.legal-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 80px;
}

.legal-content__inner {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.84px;
  color: #111111;
  margin: 48px 0 20px 0;
}

.legal-content__title:first-child {
  margin-top: 0;
}

.legal-content__subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.6px;
  color: #111111;
  margin: 32px 0 16px 0;
}

.legal-content__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #333333;
  margin: 0 0 16px 0;
}

.legal-content__text a {
  color: #eb5667;
  text-decoration: none;
}

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

.legal-content__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 24px;
}

.legal-content__list li {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #333333;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.legal-content__list li::before {
  content: "•";
  position: absolute;
  left: -4px;
  color: #eb5667;
  font-weight: bold;
}

.legal-content__list li strong {
  font-weight: 600;
  color: #111111;
}

.legal-content__contact {
  background: #f8f9fa;
  border-left: 4px solid #eb5667;
  padding: 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.legal-content__contact p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #333333;
  margin: 0 0 8px 0;
}

.legal-content__contact p:last-child {
  margin-bottom: 0;
}

.legal-content__contact a {
  color: #eb5667;
  text-decoration: none;
}

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


/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .legal-content {
    padding: 40px;
  }

  .legal-banner__heading {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 600px) {
  .legal-page {
    padding: 20px 0 0;
  }

  .legal-banner {
    padding: 40px 24px;
    min-height: 160px;
  }

  .legal-banner__heading {
    font-size: 28px;
    line-height: 36px;
  }

  .legal-content {
    padding: 32px 24px;
  }

  .legal-content__title {
    font-size: 24px;
    line-height: 32px;
  }

  .legal-content__subtitle {
    font-size: 18px;
    line-height: 26px;
  }

  .legal-content__text {
    font-size: 15px;
    line-height: 26px;
  }

  .legal-content__list li {
    font-size: 15px;
    line-height: 26px;
  }
}
