/* Base Start */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

body {
    font-family: "DM Sans", sans-serif;
    color: #2F1C6A;
    background-color: #F4F5FF;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content {
    width: 376px;
    padding: 48px 40px;
    background-color: white;
    border: 1px solid #D8DAE0;
    border-radius: 16px;
}

.button {
    background-color: unset;
    border: unset;
    cursor: pointer;
}

.back-button {
    width: 100%;
    display: flex;
    gap: 6px;
    text-decoration: none;
    color: #2F1C6A;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.tos {
    color: #6D7081;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.tos a {
    color: #6D7081;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* Base End */

/* Utilities Start */
.text-right {
    text-align: right;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mt-4 {
    margin-top: 4px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-100 {
    margin-top: 100px;
}

.mb-15 {
    margin-bottom: 15px;
}


.mb-16 {
    margin-bottom: 16px;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mr-5 {
    margin-right: 5px;
}

.mr-16 {
    margin-right: 16px;
}

.ml-16 {
    margin-left: 16px;
}

.w-100 {
    width: 100%;
}

.wh-22 {
    width: 22px;
    height: 22px;
}

.w-0 {
    width: 0;
}

.p-12-24 {
    padding: 12px 24px;
}

.p-16-24 {
    padding: 16px 24px;
}

.p-12 {
    padding: 12px;
}

.m-0 {
    margin: 0;
}

.d-flex {
    display: flex;
}

.gap-8 {
    gap: 8px;
}

.text-center {
    text-align: center;
}

.color-red {
    color: red;
}

.text-left {
    text-align: left;
}

.background-color-niaga {
    background-color: #673DE6;
}

.accent-color-niaga {
    accent-color: #673DE6;
}

.background-color-niaga:hover {
    background-color: #5025D1;
}

.background-color-hostinger {
    background-color: #673DE6;
}

button.background-color-hostinger:hover {
    background-color: #5025D1;
}

.accent-color-hostinger {
    accent-color: #673DE6;
}

.color-niaga {
    color: #673DE6;
}

.color-niaga:hover {
    color: #5025D1;
}

.color-hostinger {
    color: #673DE6;
}

.background-color-brandless {
    background-color: #673DE6;
}

button.background-color-brandless:hover {
    background-color: #5025D1;
}

.accent-color-brandless {
    accent-color: #673DE6;
}

.color-brandless {
    color: #673DE6;
}

.background-color-hostmania {
    background-color: #ff4546;
}

.background-color-hostmania:hover {
    background-color: #fd3b3c;
}

.color-hostmania {
    color: #ff2324;
}

.accent-color-hostmania {
    accent-color: #ff4546;
}

.background-color-hosting24 {
    background-color: #4671DD;
}

.background-color-hosting24:hover {
    background-color: #3762d9;
}

.color-hosting24 {
    color: #5e7ece;
}

.accent-color-hosting24 {
    accent-color: #4671DD;
}

.background-color-weblink {
    background-color: #4771B4;
}

.background-color-weblink:hover {
    background-color: #3065b7;
}

.color-weblink {
    color: #5a7cb2;
}

.accent-color-weblink {
    accent-color: #4771B4;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.gray-border {
    border: 1px solid #dadce0;
}

.m-lr-10 {
    margin-left: 10px;
    margin-right: 10px;
}

.b-radius-4 {
    border-radius: 4px;
}

.b-radius-8 {
    border-radius: 8px;
}

.d-block {
    display: block;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.text-decoration-none {
    text-decoration: none;
}

.color-black-50 {
    color: rgba(0, 0, 0, .5);
}

.color-black {
    color: #000;
}

.color-gray {
    color: #6D7081;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.hidden {
    display: none !important;
}

.non-resizable {
    resize: none;
}

.border-box {
    box-sizing: border-box;
}

.max-width-450 {
    max-width: 450px;
}

/* Utilities End */


/* Components Start */
.logo img {
    padding: 20px 40px;
    margin-bottom: 24px;
}

.logo * {
    max-height: 30px;
}

.close-btn {
    margin-left: 15px;
    color: white;
    float: right;
    font-size: 1.25rem;
    cursor: pointer;
    transition: 0.3s;
    line-height: 16px;
}

.title {
    align-self: stretch;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin-top: unset;
}

.input {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased !important;
    direction: ltr;
    display: block;
    width: 100% !important;
    padding: .85em 1.15em !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    transition: all .15s ease-in-out !important;
    font-size: 14px;
    vertical-align: middle;
    height: 48px !important;
    border: 1px solid #DADCE0 !important;
    box-sizing: border-box;
    border-radius: 8px !important;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    box-shadow: none;
}

.label {
    width: 100%;
    color: #6D7081;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.height-unset {
    height: unset !important;
}

.primary-action {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased !important;
    direction: ltr;
    vertical-align: middle;
    box-sizing: border-box;
    word-break: keep-all;
    white-space: nowrap;
    border-radius: 8px !important;
    border: 1px solid transparent;
    filter: none;
    width: 100% !important;
    padding: .7rem .9rem;
    margin-left: 0;
    margin-right: 0;
    color: #fff;
    -webkit-appearance: button;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 53px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

#register-button:disabled {
    opacity: .6;
    cursor: default;
}

.secondary-action {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.alert {
    padding: .75rem 1.25rem;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    font-weight: 100;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-info {
    background-color: #EBE4FFFF;
    border-color: #ded3ff;
    color: #2F1C6AFF;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.or-wrapper {
    height: 20px;
}

.or-wrapper hr {
    width: 100%;
    position: absolute;
    top: 2px;
    background-color: #dadce0;
    border: none;
    height: 1px;
}

.or-wrapper p {
    padding: 0 10px;
    background: #fff;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2F1C6A;
    font-size: 16px;
}

.facebook {
    background-color: #1877f2;
}

.github {
    background-color: #2f363d;
}

.social {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 25px;
}

.show-password-eye {
    top: 13px;
    right: 10px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.show-password-eye svg {
    fill: #727586;
}

.country-selector {
    line-height: 1.5;
    font-size: 14px;
    color: #2f1c6a;
    font-family: DM Sans, sans-serif;
    font-weight: 700;
    font-style: normal;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    margin-bottom: 12px;
    text-decoration: none!important;
}

.full-height-container {
    height: 100vh;
}

@media (max-height: 500px) {
    .full-height-container {
        height: unset;
        margin: 8px;
    }
}

.consent-checkbox {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    margin-top: unset;
}

.consent-text {
    margin-top: 3px;
}

.tooltip {
    background: unset;
    border: unset;
    padding: unset;
    vertical-align: middle;
    cursor: pointer;
}

.switcher-container-a {
    display: flex;
    position: relative;
    margin: auto;
    background-color: #F4F5FF;
    border-radius: 30px;
    padding: 8px 16px 8px 16px;
    width: fit-content;
    overflow: hidden;
    margin-bottom: 25px;
}

.switcher-option-a {
    padding: 12px 24px 12px 24px;
    font-family: DM Sans, sans-serif;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    color: #2F1C6A;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.switcher-option-a:first-of-type {
    margin-left: -8px;
    margin-right: 8px;
}

.switcher-option-a:last-of-type {
    margin-right: -8px;
}

.switcher-option-a.active {
    background-color: #cadcf8;
    border-radius: 30px;
    color: #2F1C6A;
    cursor: default;
}

.switcher-option-a:not(.active):hover {
    color: #673DE6;
}
/* Components End */

/* Pages Start */
.flag {
    width: 30px;
    height: 19px;
    display: inline-block;
    background-image: url("/assets/images/flag/flags.png");
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: pixelated;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: transparent;
    background-position: center center
}

.flag-gr {
    background-position: -5px -5px;
}

.flag-cz {
    background-position: -5px -63px;
}

.flag-sk {
    background-position: -5px -92px;
}

.flag-dk {
    background-position: -5px -121px;
}

.flag-de {
    background-position: -5px -150px;
}

.flag-gb {
    background-position: -5px -179px;
}

.flag-in {
    background-position: -5px -208px;
}

.flag-jp {
    background-position: -5px -237px;
}

.flag-ph {
    background-position: -5px -266px;
}

.flag-us {
    background-position: -5px -295px;
}

.flag-ca {
    background-image: url("/assets/images/flag/canada-flag.png");
    background-size: 30px 19px;
}

.flag-au {
    background-image: url("/assets/images/flag/australia-flag.png");
    background-size: 30px 19px;
}

.flag-es {
    background-position: -5px -324px;
}

.flag-ar {
    background-position: -5px -353px;
}

.flag-co {
    background-position: -5px -382px;
}

.flag-mx {
    background-position: -5px -411px;
}

.flag-et {
    background-position: -5px -440px;
}

.flag-ee {
    background-position: -5px -440px;
}

.flag-fi {
    background-position: -5px -469px;
}

.flag-fr {
    background-position: -5px -498px;
}

.flag-il {
    background-position: -5px -527px;
}

.flag-hr {
    background-position: -5px -556px;
}

.flag-hu {
    background-position: -5px -585px;
}

.flag-id {
    background-position: -5px -614px;
}

.flag-it {
    background-position: -5px -643px;
}

.flag-kr {
    background-position: -5px -672px;
}

.flag-lt {
    background-position: -5px -701px;
}

.flag-lv {
    background-position: -5px -730px;
}

.flag-my {
    background-position: -5px -759px;
}

.flag-nl {
    background-position: -5px -788px;
}

.flag-no {
    background-position: -5px -817px;
}

.flag-pk {
    background-position: -5px -1163px;
}

.flag-pl {
    background-position: -5px -846px;
}

.flag-pt {
    background-position: -5px -875px;
}

.flag-br {
    background-position: -5px -904px;
}

.flag-ro {
    background-position: -5px -933px;
}

.flag-ru {
    background-position: -5px -962px;
}

.flag-se {
    background-position: -5px -991px;
}

.flag-th {
    background-position: -5px -1020px;
}

.flag-tr {
    background-position: -5px -1049px;
}

.flag-ua {
    background-position: -5px -1078px;
}

.flag-vn {
    background-position: -5px -1107px;
}

.flag-cn {
    background-position: -5px -1136px;
}

/* Pages End */

/* Responsive Start */

@media (max-width: 768px) {
    .container {
        min-height: unset;
        padding: 16px;
        align-items: stretch;
    }

    .logo img {
        padding: 16px;
        margin-bottom: unset;
    }

    .title {
        font-size: 24px;
    }

    .content {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .content {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 320px) {
    .social-login-block {
        flex-direction: column;
    }

    .social {
        width: 75%;
        margin-bottom: 12px;
    }
}

/* Responsive End */

/* Account recovery start*/

.account-recovery-reason-picker {
    border: 1px solid #D5DFFF;
    background: #FAFBFF;
}

.ar-content {
    width: 900px;
    max-width: calc(100vw - 48px);
}

.ar-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #D8DAE0;
}

.ar-tab-btn {
    padding: 10px 16px;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.ar-tab-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.ar-tab-btn.ar-active {
    background: white;
    border-color: #D8DAE0;
    font-weight: 600;
    color: #2F1C6A;
    margin-bottom: -2px;
}

.ar-tab-panel {
    display: none;
    padding: 16px;
    border: 1px solid #D8DAE0;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.ar-tab-panel.ar-active {
    display: block;
}

.ar-examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 14px;
}

.ar-example-box {
    border-radius: 6px;
    padding: 10px 12px;
}

.ar-example-box.ar-bad {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.ar-example-box.ar-good {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.ar-example-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ar-example-label.ar-bad {
    color: #dc2626;
}

.ar-example-label.ar-good {
    color: #16a34a;
}

.ar-example-list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: #444;
}

.ar-example-list li {
    margin-bottom: 4px;
}

.ar-tab-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.ar-dropzone {
    border: 2px dashed #c8ccd4;
    border-radius: 6px;
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    background: #fafbfc;
    transition: background 0.15s, border-color 0.15s;
    outline: none;
}

.ar-dropzone:hover, .ar-dropzone:focus-visible {
    background: #f2f4f7;
    border-color: #94a3b8;
}

.ar-dropzone--hover {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
}

.ar-dropzone-inner svg {
    display: block;
    margin: 0 auto 8px;
}

.ar-dropzone-inner strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.ar-dropzone-inner small {
    color: #777;
    font-size: 14px;
}

.ar-files-list {
    margin-top: 8px;
    font-size: 14px;
}

.ar-files-list td {
    border-bottom: 1px solid #c8ccd4;
}

.ar-tab-btn.ar-required-flash {
    color: #dc2626;
    border-color: #fca5a5;
}

.ar-dropzone.ar-required-flash {
    border-color: #dc2626;
    background: #fef2f2;
    animation: ar-required-shake 0.4s ease;
}

@keyframes ar-required-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

@media (max-width: 700px) {
    .ar-content {
        width: 100%;
    }

    .ar-examples-grid {
        grid-template-columns: 1fr;
    }

    .ar-tab-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ar-dropzone.ar-required-flash {
        animation: none;
    }
}

/* Account recovery end*/

/* Horizons promo: sales-consent tooltip */
.horizons-page .tooltip::after {
    padding: 10px !important;
    font-size: 12px !important;
    max-width: 300px !important;
    min-width: 200px;
    white-space: normal !important;
}

@media (max-width: 450px) {
    .horizons-page .tooltip::after {
        max-width: 200px !important;
        min-width: 30vw;
    }
}
/* New Horizons end */

/* Progress Bar */

.progress-bar {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: normal;
    line-height: 20px;
    font-weight: 700;
}

.progress-bar__step {
    display: flex;
    align-items: center;
    color: #6D7081;
}

.progress-bar__step--active {
    color: rgb(24, 24, 26);
}

.progress-bar__step-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-bar__step-label a {
    color: inherit;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: normal;
    line-height: 20px;
    text-decoration: none;
}

.progress-bar__line {
    width: 24px;
    height: 1px;
    background-color: #C8CBD8;
    margin: 0 8px;
}

.progress-bar__line--active {
    width: 24px;
    height: 1px;
    background-color: rgb(24, 24, 26);
    margin: 0 8px;
}

/* Account verification steps (login -> verify identity) */

.verify-steps {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 24px;
}

.verify-steps__item {
    display: flex;
    flex: 0 0 130px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.verify-steps__marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #C8CBD8;
    background-color: #FFFFFF;
    color: #6D7081;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.verify-steps__item:not(:last-child) .verify-steps__marker::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 6px);
    width: calc(130px - 24px - 12px);
    height: 2px;
    border-radius: 2px;
    background-color: #C8CBD8;
    transform: translateY(-50%);
}

.verify-steps__label {
    color: #6D7081;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.verify-steps__item--current .verify-steps__marker {
    border-color: #673DE6;
    background-color: #673DE6;
    color: #FFFFFF;
}

.verify-steps__item--current .verify-steps__label {
    color: #2F1C6A;
}

a.privacy-policy-link {
    font-weight: 400;
}

/* Login continue page */

body.login-continue-page {
    margin: unset;
}

.login-continue-page .container {
    height: 100vh;
    align-items: center;
}

.login-continue-page .content {
    max-width: 350px;
    width: 100%;
}

.login-continue-page .title {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.login-continue-page .flag {
    margin-right: 5px;
}

.login-continue-page .login-redirect {
    line-height: 1.5;
    color: #673de6;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 25px;
}

.login-continue-page .logo {
    margin-top: 25px;
    margin-left: 30px;
}

@media (min-width: 768px) {
    .login-continue-page .logo {
        position: absolute;
        top: 30px;
        left: 40px;
        margin: unset;
    }
}

/* OAuth consent page */

.consent-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.consent-user-box {
    background-color: #F4F5FF;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.consent-user-label {
    font-size: 11px;
    font-weight: 700;
    color: #6D7081;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 12px;
}

.consent-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.consent-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #673DE6;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.consent-user-name {
    font-weight: 700;
    color: #2F1C6A;
    font-size: 14px;
    line-height: 22px;
}

.consent-user-email {
    color: #6D7081;
    font-size: 14px;
    line-height: 20px;
    word-break: break-word;
}

.consent-allow {
    gap: 8px;
}

.consent-reject {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 0;
    width: 100%;
}

.consent-description {
    color: #6D7081;
    font-size: 14px;
    line-height: 1.6;
}

.consent-divider {
    border: none;
    border-top: 1px solid #D8DAE0;
    margin: 20px 0;
}


/* ==========================================================================
   Auth pages — register, log in, forgot password, two-factor, risky login
   --------------------------------------------------------------------------
   One panel design. Every page in the flow renders the same white panel on
   the dark backdrop, at the same width and offset; its height follows its
   content, with the panel padding as the bottom spacing. Page-specific
   trailing content (security note, back link) goes in `.auth-card-footer`.
   ========================================================================== */

.auth-page {
    --auth-bg: #100C27;
    --auth-ink: #18181A;
    --auth-ink-muted: #6D7081;
    --auth-ink-inverse: rgba(255, 255, 255, .72);
    --auth-line: #E5E5E5;
    --auth-surface-hover: #F5F4FA;
    --auth-accent: #673DE6;
    --auth-accent-hover: #5025D1;
    --auth-accent-soft: #EBE4FF;
    --auth-accent-on-dark: #9D9AFF;
    --auth-card-width: 456px;
    --auth-card-padding: 32px;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: var(--auth-bg);
    color: var(--auth-ink);
}

.auth-page.brand-niaga {
    --auth-accent: #007DFF;
    --auth-accent-hover: #0057B2;
    --auth-accent-soft: #E3F1FF;
}

.auth-page.brand-hostmania {
    --auth-accent: #FF2324;
    --auth-accent-hover: #FD3B3C;
    --auth-accent-soft: #FFE6E6;
}

.auth-page.brand-hosting24 {
    --auth-accent: #4671DD;
    --auth-accent-hover: #3762D9;
    --auth-accent-soft: #E4EAFB;
}

.auth-page.brand-weblink {
    --auth-accent: #4771B4;
    --auth-accent-hover: #3065B7;
    --auth-accent-soft: #E4ECF7;
}

/* Text links keep their colour on hover and only gain an underline. */

/* Layout */

.auth-page .logo {
    flex: none;
    display: block;
    align-self: flex-start;
}

.auth-page .logo img {
    max-height: 24px;
    padding: 24px 32px;
    margin-bottom: 0;
    /* Brand marks ship in their brand colour; the dark backdrop needs white. */
    filter: brightness(0) invert(1);
}

/* Centred vertically in the space below the brand mark (top-aligned on mobile,
   see Responsive). `safe` keeps a panel taller than the viewport top-aligned
   instead of pushing it above the fold. */
.auth-page .container {
    flex: 1;
    box-sizing: border-box;
    justify-content: safe center;
    align-items: center;
    padding: 24px 16px 32px;
    /* balloon-tooltip's ::after is always rendered (~260px wide, centred on its
       trigger), so at some viewport widths it pushed the document's scroll width
       past the viewport and gave the page a horizontal scrollbar. Clipping here
       rather than on the panel keeps the balloon readable right up to the edge
       of the column; `clip` (not `hidden`) leaves the y axis visible and creates
       no scroll container. */
    overflow-x: clip;
}

.auth-page .auth-column {
    width: 100%;
    max-width: var(--auth-card-width);
}

.auth-page .content {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    max-width: var(--auth-card-width);
    padding: var(--auth-card-padding);
    border: none;
    border-radius: 16px;
    background-color: #fff;
}

.auth-page .auth-wrap {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.auth-page .auth-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.auth-page .auth-card-footer {
    width: 100%;
    padding-top: 24px;
}

/* Secondary action that belongs to the form (e.g. account recovery under the
   log-in button), so it sits right below it instead of on the panel's edge. */
.auth-page .auth-form-footer {
    margin-top: 16px;
    text-align: center;
}

/* Terms sit below the panel: they belong to the page, not to the form, and
   keeping them out means the panel matches its fixed height. */
.auth-page .auth-legal {
    margin-top: 20px;
    text-align: center;
}

.auth-page .auth-legal .tos,
.auth-page .auth-legal .tos a {
    font-size: 12px;
    line-height: 18px;
    color: var(--auth-ink-inverse);
}

/* Panel header */

.auth-page .title,
.auth-page .form-title {
    margin: 0;
    font-size: 36px;
    font-weight: 400;
    line-height: 44px;
    text-align: center;
    color: var(--auth-ink);
}

.auth-page .auth-switch {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: var(--auth-ink);
}

.auth-page .auth-switch a {
    margin-left: 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--auth-accent);
    text-decoration: none;
}

.auth-page .auth-switch a:hover {
    text-decoration: underline;
}

.auth-page .auth-subtitle {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: var(--auth-ink-muted);
}

.auth-page .auth-subtitle--strong {
    color: var(--auth-ink);
}

.auth-page .auth-email {
    margin: 4px 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: var(--auth-ink);
    word-break: break-word;
}

.auth-page .auth-email--with-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.auth-page .auth-email--with-icon svg {
    flex: none;
}

/* Social sign-in */

.auth-page .social-login-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 32px 0 0;
}

.auth-page .social {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--auth-line);
    border-radius: 8px;
    background-color: #fff;
    transition: background-color .15s ease;
}

.auth-page .social:hover {
    background-color: var(--auth-surface-hover);
}

.auth-page .social img {
    width: 20px;
    height: 20px;
}

/* The GitHub mark is a white glyph drawn for a dark button; flatten it to
   black so it reads on the white outline button. */
.auth-page .social.github img {
    filter: brightness(0);
}

.auth-page .or-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto;
    margin: 24px 0 0;
}

.auth-page .or-wrapper::before,
.auth-page .or-wrapper::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--auth-line);
}

.auth-page .or-wrapper p {
    position: static;
    transform: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--auth-ink);
}

/* Form */

.auth-page .auth-form {
    width: 100%;
    margin-top: 32px;
}

.auth-page .auth-field {
    margin-bottom: 24px;
}

.auth-page .auth-field .mb-16 {
    margin-bottom: 0;
}

.auth-page .label {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--auth-ink);
}

.auth-page .input {
    box-sizing: border-box;
    width: 100% !important;
    height: 40px !important;
    margin: 0;
    padding: 0 14px !important;
    border: 1px solid var(--auth-line) !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    box-shadow: none;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 20px !important;
    color: var(--auth-ink);
}

.auth-page .input::placeholder {
    color: var(--auth-ink-muted);
}

.auth-page .input:focus {
    outline: none;
    border-color: var(--auth-accent) !important;
    box-shadow: 0 0 0 3px var(--auth-accent-soft);
}

/* iOS Safari zooms the page into any focused field whose text is smaller
   than 16px. Only iOS supports -webkit-touch-callout, so desktop keeps 14px. */
@supports (-webkit-touch-callout: none) {
    .input,
    .auth-page .input {
        font-size: 16px;
    }
}

.auth-page .auth-password {
    position: relative;
}

.auth-page .auth-password .input {
    padding-right: 40px !important;
}

.auth-page .show-password-eye {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.auth-page .show-password-eye.is-active svg {
    fill: var(--auth-accent);
}

.auth-page .show-password-eye svg {
    width: 20px;
    height: 20px;
}

.auth-page .auth-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 0;
}

/* A consent row placed directly in the form (not inside a field) needs the
   field gap before the submit button. */
.auth-page .auth-form > .auth-consent {
    margin: 0 0 24px;
}

.auth-page .consent-checkbox {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--auth-accent);
}

.auth-page .auth-consent .tos {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: var(--auth-ink);
}

/* balloon-tooltip reads its bubble and arrow colour from this variable. */
.auth-page .tooltip {
    --balloon-color: var(--auth-ink);
}

.auth-page .auth-consent .tos a {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--auth-ink);
}

.auth-page .auth-inline-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: var(--auth-ink);
    text-decoration: none;
}

