.lffc {
    --lffc-bg: #050407;
    --lffc-panel: rgba(16, 14, 22, 0.84);
    --lffc-panel-strong: rgba(24, 20, 33, 0.92);
    --lffc-line: rgba(255, 255, 255, 0.24);
    --lffc-line-strong: rgba(255, 255, 255, 0.52);
    --lffc-text: #ffffff;
    --lffc-muted: rgba(255, 255, 255, 0.72);
    --lffc-soft: rgba(255, 255, 255, 0.52);
    --lffc-purple: #d840ff;
    --lffc-purple-2: #8d37ff;
    --lffc-radius: 8px;
    color: var(--lffc-text);
    font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-wrap: break-word;
}

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

.lffc__shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 28px;
    overflow: hidden;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(222, 134, 255, 0.72);
    border-radius: var(--lffc-radius);
    background:
        radial-gradient(circle at 50% 20%, rgba(216, 64, 255, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
        var(--lffc-bg);
    box-shadow: 0 0 42px rgba(216, 64, 255, 0.28);
}

.lffc--standard .lffc__shell {
    grid-template-columns: 1fr;
    width: min(860px, 100%);
}

.lffc--standard .lffc__funding {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px 18px;
    padding: 18px;
    text-align: left;
}

.lffc--standard .lffc__funding-icon {
    margin: 0;
}

.lffc--standard .lffc__funding p {
    margin: 0;
}

.lffc--standard .lffc__funding strong {
    font-size: 30px;
}

.lffc--standard .lffc__funding span {
    margin-top: 0;
}

.lffc--standard .lffc__funding small {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.lffc--wide .lffc__shell {
    width: min(1240px, 100%);
}

.lffc--wide .lffc__stage {
    min-height: 300px;
}

.lffc__shell::before {
    content: "";
    position: absolute;
    inset: -20% -10%;
    pointer-events: none;
    background:
        linear-gradient(100deg, transparent 18%, rgba(216, 64, 255, 0.16) 48%, transparent 78%),
        linear-gradient(165deg, transparent 24%, rgba(255, 255, 255, 0.08) 50%, transparent 74%);
    opacity: 0.5;
}

.lffc__main,
.lffc__funding {
    position: relative;
    z-index: 1;
}

.lffc__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.lffc__brand-logo {
    display: block;
    width: min(148px, 46%);
    height: auto;
    max-height: 34px;
    object-fit: contain;
}

.lffc__header {
    margin: 0 auto 24px;
    text-align: center;
}

.lffc__kicker {
    margin: 0 0 8px;
    color: #f0b7ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.lffc h2,
.lffc h3,
.lffc p {
    color: inherit;
}

.lffc h2 {
    margin: 0;
    font-size: 64px;
    line-height: 0.98;
    font-weight: 900;
    text-transform: uppercase;
}

.lffc h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.22;
    font-weight: 800;
}

.lffc__header p:last-child,
.lffc__question p:last-child,
.lffc__result p {
    margin: 8px 0 0;
    color: var(--lffc-muted);
    font-size: 15px;
    line-height: 1.55;
}

.lffc__progress-wrap {
    display: grid;
    gap: 10px;
    width: min(610px, 100%);
    margin: 0 auto 28px;
    text-align: center;
}

.lffc__step-label {
    font-size: 14px;
    font-weight: 800;
}

.lffc__progress {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.lffc__progress-item {
    height: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.lffc__progress-item.is-active {
    border-color: rgba(240, 151, 255, 0.86);
    background: linear-gradient(90deg, var(--lffc-purple), var(--lffc-purple-2));
    box-shadow: 0 0 18px rgba(216, 64, 255, 0.7);
}

.lffc__stage {
    min-height: 260px;
}

.lffc__question {
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
}

.lffc__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lffc__options--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lffc__option {
    display: grid;
    place-items: center;
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--lffc-line);
    border-radius: var(--lffc-radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
    color: var(--lffc-text);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.32;
    text-align: center;
    overflow-wrap: anywhere;
    hyphens: auto;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.lffc__option:hover,
.lffc__option:focus-visible,
.lffc__option.is-selected {
    border-color: rgba(240, 151, 255, 0.9);
    background: linear-gradient(145deg, rgba(216, 64, 255, 0.24), rgba(141, 55, 255, 0.08));
    box-shadow: inset 0 0 0 1px rgba(216, 64, 255, 0.24), 0 0 24px rgba(216, 64, 255, 0.22);
    outline: none;
}

.lffc__option:hover {
    transform: translateY(-1px);
}

.lffc__budget-slider {
    display: grid;
    gap: 18px;
    width: min(680px, 100%);
    margin: 24px auto 0;
    padding: 26px;
    border: 1px solid var(--lffc-line);
    border-radius: var(--lffc-radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
}

.lffc__budget-value {
    color: #f0b7ff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}

.lffc__budget-slider input[type="range"] {
    width: 100%;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    appearance: none;
    background: linear-gradient(90deg, var(--lffc-purple), var(--lffc-purple-2));
    cursor: pointer;
    outline: none;
}

.lffc__budget-slider input[type="range"]::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    appearance: none;
    background: var(--lffc-purple);
    box-shadow: 0 0 18px rgba(216, 64, 255, 0.78);
}

.lffc__budget-slider input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: var(--lffc-purple);
    box-shadow: 0 0 18px rgba(216, 64, 255, 0.78);
}

.lffc__budget-marks {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.lffc__budget-marks span {
    color: var(--lffc-soft);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.lffc__budget-marks span.is-active {
    color: #ffffff;
}

.lffc__nav,
.lffc__lead-actions,
.lffc__result-actions {
    display: grid;
    grid-template-columns: 160px 1fr 280px;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}

.lffc__lead-actions,
.lffc__result-actions {
    grid-template-columns: 1fr 1.4fr;
}

.lffc__button {
    display: inline-grid;
    place-items: center;
    width: 100%;
    min-height: 54px;
    padding: 12px 18px;
    border: 1px solid var(--lffc-line-strong);
    border-radius: 7px;
    color: var(--lffc-text);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.lffc__button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.lffc__button--ghost {
    background: rgba(0, 0, 0, 0.14);
}

.lffc__button--primary {
    border-color: rgba(240, 151, 255, 0.9);
    background: linear-gradient(90deg, rgba(96, 24, 125, 0.95), rgba(164, 54, 205, 0.95));
    box-shadow: 0 0 22px rgba(216, 64, 255, 0.42);
}

.lffc__privacy {
    margin: 0;
    color: var(--lffc-soft);
    font-size: 12px;
    text-align: center;
}

.lffc__funding {
    align-self: start;
    padding: 26px 18px;
    border: 1px solid var(--lffc-line);
    border-radius: var(--lffc-radius);
    background: var(--lffc-panel);
    text-align: center;
}

.lffc__funding-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border: 2px solid rgba(240, 151, 255, 0.9);
    border-radius: 999px;
    color: #f0b7ff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 0 24px rgba(216, 64, 255, 0.5);
}

.lffc__funding p {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.lffc__funding strong {
    display: block;
    color: #ee9cff;
    font-size: 36px;
    line-height: 1;
    text-shadow: 0 0 18px rgba(216, 64, 255, 0.72);
}

.lffc__funding span,
.lffc__funding small {
    display: block;
    margin-top: 20px;
    color: var(--lffc-muted);
    font-size: 14px;
    line-height: 1.45;
}

.lffc__funding small {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    color: var(--lffc-soft);
    font-size: 11px;
}

.lffc__result,
.lffc__lead {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--lffc-line);
    border-radius: var(--lffc-radius);
    background: var(--lffc-panel-strong);
}

.lffc__result h3,
.lffc__lead h3 {
    font-size: 30px;
}

.lffc__result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.lffc__result-meta span {
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: var(--lffc-muted);
    font-size: 12px;
}

.lffc__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.lffc label {
    display: grid;
    gap: 7px;
    color: var(--lffc-muted);
    font-size: 12px;
    font-weight: 700;
}

.lffc input,
.lffc textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--lffc-text);
    font: inherit;
    font-size: 15px;
    outline: none;
    padding: 13px 14px;
}

.lffc input:focus,
.lffc textarea:focus {
    border-color: rgba(240, 151, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(216, 64, 255, 0.18);
}

.lffc .lffc__budget-slider input[type="range"] {
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lffc-purple), var(--lffc-purple-2));
    box-shadow: none;
    appearance: none;
}

.lffc__field-wide {
    grid-column: 1 / -1;
}

.lffc__checkbox {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    margin-top: 14px;
    line-height: 1.45;
}

.lffc__checkbox input {
    width: 18px;
    height: 18px;
    padding: 0;
}

.lffc__notice {
    margin: 16px 0 0;
    color: #f0b7ff;
    font-size: 13px;
}

.lffc__notice.is-success {
    color: #ffffff;
}

.lffc__notice.is-error {
    color: #ff9db6;
}

.lffc__download-link {
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
}

.lffc--compact .lffc__shell {
    grid-template-columns: 1fr;
    max-width: 360px;
    padding: 18px;
}

.lffc--compact .lffc__funding {
    display: none;
}

.lffc--compact h2 {
    font-size: 34px;
}

.lffc--compact h3,
.lffc--compact .lffc__result h3,
.lffc--compact .lffc__lead h3 {
    font-size: 19px;
}

.lffc--compact .lffc__options,
.lffc--compact .lffc__options--compact {
    grid-template-columns: 1fr;
}

.lffc--compact .lffc__option {
    min-height: 58px;
}

.lffc--compact .lffc__nav,
.lffc--compact .lffc__lead-actions,
.lffc--compact .lffc__result-actions {
    grid-template-columns: 1fr;
}

.lffc--compact .lffc__privacy {
    order: 3;
}

.lffc--mobile .lffc__shell {
    grid-template-columns: 1fr;
    width: min(430px, 100%);
    padding: 16px;
}

.lffc--mobile .lffc__funding {
    display: none;
}

.lffc--mobile .lffc__brand-logo {
    width: min(128px, 56%);
}

.lffc--mobile .lffc__header {
    margin-bottom: 18px;
}

.lffc--mobile h2 {
    font-size: 34px;
}

.lffc--mobile h3,
.lffc--mobile .lffc__result h3,
.lffc--mobile .lffc__lead h3 {
    font-size: 20px;
}

.lffc--mobile .lffc__progress-wrap {
    margin-bottom: 20px;
}

.lffc--mobile .lffc__progress {
    gap: 5px;
}

.lffc--mobile .lffc__options,
.lffc--mobile .lffc__options--compact,
.lffc--mobile .lffc__fields,
.lffc--mobile .lffc__nav,
.lffc--mobile .lffc__lead-actions,
.lffc--mobile .lffc__result-actions {
    grid-template-columns: 1fr;
}

.lffc--mobile .lffc__stage {
    min-height: auto;
}

.lffc--mobile .lffc__option {
    min-height: 58px;
    padding: 14px 12px;
}

.lffc--mobile .lffc__privacy {
    order: 3;
}

.lffc--slim .lffc__shell {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 16px;
    width: min(60vw, 100%, 780px);
    min-width: min(40vw, 100%);
    max-height: 90vh;
    padding: 18px;
}

.lffc--slim .lffc__brand-logo {
    width: 118px;
    max-height: 28px;
}

.lffc--slim .lffc__header {
    margin-bottom: 14px;
}

.lffc--slim h2 {
    font-size: 34px;
}

.lffc--slim h3,
.lffc--slim .lffc__result h3,
.lffc--slim .lffc__lead h3 {
    font-size: 19px;
}

.lffc--slim .lffc__stage {
    min-height: 190px;
}

.lffc--slim .lffc__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lffc--slim .lffc__options--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lffc--slim .lffc__fields,
.lffc--slim .lffc__lead-actions,
.lffc--slim .lffc__result-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lffc--slim .lffc__nav {
    grid-template-columns: 120px minmax(0, 1fr) 170px;
    gap: 10px;
    margin-top: 16px;
}

.lffc--slim .lffc__option {
    min-height: 58px;
    padding: 10px;
    font-size: 12px;
}

.lffc--slim .lffc__funding {
    display: block;
    align-self: stretch;
    padding: 16px 12px;
    text-align: center;
}

.lffc--slim .lffc__funding-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
}

.lffc--slim .lffc__funding small {
    display: none;
}

.lffc--slim .lffc__funding p {
    margin-bottom: 10px;
    font-size: 12px;
}

.lffc--slim .lffc__funding strong {
    font-size: 25px;
}

.lffc--slim .lffc__funding span {
    margin-top: 14px;
    font-size: 12px;
}

.lffc--slim .lffc__header p:last-child,
.lffc--slim .lffc__question p:last-child {
    font-size: 12px;
    line-height: 1.35;
}

.lffc--slim .lffc__progress-wrap {
    gap: 7px;
    margin-bottom: 16px;
}

.lffc--slim .lffc__progress {
    gap: 5px;
}

.lffc--slim .lffc__progress-item {
    height: 6px;
}

.lffc--slim .lffc__step-label,
.lffc--slim .lffc__privacy {
    font-size: 11px;
}

.lffc--slim .lffc__button {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 11px;
}

.lffc--slim .lffc__budget-slider {
    gap: 12px;
    margin-top: 16px;
    padding: 18px;
}

.lffc--slim .lffc__budget-value {
    font-size: 22px;
}

.lffc--slim .lffc__budget-marks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lffc--slim .lffc__budget-marks span {
    font-size: 10px;
}

.lffc--slim-2 .lffc__shell {
    grid-template-columns: 1fr;
    width: min(60vw, 100%, 780px);
    min-width: min(40vw, 100%);
    height: auto;
    max-height: none;
    padding: 18px;
}

.lffc--slim-2.is-step .lffc__shell {
    max-height: 65vh;
}

.lffc--slim-2.is-step-project-types .lffc__shell {
    max-height: none;
}

.lffc--slim-2.is-result .lffc__shell,
.lffc--slim-2.is-lead .lffc__shell {
    max-height: none;
}

.lffc--slim-2 .lffc__funding {
    display: none;
}

.lffc--slim-2 .lffc__brand-logo {
    width: 112px;
    max-height: 28px;
}

.lffc--slim-2 .lffc__header {
    margin-bottom: 12px;
}

.lffc--slim-2 h2 {
    font-size: 38px;
}

.lffc--slim-2 h3,
.lffc--slim-2 .lffc__result h3,
.lffc--slim-2 .lffc__lead h3 {
    font-size: 21px;
}

.lffc--slim-2 .lffc__header p:last-child,
.lffc--slim-2 .lffc__question p:last-child {
    font-size: 13px;
    line-height: 1.35;
}

.lffc--slim-2 .lffc__progress-wrap {
    gap: 7px;
    margin-bottom: 14px;
}

.lffc--slim-2 .lffc__stage {
    min-height: 0;
}

.lffc--slim-2 .lffc__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lffc--slim-2 .lffc__options--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lffc--slim-2 .lffc__option {
    min-height: 64px;
    padding: 12px;
    font-size: 14px;
}

.lffc--slim-2 .lffc__nav {
    grid-template-columns: 160px minmax(0, 1fr) 230px;
    gap: 12px;
    margin-top: 14px;
}

.lffc--slim-2 .lffc__button {
    min-height: 48px;
    font-size: 12px;
}

.lffc--slim-2 .lffc__budget-slider {
    width: min(620px, 100%);
    margin-top: 22px;
    padding: 24px;
}

.lffc--slim-2 .lffc__budget-value {
    font-size: 28px;
}

.lffc--slim-2 .lffc__fields,
.lffc--slim-2 .lffc__lead-actions,
.lffc--slim-2 .lffc__result-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lffc--fullscreen .lffc__shell {
    width: min(1480px, 100%);
    min-height: 82vh;
    align-items: center;
    padding: 48px;
}

.lffc--fullscreen .lffc__main {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lffc--fullscreen h2 {
    font-size: 88px;
}

.lffc--fullscreen .lffc__stage {
    min-height: 330px;
}

.lffc--fullscreen .lffc__funding {
    align-self: center;
    padding: 34px 24px;
}

.lffc--fullscreen .lffc__funding strong {
    font-size: 44px;
}

@media (max-width: 980px) {
    .lffc:not(.lffc--slim):not(.lffc--slim-2) .lffc__shell,
    .lffc--wide .lffc__shell,
    .lffc--fullscreen .lffc__shell {
        grid-template-columns: 1fr;
    }

    .lffc__funding {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 12px 16px;
        text-align: left;
    }

    .lffc__funding-icon {
        grid-row: span 3;
        margin: 0;
    }

    .lffc__funding strong {
        font-size: 28px;
    }
}

@media (max-width: 720px) {
    .lffc__shell {
        padding: 18px;
    }

    .lffc--slim .lffc__shell {
        grid-template-columns: 1fr;
        width: min(430px, 100%);
        min-width: 0;
        max-height: none;
    }

    .lffc--slim-2 .lffc__shell {
        width: min(430px, 100%);
        min-width: 0;
        height: auto;
        max-height: none;
    }

    .lffc--slim-2 .lffc__options,
    .lffc--slim-2 .lffc__options--compact,
    .lffc--slim-2 .lffc__fields,
    .lffc--slim-2 .lffc__nav,
    .lffc--slim-2 .lffc__lead-actions,
    .lffc--slim-2 .lffc__result-actions {
        grid-template-columns: 1fr;
    }

    .lffc h2 {
        font-size: 38px;
    }

    .lffc--fullscreen h2 {
        font-size: 42px;
    }

    .lffc h3,
    .lffc__result h3,
    .lffc__lead h3 {
        font-size: 21px;
    }

    .lffc__options,
    .lffc__options--compact,
    .lffc__fields,
    .lffc__nav,
    .lffc__lead-actions,
    .lffc__result-actions {
        grid-template-columns: 1fr;
    }

    .lffc__option {
        min-height: 66px;
        padding: 14px 12px;
    }

    .lffc__privacy {
        order: 3;
    }

    .lffc__funding {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lffc__funding-icon {
        margin: 0 auto;
    }
}
