.trade-onboarding-shell {
    padding: 1rem;
}

.trade-onboarding-card {
    width: min(46rem, 100%);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
    color: #18181b;
    font-family: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
    scrollbar-width: thin;
}

.trade-brand {
    width: fit-content;
    margin-bottom: 1.5rem;
}

.trade-intro {
    max-width: 38rem;
    margin: 0 auto;
}

.trade-step-label {
    display: block;
    color: #0f766e;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.trade-title {
    color: #042f2e;
    font-family: Libre Baskerville, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: clamp(1.3rem, 3vw, 1.55rem);
    line-height: 1.35;
}

.trade-lead {
    max-width: 34rem;
    margin: 1rem auto 0;
    color: #52525b;
    font-size: 1.05rem;
    line-height: 1.65;
}

.trade-primary-button,
.trade-secondary-button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    padding: .7rem 1.2rem;
    font-weight: 700;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.trade-primary-button {
    background: #042f2e;
    color: #fff;
}

.trade-intro .trade-primary-button {
    margin-top: 1.5rem;
}

.trade-primary-button:hover {
    background: #115e59;
    transform: translateY(-1px);
}

.trade-secondary-button {
    border-color: #d4d4d8;
    background: #fff;
    color: #27272a;
}

.trade-secondary-button:hover {
    border-color: #a1a1aa;
    background: #fafafa;
}

.trade-primary-button:focus-visible,
.trade-secondary-button:focus-visible,
.trade-text-button:focus-visible,
.trade-choice:has(input:focus-visible) {
    outline: 3px solid rgba(13, 148, 136, .35);
    outline-offset: 3px;
}

.trade-contact {
    margin-top: 1.25rem;
    color: #71717a;
    font-size: .875rem;
}

.trade-contact a {
    color: #042f2e;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trade-form[hidden],
.trade-step[hidden],
.trade-intro[hidden],
.trade-vat-number[hidden],
.trade-delivery-instructions[hidden],
.trade-form-actions [hidden],
.trade-progress-header[hidden],
.trade-progress[hidden],
.trade-form-actions[hidden],
.trade-submit-status[hidden],
.trade-success[hidden] {
    display: none !important;
}

.trade-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.trade-progress-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.trade-step-name {
    display: block;
    margin-top: .15rem;
    color: #3f3f46;
    font-size: .9rem;
    font-weight: 600;
}

.trade-text-button {
    color: #52525b;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.trade-progress {
    height: .35rem;
    margin: .8rem 0 1.75rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e4e7;
}

.trade-progress span {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: #0f766e;
    transition: width .3s ease;
}

.trade-step-heading {
    margin-bottom: 1.4rem;
}

.trade-step-heading h2 {
    color: #042f2e;
    font-family: Libre Baskerville, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    line-height: 1.35;
}

.trade-step-heading h2:focus {
    outline: none;
}

.trade-step-heading p {
    margin-top: .4rem;
    color: #71717a;
    line-height: 1.5;
}

.trade-delivery-notice {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin-top: .75rem;
    border: 1px solid #dfe8e6;
    border-radius: .6rem;
    background: #f7faf9;
    padding: .7rem .85rem;
}

.trade-delivery-notice > span {
    flex: 0 0 auto;
    color: #0f766e;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.trade-step-heading .trade-delivery-notice p {
    margin: 0;
    color: #52525b;
    font-size: .8rem;
    line-height: 1.5;
}

.trade-delivery-notice strong {
    color: #27272a;
}

.trade-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.trade-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    text-align: left;
}

.trade-field-wide {
    grid-column: 1 / -1;
}

.trade-field > span,
.trade-choice-group legend {
    color: #27272a;
    font-size: .875rem;
    font-weight: 700;
}

.trade-field em {
    color: #71717a;
    font-size: .75rem;
    font-style: normal;
    font-weight: 400;
}

.trade-field small {
    color: #71717a;
    font-size: .75rem;
}

.trade-field .form-input,
.trade-field .form-textarea {
    min-height: 3rem;
    border: 1px solid #b6b6bc;
    border-radius: .375rem;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.trade-field .form-input:hover,
.trade-field .form-textarea:hover {
    border-color: #8f8f97;
}

.trade-field .form-input:focus,
.trade-field .form-textarea:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .14);
}

.trade-field .form-textarea {
    min-height: 7rem;
    resize: vertical;
}

.trade-field > .trade-field-spacer {
    visibility: hidden;
}

.trade-disclosure-button {
    min-height: 3rem;
    border: 1px dashed #a1a1aa;
    border-radius: .375rem;
    padding: .65rem .9rem;
    color: #3f3f46;
    font-size: .8rem;
    font-weight: 600;
    text-align: left;
}

.trade-disclosure-button:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.trade-disclosure-button:focus-visible,
.trade-address-choice input:focus-visible {
    outline: 3px solid rgba(13, 148, 136, .35);
    outline-offset: 3px;
}

.trade-delivery-instructions .form-textarea {
    min-height: 5.5rem;
}

