.cly-apply {
    --cly-ink: #090909;
    --cly-muted: #716d67;
    --cly-line: #dfddd8;
    --cly-paper: #f7f7f5;
    --cly-white: #fff;

    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(580px, 1.2fr);
    gap: 18px;
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
    color: var(--cly-ink);
    font-family: Satoshi, Inter, system-ui, sans-serif;
}

.cly-apply *,
.cly-apply *::before,
.cly-apply *::after {
    box-sizing: border-box;
}

.cly-apply__intro {
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 38px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 86% 12%, rgba(255,255,255,.10), transparent 20rem),
        #090909;
    border-radius: 28px;
}

.cly-apply__eyebrow {
    display: block;
    margin-bottom: 16px;
    color: rgba(255,255,255,.52);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}

.cly-apply__intro h2 {
    max-width: 560px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(44px, 5.2vw, 76px);
    line-height: .95;
    letter-spacing: -.055em;
}

.cly-apply__intro > p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 15px;
    line-height: 1.65;
}

.cly-apply__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 68px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.cly-apply__facts > div {
    min-height: 155px;
    padding: 22px 18px 0 0;
    border-right: 1px solid rgba(255,255,255,.12);
}

.cly-apply__facts > div + div {
    padding-left: 18px;
}

.cly-apply__facts > div:last-child {
    border-right: 0;
}

.cly-apply__facts strong,
.cly-apply__facts span,
.cly-apply__facts small {
    display: block;
}

.cly-apply__facts strong {
    margin-bottom: 36px;
    color: rgba(255,255,255,.38);
    font-size: 11px;
}

.cly-apply__facts span {
    margin-bottom: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
}

.cly-apply__facts small {
    color: rgba(255,255,255,.48);
    font-size: 10px;
    line-height: 1.5;
}

.cly-apply__panel {
    min-height: 720px;
    padding: 34px;
    background: var(--cly-white);
    border: 1px solid var(--cly-line);
    border-radius: 28px;
}

.cly-apply__progress {
    display: flex;
    align-items: center;
    margin-bottom: 54px;
}

.cly-apply__progress span {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #9a968f;
    background: #f1f0ed;
    border: 1px solid #e6e4df;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 750;
}

.cly-apply__progress span.is-active {
    color: #fff;
    background: #090909;
    border-color: #090909;
}

.cly-apply__progress span.is-complete {
    color: #0e7b45;
    background: #e8f5ed;
    border-color: #d6ecdf;
}

.cly-apply__progress i {
    height: 1px;
    flex: 1 1 auto;
    background: #e7e5e0;
}

.cly-apply__step {
    display: none;
}

.cly-apply__step.is-active {
    display: block;
}

.cly-apply__step > header {
    margin-bottom: 34px;
}

.cly-apply__step > header > span {
    display: block;
    margin-bottom: 10px;
    color: #8b8780;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .14em;
}

.cly-apply__step h3,
.cly-apply__success h3 {
    margin: 0 0 9px;
    font-size: clamp(30px, 3vw, 45px);
    line-height: 1;
    letter-spacing: -.045em;
}

.cly-apply__step header p,
.cly-apply__success > p {
    margin: 0;
    color: var(--cly-muted);
    font-size: 12px;
    line-height: 1.55;
}

.cly-apply__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 14px;
}

.cly-apply__grid label,
.cly-apply__checks label {
    min-width: 0;
}

.cly-apply__grid label.is-wide {
    grid-column: 1 / -1;
}

.cly-apply label > span {
    display: block;
    margin-bottom: 7px;
    color: #56534e;
    font-size: 10px;
    font-weight: 650;
}

.cly-apply input:not([type=checkbox]):not([type=file]),
.cly-apply select,
.cly-apply textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    color: #111;
    background: #f8f8f6;
    border: 1px solid #e3e1dc;
    border-radius: 10px;
    outline: none;
    font: inherit;
    font-size: 12px;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.cly-apply textarea {
    min-height: 132px;
    resize: vertical;
}

.cly-apply input:focus,
.cly-apply select:focus,
.cly-apply textarea:focus {
    background: #fff;
    border-color: #aaa59d;
    box-shadow: 0 0 0 3px rgba(0,0,0,.035);
}

.cly-apply input[type=file] {
    width: 100%;
    min-height: 48px;
    padding: 10px;
    color: #66625c;
    background: #f8f8f6;
    border: 1px dashed #d7d4ce;
    border-radius: 10px;
    font-size: 10px;
}

.cly-apply label > small {
    display: block;
    margin-top: 6px;
    color: #9a968f;
    font-size: 9px;
}

.cly-apply__checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.cly-apply__checks label {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 16px;
    background: #f8f8f6;
    border: 1px solid #e5e3de;
    border-radius: 12px;
}

.cly-apply__checks input,
.cly-apply__consent input {
    margin-top: 3px;
    accent-color: #090909;
}

.cly-apply__checks strong,
.cly-apply__checks small {
    display: block;
}

.cly-apply__checks strong {
    margin-bottom: 4px;
    font-size: 11px;
}

