/* ============================================================
   Thrive Field — Legal Pages Stylesheet
   ============================================================ */

/* --- Body Reset for Legal Pages --- */
body {
  font-size: 16px;
  background-color: #06201F;
  color: #F2F7F4;
}

/* --- Page Hero Banner --- */
.page-hero {
  position: relative;
  padding: 80px 0 64px;
  background: #06201F;
  text-align: center;
  border-bottom: 1px solid rgba(45, 212, 191, .12);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 50% 50%, rgba(20, 184, 166, .06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 50% 50%, rgba(232, 179, 56, .05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #E8B338;
  margin-bottom: 16px;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.effective-date {
  font-size: .9rem;
  color: #8FA3A8;
  font-weight: 500;
}

/* --- Policy Content Container --- */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px;
  background: #F2F7F4;
  border: 1px solid #0A2B2A;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}

.policy-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #06201F;
  margin-top: 44px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid #E8B338;
  line-height: 1.3;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  font-size: .96rem;
  color: #1a2e2d;
  line-height: 1.8;
  margin-bottom: 18px;
}

.policy-content ul,
.policy-content ol {
  margin: 0 0 22px 22px;
  color: #1a2e2d;
  font-size: .96rem;
  line-height: 1.8;
}

.policy-content li {
  margin-bottom: 10px;
}

.policy-content a {
  color: #0d9488;
  text-decoration: underline;
  transition: color .25s;
}

.policy-content a:hover {
  color: #14B8A6;
}

.policy-content strong {
  color: #06201F;
  font-weight: 700;
}

/* Section wrapper for background spacing */
.legal-section-wrapper {
  padding: 60px 0 90px;
  background: #06201F;
}

/* --- Footer (legal page specific overrides) --- */
.site-footer {
  background: #041412;
  border-top: 1px solid rgba(45, 212, 191, .1);
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .page-hero {
    padding: 60px 0 48px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .policy-content {
    max-width: 720px;
    padding: 44px 36px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤880px)
   ============================================================ */

@media (max-width: 880px) {
  .page-hero {
    padding: 48px 0 36px;
  }

  .page-hero h1 {
    font-size: 1.7rem;
  }

  .policy-content {
    padding: 36px 24px;
  }

  .policy-content h2 {
    font-size: 1.3rem;
    margin-top: 34px;
  }

  .policy-content p,
  .policy-content ul,
  .policy-content ol {
    font-size: .92rem;
  }

  .legal-section-wrapper {
    padding: 40px 0 70px;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤600px)
   ============================================================ */

@media (max-width: 600px) {
  .page-hero {
    padding: 40px 0 28px;
  }

  .page-hero h1 {
    font-size: 1.4rem;
  }

  .effective-date {
    font-size: .8rem;
  }

  .policy-content {
    padding: 28px 16px;
    border-radius: 10px;
  }

  .policy-content h2 {
    font-size: 1.15rem;
    margin-top: 28px;
    padding-bottom: 10px;
  }

  .policy-content p,
  .policy-content ul,
  .policy-content ol {
    font-size: .88rem;
  }

  .legal-section-wrapper {
    padding: 32px 0 56px;
  }
}
