/**
 * Public /Register page — TAAX Pro light registration
 * Colors and type match the shared white design system (pricing-pages.css).
 */

html {
    overflow-x: hidden;
}

.reg-page {
    --reg-teal: #00a98f;
    --reg-teal-hover: #009781;
    --reg-teal-deep: #007d6b;
    --reg-teal-soft: #eaf9f5;
    --reg-navy: #10233d;
    --reg-logo: #103c86;
    --reg-muted: #63758b;
    --reg-border: #d8e5ec;
    --reg-bg: #f5f8fa;
    --reg-card: #ffffff;
    --reg-info: #eef6fa;
    --reg-star: #f6a800;
    --reg-radius-panel: 22px;
    --reg-radius-card: 12px;
    --reg-radius-btn: 10px;
    --reg-radius-input: 9px;

    margin: 0;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--reg-bg);
    color: var(--reg-navy);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.reg-main a {
    color: inherit;
}

.reg-page .grecaptcha-badge {
    visibility: visible !important;
    z-index: 9999;
}

/* ---------------------------------------------------------------------------
   Top nav
--------------------------------------------------------------------------- */

.reg-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 64px;
    background: var(--reg-card);
}

.reg-logo {
    color: var(--reg-logo);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.reg-logo:hover {
    color: var(--reg-logo);
    text-decoration: none;
}

.reg-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reg-nav-actions span {
    color: var(--reg-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.reg-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 38px;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-btn);
    background: var(--reg-card);
    color: var(--reg-navy);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.reg-signin:hover {
    color: var(--reg-navy);
    background: var(--reg-bg);
    text-decoration: none;
}

/* ---------------------------------------------------------------------------
   Main two-column stage
--------------------------------------------------------------------------- */

.reg-main {
    display: grid;
    grid-template-columns: minmax(0, 550px) minmax(0, 726px);
    gap: 36px;
    justify-content: center;
    align-items: start;
    width: 100%;
    max-width: 1440px;
    min-width: 0;
    margin: 0 auto;
    padding: 110px clamp(16px, 4vw, 64px) 64px;
    box-sizing: border-box;
}

.reg-value,
.reg-card {
    min-width: 0;
    max-width: 100%;
    min-height: 724px;
    border-radius: var(--reg-radius-panel);
    overflow: hidden;
    box-sizing: border-box;
}

/* ---------------------------------------------------------------------------
   Left value panel
--------------------------------------------------------------------------- */

.reg-value {
    align-self: start;
    display: flex;
    flex-direction: column;
    height: max-content;
    min-height: 724px;
    padding: 38px;
    background: var(--reg-teal-soft);
}

.reg-kicker {
    margin: 0 0 12px;
    color: var(--reg-teal-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.reg-kicker--trial {
    font-size: calc(11px + 3pt);
}

.reg-value-title {
    margin: 0 0 16px;
    max-width: 464px;
    color: var(--reg-navy);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.18;
}

.reg-value-copy {
    margin: 0 0 36px;
    max-width: 458px;
    color: var(--reg-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

.reg-includes {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.reg-includes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--reg-navy);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

.reg-includes li:last-child {
    margin-bottom: 0;
}

.reg-check {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    overflow: clip;
}

.reg-check img {
    display: block;
    width: 100%;
    height: 100%;
}

.reg-check span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--reg-teal-deep);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.reg-trust,
.reg-quote {
    padding: 16px 20px;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-card);
    background: var(--reg-card);
}

.reg-trust {
    margin-top: auto;
}

.reg-stars {
    margin: 0 0 6px;
    color: var(--reg-star);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.reg-trust-copy {
    margin: 0;
    color: var(--reg-navy);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.reg-quote {
    margin-top: 22px;
}

.reg-quote p {
    margin: 0 0 12px;
    color: var(--reg-navy);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.reg-quote cite {
    display: block;
    color: var(--reg-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------------------------------------------------------------------------
   Right form card
--------------------------------------------------------------------------- */

.reg-card {
    padding: 33px 41px 28px;
    border: 1px solid var(--reg-border);
    background: var(--reg-card);
}

.reg-card-title {
    margin: 0 0 8px;
    color: var(--reg-navy);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.reg-card-copy {
    margin: 0 0 24px;
    color: var(--reg-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.reg-signup-label {
    margin: 0 0 8px;
    color: var(--reg-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.reg-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.reg-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-btn);
    background: var(--reg-card);
    color: var(--reg-navy);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.reg-social-btn:hover {
    background: var(--reg-bg);
    color: var(--reg-navy);
    text-decoration: none;
}

.reg-social-btn img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.reg-social-btn i {
    width: 18px;
    color: #1877f2;
    font-size: 16px;
    line-height: 1;
    text-align: center;
}

.reg-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: var(--reg-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.reg-or::before,
.reg-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--reg-border);
}

.reg-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #f1c0c0;
    border-radius: 10px;
    background: #fff5f5;
    color: #9b1c1c;
}

.reg-alert h6 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
}

.reg-alert ol {
    margin: 0;
    padding-left: 18px;
    list-style: decimal;
}

.reg-alert li {
    margin-bottom: 4px;
    font-size: 12px;
}

.reg-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 16px;
}

.reg-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.reg-field label {
    margin: 0 0 6px;
    color: var(--reg-navy);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.reg-field .reg-input,
.reg-field select.reg-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-input);
    background: var(--reg-card);
    color: var(--reg-navy);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 46px;
    box-shadow: none;
    appearance: none;
}

.reg-field .reg-input::placeholder {
    color: var(--reg-muted);
    opacity: 1;
}

.reg-field .reg-input:focus,
.reg-field select.reg-input:focus {
    outline: none;
    border-color: var(--reg-teal);
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.12);
}

.reg-field .reg-input.is-invalid {
    border-color: #dc3545;
}

.reg-field .invalid-feedback {
    display: block;
    margin-top: 4px;
    color: #dc3545;
    font-size: 11px;
}

.reg-select-wrap,
.reg-password-wrap,
.reg-country {
    position: relative;
}

.reg-select-wrap .reg-input {
    padding-right: 36px;
}

.reg-select-caret {
    position: absolute;
    top: 50%;
    right: 12px;
    color: var(--reg-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

/* Searchable country combobox */
.reg-country-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-input);
    background: var(--reg-card);
    color: var(--reg-navy);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.reg-country-trigger:hover {
    border-color: #b7ced9;
}

.reg-country-trigger:focus,
.reg-country.is-open .reg-country-trigger {
    outline: none;
    border-color: var(--reg-teal);
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.12);
}

.reg-country-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reg-country-caret {
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--reg-muted);
    transition: transform 0.18s ease;
}

.reg-country.is-open .reg-country-caret {
    transform: rotate(180deg);
}

.reg-country-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    padding: 8px;
    border: 1px solid var(--reg-border);
    border-radius: 12px;
    background: var(--reg-card);
    box-shadow: 0 12px 28px rgba(16, 35, 61, 0.12);
}

.reg-country-search-wrap {
    position: relative;
    margin-bottom: 6px;
}

.reg-country-search-icon {
    position: absolute;
    top: 50%;
    left: 11px;
    color: var(--reg-muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.reg-country-search {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 32px;
    border: 1px solid var(--reg-border);
    border-radius: 8px;
    background: var(--reg-bg);
    color: var(--reg-navy);
    font-family: inherit;
    font-size: 13px;
    line-height: 38px;
}

.reg-country-search::placeholder {
    color: var(--reg-muted);
}

.reg-country-search:focus {
    outline: none;
    border-color: var(--reg-teal);
    background: var(--reg-card);
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.1);
}

.reg-country-list {
    max-height: 180px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
}

.reg-country-option {
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--reg-navy);
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.reg-country-option:hover,
.reg-country-option.is-active {
    background: var(--reg-teal-soft);
    color: var(--reg-teal-deep);
}

.reg-country-option.is-selected {
    background: var(--reg-teal);
    color: #fff;
    font-weight: 600;
}

.reg-country-option.is-selected:hover,
.reg-country-option.is-selected.is-active {
    background: var(--reg-teal-hover);
    color: #fff;
}

.reg-country-option.is-hidden {
    display: none;
}

.reg-country-empty {
    margin: 0;
    padding: 14px 8px;
    color: var(--reg-muted);
    font-size: 12px;
    text-align: center;
}

.reg-password-wrap .reg-input {
    padding-right: 42px;
}

.reg-password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 46px;
    border: 0;
    background: transparent;
    color: var(--reg-muted);
    cursor: pointer;
}

.reg-password-toggle:focus {
    outline: none;
}

.reg-hint {
    margin: 6px 0 0;
    color: var(--reg-muted);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
}

.reg-referral-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 12px;
}

.reg-referral-row > span {
    color: var(--reg-navy);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.reg-switch {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.reg-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.reg-switch-track {
    position: relative;
    display: block;
    width: 38px;
    height: 22px;
    border-radius: 11px;
    background: var(--reg-info);
    transition: background 0.15s ease;
}

.reg-switch-track img {
    position: absolute;
    top: 3px;
    left: 3px;
    display: block;
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 1px 1px rgba(16, 35, 61, 0.16));
    transition: transform 0.15s ease;
}

.reg-switch input:checked + .reg-switch-track {
    background: var(--reg-teal);
}

.reg-switch input:checked + .reg-switch-track img {
    transform: translateX(16px);
}

.reg-switch input:focus-visible + .reg-switch-track {
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.18);
}

.reg-referral-input {
    margin: 0 0 18px;
    padding: 14px 16px 16px;
    border: 1px solid var(--reg-border);
    border-radius: 12px;
    background: var(--reg-info);
}

.reg-referral-input.d-none {
    display: none !important;
}

.reg-referral-input .reg-field .reg-input {
    background: var(--reg-card);
}

.reg-referral-input .reg-field .reg-input.is-valid {
    border-color: var(--reg-teal);
}

.reg-referral-status {
    margin: 8px 0 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.reg-referral-status.is-valid {
    color: var(--reg-teal-deep);
}

.reg-referral-status.is-invalid {
    color: #c0392b;
}

.reg-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    cursor: pointer;
}

.reg-terms input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.reg-terms-box {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1px solid var(--reg-border);
    border-radius: 4px;
    background: var(--reg-card);
}

.reg-terms input:checked + .reg-terms-box {
    border-color: var(--reg-teal);
    background: var(--reg-teal);
}

.reg-terms input:checked + .reg-terms-box::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.reg-terms input:focus-visible + .reg-terms-box {
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.18);
}

.reg-terms-copy {
    color: var(--reg-navy);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

.reg-terms-copy a {
    color: inherit;
    font-weight: 500;
    text-decoration: underline;
}

.reg-terms-copy a:hover {
    text-decoration: none;
}

.reg-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    margin: 0 0 14px;
    border: 0;
    border-radius: var(--reg-radius-btn);
    background: var(--reg-teal);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.reg-submit:hover,
.reg-submit:focus {
    background: var(--reg-teal-hover);
    color: #fff;
}

.reg-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.reg-secure {
    margin: 0 0 8px;
    color: var(--reg-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.reg-recaptcha {
    margin: 0;
    color: var(--reg-muted);
    font-size: 9px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.reg-recaptcha a {
    color: inherit;
    text-decoration: underline;
}

.reg-recaptcha a:hover {
    text-decoration: none;
}

.reg-trust-inline {
    display: none;
    margin: 0 0 12px;
    color: var(--reg-navy);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

.reg-trust-inline .reg-stars {
    margin: 0 6px 0 0;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.reg-only-mobile {
    display: none !important;
}

/* ---------------------------------------------------------------------------
   Tablet / mobile: form first, full-width (marketing content below)
--------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    .reg-page #header > .navbar.d-none.d-lg-block {
        display: none !important;
    }

    .reg-page #header > .navbar.d-lg-none {
        display: flex !important;
    }

    .reg-page #header {
        padding: 1px 0;
        min-height: 56px;
        overflow-x: hidden;
        border-bottom: 1px solid #e2e8ec;
    }

    .reg-page #header .container {
        max-width: 100%;
        width: 100%;
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .reg-nav {
        padding: 0 24px;
    }

    .reg-main {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        padding: 68px 0 24px;
    }

    .reg-value,
    .reg-card {
        order: 0;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        border-radius: 0;
    }

    /* Form always first on tablet / mobile */
    .reg-card {
        order: -1;
        padding: 24px clamp(16px, 4vw, 28px) 20px;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .reg-value {
        order: 1;
        padding: 8px clamp(16px, 4vw, 28px) 20px;
        background: transparent;
        border-radius: 0;
        overflow: visible;
    }

    .reg-kicker {
        margin-bottom: 8px;
    }

    .reg-value-title {
        margin-bottom: 10px;
        max-width: none;
        font-size: clamp(22px, 3.2vw, 28px);
        line-height: 1.2;
    }

    .reg-value-copy {
        margin-bottom: 16px;
        font-size: 13px;
    }

    .reg-includes {
        margin-bottom: 16px;
    }

    .reg-includes li {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .reg-quote {
        display: none;
    }

    .reg-trust {
        padding: 12px 14px;
    }

    .reg-card-title {
        margin-bottom: 6px;
        font-size: clamp(22px, 3vw, 26px);
    }

    .reg-card-copy {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .reg-social {
        gap: 8px;
        margin-bottom: 14px;
    }

    .reg-fields {
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
    }

    .reg-social-btn .reg-only-desktop {
        display: none !important;
    }

    .reg-social-btn .reg-only-mobile {
        display: inline !important;
    }

    .reg-signup-label {
        display: none;
    }

    .reg-hint {
        display: none;
    }
}

@media (max-width: 1199px) and (max-height: 820px) {
    .reg-main {
        padding-top: 60px;
        padding-bottom: 12px;
        gap: 12px;
    }

    .reg-card {
        padding-top: 16px;
        padding-bottom: 14px;
    }

    .reg-card .reg-kicker {
        margin-bottom: 4px;
    }

    .reg-card-title {
        margin-bottom: 2px;
        font-size: 20px;
    }

    .reg-card-copy {
        margin-bottom: 8px;
    }

    .reg-social {
        margin-bottom: 8px;
    }

    .reg-social-btn,
    .reg-field .reg-input,
    .reg-field select.reg-input,
    .reg-country-trigger {
        height: 40px;
        line-height: 40px;
    }

    .reg-or {
        margin-bottom: 10px;
    }

    .reg-fields {
        gap: 8px 10px;
    }

    .reg-referral-row {
        margin: 8px 0 8px;
    }

    .reg-terms {
        margin-bottom: 10px;
    }

    .reg-submit {
        height: 42px;
        margin-bottom: 6px;
    }

    .reg-secure,
    .reg-recaptcha {
        margin-bottom: 0;
        font-size: 9px;
    }
}

/* ---------------------------------------------------------------------------
   Mobile — Figma 390 frame
--------------------------------------------------------------------------- */

@media (max-width: 767px) {
    .reg-only-desktop {
        display: none !important;
    }

    .reg-only-mobile {
        display: revert !important;
    }

    span.reg-only-mobile {
        display: inline !important;
    }

    p.reg-only-mobile,
    ul.reg-only-mobile,
    div.reg-only-mobile {
        display: block !important;
    }

    .reg-nav {
        height: 62px;
        padding: 0 16px;
    }

    .reg-logo {
        font-size: 20px;
    }

    .reg-page a.reg-signin {
        width: auto;
        height: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--reg-teal-deep);
        font-size: 12px;
        font-weight: 600;
    }

    .reg-page a.reg-signin:hover {
        background: transparent;
        color: var(--reg-teal);
    }

    .reg-main {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 72px 0 32px;
    }

    .reg-card {
        order: -1;
        width: 100%;
        max-width: 100%;
        padding: 22px 16px 20px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .reg-value {
        order: 1;
        width: 100%;
        padding: 4px 16px 20px;
        background: transparent;
        border-radius: 0;
        overflow: visible;
    }

    .reg-value .reg-kicker {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .reg-value .reg-kicker--trial {
        font-size: calc(10px + 3pt);
    }

    .reg-value-title {
        margin-bottom: 12px;
        max-width: none;
        font-size: 27px;
        line-height: 1.22;
    }

    .reg-trust-inline {
        display: block !important;
    }

    .reg-value-copy {
        margin-bottom: 18px;
        max-width: none;
        font-size: 13px;
        line-height: 1.4;
    }

    .reg-includes-mobile {
        margin: 0;
        padding: 20px 16px 16px;
        border-radius: 14px;
        background: var(--reg-teal-soft);
    }

    .reg-includes-mobile li {
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 18px;
    }

    .reg-includes-mobile li:last-child {
        margin-bottom: 0;
    }

    .reg-card-title {
        margin-bottom: 6px;
        font-size: 23px;
        line-height: 1.2;
    }

    .reg-card-copy {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .reg-social {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 16px;
    }

    .reg-social-btn {
        gap: 8px;
        padding: 0 10px;
        font-size: 13px;
    }

    .reg-or {
        margin-bottom: 16px;
        font-size: 10px;
    }

    .reg-fields {
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
    }

    .reg-hint {
        display: none;
    }

    .reg-terms-copy {
        font-size: 11px;
        line-height: 18px;
    }

    .reg-submit {
        height: 46px;
        margin-bottom: 10px;
    }

    .reg-secure {
        font-size: 9px;
        margin-bottom: 6px;
    }
}

/* Two fields per row from 500px through tablet-mobile range */
@media (min-width: 500px) and (max-width: 761px) {
    .reg-fields {
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
    }
}

/* Stack fields on very small phones */
@media (max-width: 499px) {
    .reg-fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .reg-main {
        padding: 68px 0 24px;
        gap: 14px;
    }

    .reg-value-title {
        font-size: 22px;
    }

    .reg-card {
        padding: 18px 12px 16px;
    }

    .reg-value {
        padding-left: 12px;
        padding-right: 12px;
    }

    .reg-social {
        grid-template-columns: 1fr;
    }

    .reg-page #header .navbar-brand img.taax-ai-logo {
        height: 22px;
        max-width: 118px;
    }

    .reg-page #header .mobile-try-btn {
        display: none !important;
    }
}

/* ---------------------------------------------------------------------------
   Check-email / verify-pending page
--------------------------------------------------------------------------- */

.reg-page--check-email .reg-card--check-email {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

.reg-verify-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 0 20px;
    border-radius: 16px;
    background: var(--reg-teal-soft);
    color: var(--reg-teal-deep);
}

.reg-card--check-email .reg-card-title {
    margin-bottom: 10px;
}

.reg-card--check-email .reg-card-copy {
    margin-bottom: 20px;
}

.reg-email-highlight {
    color: var(--reg-navy);
    font-weight: 600;
    word-break: break-all;
}

.reg-verify-steps {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-verify-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-card);
    background: var(--reg-bg);
    color: var(--reg-navy);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.reg-verify-step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--reg-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.reg-card--check-email .reg-submit {
    margin-bottom: 12px;
}

.reg-verify-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    color: var(--reg-muted);
    font-size: 13px;
    font-weight: 500;
}

.reg-verify-footer-links a {
    color: var(--reg-navy);
    text-decoration: none;
    font-weight: 600;
}

.reg-verify-footer-links a:hover {
    color: var(--reg-teal-deep);
    text-decoration: underline;
}

.reg-page--check-email .taax-flash {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--reg-radius-card);
    font-size: 13px;
    line-height: 1.4;
}

.reg-page--check-email .taax-flash--ok {
    background: var(--reg-teal-soft);
    color: var(--reg-teal-deep);
    border: 1px solid #b7e8dc;
}

.reg-page--check-email .taax-flash--fail {
    background: #fff1f1;
    color: #9b1c1c;
    border: 1px solid #f5c2c2;
}

.reg-page--check-email .taax-flash strong {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 991px) {
    .reg-page--check-email .reg-card--check-email {
        min-height: 0;
    }

    .reg-verify-badge {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
}
