* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--white);
}

:root {
    --primary-magenta: #B41473;
    --text-dark: #2D2D2D;
    --text-gray: #666666;
    --white: #FFFDFE;
    --border-color: #E0E0E0;
}

body {
    font-family:'Libre Franklin', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--primary-magenta);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 2001;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    height: 64px;
}

.header.menu-open {
    background-color: var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* LOLA logo */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;

    width: 152px;
    height: 24px;


    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    justify-content: center;
}
.logo img, .footer-logo img {
    min-width: 100%;
    min-height: 100%;
}

.header.menu-open .logo {
    color: var(--primary-magenta);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.header.menu-open .menu-toggle span {
    background-color: var(--primary-magenta);
}

.header.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle:hover span {
    background-color: rgba(255, 255, 255, 0.8);
}

.header.menu-open .menu-toggle:hover span {
    opacity: 0.7;
}

.menu-overlay {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-nav {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s ease;
}

.menu-link:hover {
    color: var(--primary-magenta);
}

.sticky-nav {
    background-color: var(--white);
    position: sticky;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    pointer-events: none;
}

.sticky-nav.visible {
    display: block;
    pointer-events: all;
}

.sticky-nav-content {
    position: relative;
    border-bottom: 2px solid var(--primary-magenta);
}

.sticky-nav-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary-magenta);
    font-weight: 400;
}

.sticky-nav-toggle:hover {
    color: #9a0f64;
}

.current-section {
    flex: 1;
    text-align: left;
}

.dropdown-icon {
    color: var(--primary-magenta);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.sticky-nav-toggle.active .dropdown-icon {
    transform: rotate(180deg);
}

.sticky-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sticky-nav-dropdown.open {
    max-height: 500px;
    overflow-y: auto;
}

.sticky-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.sticky-nav-link:hover {
    background-color: #f9f9f9;
}

.sticky-nav-link.active {
    background-color: #fef5fb;
}

.sticky-nav-link span {
    flex: 1;
    font-size: 15px;
}

.check-icon {
    opacity: 0;
    flex-shrink: 0;
    margin-left: 10px;
    transition: opacity 0.2s ease;
}

.sticky-nav-link.active .check-icon {
    opacity: 1;
}

.main {
    background-color: var(--white);
    min-height: calc(100vh - 200px);
    padding: 20px 0 40px;
}

.page-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
    margin-top: 0;
}

.table-of-contents {
    margin-bottom: 30px;
}

.section-heading {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-magenta);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-magenta);
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toc-link {
    color: var(--primary-magenta);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    display: block;
    line-height: 1.4;
}

.toc-link:hover {
    color: #9a0f64;
    padding-left: 10px;
}

.toc-subsections {
    margin-left: 20px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toc-sublink {
    color: var(--primary-magenta);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    display: block;
    line-height: 1.4;
}

.toc-sublink:hover {
    color: #9a0f64;
    padding-left: 10px;
}

.content-section {
    margin-bottom: 30px;
    scroll-margin-top: 150px;
}

.section-title {
    font-size: 26px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-content {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content ul,
.section-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

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

.section-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.section-content a {
    color: var(--primary-magenta);
    text-decoration: underline;
    font-weight: 600;
}

.section-content a:hover {
    color: #9a0f64;
}

.page-intro {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.section-content h2.section-subtitle {
    font-size: 26px;
    font-weight: 400;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-link {
    color: var(--primary-magenta);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-subsections {
    margin-left: 20px;
    margin-top: 10px;
}

.privacy-sublink {
    color: var(--primary-magenta);
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.subsection-title {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.info-box {
    background-color: #E6F3FF;
    border: 2px solid #0066CC;
    border-radius: 4px;
    padding: 20px;
    position: relative;
}

.info-box::before {
    content: "i";
    position: absolute;
    left: 20px;
    top: 20px;
    width: 24px;
    height: 24px;
    background-color: #0066CC;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-style: italic;
}

.info-box p {
    margin-left: 40px;
}

.inline-link {
    color: #0066CC;
    text-decoration: underline;
}

.accordion-section {
    margin-top: 20px;
    margin-bottom: 30px;
}

.accordion-header {
    color: var(--primary-magenta);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    color: var(--text-dark);
    font-family: inherit;
}

.accordion-toggle:hover {
    color: var(--primary-magenta);
}

.accordion-toggle span {
    flex: 1;
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-toggle.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0;
}

.accordion-content.open {
    max-height: 500px;
    padding: 0 0 20px 0;
}

.accordion-subtitle {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.accordion-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer {
    background-color: var(--white);
    padding: 40px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    /* LOLA logo */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;

    width: 168px;
    height: 40px;

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    justify-content: center;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-magenta);
}

.footer-update {
    color: var(--primary-magenta);
    font-size: 14px;
    margin-top: 10px;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 12px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .main {
        padding: 30px 0 60px;
    }

    .page-title {
        font-size: 42px;
        margin-bottom: 50px;
    }

    .section-heading {
        font-size: 28px;
    }

    .toc-link {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-content {
        font-size: 17px;
    }

    .page-intro {
        font-size: 17px;
    }

    .section-content h2.section-subtitle {
        font-size: 28px;
    }

    .footer-nav {
        flex-direction: row;
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .main {
        padding: 40px 0 60px;
    }

    .container {
        padding: 0 60px;
    }
}

@media (max-width: 767px) {
    .logo {
        font-size: 24px;
        letter-spacing: 6px;
    }

    .page-title {
        font-size: 28px;
    }

    .section-heading {
        font-size: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-content {
        font-size: 14px;
    }

    .page-intro {
        font-size: 14px;
    }

    .section-content h2.section-subtitle {
        font-size: 22px;
    }

    .sticky-nav {
        top: 56px;
    }

    .header {
        padding: 16px 0;
    }

    .sticky-nav-toggle {
        font-size: 15px;
        padding: 14px 0;
    }

    .sticky-nav-link span {
        font-size: 14px;
    }

    .sticky-nav-link {
        padding: 14px 15px;
    }

    .content-section {
        scroll-margin-top: 120px;
    }
}
