:root {
    color-scheme: light;
    --ink: #17223b;
    --muted: #5f6b7c;
    --navy: #122448;
    --blue: #2255a4;
    --blue-dark: #173f7e;
    --orange: #f89938;
    --orange-dark: #e3831f;
    --line: #dce2eb;
    --soft: #f4f7fb;
    --white: #ffffff;
    --danger: #a12b2b;
    --danger-soft: #fff4f3;
    --warning: #75510d;
    --warning-soft: #fff8e7;
    --success: #16805c;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(34, 85, 164, 0.08), transparent 32rem),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    -webkit-font-smoothing: antialiased;
}

.page-shell {
    width: min(100% - 32px, 880px);
    margin: 0 auto;
    padding: 40px 0 24px;
}

.brand {
    position: relative;
    display: flex;
    width: 100%;
    height: 92px;
    justify-content: center;
    margin: 0 0 20px;
    overflow: hidden;
}

.brand-logo {
    position: absolute;
    top: -109px;
    left: 50%;
    width: 285px;
    height: auto;
    transform: translateX(-50%);
}

.appendix-download {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    align-items: center;
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.appendix-download strong {
    color: var(--navy);
}

.appendix-download a {
    color: #a95508;
    font-weight: 720;
    text-underline-offset: 3px;
}

.appendix-download a:hover {
    color: #7f3f05;
}

.appendix-download a:focus-visible {
    outline: 3px solid rgba(248, 153, 56, 0.3);
    outline-offset: 2px;
}

.form-card {
    padding: clamp(28px, 5.5vw, 48px);
    border: 1px solid rgba(220, 226, 235, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 60px rgba(28, 43, 70, 0.1), 0 2px 6px rgba(28, 43, 70, 0.04);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(28px, 5vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.intro {
    max-width: 620px;
    margin: 16px 0 32px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.submission-options {
    margin: 16px 0 30px;
    padding: 15px 18px;
    border-left: 4px solid var(--orange);
    border-radius: 0 10px 10px 0;
    color: var(--muted);
    background: #fff9f2;
    font-size: 14px;
    line-height: 1.55;
}

.submission-options p {
    margin: 0 0 7px;
    color: var(--navy);
    font-weight: 720;
}

.submission-options ol {
    margin: 0;
    padding-left: 21px;
}

.submission-options li + li {
    margin-top: 7px;
}

.submission-options strong {
    color: var(--navy);
}

.privacy-label {
    width: fit-content;
    margin: 0 0 22px auto;
    padding: 9px 13px;
    border: 1px solid var(--navy);
    border-radius: 7px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-summary {
    margin-bottom: 30px;
}

.form-section {
    margin: 0 0 30px;
    padding: 0 24px 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.section-heading {
    display: flex;
    gap: 11px;
    align-items: center;
    margin: 0 -24px 24px;
    padding: 13px 18px;
    color: var(--navy);
    background: var(--orange);
}

.section-heading > span {
    display: grid;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.section-heading h2 {
    margin: 0;
    font-size: 17px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.form-section h3 {
    margin: 26px 0 18px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.4;
}

.form-section .section-heading + h3 {
    margin-top: 0;
}

.section-note {
    margin: -8px 0 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

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

.field {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 680;
}

label > span:not(.label-note),
legend span,
.required-note span {
    color: var(--danger);
}

.label-note {
    color: var(--muted);
    font-weight: 500;
}

input:not([type="radio"]):not([type="file"]),
textarea {
    width: 100%;
    border: 1px solid #c9d2df;
    border-radius: 10px;
    outline: none;
    color: var(--ink);
    background: var(--white);
    font: inherit;
    font-size: 16px;
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

input:not([type="radio"]):not([type="file"]) {
    height: 50px;
    padding: 0 14px;
}

textarea {
    min-height: 104px;
    padding: 13px 14px;
    line-height: 1.55;
    resize: vertical;
}

input:not([type="radio"]):not([type="file"]):hover,
textarea:hover {
    border-color: #aab7c8;
}

input:not([type="radio"]):not([type="file"]):focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(34, 85, 164, 0.12);
}

input:not([type="radio"]):not([type="file"])[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--danger);
    background: #fffdfd;
}

#message {
    min-height: 220px;
}

.field-hint {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.upload-field input[type="file"] {
    display: block;
    width: 100%;
    padding: 11px;
    border: 1px dashed #aab7c8;
    border-radius: 10px;
    color: var(--muted);
    background: var(--soft);
    font: inherit;
    font-size: 13px;
}

.upload-field input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 12px;
    border: 1px solid #c9d2df;
    border-radius: 7px;
    color: var(--navy);
    background: var(--white);
    font: inherit;
    font-weight: 680;
    cursor: pointer;
}

.upload-field input[type="file"]:focus-visible {
    outline: 3px solid rgba(34, 85, 164, 0.2);
    outline-offset: 2px;
}

.upload-field input[type="file"][aria-invalid="true"] {
    border-color: var(--danger);
    background: var(--danger-soft);
}

.choice-field {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.choice-field legend {
    margin: 0 0 12px;
    padding: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 680;
    line-height: 1.5;
}

.choice-field .radio-options {
    display: flex !important;
    gap: 24px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.choice-field .radio-options label {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    gap: 7px !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
}

.choice-field .radio-options input[type="radio"] {
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    appearance: auto !important;
    -webkit-appearance: radio !important;
    accent-color: var(--blue);
}

.field-error {
    margin: 7px 0 0;
    color: var(--danger);
    font-size: 13px;
}

.notice {
    margin: 24px 0;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
}

.notice-error {
    border-color: #efc5c2;
    color: var(--danger);
    background: var(--danger-soft);
}

.notice-warning {
    border-color: #ead598;
    color: var(--warning);
    background: var(--warning-soft);
}

.submission-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 8px 0 22px;
    padding: 15px 16px;
    border: 1px solid #d5e1f2;
    border-radius: 11px;
    color: #3d5474;
    background: #f4f8fd;
}

.submission-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.notice-mark {
    flex: 0 0 auto;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-size: 13px;
    font-weight: 750;
}

button,
.secondary-action {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    font-weight: 720;
    text-decoration: none;
    cursor: pointer;
}

button {
    width: 100%;
    border: 1px solid var(--orange);
    color: var(--navy);
    background: var(--orange);
    box-shadow: 0 8px 20px rgba(248, 153, 56, 0.25);
    transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

button:hover {
    border-color: var(--orange-dark);
    background: var(--orange-dark);
}

button:active {
    transform: translateY(1px);
}

button:focus-visible,
.secondary-action:focus-visible {
    outline: 3px solid rgba(34, 85, 164, 0.25);
    outline-offset: 3px;
}

.required-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.success-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--success);
    font-size: 27px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(22, 128, 92, 0.2);
}

.reference-box {
    margin: 30px 0 22px;
    padding: 18px 20px;
    border: 1px solid #d5e1f2;
    border-radius: 12px;
    background: var(--soft);
}

.reference-box span,
.reference-box strong {
    display: block;
}

.reference-box span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reference-box strong {
    overflow-wrap: anywhere;
    color: var(--navy);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(17px, 3.6vw, 21px);
    letter-spacing: 0.02em;
}

.success-copy {
    margin: 16px 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.success-copy strong {
    color: var(--ink);
}

.secondary-action {
    margin-top: 18px;
    padding: 0 20px;
    border: 1px solid #c9d2df;
    color: var(--navy);
    background: var(--white);
}

.secondary-action:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.page-footer {
    padding: 22px 12px 0;
    color: #748093;
    font-size: 12px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.whistleblowing-contact {
    width: min(100%, 590px);
    margin: 32px auto 0;
    padding: 24px 20px 0;
    border-top: 1px solid #ccd4df;
    color: #556276;
    text-align: left;
}

.whistleblowing-contact h2 {
    margin: 0 0 13px;
    color: var(--navy);
    font-size: 14px;
}

.contact-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
    margin-top: 9px;
    line-height: 1.55;
}

.contact-row strong {
    color: var(--ink);
}

.contact-row a {
    width: fit-content;
    color: var(--blue);
    overflow-wrap: anywhere;
    text-underline-offset: 2px;
}

.contact-row address {
    font-style: normal;
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 20px, 760px);
        padding-top: 20px;
    }

    .brand {
        height: 74px;
    }

    .brand-logo {
        top: -88px;
        width: 230px;
    }

    .form-card {
        border-radius: 15px;
        box-shadow: 0 12px 36px rgba(28, 43, 70, 0.09);
    }

    .intro {
        margin-bottom: 26px;
    }

    .privacy-label {
        margin-left: 0;
    }

    .form-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .section-heading {
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .field-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .whistleblowing-contact {
        padding-right: 4px;
        padding-left: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