.auth-page .auth-inline-link:hover {
    text-decoration: underline;
}

.auth-page .auth-inline-link--muted {
    font-weight: 400;
    color: var(--auth-ink-muted);
    cursor: pointer;
}

.auth-page .primary-action {
    box-sizing: border-box;
    width: 100% !important;
    height: 48px;
    margin: 0;
    padding: 0 20px;
    border: none;
    border-radius: 8px !important;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
}

.auth-page .secondary-action {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: var(--auth-ink);
    text-decoration: none;
}

.auth-page .secondary-action:hover {
    text-decoration: underline;
}

.auth-page .alert-error,
.auth-page .alert-success,
.auth-page .alert-info {
    box-sizing: border-box;
    width: 100%;
    margin: 16px 0 0 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
}

.auth-page .back-button {
    margin-bottom: 12px;
    color: #fff;
}

.auth-page .back-button img {
    filter: brightness(0) invert(1);
}

/* Register: "you already have an account" state */

.auth-page .account-exists {
    display: flex;
    flex-direction: column;
}

.auth-page .account-exists-text {
    margin: 32px 0 24px;
    font-size: 14px;
    line-height: 22px;
    color: var(--auth-ink);
    word-break: break-word;
}

.auth-page .account-exists-email {
    color: var(--auth-accent);
}

