main { max-width: 660px; }
.intro { color: var(--muted); margin: 8px 0 32px; }
form { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.field + .field { margin-top: 22px; }
label { display: block; margin-bottom: 8px; font-weight: 600; line-height: 1.35; }
.optional { color: var(--muted); font-weight: 400; }
input:not([type=file]), textarea { display: block; width: 100%; border: 1px solid #a49abb; border-radius: 10px; background: #fff; padding: 12px 14px; color: var(--ink); font: inherit; line-height: 1.45; }
textarea { resize: vertical; min-height: 145px; }
input[type=file] { display: block; max-width: 100%; font: inherit; font-size: .875rem; color: var(--ink); }
input[type=file]::file-selector-button { border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; margin-right: 10px; background: #f3f0fc; color: var(--ink); font: inherit; cursor: pointer; }
input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: #ae2754; }
.field-error { margin: 5px 0 0; color: #a12149; font-size: .875rem; }
.field-error:empty, #feedback:empty { display: none; }
.hint { margin: 6px 0 0; color: var(--muted); font-size: .875rem; }
#selected-file { margin-top: 8px; font-size: .875rem; overflow-wrap: anywhere; }
#remove-file { border: 0; background: none; padding: 5px 8px; color: var(--link); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.privacy-note { margin: 25px 0 20px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.submit { padding: 12px 22px; border: 1px solid #4324d6; border-radius: 10px; background: #4324d6; color: white; font: 600 1rem/1.4 Rubik,sans-serif; cursor: pointer; }
.submit:hover { background: #351bb0; }
.submit:disabled { cursor: wait; opacity: .65; }
#feedback { margin: 16px 0 0; font-weight: 500; }
#feedback[data-kind=error] { color: #a12149; }
#feedback[data-kind=success] { color: #285c3b; }
.honeypot { position: absolute !important; left: -10000px; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
::selection { background: #ded6ff; color: var(--ink); }
@media (max-width: 480px) { form { padding: 20px; } .intro { margin-bottom: 24px; } }
