@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --ld-terms-shell: min(1520px, calc(100% - 48px));
    --ld-terms-copy: #0f172a;
    --ld-terms-muted: #60718a;
    --ld-terms-accent: #169fdb;
    --ld-terms-accent-strong: #0f84c7;
    --ld-terms-border: rgba(15, 23, 42, 0.09);
    --ld-terms-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

body.letzdine-terms-page {
    background:
        radial-gradient(circle at top right, rgba(22, 159, 219, 0.12), transparent 28%),
        linear-gradient(180deg, #f4f8fc 0%, #ffffff 38%, #f7f9fc 100%);
    color: var(--ld-terms-copy);
    font-family: 'Montserrat', sans-serif;
}

body.letzdine-terms-page .letzdine-terms__shell {
    width: var(--ld-terms-shell);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

body.letzdine-terms-page .letzdine-terms__hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 44px;
    background:
        radial-gradient(circle at 16% 20%, rgba(125, 211, 252, 0.22), transparent 28%),
        linear-gradient(135deg, #07101e 0%, #102033 58%, #17243a 100%);
}

body.letzdine-terms-page .letzdine-terms__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

body.letzdine-terms-page .letzdine-terms__hero-copy {
    position: relative;
    z-index: 1;
    max-width: 920px;
    color: #ffffff;
}

body.letzdine-terms-page .letzdine-terms__hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.9rem, 5vw, 5.2rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
    font-weight: 800;
    text-wrap: balance;
}

body.letzdine-terms-page .letzdine-terms__content {
    padding: 38px 0 88px;
}

body.letzdine-terms-page .letzdine-terms--embed .letzdine-terms__shell {
    width: min(100%, calc(100% - 16px));
}

body.letzdine-terms-page .letzdine-terms--embed .letzdine-terms__content {
    padding: 18px 0 24px;
}

body.letzdine-terms-page .letzdine-terms__document {
    max-width: 980px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--ld-terms-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--ld-terms-shadow);
}

body.letzdine-terms-page .letzdine-terms--embed .letzdine-terms__document {
    max-width: none;
    border-radius: 22px;
    box-shadow: none;
}

body.letzdine-terms-page .letzdine-terms__section + .letzdine-terms__section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.letzdine-terms-page .letzdine-terms__section h2 {
    margin: 0 0 18px;
    color: var(--ld-terms-copy);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.letzdine-terms-page .letzdine-terms__section p,
body.letzdine-terms-page .letzdine-terms__section dd {
    margin: 0 0 14px;
    color: var(--ld-terms-muted);
    font-size: 1rem;
    line-height: 1.82;
}

body.letzdine-terms-page .letzdine-terms__section p:last-child,
body.letzdine-terms-page .letzdine-terms__section dd:last-child {
    margin-bottom: 0;
}

body.letzdine-terms-page .letzdine-terms__section strong,
body.letzdine-terms-page .letzdine-terms__section dt {
    color: var(--ld-terms-copy);
    font-weight: 700;
}

body.letzdine-terms-page .letzdine-terms__section a {
    color: var(--ld-terms-accent-strong);
    text-decoration: none;
}

body.letzdine-terms-page .letzdine-terms__section a:hover,
body.letzdine-terms-page .letzdine-terms__section a:focus {
    text-decoration: underline;
}

body.letzdine-terms-page .letzdine-terms__section ul {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--ld-terms-muted);
}

body.letzdine-terms-page .letzdine-terms__section li {
    margin-bottom: 10px;
    line-height: 1.78;
}

body.letzdine-terms-page .letzdine-terms__section li:last-child {
    margin-bottom: 0;
}

body.letzdine-terms-page .letzdine-terms__definitions {
    margin: 0;
}

body.letzdine-terms-page .letzdine-terms__definition + .letzdine-terms__definition {
    margin-top: 16px;
}

body.letzdine-terms-page .letzdine-terms__definition dt {
    margin-bottom: 4px;
    font-size: 1rem;
}

body.letzdine-terms-page .letzdine-terms__definition dd {
    margin-left: 0;
}

@media (max-width: 767.98px) {
    :root {
        --ld-terms-shell: min(100%, calc(100% - 16px));
    }

    body.letzdine-terms-page .letzdine-terms__hero {
        padding: 34px 0 34px;
    }

    body.letzdine-terms-page .letzdine-terms__hero-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3.9rem);
    }

    body.letzdine-terms-page .letzdine-terms__content {
        padding: 28px 0 72px;
    }

    body.letzdine-terms-page .letzdine-terms--embed .letzdine-terms__content {
        padding: 12px 0 18px;
    }

    body.letzdine-terms-page .letzdine-terms__document {
        border-radius: 24px;
        padding: 22px 18px;
    }

    body.letzdine-terms-page .letzdine-terms__section + .letzdine-terms__section {
        margin-top: 22px;
        padding-top: 22px;
    }
}
