:root {
    --purple: #2c123d;
    --violet: #8b6baf;
    --lavender: #8B6BAF;
    --cream: #f7f2ea;
    --ink: #211426;
    --lime: #c5d934;
    --white: #fff;
    --muted: #766f78;
    --orange: #F6B323;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.display-font {
    font-family: Inter, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.container-xl {
    max-width: 1240px;
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none
}

.container-site {
    max-width: 1180px;
    margin: auto;
    padding-left: 24px;
    padding-right: 24px
}

.section-space {
    padding: 120px 0
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.eyebrow-rule {
    display: flex;
    align-items: center;
    gap: 12px
}

.eyebrow-rule:before,
.eyebrow-rule:after {
    color: #3A155D;
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor
}



.section-title {
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: .96
}

.accent {
    color: var(--lavender)
}

.partner-shell {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 32px;
    background: var(--cream);
    border-radius: 30px;
    box-shadow: 0 24px 80px #0003
}

.partner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
    margin-bottom: 28px
}

.partner-brand {
    display: flex;
    align-items: center;
    gap: 12px
}


.partner-brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--muted)
}

.partner-brand strong {
    font-size: 15px
}

.partner-close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    font-size: 24px
}

.partner-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 28px;
    border-radius: 26px;
    background: #3d175b;
    color: #ffffff;
}

.partner-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -140px;
    inset-inline-end: -110px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #ffb735;
    pointer-events: none;
}

.partner-intro .join-form-title,
.partner-intro h1,
.partner-intro h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.partner-intro p {
    max-width: 610px;
    margin: 0;
    color: #baa5cb;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.85;
}

.step-progress {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px
}

.step-marker {
    position: relative;
    padding-top: 14px;
    border-top: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.step-marker::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    border-radius: 999px;
    background: #dfd7e5;
}

.step-marker.active {
    color: var(--purple);
    font-weight: 700;
}

.step-marker.active::before {
    background: linear-gradient(to right,
            #ffb735 0%,
            #9470b6 100%);
}

.step-marker.complete::before {
    background: #9470b6;
}

.step-marker.complete {
    border-color: var(--violet)
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-inline-end: 4px;
    border-radius: 50%;
    background: #e9e1ee
}

.step-status {
    font-size: 12px;
    color: var(--muted);
    margin: 18px 0
}

.form-step {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
    margin-block: 18px
}

.section-hint {
    color: var(--muted);
    font-size: 12px;
    margin: 0 0 24px
}

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

.field {
    min-width: 0
}

.field-full {
    grid-column: 1/-1
}

.field>label,
.choice-group legend {
    display: block;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 7px;
    color: #716777
}

.field>label span[aria-hidden],
.choice-group legend>span {
    color: #a44427
}

.partner-shell .field input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]) {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 8px 12px;

    border: 1px solid #ded8df;
    border-radius: 10px;
    background: var(--cream);
    color: var(--ink);

    font-size: 13px;
    line-height: 1.4;
}

textarea {
    width: 100%;
    border: 1px solid #ded8df;
    background: var(--cream);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--ink);
    min-height: 46px
}

.partner-shell .field>label {
    display: block;
    margin-bottom: 5px;

    color: #716777;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

textarea {
    resize: vertical
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
canvas:focus-visible {
    outline: 3px solid #9470b655;
    outline-offset: 2px
}

input:focus,
textarea:focus {
    border-color: var(--violet)
}

.partner-shell .choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.partner-shell .choice-group legend {
    float: none;
    width: 100%;
    margin-bottom: 6px;
    padding: 0;

    color: #817987;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.partner-shell .choice {
    position: relative;
    display: inline-flex;
    margin: 0;
    cursor: pointer;
}

.partner-shell .choice>input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    opacity: 0;
}

.partner-shell .choice>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 12px;

    border: 1px solid #e4dfe6;
    border-radius: 999px;
    background: #fff;

    color: #817987;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.partner-shell .choice>input:checked+span {
    border-color: #3d175b;
    background: #3d175b;
    color: #fff;
}

