/* ACCOVA - the privacy policy and terms pages, and the links to them
   (21 October 2026). Uses the colours of style-20260929.css. */

.legal-page {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #edf6f6 0%, #ffffff 340px);
}

.legal-container {
    max-width: 860px;
}

.legal-page h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 22px;
}

.legal-lead {
    font-size: 1.12rem;
    line-height: 1.9;
    margin-bottom: 26px;
}

.legal-toc {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px 22px;
    margin-bottom: 34px;
}

.legal-toc ol {
    list-style: decimal;
    columns: 2;
    column-gap: 32px;
    padding-inline-start: 22px;
}

.legal-toc li {
    margin: 0 0 8px;
    break-inside: avoid;
}

.legal-page h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 36px 0 12px;
    scroll-margin-top: 100px;
}

.legal-page p,
.legal-page li {
    font-size: 1.02rem;
    line-height: 1.9;
}

.legal-page p {
    margin-bottom: 12px;
}

.legal-page ul {
    list-style: disc;
    padding-inline-start: 22px;
    margin: 8px 0 14px;
}

.legal-page ul li {
    margin: 6px 0;
}

.legal-page a {
    color: var(--primary-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-also {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

/* The links at the foot of every page */
.footer-legal a {
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
}

.footer-legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-legal .sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* Under the demo request form */
.form-consent {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

.form-consent a {
    color: var(--primary-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .legal-page {
        padding-top: 115px;
    }

    .legal-toc ol {
        columns: 1;
    }
}
