﻿/* Legal documents reuse the landing's fonts, palette and footer. */
.legal-page > header {
    position: static;
    z-index: auto;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    backdrop-filter: none;
    transition: none;
}

.legal-page .legal-brand {
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.5;
    background-image: linear-gradient(to right, #0163af, #009de0);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.legal-document {
    max-width: 960px;
    margin: 0 auto 70px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.legal-document h1 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 20px;
}

.legal-document h2 {
    font-size: clamp(23px, 3vw, 30px);
    margin: 32px 0 16px;
}

.legal-document .legal-update { margin-bottom: 32px; }

.legal-document a {
    color: #0163af;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-document ul,
.legal-document ol {
    padding-left: 26px;
    margin-bottom: 20px;
}

.legal-document ul { list-style-type: disc; }
.legal-document ol { list-style-type: decimal; }
.legal-document li { list-style-type: inherit; margin-bottom: 12px; }

.legal-document table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 24px 0;
}

.legal-document th,
.legal-document td {
    padding: 12px;
    border: 1px solid var(--border);
    vertical-align: top;
}

.legal-document th { background-color: #eaf7fc; }

.legal-document .action-link {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #0163af;
    border-radius: 30px;
    font-weight: 600;
}

.legal-page a:focus-visible {
    outline: 3px solid #0163af;
    outline-offset: 4px;
}

.legal-skip-link {
    position: absolute;
    left: 15px;
    top: 10px;
    transform: translateY(-180%);
    padding: 8px 16px;
    color: #0163af;
    background: #fff;
    z-index: 10000;
}

.legal-skip-link:focus { transform: translateY(0); }

@media (max-width: 575px) {
    .legal-home img { width: 50px; height: 50px; }
    .legal-document th,
    .legal-document td { padding: 8px; }
}
