:root {
    --eic-bg: #f5f2f0;
    --eic-card: #f5f2f0;
    --eic-card-2: #f0ece8;
    --eic-text: #151a20;
    --eic-muted: #626c76;
    --eic-dark: #1a2129;
    --eic-border: #ece7e2;
    --eic-soft: #ffffff;
    --eic-radius: 28px;
}

.eic-wrap {
    width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-sizing: border-box;
}

.eic-card {
    max-width: 980px;
    margin: 0 auto;
    background: var(--eic-card);
    border-radius: var(--eic-radius);
    overflow: hidden;
    box-shadow: none;
}

.eic-step {
    display: none;
    padding: 48px;
    box-sizing: border-box;
    background: var(--eic-card);
}

.eic-step.eic-step-active {
    display: block;
}

.eic-head {
    margin-bottom: 30px;
}

.eic-kicker {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--eic-card-2);
    color: var(--eic-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.eic-head h2 {
    margin: 0;
    color: var(--eic-text);
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.02;
    font-weight: 800;
}

.eic-block + .eic-block {
    margin-top: 28px;
}

.eic-label-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 14px;
}

.eic-label-row label,
.eic-result span,
.eic-summary-item span,
.eic-field label,
.eic-note {
    color: var(--eic-muted);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

.eic-big-value,
.eic-result strong,
.eic-summary-item strong {
    color: var(--eic-text);
}

.eic-big-value {
    font-size: clamp(26px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1;
}

.eic-block input[type="range"] {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 999px;
    background: #d8d2c7;
    outline: none;
}

.eic-block input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--eic-dark);
    border: 0;
    box-shadow: none;
    cursor: pointer;
}

.eic-block input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--eic-dark);
    border: 0;
    box-shadow: none;
    cursor: pointer;
}

.eic-legend {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
    color: var(--eic-muted);
    font-size: 14px;
    font-weight: 600;
}

.eic-results,
.eic-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.eic-result,
.eic-summary-item {
    background: #ffffff;
    border: 0;
    border-radius: 22px;
    padding: 22px;
}

.eic-result strong,
.eic-summary-item strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.05;
    font-weight: 800;
}

.eic-summary-item strong {
    font-size: clamp(22px, 2.4vw, 32px);
}

.eic-note {
    margin-top: 22px;
}

.eic-form {
    margin-top: 22px;
}

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

.eic-field input {
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    background: #ffffff;
    border: 0;
    outline: 0;
    border-radius: 18px;
    color: var(--eic-text);
    font-size: 16px;
    box-sizing: border-box;
    box-shadow: none;
}

.eic-field input:focus {
    outline: none;
    border: 0;
    box-shadow: 0 0 0 2px rgba(21, 26, 32, 0.08);
}

.eic-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.eic-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--eic-dark);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    padding: 18px 28px;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: none;
}

.eic-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.eic-btn-secondary {
    background: #ffffff;
    color: var(--eic-text);
}

.eic-btn-secondary:hover {
    background: #ffffff;
    color: var(--eic-text);
}

.eic-status {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--eic-muted);
}

.eic-status.is-success {
    color: var(--eic-text);
}

.eic-status.is-error {
    color: #8b2f2f;
}

.eic-thankyou-wrap {
    padding: 0;
}

.eic-thankyou-card {
    padding: 48px;
}

.eic-thankyou-text p {
    margin: 0 0 12px;
    color: var(--eic-text);
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .eic-step,
    .eic-thankyou-card {
        padding: 24px 20px;
    }

    .eic-label-row {
        display: block;
    }

    .eic-big-value {
        margin-top: 8px;
    }

    .eic-results,
    .eic-summary,
    .eic-form-grid {
        grid-template-columns: 1fr;
    }

    .eic-btn {
        width: 100%;
    }
}
