/* --------------------------------------------------------
   RESET & BASE
-------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    background-color: #161a35;
    color: #dcdcdc;
    line-height: 1.6;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
}

/* --------------------------------------------------------
     CONTAINER
  -------------------------------------------------------- */
.policy-container {
    width: min(900px, calc(100% - 120px));
    margin: 4rem auto 2rem auto;
    display: block;
}

/* --------------------------------------------------------
     TYPOGRAPHY
  -------------------------------------------------------- */

/* Page Title */
h1 {
    color: #f5f5f5;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 1rem;
}

/* Section Headings */
h2 {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 0px;
    padding-bottom: 0.25rem;
}

/* Sub-section Headings */
h3 {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    margin: 1.5rem 0 1rem;
}

/* Paragraphs */
p {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Emphasized/important body copy */
p.important {
    color: #ffffff;
}

.legal-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 2rem;
}

.legal-list li {
    margin-bottom: 1rem;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #dcdcdc;
    line-height: 1.6;
    list-style: inherit;
    padding-left: 0;
    text-indent: 0;
}


.definition-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.definition-list li {
    margin-bottom: 1.25rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.policy-container strong,
.footer-contact strong,
.definition-list li strong {
    color: #ffffff;
    font-weight: 600;
}


strong.important {
    color: #ffffff;
}

/* --------------------------------------------------------
     LINKS
  -------------------------------------------------------- */
.policy-container a,
.footer-contact a {
    color: var(--accent-3);
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.policy-container a:hover,
.footer-contact a:hover {
    color: var(--accent-2);
    transform: none;
}

/* --------------------------------------------------------
     SECTIONS
  -------------------------------------------------------- */
section {
    margin-bottom: 1.5rem;
}

.policy-container section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 1.75rem;
}

/* --------------------------------------------------------
     TABS
  -------------------------------------------------------- */
.policy-tabs {
    display: flex;
    justify-content: left;
    gap: 1rem;
    width: min(900px, calc(100% - 120px));
    margin: 7rem auto 0 auto;
    flex-wrap: wrap;
}

.policy-tabs .tab {
    border-radius: 18px;
    display: flex;
    height: 36px;
    min-width: 126px;
    padding: 5.5px 14px;
    color: #a2a7bd;
    align-items: center;
    justify-content: center;
    background-color: #2E314A;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
}

.policy-tabs .tab:hover {
    background-color: rgba(138, 143, 168, 0.1);
}

.policy-tabs .tab.active {
    color: #ffffff;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.policy-tab-hidden {
    display: none !important;
}

/* --------------------------------------------------------
     FOOTER
-------------------------------------------------------- */

.policy-wrapper {
    background-color: #1f243a;
}

#site-footer {
    margin-top: 16px;
}

.footer-wrapper {
    background-color: transparent;
}

.footer-contact {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    margin-bottom: 20px;
    width: min(900px, calc(100% - 120px));
    margin: 0rem auto 2rem auto;
    display: block;
}

.footer-contact h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: #dcdcdc;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    margin: 0 0 0.1rem;
}

.footer-contact a {
    color: var(--accent-3);
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-2);
}

/* ─── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 960px) {

    .policy-container,
    .policy-tabs {
        width: calc(100% - 120px);
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 24px;
    }
}

@media (max-width: 720px) {

    .policy-container,
    .policy-tabs {
        width: calc(100% - 80px);
    }

    .footer-contact {
    width: calc(100% - 80px);
}

}

@media (max-width: 640px) {

    .policy-container,
    .policy-tabs {
        width: calc(100% - 40px);
    }

        .footer-contact {
        width: calc(100% - 40px);
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p,
    .legal-list li,
    .definition-list li {
        font-size: 0.9rem;
    }

    .policy-tabs {
        gap: 0.75rem;
    }

}
