/* ==========================================================================
   Oken Ihian — Legal Pages Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --legal-card-bg:    #FFFFFF;
  --legal-card-border:#2B2146;
  --legal-text:       #1E1E2E;
  --legal-text-muted: #555566;
  --legal-accent:     #8B5CF6;
  --legal-heading:    #221A3A;
  --legal-shadow:     0 4px 28px rgba(0, 0, 0, 0.10);
  --legal-radius:     12px;
}

/* --------------------------------------------------------------------------
   2. Body Reset
   -------------------------------------------------------------------------- */
body {
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   3. Page Hero Banner
   -------------------------------------------------------------------------- */
.page-hero {
  background: #221A3A;
  padding: 90px 24px 64px;
  text-align: center;
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #8B5CF6;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero .effective-date {
  font-size: 0.95rem;
  color: #A59BC4;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. Container
   -------------------------------------------------------------------------- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* --------------------------------------------------------------------------
   5. Effective Date (inline variant)
   -------------------------------------------------------------------------- */
.effective-date {
  font-size: 0.9rem;
  color: #8B5CF6;
  font-weight: 600;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E8E6F0;
}

/* --------------------------------------------------------------------------
   6. Policy Content — Light Card
   -------------------------------------------------------------------------- */
.policy-content {
  background: #FFFFFF;
  border: 1px solid #2B2146;
  border-radius: 12px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.10);
  padding: 56px 52px;
  color: #1E1E2E;
}

.policy-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #221A3A;
  margin-top: 48px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #8B5CF6;
  letter-spacing: -0.01em;
}

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

.policy-content h3 {
  font-size: 1.12rem;
  font-weight: 600;
  color: #221A3A;
  margin-top: 28px;
  margin-bottom: 10px;
}

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

.policy-content ul,
.policy-content ol {
  margin: 0 0 20px 24px;
  padding: 0;
}

.policy-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: #1E1E2E;
  margin-bottom: 10px;
  padding-left: 4px;
}

.policy-content li strong {
  color: #221A3A;
}

.policy-content strong {
  color: #221A3A;
  font-weight: 600;
}

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

.policy-content a:hover {
  color: #6D4ADB;
}

.policy-content address {
  font-style: normal;
  line-height: 1.7;
  color: #1E1E2E;
}

/* --------------------------------------------------------------------------
   7. Footer Styling Overrides
   -------------------------------------------------------------------------- */
#site-footer {
  background: #160F28;
  border-top: 1px solid rgba(139, 92, 246, 0.18);
}

#site-footer .footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 24px 48px;
}

#site-footer .footer-col {
  display: flex;
  flex-direction: column;
}

#site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#site-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 8px;
}

#site-footer .footer-tagline {
  font-size: 0.88rem;
  color: #A59BC4;
  line-height: 1.6;
  max-width: 280px;
}

#site-footer .footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #F8FAFC;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

#site-footer .footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-footer .footer-col ul li a {
  font-size: 0.9rem;
  color: #A59BC4;
  transition: color 0.28s ease;
}

#site-footer .footer-col ul li a:hover {
  color: #8B5CF6;
}

#site-footer .footer-contact-col p,
#site-footer .footer-contact-col address p {
  font-size: 0.9rem;
  color: #A59BC4;
  line-height: 1.6;
  margin-bottom: 4px;
}

#site-footer .footer-contact-link a {
  font-size: 0.9rem;
  color: #A59BC4;
  transition: color 0.28s ease;
}

#site-footer .footer-contact-link a:hover {
  color: #8B5CF6;
}

#site-footer .footer-bottom {
  border-top: 1px solid rgba(139, 92, 246, 0.18);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  gap: 12px;
}

#site-footer .footer-bottom p {
  font-size: 0.82rem;
  color: #A59BC4;
}

#site-footer .footer-legal-links {
  display: flex;
  gap: 18px;
}

#site-footer .footer-legal-links a {
  font-size: 0.85rem;
  color: #A59BC4;
  transition: color 0.28s ease;
}

#site-footer .footer-legal-links a:hover {
  color: #8B5CF6;
}

#site-footer .footer-credit {
  font-size: 0.8rem;
  color: #A59BC4;
}

/* --------------------------------------------------------------------------
   8. Responsive — 880px
   -------------------------------------------------------------------------- */
@media (max-width: 880px) {

  .page-hero {
    padding: 64px 20px 48px;
  }

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

  .container {
    padding: 32px 20px;
  }

  .policy-content {
    padding: 40px 32px;
    border-radius: 10px;
  }

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

  .policy-content p,
  .policy-content li {
    font-size: 0.95rem;
  }

  #site-footer .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  #site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   9. Responsive — 560px (single column)
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {

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

  .container {
    padding: 24px 12px;
  }

  .policy-content {
    padding: 28px 18px;
    border-radius: 8px;
  }

  .policy-content h2 {
    font-size: 1.18rem;
    margin-top: 28px;
  }

  .policy-content p,
  .policy-content li {
    font-size: 0.92rem;
  }

  #site-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
