/* Privacy Policy page - Figma design */
.privacy-page {
    font-family: 'Montserrat', sans-serif;
    background: #FDFDFD;
    padding-bottom: 80px;
    scroll-behavior: smooth;
}
.privacy-inpage-link {
    color: #FF2F63;
    text-decoration: underline;
    font-weight: 500;
}
.privacy-inpage-link:hover {
    color: #e02857;
}

/* Hero */
.privacy-hero {
    position: relative;
    padding: 80px 24px 60px;
    text-align: center;
    overflow: hidden;
}
.privacy-hero__shape {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(607px, 100vw);
    height: min(607px, 100vw);
    pointer-events: none;
}
.privacy-hero__shape svg {
    width: 100%;
    height: 100%;
    display: block;
}
.privacy-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.privacy-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #FF2F63;
    margin-bottom: 16px;
}
.privacy-hero__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #757575;
    margin-bottom: 12px;
}
.privacy-hero__updated {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 47, 99, 0.9);
}

/* Two-column body */
.privacy-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.privacy-body__inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
@media (max-width: 991px) {
    .privacy-body__inner {
        flex-direction: column;
    }
}

/* Left: Table of Contents (sticky) */
.privacy-toc-wrapper {
    flex: 0 0 282px;
    position: sticky;
    top: 120px;
}
@media (max-width: 991px) {
    .privacy-toc-wrapper {
        flex: none;
        width: 100%;
        position: static;
    }
}
.privacy-toc {
    background: #FDFDFD;
    border: 1px solid #E6E6E6;
    box-shadow: 2px 2px 25px rgba(174, 23, 60, 0.1);
    border-radius: 15px;
    padding: 27px 24px 30px;
}
.privacy-toc__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: #2D3540;
    margin: 0 0 14px 0;
}
.privacy-toc__line {
    width: 100%;
    height: 1px;
    background: #DFDFDF;
    margin-bottom: 15px;
}
.privacy-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}
.privacy-toc__list::-webkit-scrollbar { width: 6px; }
.privacy-toc__list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.privacy-toc__list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.privacy-toc__link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: #757575;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}
.privacy-toc__link:hover {
    color: #FF2F63;
}
.privacy-toc__link--active {
    font-weight: 600;
    color: #FF2F63;
    background: rgba(255, 47, 99, 0.08);
    border-left: 3px solid #FF2F63;
    padding-left: 12px;
    margin-left: -4px;
}
.privacy-toc__back {
    display: block;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #DFDFDF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #757575;
    text-decoration: none;
    transition: color 0.2s;
}
.privacy-toc__back:hover {
    color: #FF2F63;
}

/* Right: Content */
.privacy-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.privacy-policy-content__terms {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.privacy-content__card {
    background: #FDFDFD;
    border: 1px solid #E6E6E6;
    box-shadow: 2px 2px 25px rgba(174, 23, 60, 0.1);
    border-radius: 15px;
    padding: 51px 41px 60px;
}
@media (max-width: 767px) {
    .privacy-content__card {
        padding: 30px 24px 40px;
    }
}

/* Introduction section (Figma Group 1831 / Frame 1610) */
.privacy-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.privacy-section__heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #2D3540;
    margin: 0;
    align-self: stretch;
}
.privacy-section__body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #757575;
    align-self: stretch;
}
.privacy-section__body p {
    margin: 0 0 12px 0;
}
.privacy-section__body p:last-child {
    margin-bottom: 0;
}
.privacy-section__body--html h2,
.privacy-section__body--html h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #2D3540;
    margin: 24px 0 12px 0;
}
.privacy-section__body--html h3 { font-size: 20px; line-height: 30px; }
.privacy-section__body--html h2:first-child,
.privacy-section__body--html h3:first-child { margin-top: 0; }
.privacy-section__body--html ul,
.privacy-section__body--html ol {
    margin: 12px 0;
    padding-left: 24px;
    color: #757575;
}
.privacy-list {
    margin: 16px 0;
    padding-left: 24px;
    color: #757575;
    list-style: disc;
}
.privacy-list li {
    margin-bottom: 10px;
    line-height: 1.5;
    padding-left: 4px;
}
.privacy-list li:last-child {
    margin-bottom: 0;
}
/* Important Notice (Figma Group 1817) */
.privacy-notice {
    background: #FDE9EE;
    border-radius: 8px;
    padding: 16px 25px;
    width: 100%;
    box-sizing: border-box;
}
.privacy-notice strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: #2D3540;
    display: block;
    margin-bottom: 8px;
}
.privacy-notice p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #2D3540;
    margin: 0;
}

/* Policy content typography (Figma Frame 1610) */
.privacy-policy-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.privacy-policy-content h2,
.privacy-policy-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #2D3540;
    margin: 0 0 8px 0;
}
.privacy-policy-content p,
.privacy-policy-content li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #757575;
    margin: 0 0 12px 0;
}
.privacy-policy-content ul,
.privacy-policy-content ol {
    padding-left: 24px;
    margin: 0 0 12px 0;
}
.privacy-policy-content li {
    margin-bottom: 6px;
}

/* Important Notice box (Figma Group 1817 / Rectangle #FDE9EE) */
.privacy-policy-content .notice-box,
.privacy-policy-content [class*="notice"],
.privacy-policy-content .alert,
.privacy-policy-content blockquote {
    background: #FDE9EE;
    border-radius: 8px;
    padding: 16px 25px;
    margin: 16px 0;
}
.privacy-policy-content .notice-box strong,
.privacy-policy-content [class*="notice"] strong,
.privacy-policy-content .alert strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: #2D3540;
    display: block;
    margin-bottom: 8px;
}
.privacy-policy-content .notice-box p,
.privacy-policy-content [class*="notice"] p,
.privacy-policy-content .alert p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #2D3540;
    margin: 0;
}

/* CTA card (Figma Group 654 / Frame 1613) */
/* CTA card (Figma Group 654) – 908×201, split layout */
.privacy-cta-card {
    box-sizing: border-box;
    display: flex;
    min-height: 201px;
    background: #2D3540;
    border: 1px solid #000000;
    box-shadow: 2px 2px 25px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}
.privacy-cta-card__content {
    flex: 0 0 50%;
    max-width: 455px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 26px;
    text-align: center;
}
.privacy-cta-card__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    color: #FDFDFD;
    margin: 0;
    display: flex;
    align-items: center;
}
.privacy-cta-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 214px;
    height: 42px;
    padding: 0 32px;
    background: #FF2F63;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    color: #FDFDFD;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.privacy-cta-card__btn:hover {
    background: #e82a59;
    color: #FDFDFD;
    transform: translateY(-1px);
}
/* Right half: policy-legal.png */
.privacy-cta-card__image {
    flex: 1;
    min-width: 0;
    min-height: 201px;
    background: #2D3540 url('../images/policy-legal.png') center / cover no-repeat;
    border-radius: 0 15px 15px 0;
}
@media (max-width: 767px) {
    .privacy-cta-card {
        flex-direction: column;
        min-height: auto;
    }
    .privacy-cta-card__content {
        max-width: none;
        flex: 1 1 auto;
    }
    .privacy-cta-card__image {
        display: none;
    }
}

/* Scroll margin so sticky header doesn't hide section titles */
.privacy-policy-content h2[id],
.privacy-policy-content h3[id],
.privacy-policy-content [id="introduction"],
.privacy-policy-content [id="your-consent"] {
    scroll-margin-top: 140px;
}
