:root {
    --font-main:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    --text-main: #1f2d27;
    --text-dark: #12231c;
    --text-muted: #66766f;

    --green-main: #16843e;
    --green-dark: #0f6830;
    --green-soft: #eaf7ef;

    --border-main: #d8e4df;
    --border-soft: #e8efec;
}

html,
body,
button,
input,
textarea,
select {
    font-family: var(--font-main);
}

body {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
strong,
b {
    letter-spacing: -0.025em;
}

h1 {
    color: var(--text-dark);
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 750;
    line-height: 1.08;
}

h2 {
    color: var(--text-dark);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

label span {
    color: #24362f;
    font-size: 13px;
    font-weight: 650;
}

input,
textarea,
select {
    color: #23332d;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

input::placeholder,
textarea::placeholder {
    color: #a0ada8;
    font-weight: 400;
}

/* Logos */

.topbar {
    padding-top: 15px;
    padding-bottom: 15px;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 23px;
    flex-wrap: wrap;
}

.brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.ve-logo,
.worklife-logo {
    height: 54px;
}

/* Hero */

.hero h1 {
    margin-top: 13px;
    margin-bottom: 14px;
}

.hero p {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.55;
}

.badge {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
}

/* Progress */

.steps {
    display: flex;
    align-items: center;
    max-width: 520px;
    margin-top: 24px;
}

.steps span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    min-width: 32px;
    height: 32px;

    border: 2px solid #cfddd8;
    border-radius: 50%;

    color: #8a9893;
    background: #f7faf9;

    font-size: 14px;
    font-weight: 700;

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

.steps i {
    display: block;
    width: 100%;
    height: 2px;
    background: #dce6e2;
}

.steps span.active {
    color: #ffffff;
    border-color: var(--green-main);
    background: var(--green-main);
}

.steps span.done {
    color: var(--green-dark);
    border-color: #b4d8c2;
    background: #e6f6ec;
}

/* Wizard */

.wizard-step {
    display: none;
}

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

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;

    padding: 21px 28px;

    border-top: 1px solid var(--border-soft);
    background: #fbfdfc;
}

.wizard-status {
    margin-right: auto;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 500;
}

.wizard-status strong {
    color: var(--green-dark);
}

.wizard-submit {
    display: none;
}

.wizard-submit.visible {
    display: inline-flex;
}

.hidden {
    display: none !important;
}

/* Form */

.form-card {
    overflow: hidden;
    border-radius: 18px;
}

.form-section {
    padding-top: 28px;
    padding-bottom: 28px;
}

.form-section + .form-section {
    border-top: 1px solid var(--border-soft);
}

.section-title {
    margin-bottom: 20px;
}

.section-title b {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    min-width: 38px;
    height: 38px;

    color: var(--green-dark);
    background: var(--green-soft);

    border-radius: 12px;

    font-size: 14px;
    font-weight: 750;
}

.section-title h2 {
    margin: 0 0 3px;
}

.section-title p {
    margin: 0;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 400;
}

/* Fields */

input,
textarea,
select {
    min-height: 44px;

    border-color: var(--border-main);
    border-radius: 11px;

    background: #ffffff;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

textarea {
    min-height: unset;
}

input:hover,
textarea:hover,
select:hover {
    border-color: #bfd2ca;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #68ae83;
    outline: none;

    box-shadow: 0 0 0 4px rgba(22, 132, 62, 0.1);
}

/* Options */

.option-block strong {
    color: var(--text-dark);

    font-size: 14px;
    font-weight: 700;
}

.checks label,
.privacy {
    color: #34453f;

    font-size: 14px;
    font-weight: 450;
}

/* Examples */

.example-box {
    margin: 0 0 20px;
    padding: 16px 18px;

    border: 1px solid #d4e8db;
    border-radius: 13px;

    background: #f5fbf7;
}

.example-box > strong {
    display: block;
    margin-bottom: 12px;

    color: var(--green-dark);

    font-size: 14px;
    font-weight: 700;
}

.example-grid {
    display: grid;
    grid-template-columns: minmax(130px, 220px) 1fr;
    gap: 7px 15px;

    padding: 13px 15px;

    border: 1px solid var(--border-soft);
    border-radius: 10px;

    background: #ffffff;
}

.example-grid span {
    color: var(--text-muted);

    font-size: 13px;
    font-weight: 450;
}

.example-grid b {
    color: #2c4037;

    font-size: 13px;
    font-weight: 650;
}

.example-box small {
    display: block;
    margin-top: 11px;

    color: #76867f;

    font-size: 12px;
    line-height: 1.55;
}

/* Buttons */

button {
    font-size: 14px;
    font-weight: 700;
}

.primary,
.secondary {
    border-radius: 10px;
}

/* Footer */

footer {
    color: var(--text-muted);

    font-size: 13px;
    font-weight: 400;
}

/* Mobile */

@media (max-width: 700px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 34px;
    }

    .brand-logos {
        gap: 14px;
    }

    .ve-logo,
    .worklife-logo {
        height: 42px;
    }

    .form-section {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .wizard-actions {
        flex-wrap: wrap;
        padding: 16px;
    }

    .wizard-status {
        width: 100%;
        margin-right: 0;
        margin-bottom: 4px;
    }

    .wizard-back,
    .wizard-next,
    .wizard-submit {
        flex: 1;
        justify-content: center;
    }

    .example-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .example-grid b {
        margin-bottom: 8px;
    }
}