.auth-page .account-exists .primary-action {
    text-decoration: none;
}

.auth-page .auth-outline-action {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    margin-top: 16px;
    border: 1px solid var(--auth-ink);
    border-radius: 8px;
    background-color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--auth-ink);
    text-decoration: none;
    transition: background-color .15s ease;
}

.auth-page .auth-outline-action:hover {
    background-color: var(--auth-surface-hover);
}

.auth-page .account-exists-switch {
    margin: 24px 0 0;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: var(--auth-ink);
}

.auth-page .account-exists-switch a {
    margin-left: 4px;
    font-weight: 700;
    color: var(--auth-accent);
    text-decoration: none;
}

.auth-page .account-exists-switch a:hover {
    text-decoration: underline;
}

/* One-time-code pages (two-factor, risky login) */

/* IDs start with a digit, so use attribute selectors — `#2fa-code-form` is an
   invalid CSS selector and is silently ignored by browsers. */
.auth-page [id="2fa-code-form"],
.auth-page [id="2fa-backup-code-form"] {
    width: 100%;
}

/* Single full-width one-time-code input. One real field (not segmented) so
   password managers — including 1Password's inline in-field selector — and
   native autofill work cleanly. */
.auth-page .otp-input {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    margin: 24px 0 0;
    padding: 0 14px;
    border: 1px solid var(--auth-line);
    border-radius: 8px;
    background-color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 6px;
    text-indent: 6px;
    text-align: center;
    color: var(--auth-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.auth-page .otp-input:focus {
    outline: none;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 3px var(--auth-accent-soft);
}

/* Always present, usually empty: it carries the gap between the code field
   and the submit button. */
.auth-page .otp-helper {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    color: var(--auth-ink-muted);
}

.auth-page [id="2fa-backup-code-form"] .input {
    margin: 24px 0 20px;
}

.auth-page [id="2fa-backup-code-form"] .auth-back-link {
    margin-top: 12px;
}

.auth-page .auth-divider {
    width: 100%;
    height: 1px;
    margin: 24px 0;
    background-color: var(--auth-line);
}

.auth-page .auth-card-footer .auth-divider {
    margin: 0 0 20px;
}

.auth-page .resend-block {
    text-align: center;
}

.auth-page .resend-question {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 22px;
    color: var(--auth-ink-muted);
}

.auth-page .resend-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: var(--auth-ink);
    cursor: pointer;
}

.auth-page .resend-link:hover {
    text-decoration: underline;
}

.auth-page .resend-cooldown {
    font-weight: 400;
    color: var(--auth-ink-muted);
}

.auth-page .resend-link.is-disabled {
    color: var(--auth-ink-muted);
    pointer-events: none;
    cursor: default;
}

.auth-page .more-options {
    width: 100%;
    margin-top: 20px;
}

.auth-page .more-options-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 4px 0;
    border: none;
    background: none;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: var(--auth-ink);
    cursor: pointer;
}