.partner-shell .choice>input:focus-visible+span {
    outline: 2px solid #9470b6;
    outline-offset: 3px;
}

.address-panel {
    background: var(--cream);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: grid;
    gap: 16px
}

.address-panel h3 {
    margin: 0
}

.upload-card {
    display: flex;
    flex-direction: column;
    gap: 12px;

    min-width: 0;
    min-height: 0;
    padding: 16px;

    border: 1px dashed #cfc3d7;
    border-radius: 14px;
    background: var(--cream);
}

.upload-card input[type="file"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;

    color: var(--ink);
    font-size: 12px;
}

.upload-card input[type="file"]::file-selector-button {
    min-height: 40px;
    margin-inline-end: 6px;
    padding: 8px 10px;

    border: 1px solid #ded8df;
    border-radius: 9px;
    background: #ffffff;
    color: var(--purple);

    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.upload-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--purple);
    color: white;
    font-size: 22px
}


.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    width: max-content;
    color: var(--job-hero-meta, #ffffff);
    opacity: 0.9;

    font-family: "Cairo", Tahoma, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 0;
    text-decoration: none;

    transform: translateX(-50%);
}

.hero-scroll-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-scroll-label::before {
    content: "";
    width: 1px;
    height: 24px;
    background: var(--job-gold, #ffb718);
}

.hero-scroll-arrows {
    position: relative;
    display: block;
    width: 22px;
    height: 30px;
}

.hero-scroll-arrows>span {
    position: absolute;
    top: 0;
    left: 50%;

    width: 10px;
    height: 10px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: translateX(-50%) rotate(45deg);
    animation: catalogue-scroll-arrow 1.6s ease-in-out infinite;
}

.hero-scroll-arrows>span:nth-child(2) {
    top: 9px;
    animation-delay: 0.2s;
}

@keyframes catalogue-scroll-arrow {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, 0) rotate(45deg);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, 5px) rotate(45deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-arrows>span {
        animation: none;
        opacity: 1;
    }
}


.hero-scroll:hover {
    color: var(--job-hero-meta, #ffffff);
    opacity: 1;
}

.upload-card small {
    color: var(--muted);
    overflow-wrap: anywhere;
    font-size: 11px
}

.declaration {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 13px !important;
    font-weight: 400 !important
}

.declaration input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--purple)
}

.signature-box {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden
}

.signature-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--cream);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px
}

.signature-toolbar button {
    background: none;
    border: 0;
    color: var(--purple);
    padding: 8px;
    min-height: 36px
}

canvas {
    display: block;
    width: 100%;
    height: 180px;
    touch-action: none;
    background: white
}

.field-help {
    font-size: 11px;
    color: var(--muted);
    margin: 8px 0
}

.partner-shell .form-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;

    margin-top: 24px;
    padding: 0;
    border: 0;
    background: transparent;
}

.partner-shell .form-navigation .button-secondary {
    margin-inline-end: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 99px;
    padding: 13px 24px;
    min-height: 46px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    text-align: center
}

.button-primary {
    background: #ffc453;
    color: #24142e;
}

.button-primary:hover {
    background: #ffc453
}

.partner-shell .form-navigation .button-secondary {
    min-width: 168px;
    min-height: 46px;
    margin-inline-end: auto;
    padding: 12px 24px;

    border: 1px solid #e4dfe6;
    border-radius: 999px;
    background: #ffffff;
    color: #211426;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

.button:disabled {
    opacity: .6;
    cursor: wait
}

.notice {
    padding: 16px 20px;
    border-radius: 14px;
    margin: 20px 0;
    font-size: 13px
}

.notice-error {
    background: #fff0ef;
    border: 1px solid #ecc8c3;
    color: #9d302a
}

.notice p {
    margin: 6px 0
}

.notice ul {
    margin: 8px 0;
    padding-inline-start: 20px
}

.field-error {
    color: #ad352e;
    font-size: 12px;
    margin: 7px 0
}

.success-panel {
    text-align: center;
    padding: 48px 24px
}

.success-panel p {
    color: var(--muted);
    max-width: 480px;
    margin: 16px auto 24px
}

.success-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    background: #e7eedb;
    color: #436c21;
    border-radius: 50%;
    font-size: 28px;
    margin: 0 auto 20px
}

