.survey-page {
    flex: 1;
    width: 100%;
    background: #fff;
    color: #111;
}

.survey-shell {
    width: min(100% - 2rem, 48rem);
    margin: 0 auto;
    padding: 1rem 0 4rem;
}

.survey-progress {
    position: sticky;
    top: 5rem;
    z-index: 20;
    width: 100%;
    height: 0.3rem;
    margin: 0 0 2rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e5e5;
}

.survey-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #111;
    transition: width 180ms ease-out;
}

.survey-progress-bar.progress-20 {
    width: 20%;
}

.survey-progress-bar.progress-40 {
    width: 40%;
}

.survey-progress-bar.progress-60 {
    width: 60%;
}

.survey-progress-bar.progress-80 {
    width: 80%;
}

.survey-progress-bar.progress-100,
.survey-progress-bar.is-complete {
    width: 100%;
}

.survey-intro {
    margin-bottom: 2rem;
}

.survey-intro h1 {
    margin: 0 0 1rem;
    color: #111;
    font-size: clamp(2rem, 7vw, 2.7rem);
    font-weight: 700;
    line-height: 1.12;
}

.survey-intro p {
    margin: 0 0 1rem;
    color: #222;
    font-size: 1rem;
    line-height: 1.7;
}

.survey-intro .survey-required-note {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.survey-form {
    display: grid;
    gap: 1.5rem;
}

.survey-section {
    padding: 1.5rem 0;
    border-top: 1px solid #d4d4d4;
    scroll-margin-top: 7rem;
}

.survey-section h2 {
    margin: 0 0 1.5rem;
    color: #111;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
}

.survey-question {
    min-width: 0;
    margin: 0;
    padding: 0 0 1.75rem;
    border: 0;
}

.survey-question:last-child {
    padding-bottom: 0;
}

.survey-question legend,
.survey-contact legend {
    width: 100%;
    margin: 0 0 0.7rem;
    color: #111;
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.45;
}

.survey-question-hint {
    margin: 0 0 0.7rem;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.survey-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
}

.survey-option {
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #c9c9c9;
    border-radius: 0.65rem;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.survey-option:hover,
.survey-option:focus-within {
    border-color: #111;
}

.survey-option:focus-within {
    outline: 3px solid #111;
    outline-offset: 2px;
}

.survey-option input,
.survey-consent input {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    margin: 0;
    accent-color: #111;
}

.survey-question textarea,
.survey-other-field input,
.survey-contact input {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #8a8a8a;
    border-radius: 0.5rem;
    background: #fff;
    color: #111;
    font: inherit;
}

.survey-question textarea {
    min-height: 8rem;
    resize: vertical;
    line-height: 1.5;
}

.survey-question textarea:focus,
.survey-other-field input:focus,
.survey-contact input:focus {
    border-color: #111;
    outline: 3px solid #111;
    outline-offset: 2px;
}

.survey-other-field {
    margin-top: 0.6rem;
}

.survey-inline-error,
.survey-contact-message,
.survey-feedback {
    margin: 0.75rem 0 0;
    color: #111;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.survey-question.is-invalid .survey-option,
.survey-question.is-invalid textarea {
    border-color: #111;
}

.survey-contact {
    min-width: 0;
    margin: 0;
    padding: 1.5rem 0 0;
    border: 0;
    border-top: 1px solid #d4d4d4;
}

.survey-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.survey-contact-grid label {
    display: grid;
    gap: 0.4rem;
    color: #111;
    font-size: 0.98rem;
    font-weight: 600;
}

.survey-contact-field {
    display: grid;
    align-content: start;
    gap: 0.35rem;
}

.survey-contact-field-hint {
    margin: 0;
    color: #333;
    font-size: 0.88rem;
    line-height: 1.45;
}

.survey-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.2rem 0;
    border-top: 1px solid #d4d4d4;
    color: #111;
    font-size: 0.98rem;
    line-height: 1.55;
}

.survey-consent input {
    margin-top: 0.12rem;
}

.survey-submit {
    width: 100%;
    min-height: 3.5rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid #111;
    border-radius: 0.6rem;
    background: #111;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
}

.survey-submit:hover,
.survey-submit:focus-visible {
    background: #333;
}

.survey-submit:focus-visible {
    outline: 3px solid #111;
    outline-offset: 3px;
}

.survey-success {
    padding: 1.5rem;
    border: 1px solid #111;
    border-radius: 0.75rem;
    background: #fff;
    color: #111;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
}

.survey-success p {
    margin: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    .survey-progress-bar,
    .survey-option {
        transition: none;
    }
}