/* ==========================================================================
   StriveGuard — Legal Pages Stylesheet
   Privacy Policy, Terms of Service, and related legal pages
   ========================================================================== */

/* --- Body Reset & Base Enhancements --- */
body {
  font-size: 16px;
  color: #1e293b;
  background-color: #f1f5f9;
}

/* --- Sticky Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #0f172a;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  height: 72px;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   PAGE HERO BANNER
   ========================================================================== */
.page-hero {
  margin-top: 72px;
  background-color: #0f172a;
  padding: 72px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background-color: #f59e0b;
  margin: 16px auto 0;
  border-radius: 2px;
}

.page-hero .effective-date {
  font-size: 15px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 8px;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   POLICY CONTENT CARD
   ========================================================================== */
.policy-content {
  padding: 64px 0 80px;
}

.policy-content .container {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 56px 52px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.policy-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f59e0b;
  display: inline-block;
}

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

.policy-content p {
  font-size: 16px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 16px;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content strong {
  font-weight: 600;
  color: #0f172a;
}

.policy-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.policy-content a:hover {
  color: #1d4ed8;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.policy-content li {
  font-size: 16px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  padding: 64px 0 0;
  color: #cbd5e1;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .page-hero h1 {
    font-size: 36px;
  }

  .policy-content .container {
    padding: 44px 36px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 56px 0;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero .effective-date {
    font-size: 14px;
  }

  .policy-content {
    padding: 40px 0 60px;
  }

  .policy-content .container {
    padding: 36px 24px;
    border-radius: 8px;
  }

  .policy-content h2 {
    font-size: 20px;
    margin-top: 36px;
  }

  .policy-content p,
  .policy-content li {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 26px;
  }

  .container {
    padding: 0 16px;
  }

  .policy-content .container {
    padding: 28px 18px;
  }

  .policy-content h2 {
    font-size: 18px;
    margin-top: 28px;
    padding-bottom: 8px;
  }

  .policy-content p,
  .policy-content li {
    font-size: 15px;
    line-height: 1.65;
  }
}
