/* ─── LEGAL PAGES (privacy-policy, cookie-policy) ───
   Shares tokens with base.css / refinements.css; every class is lp-prefixed
   so it can't collide with the homepage or service-page stylesheets. */

/* ═══ Hero ══════════════════════════════════════════════════════════ */
.lp-hero {
    position: relative;
    padding: clamp(140px, 17vh, 196px) var(--section-x) clamp(56px, 7vh, 84px);
    background:
        radial-gradient(ellipse 64% 52% at 26% 20%, rgba(79, 122, 244, 0.14), transparent 68%),
        radial-gradient(ellipse 46% 36% at 82% 10%, rgba(192, 64, 230, 0.08), transparent 64%),
        var(--bg);
    overflow: hidden;
    isolation: isolate;
}

.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 30% 28%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 30% 28%, black 0%, transparent 70%);
    opacity: 0.5;
}

.lp-hero-inner {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    margin: 0 auto;
}

.lp-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--white);
    margin: 0;
}

.lp-lede {
    max-width: 60ch;
    margin-top: clamp(16px, 2.4vh, 22px);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.58);
}

.lp-meta {
    margin-top: clamp(18px, 2.6vh, 26px);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.lp-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(29, 232, 181, 0.7);
    flex-shrink: 0;
}

/* ═══ Content ═══════════════════════════════════════════════════════ */
.lp-content-section {
    padding: 0 var(--section-x) var(--section-y);
    background: var(--bg);
}

.lp-content-inner {
    width: min(760px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(36px, 5vh, 54px);
}

.lp-block-idx {
    display: block;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(192, 64, 230, 0.72);
    margin-bottom: 10px;
}

.lp-block h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(21px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    margin: 0 0 14px;
}

.lp-block h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 20px 0 8px;
}

.lp-block p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    line-height: 1.72;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 12px;
}

.lp-block p:last-child {
    margin-bottom: 0;
}

.lp-block ul {
    margin: 0 0 12px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-block li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.62);
}

.lp-block strong {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.lp-block a {
    color: rgba(129, 140, 248, 0.92);
    text-decoration: underline;
    text-decoration-color: rgba(129, 140, 248, 0.35);
    text-underline-offset: 3px;
    transition: color 0.3s var(--ease-luxe), text-decoration-color 0.3s var(--ease-luxe);
}

.lp-block a:hover {
    color: var(--teal);
    text-decoration-color: rgba(29, 232, 181, 0.6);
}

/* Table (used for purpose/legal-basis and cookie-category breakdowns) */
.lp-table-wrap {
    overflow-x: auto;
    margin: 4px 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.lp-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    min-width: 480px;
}

.lp-table th,
.lp-table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.lp-table tr:last-child td {
    border-bottom: none;
}

.lp-table th {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
}

/* On narrow screens the 2–3 column tables would clip or scroll awkwardly,
   so each row reflows into a labelled card (labels from td[data-label]). */
@media (max-width: 560px) {
    .lp-table-wrap {
        overflow-x: visible;
        border: none;
        border-radius: 0;
    }

    .lp-table {
        min-width: 0;
        display: block;
    }

    .lp-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .lp-table tbody,
    .lp-table tr,
    .lp-table td {
        display: block;
    }

    .lp-table tr {
        margin-bottom: 12px;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.02);
        overflow: hidden;
    }

    .lp-table td {
        padding: 11px 16px;
    }

    .lp-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.42);
    }

    .lp-table tr:last-child td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .lp-table td:last-child {
        border-bottom: none;
    }
}

/* Cross-link card to the sibling legal page */
.lp-crosslink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.lp-crosslink-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
}

.lp-crosslink-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

.lp-crosslink-link svg {
    width: 13px;
    height: 13px;
}

@media (hover: hover) and (pointer: fine) {
    .lp-crosslink-link:hover { color: var(--teal); }
}

@media (max-width: 640px) {
    .lp-hero {
        padding-top: clamp(120px, 15vh, 160px);
    }
}