.auth-page .more-options-toggle:hover {
    text-decoration: underline;
}

.auth-page .more-options-toggle::before,
.auth-page .more-options-toggle::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--auth-line);
}

.auth-page .more-options-chevron {
    transition: transform .2s ease;
}

.auth-page .more-options-toggle.is-open .more-options-chevron {
    transform: rotate(180deg);
}

.auth-page .more-options-panel {
    margin-top: 12px;
    border: 1px solid var(--auth-line);
    border-radius: 8px;
    overflow: hidden;
}

.auth-page .more-option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--auth-ink);
    cursor: pointer;
    transition: background-color .15s ease;
}

.auth-page .more-option-row svg {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--auth-accent);
}

.auth-page .more-option-row:hover {
    background-color: var(--auth-accent-soft);
}

.auth-page .more-option-row + .more-option-row {
    border-top: 1px solid var(--auth-line);
}

.auth-page .auth-back-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    color: var(--auth-ink);
    text-decoration: none;
    cursor: pointer;
}

.auth-page .auth-back-link:hover {
    text-decoration: underline;
}

/* Low-emphasis navigation link below a form (e.g. "Back to log in"). */
.auth-page .auth-subtle-link {
    font-weight: 400;
    color: var(--auth-ink-muted);
}

.auth-page .auth-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 18px;
    color: var(--auth-ink-muted);
}

