@page {
    size: A4;
    margin: 16mm 15mm 18mm;
}

@media print {
    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    html {
        color-scheme: light;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    body {
        min-height: auto;

        color: #15151c !important;
        background: #ffffff !important;

        font-size: 10.5pt;
        line-height: 1.55;
    }

    .site-header,
    .mobile-navigation,
    .site-footer,
    .legal-navigation,
    .legal-actions {
        display: none !important;
    }

    main,
    .section,
    .section--surface {
        color: #15151c !important;
        background: #ffffff !important;
    }

    .section,
    .legal-hero {
        padding-block: 0 !important;
    }

    .container,
    .container--narrow {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .legal-hero {
        margin-bottom: 10mm;
        padding-bottom: 8mm !important;

        border-bottom: 2px solid #8b5cf6;
    }

    .legal-hero .eyebrow {
        color: #7142dc !important;
    }

    .legal-hero .display-title {
        margin-top: 3mm;

        color: #15151c !important;
        font-size: 28pt;
        letter-spacing: -0.035em;
    }

    .legal-hero__intro {
        max-width: 155mm;
        margin-top: 4mm;

        color: #4b4e5b !important;
    }

    .legal-layout {
        display: block !important;
    }

    .legal-content {
        max-width: none !important;
    }

    .legal-section {
        margin-bottom: 8mm;
        padding-bottom: 7mm;

        border-bottom: 1px solid #d9dbe3;
    }

    .legal-section__number {
        display: inline-block;
        margin-bottom: 2mm;

        color: #7142dc !important;
        font-weight: 700;
        letter-spacing: 0.08em;
    }

    .legal-section h2 {
        margin-bottom: 3mm;

        color: #15151c !important;
        font-size: 16pt;

        break-after: avoid-page;
        page-break-after: avoid;
    }

    .legal-section p,
    .legal-section li,
    .legal-company-details dt,
    .legal-company-details dd {
        color: #272934 !important;

        orphans: 3;
        widows: 3;
    }

    .legal-section ul,
    .legal-section ol {
        margin-block: 3mm 4mm;
        padding-left: 6mm;
    }

    .legal-section li {
        margin-bottom: 1.5mm;
    }

    .legal-company-details,
    .legal-contact {
        overflow: hidden;

        border: 1px solid #d9dbe3 !important;
        background: #f7f7fa !important;

        break-inside: avoid-page;
        page-break-inside: avoid;
    }

    .legal-company-details > div {
        border-color: #d9dbe3 !important;
    }

    .legal-contact {
        margin-top: 10mm;
        padding: 6mm !important;
    }

    .legal-contact .eyebrow {
        color: #7142dc !important;
    }

    .legal-contact h2 {
        color: #15151c !important;
    }

    .legal-contact p {
        color: #4b4e5b !important;
    }

    .legal-contact .button {
        display: none !important;
    }

    a {
        color: #6233cc !important;
        text-decoration: none;
    }
}
