/* Shared visual foundation. Enabled only on pages carrying the site-modern class. */
.site-modern {
    --site-blue: #2165e8;
    --site-blue-dark: #184fbd;
    --site-ink: #17263d;
    --site-muted: #5b6a7f;
    --site-line: #e1e7ef;
    --site-radius: 24px;
    --site-pill: 999px;
    --site-shadow: 0 12px 40px rgba(31, 59, 99, .09);
    color: var(--site-ink);
    -webkit-font-smoothing: antialiased;
}
.site-modern [hidden] { display: none !important; }
.site-modern *, .site-modern *::before, .site-modern *::after { box-sizing: border-box; }
.site-modern :is(a, button, summary, [role="button"]):focus-visible {
    outline: 3px solid #2165e8 !important;
    outline-offset: 5px;
}
.site-modern :is(input, textarea) { user-select: text; }
.site-modern .site-button {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 15px 26px;
    border: 1px solid transparent;
    border-radius: var(--site-pill);
    font: 600 14px/1.3 var(--site-font-body, 'Open Sans', system-ui, sans-serif);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    isolation: isolate;
}
.site-modern .site-button > span { font-size: 20px; line-height: 1; }
.site-modern .site-button--glass {
    color: #fff;
    border-color: rgba(255, 255, 255, .65);
    background: linear-gradient(160deg, rgba(108, 167, 255, .94), rgba(35, 104, 231, .95) 46%, rgba(27, 80, 191, .98));
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8), inset 0 -2px 3px rgba(14, 51, 135, .22), 0 7px 18px rgba(33, 101, 232, .22);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    text-shadow: 0 1px 2px rgba(14, 51, 135, .18);
}
.site-modern .site-button--glass::before {
    content: '';
    position: absolute;
    inset: 2px 5px auto;
    height: 45%;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
    pointer-events: none;
}
.site-modern .site-button--secondary {
    color: var(--site-ink);
    border-color: #d6e0ec;
    background: rgba(255, 255, 255, .8);
    box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(31, 59, 99, .03);
}
.site-modern .site-button--compact { min-height: 44px; padding: 11px 20px; font-size: 13px; gap: 10px; }
@media (hover: hover) {
    .site-modern .site-button:hover { transform: translateY(-2px); }
    .site-modern .site-button--glass:hover { box-shadow: inset 0 1px 1px #fff, 0 9px 24px rgba(33, 101, 232, .3); }
    .site-modern .site-button--secondary:hover { background-color: #f1f6ff; }
}
.site-modern .site-button:active { transform: translateY(0) scale(.98); }
@media (prefers-reduced-motion: reduce) {
    .site-modern *, .site-modern *::before, .site-modern *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
