/* =========================================================
   EVA INFO / LEGAL PAGES
   /legal/ /privacy/ /license/ /about/
   ========================================================= */

html:has(.eva-legal-page) {
    scroll-behavior: smooth;
}

.eva-info-page,
.eva-info-page * {
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

.eva-info-page {
    min-height: 70vh;
    padding: 0 0 84px;
    color: #292A2D;
    background: #F5F6F7;
}

.eva-info-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.eva-info-shell--reading {
    width: min(860px, calc(100% - 40px));
}

.eva-info-hero {
    padding: 64px 0 38px;
    border-bottom: 1px solid rgba(41, 42, 45, 0.11);
}

.eva-info-eyebrow {
    margin: 0 0 12px;
    color: #BF3F3F;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: none;
}

.eva-info-title {
    max-width: 800px;
    margin: 0 !important;
    color: #292A2D !important;
    font-size: clamp(34px, 5vw, 54px) !important;
    font-weight: 600 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.035em !important;
    text-transform: none !important;
}

.eva-info-lead {
    max-width: 720px;
    margin: 18px 0 0 !important;
    color: #676B72 !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.eva-info-meta {
    margin-top: 18px;
    color: #85898E;
    font-size: 12px;
    line-height: 1.5;
}

.eva-info-language {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 26px;
    padding: 5px;
    border: 1px solid rgba(41, 42, 45, .12);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
}

.eva-info-language__option {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    color: #676B72 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: color .16s ease, background-color .16s ease;
}

.eva-info-language__option:hover {
    color: #292A2D !important;
}

.eva-info-language__option.is-active {
    color: #fff !important;
    background: #292A2D;
}

.eva-info-language__divider {
    display: none;
}

.eva-info-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 64px;
    align-items: start;
    padding-top: 44px;
}

.eva-info-layout--single {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.eva-info-content {
    min-width: 0;
}

.eva-info-content section {
    scroll-margin-top: 120px;
    padding: 0 0 38px;
    margin: 0 0 38px;
    border-bottom: 1px solid rgba(41, 42, 45, 0.10);
}

.eva-info-content section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.eva-info-content h2 {
    margin: 0 0 16px !important;
    color: #292A2D !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
    text-transform: none !important;
}

.eva-info-content h2[id] {
    scroll-margin-top: 108px;
}

.eva-info-content h3 {
    margin: 26px 0 10px !important;
    color: #292A2D !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.eva-info-content p,
.eva-info-content li {
    color: #555A61 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;
}

.eva-info-content p {
    margin: 0 0 15px !important;
}

.eva-info-content ul,
.eva-info-content ol {
    margin: 10px 0 18px 22px;
}

.eva-info-content li {
    margin-bottom: 7px;
}

.eva-info-content strong {
    color: #292A2D;
    font-weight: 600;
}

.eva-info-content a {
    color: #9F3434;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.eva-info-content a:hover {
    color: #BF3F3F;
}

.eva-info-toc {
    position: sticky;
    top: 108px;
    padding: 18px 0 0 20px;
    border-left: 1px solid rgba(41, 42, 45, 0.12);
}

.eva-info-toc__label {
    margin-bottom: 11px;
    color: #292A2D;
    font-size: 12px;
    font-weight: 700;
}

.eva-info-toc__nav {
    display: grid;
    gap: 8px;
}

.eva-info-toc__nav a {
    color: #747980 !important;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none !important;
}

.eva-info-toc__nav a:hover {
    color: #292A2D !important;
}

.eva-info-company {
    margin-top: 22px;
    padding: 20px 22px;
    border: 1px solid rgba(41, 42, 45, .10);
    border-radius: 10px;
    background: rgba(255, 255, 255, .55);
    color: #5A5F65;
    font-size: 14px;
    line-height: 1.7;
}

.eva-info-company__name {
    margin-bottom: 4px;
    color: #292A2D;
    font-weight: 700;
}

.eva-info-callout {
    margin: 20px 0;
    padding: 18px 20px;
    border-left: 3px solid #BF3F3F;
    background: rgba(191, 63, 63, .05);
}

.eva-info-callout p:last-child {
    margin-bottom: 0 !important;
}

.eva-info-model-form {
    margin-top: 15px;
    padding: 18px 20px;
    border: 1px solid rgba(41, 42, 45, .11);
    border-radius: 8px;
    background: #fff;
}

/* About */

.eva-about-page .eva-info-hero {
    padding-bottom: 54px;
}

.eva-about-page .eva-info-title {
    max-width: 880px;
}

.eva-about-page .eva-info-lead {
    max-width: 760px;
    font-size: 19px !important;
}

.eva-about-content {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 48px;
}

.eva-about-content section {
    padding: 0 0 44px;
    margin: 0 0 44px;
    border-bottom: 1px solid rgba(41, 42, 45, .10);
}

.eva-about-content section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.eva-about-content h2 {
    margin: 0 0 16px !important;
    color: #292A2D !important;
    font-size: 27px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.eva-about-content p {
    margin: 0 0 16px !important;
    color: #555A61 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.eva-about-content strong {
    color: #292A2D;
}

.eva-about-quote {
    margin: 20px 0 0;
    color: #292A2D;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.eva-about-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-top: 10px;
    padding: 0 18px;
    border: 1px solid #292A2D;
    border-radius: 5px;
    color: #292A2D !important;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color .16s ease, background-color .16s ease;
}

.eva-about-cta:hover {
    color: #fff !important;
    background: #292A2D;
}

.eva-about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
}

.eva-about-links a {
    color: #9F3434 !important;
    font-size: 13px;
    text-decoration: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html:has(.eva-legal-page) {
        scroll-behavior: auto;
    }
}

@media (max-width: 849px) {
    .eva-info-page {
        padding-bottom: 64px;
    }

    .eva-info-shell,
    .eva-info-shell--reading,
    .eva-about-content {
        width: min(100% - 28px, 860px);
    }

    .eva-info-hero {
        padding: 42px 0 30px;
    }

    .eva-info-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 34px;
    }

    .eva-info-toc {
        position: static;
        order: -1;
        margin-bottom: 34px;
        padding: 0 0 26px;
        border-left: 0;
        border-bottom: 1px solid rgba(41, 42, 45, .10);
    }

    .eva-info-toc__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px 18px;
    }

    .eva-info-content section {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .eva-about-content {
        padding-top: 36px;
    }
}

@media (max-width: 520px) {
    .eva-info-title {
        font-size: 34px !important;
    }

    .eva-info-lead,
    .eva-about-page .eva-info-lead {
        font-size: 16px !important;
    }

    .eva-info-toc__nav {
        grid-template-columns: 1fr;
    }

    .eva-info-content h2,
    .eva-about-content h2 {
        font-size: 23px !important;
    }
}