.cly-apply__checks small {
    color: #817d76;
    font-size: 9px;
    line-height: 1.45;
}

.cly-apply__review {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid #e4e2dd;
    border-radius: 14px;
}

.cly-apply__review > div {
    min-height: 88px;
    padding: 17px;
    border-right: 1px solid #e4e2dd;
    border-bottom: 1px solid #e4e2dd;
}

.cly-apply__review > div:nth-child(2n) {
    border-right: 0;
}

.cly-apply__review > div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.cly-apply__review span,
.cly-apply__review strong {
    display: block;
}

.cly-apply__review span {
    margin-bottom: 14px;
    color: #97938c;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.cly-apply__review strong {
    font-size: 12px;
}

.cly-apply__consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 16px;
    background: #f7f7f5;
    border-radius: 12px;
}

.cly-apply__consent span {
    margin: 0 !important;
    color: #65615b !important;
    font-size: 10px !important;
    line-height: 1.55;
}

.cly-apply__privacy-note {
    margin-top: 12px;
    padding: 13px 15px;
    color: #77736d;
    background: #fff;
    border: 1px solid #e7e5e0;
    border-radius: 10px;
    font-size: 9px;
    line-height: 1.5;
}

.cly-apply__actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid #eceae6;
}

.cly-apply__button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 18px;
    border-radius: 999px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.cly-apply__button.is-primary {
    color: #fff;
    background: #090909;
    border: 1px solid #090909;
}

.cly-apply__button.is-secondary {
    color: #111;
    background: #fff;
    border: 1px solid #dedcd6;
}

.cly-apply__button:disabled {
    opacity: .55;
    cursor: wait;
}

.cly-apply__message {
    margin-top: 18px;
    padding: 12px 14px;
    color: #9e3939;
    background: #fff1f1;
    border: 1px solid #f2d2d2;
    border-radius: 10px;
    font-size: 10px;
}

.cly-apply__success {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.cly-apply__success[hidden] {
    display: none;
}

.cly-apply__success-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: #fff;
    background: #0d8a4d;
    border-radius: 50%;
    font-size: 17px;
}

.cly-apply__success .cly-apply__eyebrow {
    color: #77736d;
}

.cly-apply__success > div {
    min-width: 260px;
    margin-top: 30px;
    padding: 17px;
    background: #f7f7f5;
    border: 1px solid #e3e1dc;
    border-radius: 12px;
}

.cly-apply__success > div small,
.cly-apply__success > div strong {
    display: block;
}

.cly-apply__success > div small {
    margin-bottom: 8px;
    color: #918d86;
    font-size: 8px;
    letter-spacing: .12em;
}

.cly-apply__success > div strong {
    font-size: 18px;
}

.cly-apply__success-note {
    margin-top: 20px !important;
    font-size: 10px !important;
}

.cly-apply__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 980px) {
    .cly-apply {
        grid-template-columns: 1fr;
        width: min(820px, calc(100% - 30px));
    }

    .cly-apply__intro {
        min-height: 500px;
    }

    .cly-apply__panel {
        min-height: 650px;
    }
}

@media (max-width: 620px) {
    .cly-apply {
        width: calc(100% - 20px);
    }

    .cly-apply__intro,
    .cly-apply__panel {
        padding: 23px;
        border-radius: 20px;
    }

    .cly-apply__intro {
        min-height: 500px;
    }

    .cly-apply__facts {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .cly-apply__facts > div,
    .cly-apply__facts > div + div {
        min-height: auto;
        padding: 15px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .cly-apply__facts strong {
        margin-bottom: 12px;
    }

    .cly-apply__grid,
    .cly-apply__checks {
        grid-template-columns: 1fr;
    }

    .cly-apply__grid label.is-wide {
        grid-column: auto;
    }

    .cly-apply__review {
        grid-template-columns: 1fr;
    }

    .cly-apply__review > div,
    .cly-apply__review > div:nth-child(2n),
    .cly-apply__review > div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid #e4e2dd;
    }

    .cly-apply__review > div:last-child {
        border-bottom: 0;
    }

    .cly-apply__actions {
        justify-content: stretch;
    }

    .cly-apply__button {
        flex: 1 1 0;
    }
}


/* v1.0.1 — theme isolation + multi-step control fix */

.cly-apply [hidden] {
    display: none !important;
}

.cly-apply__actions {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

.cly-apply__actions::before,
.cly-apply__actions::after {
    display: none !important;
    content: none !important;
}

.cly-apply__actions .cly-apply__button[hidden] {
    display: none !important;
}

.cly-apply__panel {
    isolation: isolate;
}

.cly-apply__form {
    margin: 0;
}

.cly-apply__button {
    text-decoration: none !important;
    line-height: 1 !important;
}

.cly-apply__button.is-primary:hover,
.cly-apply__button.is-primary:focus {
    color: #fff !important;
    background: #191919 !important;
    border-color: #191919 !important;
}

.cly-apply__button.is-secondary:hover,
.cly-apply__button.is-secondary:focus {
    color: #090909 !important;
    background: #f6f5f2 !important;
    border-color: #d8d5cf !important;
}

