/* Closing call to action shown above the footer on every page */
@font-face {
    font-family: "ChxSerif";
    src: url("/fonts/InstrumentSerif-Regular.ttf") format("truetype");
    font-display: swap;
}
html { --chx-bg: #FFFFFF; --chx-text: #121316; --chx-soft: #EEEEEC; --chx-line: #E2E2DF; }
html.ch-theme-dark { --chx-bg: #07080A; --chx-text: #F4F4F5; --chx-soft: #1E2125; --chx-line: rgba(255, 255, 255, 0.12); }

html body section.ch-closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(88px, 12vw, 160px) 20px;
    background: var(--chx-bg);
    color: var(--chx-text);
    text-align: center;
}
.ch-closing-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 19px;
    background: var(--chx-text);
    color: var(--chx-bg);
    box-shadow: 0 18px 44px -16px rgba(240, 85, 38, 0.65);
}
html body section.ch-closing h2 {
    margin: 44px 0 0 !important;
    font-family: "ChxSerif", Georgia, serif !important;
    font-size: clamp(38px, 5.4vw, 68px) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
    color: var(--chx-text) !important;
}
html body section.ch-closing p {
    max-width: 560px;
    margin: 22px 0 0 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: var(--chx-text) !important;
    opacity: 0.85;
}
.ch-closing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 34px;
}
html body section.ch-closing .ch-closing-actions button {
    padding: 11px 20px;
    border: 0;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
html body section.ch-closing .ch-closing-actions button:hover { transform: translateY(-2px); }
html body section.ch-closing .ch-closing-actions .ch-closing-solid { background: var(--chx-text) !important; color: var(--chx-bg) !important; }
html body section.ch-closing .ch-closing-actions .ch-closing-solid:hover { background: #F05526 !important; color: #FFFFFF !important; }
html body section.ch-closing .ch-closing-actions .ch-closing-soft { background: var(--chx-soft) !important; color: var(--chx-text) !important; }
.ch-closing-note {
    margin-top: 40px;
    padding: 9px 18px;
    border: 1px solid var(--chx-line);
    border-radius: 999px;
    font-size: 13.5px;
}
.ch-closing-note span { margin-right: 8px; color: #F05526; }
