/* Intro sits under the panel title, same rhythm as contact intro */
.legal-page__updated {
    text-align: center;
    color: #6b7280;
    font-size: 1.5rem;
    margin: 0 0 3.2rem;
}

.legal-page__intro {
    color: #333;
    font-size: 1.8rem;
    line-height: 1.7;
    margin: 0 auto 3.2rem;
    max-width: 860px;
    text-align: center;
}

/* Article body */
.legal-page__article {
    max-width: 860px;
    margin: 0 auto;
}

/* ── Table of Contents ─────────────────────────────────────── */
.legal-toc {
    background: #F1F8F3;
    border: 1px solid #DCEBE1;
    border-radius: 20px;
    padding: 2.8rem 3.2rem;
    margin: 0 0 4rem;
}

.legal-toc__title {
    color: #0a2f1f;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1.8rem;
}

.legal-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 3.2rem;
}

.legal-toc__link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.6rem 0;
    color: #333;
    text-decoration: none;
    font-size: 1.55rem;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.legal-toc__link:hover .legal-toc__text,
.legal-toc__link:focus-visible .legal-toc__text {
    color: #049551;
    text-decoration: underline;
}

.legal-toc__num {
    flex: 0 0 auto;
    color: #049551;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ── Numbered sections (big number + content) ──────────────── */
.legal-page__section {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 2.4rem;
    padding: 3.2rem 0;
    border-top: 1px solid #E6F0E9;
    scroll-margin-top: 100px;
}

.legal-page__section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.legal-page__section-num {
    color: #049551;
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    font-family: var(--pa-font-headline, inherit);
    font-variant-numeric: tabular-nums;
}

.legal-page__section-main {
    min-width: 0;
}

.legal-page__section-title {
    color: #0a2f1f;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem;
    font-family: var(--pa-font-headline, inherit);
}

.legal-page__section-body,
.legal-page__section-body p {
    color: #333;
    font-size: 1.6rem;
    line-height: 1.75;
    margin: 0 0 1.2rem;
}

.legal-page__section-body p:last-child {
    margin-bottom: 0;
}

.legal-page__section-body a {
    color: #049551;
    text-decoration: underline;
}

.legal-page__section-body ul {
    margin: 0 0 1.2rem;
    padding-left: 2.2rem;
    list-style: disc;
}

.legal-page__section-body li {
    color: #333;
    font-size: 1.6rem;
    line-height: 1.7;
    margin: 0 0 0.4rem;
}

.legal-page__section-body ul:last-child,
.legal-page__section-body li:last-child {
    margin-bottom: 0;
}

/* Lettered / labelled sub-heading inside a section (e.g. "A. Information You Provide") */
.legal-page__subtitle {
    display: block;
    color: #0a2f1f;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.4;
    margin: 2rem 0 0.8rem;
}

.legal-page__subtitle--minor {
    font-size: 1.55rem;
    color: #14532d;
    margin-top: 1.6rem;
}

/* Contact block wrapper (Privacy page) — plain, the card below supplies the frame */
.legal-page__contact {
    margin-top: 3.2rem;
    scroll-margin-top: 100px;
}

.legal-page__contact-title {
    color: #0a2f1f;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 2rem;
    font-family: var(--pa-font-headline, inherit);
}

.legal-page__section--contact {
    row-gap: 1.6rem;
}

.legal-page__section--contact .legal-contact-card {
    grid-column: 1 / -1;
}

/* ── Contact card (3 columns: Address / Phone / Email & Web) ── */
.legal-contact-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #ffffff;
    border: 1px solid #EAF1EC;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(10, 47, 31, 0.06);
}

.legal-contact-card__col {
    display: flex;
    flex-direction: column;
    padding: 3rem 2.6rem;
    border-left: 1px solid #EDF3EF;
}

.legal-contact-card__col:first-child {
    border-left: 0;
}

.legal-contact-card__head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.legal-contact-card__icon {
    flex: 0 0 auto;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #EAF6EE 0%, #D8EFE0 100%);
    color: #049551;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(4, 149, 81, 0.08);
}

.legal-contact-card__icon svg {
    width: 21px;
    height: 21px;
    display: block;
}

.legal-contact-card__label {
    color: #0a2f1f;
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.legal-contact-card__value {
    color: #333;
    font-size: 1.55rem;
    line-height: 1.7;
    margin: 0 0 0.5rem;
}

.legal-contact-card__value:last-child {
    margin-bottom: 0;
}

.legal-contact-card__value a {
    color: #049551;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.legal-contact-card__value a:hover {
    border-bottom-color: currentColor;
}

.legal-contact-card__tag {
    color: #94a3a0;
    font-size: 1.35rem;
}

.legal-page__disclaimer {
    margin: 3.2rem auto 0;
    max-width: 860px;
    padding: 2rem 2.4rem;
    border-radius: 16px;
    background: #FFF7E6;
    border: 1px solid #F5E1B8;
    color: #7a5a12;
    font-size: 1.4rem;
    line-height: 1.65;
}

/* ── MOBILE (≤1230px) ──────────────────────────────────────── */
@media (max-width: 1230px) {
    .legal-page__intro {
        font-size: 1.4rem;
        margin-bottom: 2.4rem;
    }

    .legal-toc {
        padding: 2rem 1.8rem;
        border-radius: 16px;
        margin-bottom: 2.8rem;
    }

    .legal-toc__list {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .legal-toc__link {
        font-size: 1.45rem;
    }

    .legal-page__section {
        grid-template-columns: auto 1fr;
        column-gap: 1.4rem;
        row-gap: 0;
        padding: 2.4rem 0 2.8rem;
        align-items: start;
    }

    .legal-page__section--contact {
        row-gap: 1.6rem;
    }

    .legal-page__section-num {
        font-size: 2rem;
        line-height: 1.35;
        min-width: 2.6rem;
    }

    .legal-page__section-title {
        font-size: 1.7rem;
        line-height: 1.35;
        margin-bottom: 0.9rem;
    }

    .legal-page__section-body,
    .legal-page__section-body p,
    .legal-page__section-body li {
        line-height: 1.7;
    }

    .legal-page__section-body,
    .legal-page__section-body p,
    .legal-page__section-body li {
        font-size: 1.5rem;
    }

    .legal-page__subtitle {
        font-size: 1.55rem;
    }

    .legal-page__contact-title {
        font-size: 1.8rem;
    }

    .legal-contact-card {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .legal-contact-card__col {
        padding: 2.4rem 2rem;
        border-left: 0;
        border-top: 1px solid #EDF3EF;
    }

    .legal-contact-card__col:first-child {
        border-top: 0;
    }

    .legal-contact-card__icon {
        width: 4rem;
        height: 4rem;
    }
}