.auth-page .auth-footer svg {
    flex: none;
    color: var(--auth-ink-muted);
}

.auth-page .pwd-reset-promo {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: var(--auth-ink);
}

.auth-page .pwd-reset-promo a {
    font-weight: 700;
    color: var(--auth-ink);
    text-decoration: underline;
}

.auth-page .pwd-reset-promo a:hover {
    text-decoration: underline;
}

/* OAuth consent */

.auth-page .consent-user-box {
    box-sizing: border-box;
    width: 100%;
    margin: 24px 0;
    padding: 16px;
    border: 1px solid var(--auth-line);
    border-radius: 12px;
    background-color: var(--auth-surface-hover);
}

.auth-page .consent-user-label {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--auth-ink-muted);
}

.auth-page .consent-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-page .consent-user-avatar {
    display: flex;
    flex: none;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--auth-accent-soft);
    font-size: 14px;
    font-weight: 700;
    color: var(--auth-accent);
}

.auth-page .consent-user-details {
    min-width: 0;
}

.auth-page .consent-user-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--auth-ink);
}

.auth-page .consent-user-email {
    font-size: 14px;
    line-height: 22px;
    color: var(--auth-ink-muted);
    word-break: break-word;
}

.auth-page .consent-switch-account-form {
    margin: 16px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--auth-line);
}

