body {
    background: #ffffff;
}

.site-header {
    position: static;
    background: var(--brand);
    backdrop-filter: none;
}

.form-banner {
    width: 100%;
    overflow: hidden;
    background: #f4f7fb;
}

.form-banner video {
    display: block;
    width: 100%;
    height: auto;
}

.apply-main {
    width: min(600px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 60px;
    overflow: visible;
}

.apply-heading {
    margin-bottom: 8px;
    text-align: center;
}

.apply-heading h1 {
    margin: 0;
    font-size: clamp(1.8rem, 5vw, 2.65rem);
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.apply-heading .selected-product {
    margin: 10px 0 0;
    color: var(--brand);
    font-size: 1rem;
    font-weight: 700;
}

.back-link {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 0.78rem;
    text-decoration: none;
}

.back-link:hover {
    color: var(--brand);
    text-decoration: underline;
}

.error-summary {
    margin-bottom: 24px;
    padding: 15px 17px;
    border: 1px solid #e7aaa4;
    border-radius: 10px;
    background: #fff5f4;
    color: #8a1c13;
    font-size: 0.85rem;
}

.error-summary ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

.lead-form {
    background: #ffffff;
}

.form-section {
    padding: 0 0 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid #e6e6e6;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.product-section {
    background: transparent;
}

.section-number {
    display: none;
}

.form-section-heading {
    margin-bottom: 18px;
}

.form-section-heading h2 {
    margin: 0;
    color: #2c2425;
    font-size: 1.05rem;
}

.form-section-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.field {
    min-width: 0;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #34292b;
    font-size: 0.83rem;
    font-weight: 700;
}

.field label span,
.consent-check strong {
    color: #b42318;
}

.field input,
.field select {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #d5dde3;
    border-radius: 10px;
    outline: none;
    background: #f7fafc;
    color: #1a202c;
    font: inherit;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:focus,
.field select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(229, 28, 35, 0.1);
}

.field input:user-invalid,
.field select:user-invalid {
    border-color: #b42318;
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.7rem;
}

.input-suffix {
    position: relative;
}

.input-suffix input {
    padding-right: 58px;
}

.input-suffix > span {
    position: absolute;
    top: 50%;
    right: 14px;
    color: var(--muted);
    font-size: 0.75rem;
    transform: translateY(-50%);
}

.consent-section {
    padding: 0 0 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e6e6e6;
}

.consent-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.8rem;
}

.consent-check input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--brand);
}

.consent-section details {
    margin: 12px 0 0 28px;
    color: var(--muted);
    font-size: 0.72rem;
}

.consent-section summary {
    color: var(--brand);
    cursor: pointer;
    font-weight: 700;
}

.consent-section details p {
    margin: 9px 0 0;
}

.submit-area p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.74rem;
}

.submit-area p span {
    color: var(--success);
    font-weight: 700;
}

#submit-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border: 2px solid var(--action);
    border-radius: 10px;
    background: var(--action);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: background 150ms ease, color 150ms ease;
}

#submit-button:hover {
    border-color: var(--action-dark);
    background: var(--action-dark);
    color: #ffffff;
}

#submit-button:focus-visible {
    outline: 3px solid rgba(43, 175, 43, 0.3);
    outline-offset: 3px;
}

#submit-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.site-footer {
    padding-top: 22px;
    padding-bottom: 22px;
}

@media (max-width: 560px) {
    .apply-main {
        width: min(100% - 28px, 600px);
        padding: 28px 0 48px;
    }

    .apply-heading h1 {
        font-size: 1.75rem;
    }
}