.trade-address-choice {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    border-top: 1px solid #e4e4e7;
    padding-top: 1rem;
    color: #3f3f46;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}

.trade-address-choice input {
    flex: 0 0 auto;
    margin-top: .1rem;
    border-color: #8f8f97;
    border-radius: .2rem;
    color: #0f766e;
}

.trade-choice-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.trade-choice-group legend {
    grid-column: 1 / -1;
    margin-bottom: .65rem;
}

.trade-choice {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border: 1px solid #d4d4d8;
    border-radius: .75rem;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.trade-choice:hover,
.trade-choice:has(input:checked) {
    border-color: #0f766e;
    background: #f0fdfa;
}

.trade-choice input {
    margin-top: .25rem;
    accent-color: #0f766e;
}

.trade-choice span,
.trade-choice small {
    display: block;
}

.trade-choice small {
    margin-top: .2rem;
    color: #71717a;
    font-size: .75rem;
}

.trade-vat-number {
    margin-top: 1rem;
}

.trade-review {
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: .75rem;
}

.trade-review > div {
    display: grid;
    grid-template-columns: minmax(7.5rem, .7fr) 1.3fr;
    gap: 1rem;
    padding: .8rem 1rem;
}

.trade-review > div + div {
    border-top: 1px solid #e4e4e7;
}

.trade-review dt {
    color: #71717a;
    font-size: .8rem;
    font-weight: 600;
}

.trade-review dd {
    color: #27272a;
    font-size: .875rem;
    font-weight: 600;
    white-space: pre-line;
}

.trade-submission-note {
    display: flex;
    gap: .7rem;
    margin-top: 1rem;
    border-radius: .75rem;
    background: #f4f4f5;
    padding: .9rem 1rem;
    color: #52525b;
    font-size: .8rem;
    line-height: 1.5;
}

.trade-about-field {
    margin-top: 1.25rem;
    margin-bottom: .75rem;
    padding-top: .5rem;
}

.trade-privacy-choice {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-top: 1rem;
    color: #52525b;
    font-size: .78rem;
    line-height: 1.55;
}

.trade-privacy-choice input {
    flex: 0 0 auto;
    margin-top: .15rem;
    border-color: #8f8f97;
    border-radius: .2rem;
    color: #0f766e;
    cursor: pointer;
}

.trade-privacy-choice input:focus-visible {
    outline: 3px solid rgba(13, 148, 136, .35);
    outline-offset: 3px;
}

.trade-privacy-choice p {
    min-width: 0;
    flex: 1;
}

.trade-legal-link {
    display: inline;
    margin: 0;
    border: 0;
    background: transparent;
    padding: 0;
    color: #042f2e;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trade-legal-link:focus-visible {
    border-radius: .15rem;
    outline: 3px solid rgba(13, 148, 136, .35);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .trade-privacy-choice p {
        white-space: nowrap;
    }
}

.trade-terms-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 9, 11, .68);
    padding: 1rem;
}

.trade-terms-modal[hidden] {
    display: none;
}

body.trade-modal-open {
    overflow: hidden;
}

.trade-terms-dialog {
    display: flex;
    width: min(52rem, 100%);
    max-height: calc(100dvh - 2rem);
    flex-direction: column;
    overflow: hidden;
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.trade-terms-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e4e4e7;
    padding: 1.25rem 1.5rem;
}

.trade-terms-header span {
    display: block;
    margin-bottom: .2rem;
    color: #0f766e;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trade-terms-header h2 {
    color: #042f2e;
    font-family: Libre Baskerville, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.trade-terms-close {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4d4d8;
    border-radius: .5rem;
    background: #fff;
    color: #3f3f46;
    cursor: pointer;
}

.trade-terms-close:hover {
    background: #f4f4f5;
}

.trade-terms-close:focus-visible {
    outline: 3px solid rgba(13, 148, 136, .35);
    outline-offset: 2px;
}

.trade-terms-content {
    overflow-y: auto;
    padding: .25rem 1.5rem 1.5rem;
    color: #3f3f46;
    font-size: .84rem;
    line-height: 1.65;
    overscroll-behavior: contain;
}

.trade-terms-content section {
    padding-top: 1.25rem;
}

.trade-terms-content section + section {
    margin-top: 1.25rem;
    border-top: 1px solid #e4e4e7;
}

.trade-terms-content h3 {
    margin-bottom: .5rem;
    color: #18181b;
    font-size: .9rem;
    font-weight: 700;
}

.trade-terms-content p + p {
    margin-top: .45rem;
}

.trade-terms-content ul {
    margin: .45rem 0 0 1.3rem;
    list-style: disc;
}

.trade-terms-footer {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    border-top: 1px solid #e4e4e7;
    background: #fafafa;
    padding: .85rem 1.5rem;
}

.trade-submit-status {
    margin-top: .8rem;
    border-radius: .5rem;
    background: #fef2f2;
    padding: .7rem .9rem;
    color: #991b1b;
    font-size: .8rem;
    line-height: 1.5;
    text-align: center;
}

.trade-success {
    max-width: 32rem;
    margin: 1rem auto;
    text-align: center;
}

.trade-success-icon {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
}

.trade-success h2 {
    margin-top: 1rem;
    color: #042f2e;
    font-family: Libre Baskerville, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.trade-success p {
    margin-top: .65rem;
    color: #52525b;
    line-height: 1.6;
}

.trade-success button {
    margin-top: 1.25rem;
}

.trade-submission-note svg {
    flex: 0 0 auto;
    margin-top: .1rem;
    color: #0f766e;
}

.trade-form-actions {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e4e4e7;
}

.trade-form-actions button {
    min-width: 7rem;
}

.trade-legal {
    margin-top: 1.5rem;
    color: #52525b;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 639px) {
    .trade-onboarding-shell {
        padding: .5rem;
    }

    .trade-onboarding-card {
        max-height: calc(100dvh - 1rem);
        padding: 1.25rem;
    }

    .trade-brand {
        margin-bottom: 1.1rem;
    }

    .trade-field-grid,
    .trade-choice-group {
        grid-template-columns: 1fr;
    }

    .trade-review > div {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .trade-form-actions button {
        flex: 1;
    }

    .trade-terms-modal {
        align-items: flex-end;
        padding: .5rem;
    }

    .trade-terms-dialog {
        max-height: calc(100dvh - 1rem);
    }

    .trade-terms-header,
    .trade-terms-content,
    .trade-terms-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trade-primary-button,
    .trade-secondary-button,
    .trade-progress span {
        transition: none;
    }
}