.auth-page .consent-switch-account {
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    color: var(--auth-accent);
    cursor: pointer;
}

.auth-page .consent-switch-account:hover {
    color: var(--auth-accent-hover);
}

.auth-page .consent-form {
    margin: 0;
}

.auth-page .consent-deny {
    display: inline-block;
    padding: 8px 0;
}

.auth-page .consent-warning {
    display: flex;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    margin: 24px 0 0;
    padding: 16px;
    border: 1px solid #FFC9D9;
    border-radius: 12px;
    background-color: #FFE8EF;
    color: #D63163;
}

.auth-page .consent-warning-icon {
    flex: none;
    margin-top: 1px;
}

.auth-page .consent-warning-text {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: #7A1232;
    overflow-wrap: anywhere;
}

.auth-page .consent-warning-text strong {
    font-weight: 700;
}

.auth-page .consent-redirect-notice {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    color: var(--auth-ink-muted);
    overflow-wrap: anywhere;
}

.auth-page .consent-redirect-uri {
    color: var(--auth-ink);
}

/* Shared bits that live on the panel but predate it */

.auth-page .verify-steps {
    margin-bottom: 16px;
}

.auth-page .switcher-container-a {
    margin: 20px auto 0;
}

.auth-page .email-suggestion-link {
    color: var(--auth-accent);
}

