/* Rank Engine split-screen login and sign-up pages */

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
}

@font-face {
    font-family: "Noto Serif";
    src: url("../fonts/NotoSerif-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
}

body.re-login-template,
body.re-sign-up-template {
    --re-auth-navy: #073b64;
    --re-auth-navy-mid: #084f83;
    --re-auth-blue: #0b629a;
    --re-auth-orange: #ff7a3d;
    --re-auth-orange-dark: #e96023;
    --re-auth-orange-hover: #d44200;
    --re-auth-ink: #102235;
    --re-auth-body: #516276;
    --re-auth-line: #dbe6ee;
    --re-auth-control-radius: 3px;
    --re-public-button-radius: 4px;
    --re-public-card-radius: 6px;
    --re-public-media-radius: 8px;
    --re-public-icon-box-radius: 8px;
    --re-public-pill-radius: 999px;
    min-width: 320px;
    min-height: 100svh;
    margin: 0;
    color: var(--re-auth-ink);
    background: var(--re-auth-navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.re-login-template *,
body.re-login-template *::before,
body.re-login-template *::after,
body.re-sign-up-template *,
body.re-sign-up-template *::before,
body.re-sign-up-template *::after {
    box-sizing: border-box;
}

body.re-login-template .rnk_header_builder.mainnav.custom-main-nav,
body.re-sign-up-template .rnk_header_builder.mainnav.custom-main-nav,
body.re-login-template .rnk_footer,
body.re-sign-up-template .rnk_footer {
    display: none !important;
}

body.re-login-template .site_wrapper,
body.re-login-template .main_wrapper,
body.re-sign-up-template .site_wrapper,
body.re-sign-up-template .main_wrapper {
    min-height: 100svh;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.re-login-template button,
body.re-login-template input,
body.re-sign-up-template button,
body.re-sign-up-template input {
    font: inherit;
}

body.re-login-template a,
body.re-sign-up-template a {
    color: inherit;
}

.re-auth-layout {
    display: grid;
    grid-template-columns: minmax(560px, 52%) minmax(560px, 48%);
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--re-auth-navy);
}

.re-auth-access {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100svh;
    min-height: 0;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 34px clamp(42px, 5vw, 84px) 28px;
    color: #fff;
    background: linear-gradient(135deg, #062c4d 0%, #073b64 58%, #084f83 100%);
}

.re-auth-form-wrap {
    width: min(100%, 448px);
    margin: auto;
}

.re-auth-brand {
    display: inline-flex;
    width: 148px;
    margin: 0 0 42px;
    text-decoration: none;
}

.re-auth-form-wrap--signup .re-auth-brand {
    margin-bottom: 32px;
}

.re-auth-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.re-auth-form-wrap h1 {
    margin: 0;
    color: #fff;
    font-family: "Noto Serif", Georgia, serif;
    font-size: clamp(36px, 3vw, 47px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.re-auth-form {
    display: grid;
    gap: 18px;
    width: 100%;
    margin-top: 29px;
}

.re-auth-form.is-submitting {
    pointer-events: none;
}

.re-auth-field {
    display: grid;
    gap: 8px;
    width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
}

.re-auth-field > input,
.re-auth-password > input,
.re-login-modal__field > input {
    display: block;
    width: 100%;
    height: 54px;
    min-height: 0;
    padding: 0 16px;
    color: var(--re-auth-ink);
    background: #fff;
    border: 1px solid #cbd6df;
    border-radius: var(--re-auth-control-radius);
    outline: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.re-auth-field input::placeholder,
.re-login-modal__field input::placeholder {
    color: #8a98a8;
    opacity: 1;
}

.re-auth-field input:hover,
.re-login-modal__field input:hover {
    border-color: #9eb0c0;
}

.re-auth-field input:focus,
.re-login-modal__field input:focus {
    background: #fff;
    border-color: var(--re-auth-orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 61, 0.17);
}

.re-auth-field--trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.re-auth-password {
    position: relative;
    display: block;
}

.re-auth-password > input {
    padding-right: 70px;
}

.re-auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    min-width: 52px;
    padding: 6px 8px;
    color: var(--re-auth-blue);
    background: transparent;
    border: 0;
    border-radius: var(--re-auth-control-radius);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    transform: translateY(-50%);
}

.re-auth-password-toggle:hover,
.re-auth-password-toggle:focus-visible {
    background: #edf5fa;
    outline: 0;
    transform: translateY(-50%);
}

.re-auth-password-toggle:active {
    transform: translateY(-50%);
}

body.re-login-template .re-auth-password-toggle,
body.re-sign-up-template .re-auth-password-toggle,
body.re-login-template .re-auth-password-toggle:hover,
body.re-sign-up-template .re-auth-password-toggle:hover,
body.re-login-template .re-auth-password-toggle:focus-visible,
body.re-sign-up-template .re-auth-password-toggle:focus-visible,
body.re-login-template .re-auth-password-toggle:active,
body.re-sign-up-template .re-auth-password-toggle:active {
    position: absolute !important;
    top: 50% !important;
    right: 9px !important;
    transform: translateY(-50%) !important;
}

.re-auth-form__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.re-auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: rgba(229, 241, 249, 0.72);
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
}

.re-auth-checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.re-auth-checkbox__box {
    position: relative;
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #b7c4cf;
    border-radius: var(--re-auth-control-radius);
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.re-auth-checkbox input:checked + .re-auth-checkbox__box {
    background: var(--re-auth-orange-dark);
    border-color: var(--re-auth-orange-dark);
}

.re-auth-checkbox input:checked + .re-auth-checkbox__box::after {
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.re-auth-checkbox input:focus-visible + .re-auth-checkbox__box {
    box-shadow: 0 0 0 4px rgba(255, 122, 61, 0.18);
}

.re-auth-link,
.re-auth-switch a {
    color: #ffb28c;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(255, 178, 140, 0.4);
    text-underline-offset: 3px;
}

.re-auth-link--button {
    padding: 4px 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 13px;
}

.re-auth-link:hover,
.re-auth-link:focus-visible,
.re-auth-switch a:hover,
.re-auth-switch a:focus-visible {
    color: #fff;
    text-decoration-color: currentColor;
    outline: 0;
}

.re-auth-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 55px;
    padding: 0 20px;
    color: #fff;
    background: var(--re-auth-orange-dark);
    border: 1px solid var(--re-auth-orange-dark);
    border-radius: var(--re-public-button-radius);
    box-shadow: 0 10px 24px rgba(241, 90, 36, 0.2);
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.re-auth-submit:hover,
.re-auth-submit:focus-visible {
    color: #fff;
    background: var(--re-auth-orange-hover);
    border-color: var(--re-auth-orange-hover);
    box-shadow: 0 13px 28px rgba(212, 66, 0, 0.24);
    outline: 0;
    transform: translateY(-1px);
}

.re-auth-submit:active {
    transform: translateY(0);
}

.re-auth-submit:disabled {
    cursor: wait;
    opacity: 0.84;
}

.re-auth-submit--link {
    justify-content: center;
}

.re-auth-submit__icon,
.re-auth-submit__icon svg {
    display: block;
    width: 15px;
    height: 15px;
}

.re-auth-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: re-auth-spin 700ms linear infinite;
}

.is-submitting .re-auth-submit__icon {
    display: none;
}

.is-submitting .re-auth-spinner {
    display: block;
}

.re-auth-switch {
    margin: 24px 0 0;
    color: rgba(229, 241, 249, 0.68);
    font-size: 14px;
}

.re-auth-errors,
.re-auth-notice,
.re-signup-team-invite {
    padding: 12px 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--re-auth-control-radius);
    font-size: 13px;
    line-height: 1.5;
}

.re-auth-errors {
    color: #ffe8df;
    background: rgba(125, 16, 16, 0.22);
    border-color: rgba(255, 178, 140, 0.38);
}

.re-auth-errors p,
.re-auth-notice p {
    margin: 0;
}

.re-auth-errors p + p {
    margin-top: 6px;
}

.re-signup-team-invite {
    display: grid;
    gap: 3px;
}

.re-signup-team-invite span {
    color: #ffb28c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.re-signup-team-invite strong {
    font-size: 14px;
}

.re-signup-next {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: -3px 0 0;
    color: rgba(229, 241, 249, 0.68);
    font-size: 12px;
}

.re-signup-next > span {
    display: inline-grid;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: rgba(255, 122, 61, 0.88);
    border-radius: 50%;
}

.re-signup-next svg {
    width: 9px;
    height: 9px;
}

.re-signup-recaptcha {
    width: 100%;
    overflow: hidden;
}

.re-signup-recaptcha--enterprise {
    display: none;
}

.re-signup-recaptcha-fallback {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 10px 13px;
    color: #263b4e;
    background: #fafafa;
    border: 1px solid #d9dee2;
    border-radius: var(--re-auth-control-radius);
    box-shadow: 0 1px 3px rgba(16, 32, 51, 0.06);
    font-size: 13px;
}

.re-signup-recaptcha-fallback__box {
    width: 25px;
    height: 25px;
    background: #fff;
    border: 2px solid #73808a;
    border-radius: var(--re-auth-control-radius);
}

.re-signup-recaptcha-fallback__mark {
    display: grid;
    color: #596672;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
}

.re-signup-recaptcha-fallback__mark small {
    font-size: 8px;
    font-weight: 400;
}

.re-auth-story {
    position: relative;
    min-width: 0;
    height: 100svh;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--re-auth-ink);
    background: linear-gradient(150deg, #fffefd 0%, #fff9f4 52%, #f9f1eb 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.re-auth-story::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 30%, rgba(7, 59, 100, 0.025));
    content: "";
    pointer-events: none;
}

.re-auth-story__grid {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: linear-gradient(rgba(7, 59, 100, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 59, 100, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 80%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 80%);
}

.re-auth-story__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: clamp(38px, 4vw, 66px);
}

.re-auth-feature-composition {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(100%, 720px);
    height: 100%;
    min-height: 0;
    margin: 0 auto;
}

.re-auth-feature-copy {
    width: min(100%, 530px);
    max-width: 530px;
    margin: clamp(34px, 5vh, 62px) auto 0;
}

.re-auth-feature-label {
    margin: 0 0 11px;
    color: var(--re-auth-orange-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.re-auth-feature-copy h2,
.re-signup-proof-heading h2 {
    margin: 0;
    color: var(--re-auth-ink);
    font-family: "Noto Serif", Georgia, serif;
    font-size: clamp(31px, 2.9vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.re-auth-feature-copy > p:last-of-type,
.re-signup-proof-heading > p {
    margin: 17px 0 0;
    color: var(--re-auth-body);
    font-size: clamp(14px, 1.08vw, 17px);
    line-height: 1.7;
}

.re-auth-feature-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 19px 0 0;
    list-style: none;
}

.re-auth-feature-points li {
    padding: 7px 11px;
    color: var(--re-auth-navy);
    background: rgba(232, 244, 251, 0.9);
    border: 1px solid rgba(11, 98, 154, 0.09);
    border-radius: var(--re-public-pill-radius);
    font-size: 11px;
    font-weight: 700;
}

.re-auth-feature-media {
    position: relative;
    align-self: center;
    justify-self: center;
    width: min(100%, 600px);
    margin: clamp(42px, 5vh, 72px) auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(7, 59, 100, 0.13);
    border-radius: var(--re-public-media-radius);
    box-shadow: 0 18px 42px rgba(6, 40, 69, 0.14);
}

.re-auth-feature-media__viewport {
    display: grid;
    min-height: 0;
    overflow: hidden;
    place-items: center;
    background: #fff;
}

.re-auth-feature-media__viewport img {
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
    transition: opacity 180ms ease, transform 280ms ease;
}

.re-auth-feature-media__viewport img[hidden] {
    display: none;
}

.re-auth-feature-media__viewport.is-dual {
    grid-template: 1fr / 1fr;
    width: 100%;
    padding: 30px 0;
    overflow: visible;
    background: transparent;
}

.re-auth-feature-media__viewport.is-dual img {
    grid-area: 1 / 1;
    width: 59%;
    min-width: 0;
    margin: 0;
    border: 1px solid rgba(7, 59, 100, 0.12);
    border-radius: var(--re-public-media-radius);
    box-shadow: 0 18px 36px rgba(6, 40, 69, 0.16);
}

.re-auth-feature-media__viewport.is-dual img:first-child {
    z-index: 2;
    justify-self: end;
    transform: translateY(12%);
}

.re-auth-feature-media__viewport.is-dual img:last-child {
    z-index: 1;
    justify-self: start;
    transform: translateY(-12%);
}

.re-auth-feature-media.is-dual-media {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.re-auth-feature-media.is-changing img {
    opacity: 0.25;
    transform: scale(0.985);
}

.re-auth-feature-footer {
    display: flex;
    align-self: end;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.re-auth-feature-dots {
    display: flex;
    gap: 9px;
}

.re-auth-feature-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    background: rgba(7, 59, 100, 0.22);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.re-auth-feature-dots button:hover,
.re-auth-feature-dots button:focus-visible {
    background: rgba(7, 59, 100, 0.64);
    outline: 2px solid rgba(7, 59, 100, 0.15);
    outline-offset: 4px;
}

.re-auth-feature-dots button.is-active {
    width: 26px;
    background: var(--re-auth-orange);
    border-radius: var(--re-public-pill-radius);
}

.re-auth-story__inner--signup {
    justify-content: center;
    padding-block: clamp(42px, 4.2vw, 68px);
}

.re-auth-story--signup .re-auth-story__grid {
    opacity: 0.24;
    background-image: linear-gradient(rgba(132, 73, 40, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(132, 73, 40, 0.08) 1px, transparent 1px);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 54%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 54%);
}

.re-signup-proof-heading,
.re-signup-assurance-grid,
.re-signup-client-proof {
    width: min(100%, 600px);
    max-width: 600px;
    margin-inline: auto;
}

.re-signup-proof-heading > p {
    font-size: 17px;
}

.re-signup-assurance-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: clamp(32px, 4vh, 42px);
    border-top: 1px solid rgba(7, 59, 100, 0.16);
    border-bottom: 1px solid rgba(7, 59, 100, 0.16);
}

.re-signup-assurance {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
    padding: 19px 0 20px;
}

.re-signup-assurance:not(:last-child) {
    border-bottom: 1px solid rgba(7, 59, 100, 0.11);
}

.re-signup-assurance__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    color: #ed7c29;
    background: #f9e4d4;
    border: 0;
    border-radius: var(--re-public-icon-box-radius);
    box-shadow: none;
}

.re-signup-assurance__icon svg {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.re-signup-assurance h3 {
    margin: 1px 0 5px;
    color: var(--re-auth-ink);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.re-signup-assurance p {
    margin: 0;
    color: var(--re-auth-body);
    font-size: 15.5px;
    line-height: 1.55;
}

.re-signup-client-proof {
    margin-top: clamp(38px, 4.5vh, 52px);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #073b64, #084f83);
    border: 1px solid rgba(7, 59, 100, 0.1);
    border-radius: var(--re-public-card-radius);
    box-shadow: 0 20px 45px rgba(6, 40, 69, 0.18);
}

.re-signup-testimonial {
    position: relative;
    margin: 0;
    padding: 31px 38px 30px;
    border: 0;
}

.re-signup-testimonial::before {
    position: absolute;
    top: 24px;
    left: 34px;
    color: var(--re-auth-orange);
    content: "“";
    font-family: "Noto Serif", Georgia, serif;
    font-size: 96px;
    font-weight: 700;
    line-height: 0.72;
}

.re-signup-testimonial h3 {
    position: relative;
    margin: 0 0 10px;
    padding-left: 67px;
    color: #fff;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.re-signup-testimonial > p {
    position: relative;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.65;
}

.re-signup-testimonial footer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 17px;
}

.re-signup-testimonial footer strong {
    flex: 0 0 auto;
    color: #fff;
    font-size: 13px;
}

.re-signup-testimonial footer img {
    display: block;
    width: min(100%, 150px);
    height: auto;
}

.re-login-modal[hidden] {
    display: none;
}

.re-login-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.re-login-modal.is-open,
.re-login-modal.is-closing {
    visibility: visible;
    transition-delay: 0s;
}

.re-login-modal.is-open {
    opacity: 1;
}

.re-login-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(0, 21, 38, 0.64);
    border: 0;
    cursor: default;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 220ms ease;
}

.re-login-modal.is-open .re-login-modal__backdrop {
    opacity: 1;
}

.re-login-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    width: min(430px, calc(100vw - 48px));
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100svh - 48px);
    overflow: auto;
    padding: 34px;
    color: #17263a;
    background: #fff;
    border: 1px solid rgba(8, 123, 176, 0.16);
    border-radius: var(--re-auth-control-radius);
    box-shadow: 0 24px 56px rgba(0, 21, 38, 0.32);
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 220ms ease, transform 220ms ease;
}

.re-login-modal.is-open .re-login-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.re-login-modal.is-closing .re-login-modal__dialog {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
    transition-duration: 180ms;
}

.re-login-modal.is-closing .re-login-modal__backdrop {
    opacity: 0;
    transition-duration: 180ms;
}

.re-login-modal__dialog h2 {
    margin: 0 34px 12px 0;
    color: #17263a;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
}

.re-login-modal__intro {
    margin: 0 0 22px;
    color: #465f7c;
    font-size: 14px;
    line-height: 1.5;
}

.re-login-modal__success {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.re-login-modal__success-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #ed7c29;
    background: #f9e4d4;
    border-radius: 8px;
}

.re-login-modal__success-icon svg {
    width: 16px;
    height: 16px;
}

.re-login-modal__success h2,
.re-login-modal__success p {
    margin: 0;
}

.re-login-modal__success p {
    color: #465f7c;
    font-size: 14px;
    line-height: 1.55;
}

.re-login-modal__success-action {
    width: auto;
    min-width: 142px;
    min-height: 50px;
    justify-content: center;
    margin-top: 4px;
}

.re-login-modal__form {
    display: grid;
    gap: 16px;
}

.re-login-modal__field {
    display: grid;
    gap: 8px;
    margin: 0;
    color: #244866;
    font-size: 12px;
    font-weight: 700;
}

.re-login-modal__field > input {
    height: 50px;
    padding-inline: 12px;
}

.re-login-modal__submit {
    width: auto;
    min-width: 160px;
    min-height: 50px;
    justify-content: center;
    justify-self: start;
    gap: 18px;
    margin-top: 4px;
}

.re-login-modal__close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: var(--re-auth-control-radius);
    cursor: pointer;
    transition: background-color 180ms ease;
}

.re-login-modal__close:hover,
.re-login-modal__close:focus-visible {
    background: rgba(8, 123, 176, 0.08);
    outline: 0;
}

.re-login-modal__close span {
    position: absolute;
    display: block;
    width: 16px;
    height: 2px;
    background: #32506d;
    border-radius: 2px;
}

.re-login-modal__close span:first-child {
    transform: rotate(45deg);
}

.re-login-modal__close span:last-child {
    transform: rotate(-45deg);
}

body.re-login-modal-open {
    overflow: hidden;
}

@keyframes re-auth-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
    .re-auth-layout {
        grid-template-columns: minmax(500px, 51%) minmax(500px, 49%);
    }

    .re-auth-access {
        padding-inline: 42px;
    }

    .re-auth-story__inner {
        padding: 40px;
    }

    .re-auth-feature-copy h2,
    .re-signup-proof-heading h2 {
        font-size: 35px;
    }

    .re-auth-feature-copy > p:last-of-type {
        font-size: 14px;
    }
}

@media (max-height: 1040px) and (min-width: 981px) {
    .re-auth-story__inner--signup {
        padding-block: 36px;
    }

    .re-signup-proof-heading > p {
        margin-top: 11px;
        font-size: 15px;
        line-height: 1.55;
    }

    .re-signup-assurance-grid {
        margin-top: 24px;
    }

    .re-signup-assurance {
        padding-block: 14px;
    }

    .re-signup-assurance h3 {
        font-size: 17px;
    }

    .re-signup-assurance p {
        font-size: 13.5px;
        line-height: 1.48;
    }

    .re-signup-client-proof {
        margin-top: 30px;
    }

    .re-signup-testimonial {
        padding: 24px 27px 23px;
    }

    .re-signup-testimonial::before {
        top: 20px;
        left: 25px;
        font-size: 78px;
    }

    .re-signup-testimonial h3 {
        padding-left: 55px;
        font-size: 21px;
    }

    .re-signup-testimonial > p {
        font-size: 12.5px;
        line-height: 1.52;
    }

    .re-signup-testimonial footer {
        margin-top: 11px;
    }
}

@media (max-height: 820px) and (min-width: 981px) {
    .re-auth-access {
        padding-block: 25px 20px;
    }

    .re-auth-brand {
        margin-bottom: 28px;
    }

    .re-auth-form-wrap--signup .re-auth-brand {
        margin-bottom: 22px;
    }

    .re-auth-form-wrap h1 {
        font-size: 36px;
    }

    .re-auth-form {
        gap: 13px;
        margin-top: 22px;
    }

    .re-auth-field > input,
    .re-auth-password > input {
        height: 49px;
    }

    .re-auth-submit {
        min-height: 50px;
    }

    .re-auth-feature-copy {
        margin-top: 20px;
    }

    .re-auth-feature-copy h2,
    .re-signup-proof-heading h2 {
        font-size: 32px;
    }

    .re-auth-feature-copy > p:last-of-type {
        margin-top: 10px;
        line-height: 1.55;
    }

    .re-auth-feature-points {
        margin-top: 12px;
    }

    .re-auth-feature-media {
        width: min(100%, 420px);
        margin-block: 24px;
    }

    .re-auth-feature-media__viewport.is-dual {
        padding-block: 22px;
    }

    .re-signup-proof-heading > p {
        margin-top: 7px;
        font-size: 13px;
    }

    .re-signup-assurance-grid {
        margin-top: 15px;
    }

    .re-signup-assurance {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
        padding-block: 11px;
    }

    .re-signup-assurance h3 {
        margin-bottom: 3px;
        font-size: 15px;
    }

    .re-signup-assurance p {
        font-size: 12px;
        line-height: 1.4;
    }

    .re-signup-client-proof {
        margin-top: 20px;
    }

    .re-signup-testimonial {
        padding: 19px 21px 18px;
    }

    .re-signup-testimonial::before {
        top: 16px;
        left: 19px;
        font-size: 64px;
    }

    .re-signup-testimonial h3 {
        padding-left: 47px;
        font-size: 18px;
    }

    .re-signup-testimonial > p {
        font-size: 11px;
    }

    .re-signup-testimonial footer img {
        width: 125px;
    }
}

@media (max-width: 980px) {
    .re-auth-layout {
        display: block;
        height: auto;
        min-height: 100svh;
        overflow: visible;
    }

    .re-auth-access {
        height: auto;
        min-height: 100svh;
        align-items: flex-start;
        overflow: visible;
        padding: 26px 24px 22px;
    }

    .re-auth-story {
        display: none;
    }

    .re-auth-form-wrap {
        margin-block: 48px;
    }

    .re-auth-form-wrap h1 {
        font-size: clamp(34px, 8vw, 42px);
    }
}

@media (max-width: 520px) {
    .re-auth-access {
        padding: 22px 18px 18px;
    }

    .re-auth-brand {
        width: 140px;
        margin-bottom: 30px;
    }

    .re-auth-form-wrap {
        margin-block: 44px 36px;
    }

    .re-auth-form__options {
        align-items: flex-start;
    }

    .re-signup-recaptcha-fallback {
        grid-template-columns: auto 1fr;
    }

    .re-signup-recaptcha-fallback__mark {
        display: none;
    }

    .re-login-modal__dialog {
        padding: 32px 22px 24px;
    }

    .re-login-modal__dialog h2 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .re-auth-layout *,
    .re-auth-layout *::before,
    .re-auth-layout *::after,
    .re-login-modal,
    .re-login-modal * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
