/* ================= RESET & BASE ================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, sans-serif;
}

body {
    background: #fafafa;
    color: #1f2937;
}

/* ================= HERO / PAGE HEADER ================= */

.page-header {
    background: #f5f3ef;
    padding: 120px 20px 140px;
}

.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.legal-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 14px;
    background: #e7e2d8;
    border-radius: 6px;
    margin-bottom: 24px;
    color: #374151;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #24364b;
}

/* ================= CONTENT SECTION ================= */

.policy-section {
    background: #ffffff;
}

.policy-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
    padding: 40px 20px;
}

/* ================= LEFT COLUMN (NAV) ================= */

.policy-nav {
    position: sticky;
    top: 120px;
}

.policy-nav ol {
    list-style: decimal;
    padding-left: 18px;
}

.policy-nav li {
    margin-bottom: 16px;
}

.policy-nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s ease;
}

.policy-nav a:hover {
    color: #6d28d9;
}

/* ================= RIGHT COLUMN (CONTENT) ================= */

.policy-content article {
    margin-bottom: 20px;
}

.policy-content h2 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #24364b;
}

.policy-content h3 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: #24364b;
}

.policy-content p,
.policy-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.policy-content ul {
    margin-left: 20px;
}
.policy-content ul li {
    margin-bottom: 8px;
}

/* ================= SUMMARY BOX ================= */

.summary {
    background: #f9fafb;
    border-left: 4px solid #6d28d9;
    padding: 32px;
    margin-bottom: 30px;
}

.summary h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

/* ================= BUTTON ================= */

.back-home {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 80px;
    transform: translateX(-180px);
}

.btn-purple {
    background: #6d28d9;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-purple:hover {
    background: #5b21b6;
    transform: translateY(-1px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .policy-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .policy-nav {
        position: relative;
        top: 0;
    }

}
/* ================= PRIVACY POLICY – MOBILE FIX (FINAL) ================= */
@media (max-width: 900px) {


  .policy-container{
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
  }


  .policy-nav{
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
  }

  .policy-nav ol{
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
    -webkit-overflow-scrolling: touch;
  }

  .policy-nav ol::-webkit-scrollbar{
    display: none;
  }

  .policy-nav li{
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .policy-content{
    width: 100% !important;
    max-width: 100% !important;
  }

  .back-home{
    width: 100% !important;
    max-width: 100% !important;

    display: grid !important;
    place-items: center !important;

    margin-top: 34px !important;
    text-align: center !important;
  }

  .back-home a.btn-purple{
    justify-self: center !important;
    align-self: center !important;

    float: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    margin-left: auto !important;
    margin-right: auto !important;

    width: auto !important;
    max-width: 100% !important;

    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}
@media (max-width: 900px) {
  .back-home{
    transform: none !important;
  }
}
@media (max-width: 900px) {
  .policy-nav ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
  }

  .policy-nav li {
    margin: 0 !important;
  }

  .policy-nav a {
    display: inline-block !important;
    padding: 8px 12px !important;
    background: #f3f4f6 !important;
    border-radius: 999px !important;
    font-size: 14px !important;
  }
}
@media (max-width: 900px) {
  .policy-nav ol {
    scrollbar-width: none;
  }
}