/* Responsive */

@media (max-width: 640px) {
    .auth-page {
        --auth-card-padding: 28px 20px;
    }

    .auth-page .logo img {
        padding: 20px;
    }

    .auth-page .title,
    .auth-page .form-title {
        font-size: 26px;
        line-height: 34px;
    }

    .auth-page .content {
        border-radius: 12px;
    }

    /* On phones the panel sits right under the brand mark instead of floating
       in the middle of the screen. */
    .auth-page .container {
        justify-content: flex-start;
    }
}

@media (max-width: 360px) {
    .auth-page .social-login-block {
        grid-template-columns: 1fr;
    }

    .auth-page .otp-input {
        font-size: 16px;
        letter-spacing: 4px;
        text-indent: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page .social,
    .auth-page .auth-outline-action,
    .auth-page .more-option-row,
    .auth-page .more-options-chevron,
    .auth-page .input,
    .auth-page .otp-input {
        transition: none;
    }
}

/* ==========================================================================
   Registration promo pages
   --------------------------------------------------------------------------
   One layout (`layouts/registration-promo`) for every promo: the register
   panel on the left, a translucent promo panel of the same height on the
   right, both on the dark backdrop. Pages only supply copy. The logo sits in
   the page corner as on the other auth pages; the two empty 1fr rows around
   the panels centre them vertically below it, like `.auth-page .container`,
   and collapse to nothing once the content outgrows the viewport. On mobile
   the leading row is dropped so the panels are top-aligned.
   ========================================================================== */

.promo-page .promo-layout {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(2, minmax(0, var(--auth-card-width)));
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
        ". ."
        "form promo"
        "legal ."
        ". .";
    justify-content: center;
    column-gap: 48px;
    box-sizing: border-box;
    width: 100%;
    padding: 24px 32px 32px;
    /* Same balloon-tooltip overflow as `.auth-page .container`. */
    overflow-x: clip;
}

.promo-page .promo-form-panel {
    grid-area: form;
}

.promo-page .promo-legal {
    grid-area: legal;
}

.promo-page .promo-panel {
    grid-area: promo;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
    padding: var(--auth-card-padding);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
}

.promo-page .promo-eyebrow {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 22px;
    color: var(--auth-accent-on-dark);
}

.promo-page .promo-heading {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: #fff;
}

.promo-page .promo-description {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 22px;
    color: var(--auth-ink-inverse);
}

.promo-page .promo-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.promo-page .promo-features li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-page .promo-features svg {
    flex: none;
}

/* Fills the panel so the footer below can pin to its bottom edge. */
.promo-page .promo-details,
.promo-page .promo-details-inner {
    display: flex;
    flex: 1;
    flex-direction: column;
}

/* Pinned to the panel's bottom edge, like `.auth-card-footer`. */
.promo-page .promo-panel-footer {
    margin-top: auto;
    padding-top: 32px;
}

.promo-page .promo-panel .trustpilot-widget {
    margin: 0;
}

/* Mobile-only "See more" expander for `.promo-details`. */
.promo-page .promo-toggle {
    display: none;
    align-self: center;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0;
    border: none;
    background: none;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: var(--auth-accent-on-dark);
    cursor: pointer;
}

.promo-page .promo-toggle:hover {
    text-decoration: underline;
}

.promo-page .promo-toggle svg {
    transition: transform .2s ease;
}

.promo-page .promo-toggle-less,
.promo-page .promo-panel.is-expanded .promo-toggle-more {
    display: none;
}

.promo-page .promo-panel.is-expanded .promo-toggle-less {
    display: inline;
}

.promo-page .promo-panel.is-expanded .promo-toggle svg {
    transform: rotate(180deg);
}

/* Horizons testimonial rotator */

.promo-page .promo-review {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, .06);
}

