.wpq {
    --wpq-ink: #0d0628;
    --wpq-accent: #1400ff;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
    max-width: 1120px !important;
    width: 100%;
    margin: 48px auto;
    padding: 24px;
    color: var(--wpq-ink);
    font-family:
        Onest,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    line-height: 1.5;
}

.wpq * {
    box-sizing: border-box;
}

.wpq [hidden] {
    display: none !important;
}

.wpq-intro {
    padding-top: 24px;
}

.wpq .wpq-eyebrow {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.12em;
    color: #6e697e;
}

.wpq h2 {
    font-size: clamp(28px, 3.4vw, 46px);
    letter-spacing: -0.035em;
    line-height: 1.12;
    font-weight: 300;
    margin: 20px 0;
}

.wpq-intro > p {
    font-size: 17px;
}

.wpq .wpq-demo {
    font-size: 13px;
    color: #6e697e;
    margin-top: 32px;
    max-width: 280px;
}

.wpq-card {
    min-width: 0;
    background: #fff;
    padding: 32px;
    border: 1px solid #dce1e6;
    border-radius: 24px 6px 24px 24px;
    box-shadow: 0 12px 40px #1400ff06;
}

.wpq-progress-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: #6e697e;
}

.wpq-progress {
    display: block;
    width: 100%;
    height: 5px;
    margin: 12px 0 32px;
    border: 0;
    border-radius: 8px;
    appearance: none;
    background: #e7ecef;
}

.wpq-progress::-webkit-progress-bar {
    background: #e7ecef;
    border-radius: 8px;
}

.wpq-progress::-webkit-progress-value {
    background: var(--wpq-accent);
    border-radius: 8px;
}

.wpq-progress::-moz-progress-bar {
    background: var(--wpq-accent);
    border-radius: 8px;
}

.wpq fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.wpq legend {
    padding: 0;
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
    max-width: 100%;
}

.wpq-options {
    display: grid;
    gap: 10px;
}

.wpq-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #d8dfe5;
    border-radius: 12px;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s;
    overflow-wrap: anywhere;
}

.wpq-option:hover {
    background: #f7f6ff;
}

.wpq-option:has(input:checked) {
    background: #efedff;
}

.wpq input[type='radio'],
.wpq input[type='checkbox'] {
    accent-color: var(--wpq-accent);
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    margin: 0;
}

.wpq-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.wpq button {
    font: inherit;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 16px 4px 16px 16px;
    border: 0;
    cursor: pointer;
    font-weight: 500;
}

.wpq .wpq-primary {
    color: #fff;
    background: #ff005c;
}

.wpq .wpq-primary:hover {
    background: #d9004e;
}

.wpq .wpq-back {
    background: #f0f2f4;
    color: var(--wpq-ink);
    margin-right: auto;
}

.wpq button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.wpq :focus-visible {
    outline: 3px solid #1400ff;
    outline-offset: 4px;
}

.wpq-contact > label {
    display: block;
    margin: 16px 0;
    font-size: 14px;
    font-weight: 550;
}

.wpq-contact input:not([type='checkbox']) {
    display: block;
    width: 100%;
    font: inherit;
    padding: 12px;
    border: 1px solid #aeb8c2;
    border-radius: 9px;
    margin-top: 7px;
    min-height: 48px;
    background: #fff;
    color: var(--wpq-ink);
}

.wpq .wpq-consent {
    display: flex;
    gap: 10px;
    align-items: start;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.wpq a {
    color: var(--wpq-accent);
    text-decoration: underline;
}

.wpq-muted {
    color: #6e697e;
    font-size: 12px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.wpq-error {
    font-size: 14px;
    color: #a21c24;
    margin: 14px 0 0;
}

.wpq-error:empty {
    display: none;
}

.wpq-success {
    text-align: center;
    padding: 36px 0;
}

.wpq-success h3 {
    font-size: 28px;
}

.wpq-check {
    display: inline-grid;
    place-items: center;
    background: var(--wpq-accent);
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 32px;
}

.wpq-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 760px) {
    .wpq {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
        margin: 24px auto;
    }
    .wpq-intro {
        padding: 0;
    }
    .wpq h2 {
        margin: 12px 0;
    }
    .wpq .wpq-demo {
        margin-top: 12px;
        max-width: none;
    }
    .wpq-card {
        padding: 24px 20px;
        border-radius: 20px 4px 20px 20px;
    }
    .wpq legend {
        font-size: 22px;
    }
    .wpq-option {
        padding: 14px;
    }
    .wpq-actions {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wpq * {
        transition: none !important;
    }
}
