/* Privacy policy and terms of use: one white card for reading, styled like the other pages */
.legal-page {
    --lg-ink: #1f2d1a;
    --lg-soft: #f4f6f2;
    --lg-line: #dde4d6;
    --lg-green: #4caf24;
    --lg-green-dark: #2e7d12;
    --lg-muted: #6b7467;
}

/* Reading width: narrower than the list pages so the text stays comfortable to read. */
.legal-page .legal-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 8px 0 32px;
    color: var(--lg-ink);
}

.legal-page .contact-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.legal-page .contact-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    background: var(--lg-soft);
    border: 2px solid var(--lg-line);
    border-radius: 16px;
    box-shadow: 0 3px 0 var(--lg-line);
    color: var(--lg-ink);
    font-size: 26px;
}

.legal-page .contact-hero-title {
    margin: 0 0 6px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--lg-ink);
}

.legal-page .home-hero-subtitle {
    margin: 0;
    color: var(--lg-muted);
    font-weight: 700;
}

.legal-page .legal-card {
    padding: 28px;
    background: #fff;
    border: 2px solid var(--lg-line);
    border-radius: 18px;
    box-shadow: 0 3px 0 var(--lg-line);
}

.legal-page .legal-body {
    font-size: 16px;
    line-height: 1.65;
    color: var(--lg-ink);
}

.legal-page .legal-body h2 {
    margin-top: 28px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--lg-line);
    font-size: 20px;
    font-weight: 800;
    color: var(--lg-ink);
}

.legal-page .legal-body h2:first-child {
    margin-top: 0;
}

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

.legal-page .legal-body ul {
    margin: 0 0 12px;
    padding-left: 22px;
}

.legal-page .legal-body li {
    margin-bottom: 8px;
}

.legal-page .legal-body a {
    color: var(--lg-green-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page .legal-body a:hover {
    color: var(--lg-green);
}

@media (max-width: 767.98px) {
    .legal-page .legal-card {
        padding: 20px;
    }

    .legal-page .contact-hero-title {
        font-size: 26px;
    }
}
