/* Public homepage footer and authentication only. */
.landing-refresh .footer { background: #282c32; border-top: 1px solid #3e434b; padding: 38px 0 24px; }
.landing-refresh .footer-main { padding-bottom: 26px; border: 0; gap: 24px; }
.landing-refresh .footer-brand-compact { align-items: flex-start; flex-direction: column; gap: 10px; }
.landing-refresh .footer-logo { color: #f5f7f0; margin: 0; }
.landing-refresh .footer-tagline { color: #c8cdd5; max-width: 430px; font-size: 12px; line-height: 1.7; }
.landing-refresh .footer-contacts-compact a { color: #edf2e9; font-size: 13px; }
.landing-refresh .footer-contacts-compact i { color: #e4b28e; }
.landing-refresh .footer-bottom { border-top: 1px solid #ffffff26; padding-top: 20px; color: #c8cdd5; font-size: 12px; }
.landing-refresh .footer-bottom-links { flex-wrap: wrap; gap: 18px; }
.landing-refresh .footer-bottom-links a { color: #d9dee6; font-size: 12px; }
.landing-refresh .footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.landing-refresh .footer a:focus-visible { outline: 2px solid #e8aa69; outline-offset: 5px; border-radius: 3px; }
.landing-refresh .modal-overlay { --bg-card: #fafbf7; --bg-input: #fff; --text-primary: #243b30; --text-secondary: #42564a; --text-muted: #627268; --border-default: #cbd5c9; color: #243b30; background: #15281fb3; padding: 16px; }
.landing-refresh .modal { max-width: 420px; max-height: calc(100dvh - 32px); border: 1px solid #d7dfd1; border-radius: 18px; box-shadow: 0 18px 65px #10221933; scrollbar-color: #bdcbbb transparent; overscroll-behavior: contain; }
.landing-refresh .modal::-webkit-scrollbar-thumb { background: #bdcbbb; }
.landing-refresh .modal-header { padding: 25px 28px 18px; text-align: left; border-bottom: 1px solid #e4e9df; margin-bottom: 18px; }
.landing-refresh .modal-title { font-size: 23px; line-height: 1.25; letter-spacing: -.6px; padding-right: 22px; margin-bottom: 7px; color: #243b30; }
.landing-refresh .modal-subtitle { font-size: 12px; line-height: 1.6; color: #627268; }
.landing-refresh .modal-close { top: 15px; right: 14px; width: 36px; height: 36px; color: #5a6d60; }
.landing-refresh .modal-close:hover { background: #e9eee3; color: #243b30; }
.landing-refresh .modal-body { padding: 0 28px 24px; }
.landing-refresh .modal .form-group { margin-bottom: 12px; }
.landing-refresh .modal .form-label { font-size: 12px; line-height: 1.5; color: #42564a; margin-bottom: 5px; }
.landing-refresh .modal .form-input { font-size: 16px; line-height: 22px; padding: 8px 11px; border-radius: 9px; color: #243b30; }
.landing-refresh .modal .form-input::placeholder { font-size: 13px; color: #6d7b70; }
.landing-refresh .modal .form-input:focus { outline: 0; border-color: #568062; box-shadow: 0 0 0 3px #5680621f; }
.landing-refresh .modal .form-input[aria-invalid="true"] { border-color: #b84a33; }
.landing-refresh #registerForm .registration-name-help { color: #627268; font-size: 11px; margin-top: 5px; }
.landing-refresh #registerForm .registration-name-help[role="alert"] { color: #a33620; }
.landing-refresh #registerForm .registration-terms { margin-bottom: 12px; line-height: 1.6; }
.landing-refresh #registerForm .registration-terms a { color: #356744; text-decoration: underline; text-underline-offset: 2px; }
.landing-refresh .registration-password-wrap { position: relative; }
.landing-refresh .registration-password-wrap .form-input { padding-right: 86px; }
.landing-refresh .registration-password-wrap button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #42564a; font: inherit; font-size: 11px; cursor: pointer; min-height: 32px; }
.landing-refresh .modal .form-agreements { margin: 15px 0; display: grid; gap: 9px; }
.landing-refresh .modal .form-agreement, .landing-refresh .modal .form-checkbox { display: flex; align-items: flex-start; gap: 9px; color: #4e6154; font-size: 11px; line-height: 1.55; margin: 0; cursor: pointer; }
.landing-refresh .modal input[type="checkbox"] { appearance: auto; width: 16px; height: 16px; min-width: 16px; flex: 0 0 16px; margin: 1px 0 0; accent-color: #427650; outline: none; }
.landing-refresh .modal .form-agreement.required input { outline: none; }
.landing-refresh .modal :is(input,button,a):focus-visible { outline: 2px solid #427650; outline-offset: 3px; }
.landing-refresh .modal .form-agreement a, .landing-refresh .modal .form-link, .landing-refresh .modal .form-footer a { color: #356744; text-decoration: underline; text-underline-offset: 3px; }
.landing-refresh .modal .form-row { gap: 12px; flex-wrap: wrap; margin: 3px 0 17px; }
.landing-refresh .modal .form-link { font-size: 12px; }
.landing-refresh .modal .auth-submit { width: 100%; height: 44px; font-size: 13px; border-radius: 9px; }
.landing-refresh .modal .form-divider { margin: 16px 0 12px; color: #728173; font-size: 11px; }
.landing-refresh .modal .form-divider::before, .landing-refresh .modal .form-divider::after { background: #dce3d6; }
.landing-refresh .modal .form-footer { color: #627268; font-size: 12px; }
.landing-refresh .modal .form-error { background: #fff0eb; border-color: #e8b9aa; color: #9d321f; }
.landing-refresh .auth-field-error { display: block; color: #9d321f; font-size: 11px; line-height: 1.5; margin: 5px 0 0; }
.landing-refresh .auth-feedback { background: #edf3e8; border: 1px solid #c7d7bd; color: #31593b; padding: 11px 12px; border-radius: 9px; font-size: 12px; line-height: 1.6; margin-bottom: 14px; }
.landing-refresh .auth-feedback[data-state="error"] { background: #fff0eb; border-color: #e8b9aa; color: #9d321f; }
.landing-refresh .auth-feedback[hidden] { display: none; }
.landing-refresh .auth-submit:disabled { opacity: .65; cursor: wait; }
.landing-refresh .modal .form-success { background: #eaf3e5; border-color: #c3d8b7; color: #356744; }
@media (max-width: 576px) {
    .landing-refresh .footer-main, .landing-refresh .footer-brand-compact { align-items: flex-start; text-align: left; }
    .landing-refresh .footer-bottom { align-items: flex-start; text-align: left; gap: 15px; }
    .landing-refresh .footer-bottom-links { justify-content: flex-start; gap: 12px 18px; }
}
@media (max-width: 420px) {
    .landing-refresh .modal-overlay { padding: 10px; }
    .landing-refresh .modal { max-height: calc(100dvh - 20px); border-radius: 14px; }
    .landing-refresh .modal-header { padding: 22px 20px 16px; margin-bottom: 16px; }
    .landing-refresh .modal-body { padding: 0 20px 20px; }
    .landing-refresh .modal-title { font-size: 22px; }
}