.join-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    max-width: none;
    margin: 0 0 60px;
    padding: 140px 0 130px;
    border-radius: 0;
    background: #201329;
    color: #ffffff;
}

.join-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;
}

.join-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(90deg,
            rgba(32, 19, 41, 0.96) 0%,
            rgba(32, 19, 41, 0.82) 20%,
            rgba(32, 19, 41, 0.45) 40%,
            rgba(32, 19, 41, 0.10) 65%,
            transparent 100%);
}

.join-hero-container {
    width: 86%;
    max-width: 1200px;
    margin-inline: auto;
}

.join-hero-kicker {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 32px;
    padding: 0;

    color: #ffb735;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.join-hero-kicker>span {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgb(255 183 53 / 18%);
    animation: join-kicker-pulse 1.8s ease-out infinite;
}

@keyframes join-kicker-pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(255 183 53 / 55%);
    }

    100% {
        box-shadow: 0 0 0 10px rgb(255 183 53 / 0%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .join-hero-kicker>span {
        animation: none;
    }
}

.join-hero .join-hero-title {
    margin: 0 0 32px;

    color: #ffffff;
    font-size: clamp(58px, 6.2vw, 94px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.join-hero-title>span {
    display: block;
    color: #ffb735;
}

.join-hero-description {
    width: 100%;
    max-width: 560px;
    margin: 0 0 32px;

    color: #e0d6e5;
    font-size: 16px;
    line-height: 1.8;
}

.join-hero .join-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 46px;
    padding: 14px 24px;

    border: 1px solid transparent;
    border-radius: 999px;
    background: #ffb735;
    color: #201329;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.join-hero .join-hero-button:hover {
    background: #ffc453;
    color: #201329;
}

#partnership-form {
    scroll-margin-top: 100px;
}

@media (max-width: 1199.98px) {
    .join-hero {
        margin-bottom: clamp(28px, 4vw, 48px);
        padding-block: clamp(68px, 10vw, 112px) clamp(40px, 6vw, 64px);
    }

    .join-hero-container {
        width: calc(100% - clamp(32px, 6vw, 80px));
        max-width: 1000px;
        min-width: 0;
        padding-bottom: 73px;
    }

    .join-hero::before {
        background: linear-gradient(90deg,
                rgb(32 19 41 / 94%) 0%,
                rgb(32 19 41 / 82%) 40%,
                rgb(32 19 41 / 40%) 100%);
    }

    :root[dir="rtl"] .join-hero::before {
        background: linear-gradient(270deg,
                rgb(32 19 41 / 94%) 0%,
                rgb(32 19 41 / 82%) 40%,
                rgb(32 19 41 / 40%) 100%);
    }

    .join-hero-kicker {
        gap: 10px;
        margin-bottom: clamp(18px, 2.5vw, 28px);
        font-size: clamp(10px, 1.2vw, 12px);
        letter-spacing: 1.4px;
        overflow-wrap: anywhere;
    }

    .join-hero-kicker>span {
        flex-shrink: 0;
    }

    .join-hero .join-hero-title {
        max-width: 900px;
        margin-bottom: clamp(20px, 3vw, 30px);
        font-size: clamp(36px, 7.2vw, 80px);
        line-height: 1.04;
        letter-spacing: -0.045em;
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    .join-hero-description {
        max-width: 600px;
        margin-bottom: 24px;
        font-size: clamp(14px, 1.5vw, 16px);
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .join-hero .join-hero-button {
        max-width: 100%;
        min-height: 46px;
        padding: 12px 20px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .partner-shell {
        --line: #e4dfe6;
        width: calc(100% - clamp(24px, 5vw, 64px));
        max-width: 1000px;
        min-width: 0;
        margin: 0 auto clamp(32px, 5vw, 56px);
        padding: clamp(12px, 2.5vw, 28px);
        border-radius: clamp(20px, 3vw, 28px);
        box-shadow: 0 12px 36px rgb(32 19 41 / 12%);
    }

    .partner-shell form,
    .partner-shell .field,
    .partner-shell .address-panel,
    .partner-shell .upload-card,
    .partner-shell .signature-box {
        min-width: 0;
        max-width: 100%;
    }

    .partner-shell .partner-header {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .partner-shell .partner-brand {
        min-width: 0;
    }

    .partner-shell .partner-brand small {
        letter-spacing: 0.8px;
        overflow-wrap: anywhere;
    }

    .partner-shell .partner-intro {
        padding: clamp(20px, 3vw, 28px);
        border-radius: clamp(18px, 2.5vw, 24px);
    }

    .partner-shell .partner-intro::after {
        top: -115px;
        inset-inline-end: -110px;
        width: 200px;
        height: 200px;
    }

    .partner-shell .partner-intro .join-form-title,
    .partner-shell .partner-intro h1,
    .partner-shell .partner-intro h2,
    .partner-shell .partner-intro h3 {
        position: relative;
        max-width: 100%;
        margin: 0 0 10px;
        color: #fff;
        font-size: clamp(24px, 3.5vw, 32px);
        line-height: 1.2;
        letter-spacing: -0.7px;
        overflow-wrap: anywhere;
    }

    .partner-shell .partner-intro p {
        position: relative;
        max-width: 610px;
        color: #d2c1df;
        font-size: clamp(12px, 1.4vw, 14px);
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

    .partner-shell .step-progress {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: clamp(4px, 0.8vw, 8px);
        margin-top: 22px;
    }

    .partner-shell .step-marker {
        min-width: 0;
        padding-top: 11px;
        font-size: clamp(9px, 1.15vw, 11px);
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .partner-shell .step-number {
        width: 20px;
        height: 20px;
        margin-inline-end: 3px;
        font-size: 10px;
    }

    .partner-shell .step-status {
        margin: 14px 0;
        font-size: 12px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .partner-shell .form-step {
        min-width: 0;
        margin-block: 16px;
        padding: clamp(16px, 2.5vw, 26px);
        border-radius: 18px;
    }

    .partner-shell .form-step>h2,
    .partner-shell .form-step>h3,
    .partner-shell .form-step>.step-title {
        margin-bottom: 8px;
        font-size: clamp(21px, 2.8vw, 28px);
        line-height: 1.25;
        letter-spacing: -0.6px;
        overflow-wrap: anywhere;
    }

    .partner-shell .section-hint {
        margin-bottom: 20px;
        font-size: 12px;
        line-height: 1.7;
    }

    .partner-shell .field-grid {
        gap: 18px 16px;
    }

    .partner-shell .field>label,
    .partner-shell .choice-group legend {
        margin-bottom: 6px;
        font-size: 10px;
        line-height: 1.5;
        letter-spacing: 0.6px;
        overflow-wrap: anywhere;
    }

    .partner-shell .field input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 44px;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 16px;
        line-height: 1.4;
    }

    .partner-shell textarea,
    .partner-shell select {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 10px 12px;
        font-size: 16px;
        line-height: 1.5;
    }

    .partner-shell textarea {
        min-height: 104px;
        resize: vertical;
    }

    .partner-shell select {
        min-height: 44px;
    }

    .partner-shell .choice-group {
        gap: 8px;
    }

    .partner-shell .choice {
        min-width: 0;
        max-width: 100%;
    }

    .partner-shell .choice>span {
        min-height: 40px;
        max-width: 100%;
        padding: 9px 12px;
        font-size: 10px;
        line-height: 1.4;
        letter-spacing: 0.4px;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .partner-shell .address-panel {
        gap: 14px;
        padding: 16px;
        border-radius: 14px;
    }

    .partner-shell .address-panel h3 {
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .partner-shell .upload-card {
        gap: 12px;
        min-height: 0;
        padding: 16px;
        border-radius: 14px;
        overflow-wrap: anywhere;
    }

    .partner-shell .upload-card input[type="file"] {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 44px;
        font-size: 12px;
    }

    .partner-shell .upload-card input[type="file"]::file-selector-button {
        max-width: 100%;
        min-height: 40px;
        margin-inline-end: 6px;
        padding: 8px 10px;
        border: 1px solid #ded8df;
        border-radius: 9px;
        background: #fff;
        color: var(--purple);
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

    .partner-shell .upload-card small,
    .partner-shell [data-file-list],
    .partner-shell .field-help,
    .partner-shell .field-error {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .partner-shell .declaration {
        gap: 10px;
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .partner-shell .declaration input[type="checkbox"] {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        margin-top: 3px;
    }

    .partner-shell .signature-toolbar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 12px;
        font-size: 10px;
        line-height: 1.5;
    }

    .partner-shell .signature-toolbar button {
        min-height: 44px;
        padding: 8px 12px;
    }

    .partner-shell #signatureCanvas {
        display: block;
        width: 100%;
        max-width: 100%;
        height: clamp(150px, 25vw, 180px);
        touch-action: none;
    }

    .partner-shell .form-navigation {
        gap: 10px;
        margin-top: 20px;
    }

    .partner-shell .form-navigation .button {
        min-width: 0;
        max-width: 100%;
        min-height: 46px;
        padding: 12px 18px;
        font-size: 12px;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Preserve the JS-controlled visibility of steps and navigation buttons. */
    .partner-shell [hidden] {
        display: none !important;
    }

    .partner-shell .notice {
        margin-block: 16px;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 12px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .partner-shell .notice ul {
        padding-inline-start: 18px;
    }

    .partner-shell .notice li+li {
        margin-top: 5px;
    }

    .partner-shell .success-panel {
        padding: clamp(28px, 5vw, 44px) 12px;
    }

    .partner-shell .success-panel h2,
    .partner-shell .success-panel h3 {
        font-size: clamp(24px, 4vw, 32px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .partner-shell .success-panel p {
        margin-block: 14px 22px;
        font-size: 14px;
        line-height: 1.75;
    }

    .partner-shell .cf-turnstile {
        max-width: 100%;
        margin-block: 16px;
        overflow-x: auto;
    }

    #partnership-form {
        scroll-margin-top: 88px;
    }

    :root[dir="rtl"] .join-hero-kicker,
    :root[dir="rtl"] .partner-shell .field>label,
    :root[dir="rtl"] .partner-shell .choice-group legend,
    :root[dir="rtl"] .partner-shell .choice>span {
        letter-spacing: normal;
    }

    :root[dir="rtl"] .partner-shell .step-marker.active::before {
        background: linear-gradient(to left, #ffb735, #9470b6);
    }
}

/* Tablets and smaller laptops: retain two-column fields. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .partner-shell .field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phones, including landscape: stack fields and balance navigation buttons. */
@media (max-width: 767.98px) {
    .join-hero-image {
        object-position: 58% center;
    }

    .partner-shell .field-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .partner-shell .step-marker {
        padding-top: 10px;
        text-align: center;
    }

    .partner-shell .step-number {
        display: grid;
        margin: 0 auto 5px;
    }

    .partner-shell .form-navigation {
        flex-wrap: wrap;
    }

    .partner-shell .form-navigation .button {
        flex: 1 1 0;
    }

    .partner-shell .form-navigation .button-secondary {
        margin-inline-end: 0;
    }
}

@media (max-width: 991px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow-x: hidden;
    }
}

#previousStep::before {
    content: "\f060";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    margin-inline-end: 8px;
}