.promo-page .promo-review .slide {
    display: none;
}

.promo-page .promo-review .slide.active {
    display: block;
    animation: promo-slide-in .4s ease forwards;
}

.promo-page .promo-review .quote {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.promo-page .promo-review .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-page .promo-review .author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.promo-page .promo-review .name {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: #fff;
}

.promo-page .promo-review .role {
    font-size: 12px;
    line-height: 18px;
    color: var(--auth-ink-inverse);
}

@keyframes promo-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stacked: a collapsed offer summary above the form, terms below it. */
@media (max-width: 1024px) {
    .promo-page .promo-layout {
        grid-template-columns: minmax(0, var(--auth-card-width));
        grid-template-rows: 1fr auto auto auto 1fr;
        grid-template-areas:
            "."
            "promo"
            "form"
            "legal"
            ".";
        padding: 24px 16px 32px;
    }

    .promo-page .promo-panel {
        margin-bottom: 24px;
        padding: 24px 20px 20px;
        text-align: center;
    }

    .promo-page .promo-eyebrow {
        margin-bottom: 8px;
    }

    /* Collapsed by animating the row height rather than toggling display,
       so the panel grows smoothly. `visibility` keeps collapsed links out of
       the tab order and is delayed on collapse until the row has closed. */
    .promo-page .promo-details {
        display: grid;
        flex: none;
        grid-template-rows: 0fr;
        transition: grid-template-rows .3s ease;
    }

    .promo-page .promo-details-inner {
        min-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, visibility 0s linear .3s;
    }

    .promo-page .promo-panel.is-expanded .promo-details {
        grid-template-rows: 1fr;
    }

    .promo-page .promo-panel.is-expanded .promo-details-inner {
        opacity: 1;
        visibility: visible;
        transition: opacity .25s ease .05s, visibility 0s;
    }

    .promo-page .promo-description {
        margin-top: 12px;
    }

    .promo-page .promo-features {
        margin-top: 24px;
        text-align: start;
    }

    .promo-page .promo-review {
        text-align: start;
    }

    .promo-page .promo-panel-footer {
        padding-top: 32px;
    }

    .promo-page .promo-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .promo-page .promo-layout {
        grid-template-rows: auto auto auto 1fr;
        grid-template-areas:
            "promo"
            "form"
            "legal"
            ".";
    }

    .promo-page .promo-heading {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-page .promo-review .slide.active {
        animation: none;
    }

    .promo-page .promo-toggle svg,
    .promo-page .promo-details,
    .promo-page .promo-details-inner,
    .promo-page .promo-panel.is-expanded .promo-details-inner {
        transition: none;
    }
}
