* {
    box-sizing: border-box;
}
html {
    font-size: 100%;
}
body {
    margin: 0;
    background: #f4f7f5;
    color: #18241e;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}
.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -5rem;
    background: #fff;
    color: #124c36;
    border: 2px solid #124c36;
    padding: 0.75rem 1rem;
    z-index: 10;
}
.skip-link:focus {
    top: 0.75rem;
}
.page-shell {
    min-height: 100vh;
    padding: clamp(1rem, 4vw, 3rem);
    display: grid;
    place-items: center;
}
.form-card {
    width: min(100%, 64rem);
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(24, 36, 30, 0.12);
    overflow: hidden;
}
.form-header {
    padding: clamp(1.5rem, 4vw, 3rem);
    background: #1d4c73; /*780000 red */
    color: #fff;
}
.eyebrow {
    margin: 0 0 0.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.form-header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.15;
}
.form-header p:last-child {
    margin: 0.75rem 0 0;
    max-width: 44rem;
}
form {
    padding: clamp(1.5rem, 4vw, 3rem);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.full-width {
    grid-column: 1/-1;
}
label {
    font-weight: 700;
}
input,
select,
textarea {
    width: 100%;
    font: inherit;
    color: #18241e;
    background: #fff;
    border: 2px solid #68766f;
    border-radius: 0.4rem;
    padding: 0.75rem;
}
textarea {
    resize: vertical;
    min-height: 9rem;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
    border-color: #124c36;
}
.checkbox-field {
    display: grid;
    grid-template-columns: 1.35rem 1fr;
    align-items: start;
}
.checkbox-field input {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.2rem 0 0;
}
.checkbox-field .field-error {
    grid-column: 2;
}
.hint {
    font-size: 0.9rem;
    color: #46534c;
}
.field-error {
    min-height: 1.25em;
    color: #a31919;
    font-weight: 700;
    font-size: 0.9rem;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: #a31919;
}
button {
    margin-top: 1.5rem;
    border: 0;
    border-radius: 0.4rem;
    background: #1d4c73;  /*780000*/
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 0.85rem 1.3rem;
    cursor: pointer;
}
button:hover {
    background: #71757D;
}
.privacy-note {
    color: #46534c;
    font-size: 0.9rem;
}
.notice {
    margin: 1.5rem 1.5rem 0;
    padding: 1rem;
    border-left: 5px solid;
}
.success {
    background: #e7f5ed;
    border-color: #176b42;
}
.error {
    background: #fff0f0;
    border-color: #a31919;
}
.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 44rem) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-card {
        border-radius: 0.6rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }
}
