/* ==========================================================================
   Squarely — Privacy & Terms pages (shared layout)
   ========================================================================== */

.legal-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #125e59 0%, #3fa285 100%);
  color: var(--white);
  min-height: 660px;
  display: flex;
  align-items: center;
}

.legal-hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 70px;
}

.legal-hero__eyebrow {
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 18px;
}

.legal-hero__title {
  font-weight: 900;
  font-size: 60px;
  line-height: 67px;
  letter-spacing: -1.5px;
  margin: 0;
}

.legal-hero__updated {
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  margin: 22px 0 0;
}

.legal-content {
  padding: 80px 0 96px;
}

.legal-content .container {
  max-width: 900px;
}

.legal-section {
  margin-bottom: 48px;
}

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

.legal-section__title {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: var(--teal-900);
  margin: 0 0 20px;
}

.legal-section__text {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.5;
  color: var(--teal-900);
  margin: 0 0 16px;
}

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

.legal-list {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-list li {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.5;
  color: var(--teal-900);
  margin-bottom: 10px;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-subsection {
  margin-top: 24px;
}

.legal-subsection__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  color: var(--teal-700);
  margin: 0 0 14px;
}

.legal-contact {
  background: #f0f6f3;
  border-radius: 20px;
  padding: 32px;
  margin-top: 48px;
}

.legal-contact__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--teal-900);
  margin: 0 0 16px;
}

.legal-contact__text {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.5;
  color: var(--teal-900);
  margin: 0;
}

.legal-contact__email {
  color: var(--teal-700);
  font-weight: 600;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .legal-hero {
    min-height: 0;
  }

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

  .legal-hero__title {
    font-size: clamp(34px, 6vw, 52px);
    line-height: 1.08;
  }

  .legal-hero__updated {
    font-size: clamp(18px, 2.6vw, 24px);
  }

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

  .legal-section__title {
    font-size: clamp(28px, 5vw, 40px);
  }
}

@media (max-width: 640px) {
  .legal-hero .container {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .legal-hero__eyebrow {
    font-size: 18px;
  }

  .legal-content {
    padding: 48px 0 60px;
  }

  .legal-section {
    margin-bottom: 36px;
  }

  .legal-contact {
    padding: 24px;
  }
}
