.ht-intake {
    --ht-ink: #172033;
    --ht-heading: #0b1f3a;
    --ht-gold: #c89b3c;
    --ht-border: #d9dee8;
    --ht-soft: #f5f7fa;
    --ht-danger: #b42318;
    max-width: 1080px;
    margin: 0 auto;
    color: var(--ht-ink);
}

.ht-intake *,
.ht-intake *::before,
.ht-intake *::after { box-sizing: border-box; }

.ht-intake__heading { margin-bottom: 24px; }
.ht-intake__heading h2 { margin: 4px 0 10px; color: var(--ht-heading); }
.ht-intake__heading p { max-width: 760px; margin: 0; }
.ht-intake__eyebrow { color: var(--ht-gold); text-transform: uppercase; letter-spacing: .08em; }

.ht-intake__form,
.ht-intake__success {
    background: #fff;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    padding: clamp(18px, 3vw, 34px);
    box-shadow: 0 14px 40px rgba(23, 32, 51, .08);
}

.ht-intake__section {
    border: 0;
    padding: 0;
    margin: 0 0 34px;
}

.ht-intake__section > legend {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    color: var(--ht-heading);
    font-size: clamp(20px, 2.5vw, 28px);
}

.ht-intake__section > legend span {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--ht-heading);
    color: #fff;
    font-size: 15px;
}

.ht-intake__section-note { margin: 0 0 18px; color: #596579; }

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

.ht-intake__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
}

.ht-intake__field > span,
.ht-intake__choices > legend {
    color: var(--ht-heading);
    font-size: 17px;
    line-height: 1.35;
}

.ht-intake__field b { color: var(--ht-danger); }
.ht-intake__field--wide { grid-column: 1 / -1; }

.ht-intake input:not([type="checkbox"]):not([type="file"]),
.ht-intake select,
.ht-intake textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid #aeb7c5;
    border-radius: 10px;
    background: #fff;
    color: var(--ht-ink);
    padding: 12px 14px;
    font-size: 17px;
    line-height: 1.4;
}

.ht-intake textarea { min-height: 124px; resize: vertical; }
.ht-intake input::placeholder,
.ht-intake textarea::placeholder { color: #657187; opacity: 1; }

.ht-intake input:focus,
.ht-intake select:focus,
.ht-intake textarea:focus {
    outline: 3px solid rgba(200, 155, 60, .2);
    border-color: var(--ht-gold);
}

.ht-intake .is-invalid { border-color: var(--ht-danger) !important; }
.ht-intake__error { min-height: 18px; color: var(--ht-danger); }

.ht-intake__choices { border: 0; padding: 0; }
.ht-intake__choices > div { display: flex; flex-wrap: wrap; gap: 10px; }
.ht-intake__choices label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid var(--ht-border);
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--ht-soft);
}
.ht-intake__choices input { width: 18px; height: 18px; }
.ht-intake__choices label span { font-size: 16px; }

.ht-intake__role-empty {
    border: 1px dashed #b6bfcc;
    border-radius: 12px;
    padding: 18px;
    color: #596579;
    background: var(--ht-soft);
}

.ht-intake__role-group[hidden] { display: none !important; }
.ht-intake__role-group { border-top: 1px solid var(--ht-border); padding-top: 20px; }

.ht-intake__footer { border-top: 1px solid var(--ht-border); padding-top: 22px; }
.ht-intake__consent { margin: 0 0 16px; color: #596579; }

.ht-intake__submit,
.ht-intake__secondary {
    min-height: 54px;
    border: 1px solid var(--ht-gold);
    border-radius: 10px;
    padding: 12px 22px;
    background: var(--ht-gold);
    color: #101827;
    cursor: pointer;
    font-size: 17px;
}
.ht-intake__secondary { background: transparent; }
.ht-intake__submit:disabled { opacity: .65; cursor: wait; }
.ht-intake__status { margin-top: 12px; min-height: 24px; }
.ht-intake__status.is-error { color: var(--ht-danger); }

.ht-intake__success h3 { margin-top: 0; color: var(--ht-heading); }
.ht-intake__success code { display: inline-block; padding: 4px 8px; background: var(--ht-soft); }

.ht-intake__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

@media (max-width: 720px) {
    .ht-intake__grid { grid-template-columns: 1fr; }
    .ht-intake__field--wide { grid-column: auto; }
    .ht-intake input:not([type="checkbox"]):not([type="file"]),
    .ht-intake select,
    .ht-intake textarea { min-height: 56px; }
    .ht-intake__choices > div { flex-direction: column; }
    .ht-intake__choices label { border-radius: 10px; }
    .ht-intake__submit,
    .ht-intake__secondary { width: 100%; }
}
