.tw-mhc-form-section {
    position: relative;
    width: 100%;
    padding: 60px 40px;
    background: #fff;
    color: #171717;
}

.tw-mhc-form-section *,
.tw-mhc-form-section *::before,
.tw-mhc-form-section *::after {
    box-sizing: border-box;
}

.tw-mhc-form-section__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   Section Header
   --------------------------------------------------------- */

.tw-mhc-form-section__header {
    max-width: 700px;
    margin: 0 auto 52px;
    text-align: center;
}

.tw-mhc-form-section__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.tw-mhc-form-section__title {
    margin: 0 0 18px;
    color: #171717;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.tw-mhc-form-section__description {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    font-size: 15px;
    line-height: 1.85;
}

/* ---------------------------------------------------------
   Form Container
   --------------------------------------------------------- */

.tw-mhc-audit-form {
    width: 100%;
    margin: 0;
    padding: 42px;
    border: 1px solid #e5e5e0;
    background: #fff;
}

/* ---------------------------------------------------------
   Form Fields
   --------------------------------------------------------- */

.tw-mhc-audit-form__group {
    min-width: 0;
    margin: 0 0 30px;
}

.tw-mhc-audit-form__group > label {
    display: block;
    margin: 0 0 11px;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.tw-mhc-audit-form__group > label span {
    color: #b42318;
}

.tw-mhc-audit-form__group input,
.tw-mhc-audit-form__group select {
    display: block;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #deded9;
    border-radius: 0;
    outline: none;
    background-color: #fff;
    color: #171717;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tw-mhc-audit-form__group input::placeholder {
    color: #999;
    opacity: 1;
}

.tw-mhc-audit-form__group input:focus,
.tw-mhc-audit-form__group select:focus {
    border-color: #171717;
    outline: none;
    box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.06);
}

.tw-mhc-audit-form__group select {
    cursor: pointer;
}

.tw-mhc-audit-form__group small {
    display: block;
    margin-top: 9px;
    color: #777;
    font-size: 12px;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   Marketing Channels
   --------------------------------------------------------- */

.tw-mhc-audit-form__channels {
    min-width: 0;
    margin: 0 0 34px;
    padding: 0;
    border: 0;
}

.tw-mhc-audit-form__channels legend {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.tw-mhc-audit-form__hint {
    margin: 0 0 20px;
    color: #777;
    font-size: 12px;
    line-height: 1.7;
}

.tw-mhc-audit-form__channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* Individual Checkbox Card */

.tw-mhc-audit-form__checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 62px;
    margin: 0;
    padding: 15px 16px;
    border: 1px solid #e5e5e0;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tw-mhc-audit-form__checkbox:hover {
    border-color: #aaa;
    background: #fafaf8;
}

.tw-mhc-audit-form__checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.tw-mhc-audit-form__checkbox-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    border: 1px solid #c9c9c2;
    background: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tw-mhc-audit-form__checkbox-box::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
}

.tw-mhc-audit-form__checkbox-text {
    min-width: 0;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}

/* Selected State */

.tw-mhc-audit-form__checkbox:has(input:checked) {
    border-color: #171717;
    background: #f7f7f4;
}

.tw-mhc-audit-form__checkbox input:checked
+ .tw-mhc-audit-form__checkbox-box {
    border-color: #171717;
    background: #171717;
}

.tw-mhc-audit-form__checkbox input:checked
+ .tw-mhc-audit-form__checkbox-box::after {
    opacity: 1;
}

.tw-mhc-audit-form__checkbox input:checked
~ .tw-mhc-audit-form__checkbox-text {
    color: #171717;
}

.tw-mhc-audit-form__checkbox input:focus-visible
+ .tw-mhc-audit-form__checkbox-box {
    outline: 2px solid #171717;
    outline-offset: 4px;
}

/* ---------------------------------------------------------
   Form Footer
   --------------------------------------------------------- */

.tw-mhc-audit-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 12px;
    padding-top: 28px;
    border-top: 1px solid #e5e5e0;
}

.tw-mhc-audit-form__footer > p {
    max-width: 470px;
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.8;
}

.tw-mhc-audit-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex: 0 0 auto;
    min-height: 54px;
    margin: 0;
    padding: 0 22px;
    border: 1px solid #171717;
    border-radius: 0;
    background: #171717;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tw-mhc-audit-form__submit:hover {
    border-color: #444;
    background: #444;
    color: #fff;
}

.tw-mhc-audit-form__submit:focus-visible {
    outline: 2px solid #171717;
    outline-offset: 4px;
}

.tw-mhc-audit-form__submit span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.tw-mhc-audit-form__submit:hover span {
    transform: translateX(3px);
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .tw-mhc-form-section {
        padding: 80px 24px;
    }

    .tw-mhc-audit-form {
        padding: 32px;
    }

    .tw-mhc-audit-form__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .tw-mhc-form-section {
        padding: 60px 20px;
    }

    .tw-mhc-form-section__header {
        margin-bottom: 34px;
        text-align: left;
    }

    .tw-mhc-form-section__eyebrow {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .tw-mhc-form-section__title {
        margin-bottom: 14px;
        font-size: clamp(29px, 7vw, 36px);
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .tw-mhc-form-section__description {
        font-size: 14px;
        line-height: 1.8;
    }

    .tw-mhc-audit-form {
        padding: 24px 18px;
    }

    .tw-mhc-audit-form__group {
        margin-bottom: 24px;
    }

    .tw-mhc-audit-form__channel-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .tw-mhc-audit-form__checkbox {
        min-height: 56px;
        padding: 13px;
    }

    .tw-mhc-audit-form__footer {
        gap: 20px;
        padding-top: 22px;
    }

    .tw-mhc-audit-form__submit {
        width: 100%;
        min-height: 52px;
    }
}

/* ---------------------------------------------------------
   Small Mobile
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .tw-mhc-form-section {
        padding-right: 15px;
        padding-left: 15px;
    }

    .tw-mhc-audit-form {
        padding: 20px 14px;
    }

    .tw-mhc-audit-form__group input,
    .tw-mhc-audit-form__group select {
        padding-right: 11px;
        padding-left: 11px;
        font-size: 13px;
    }

    .tw-mhc-audit-form__checkbox-text {
        font-size: 12px;
    }
}

/* ---------------------------------------------------------
   Reduced Motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .tw-mhc-form-section *,
    .tw-mhc-form-section *::before,
    .tw-mhc-form-section *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}