@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { color-scheme: light; font-family: 'DM Sans', sans-serif; color: #173e36; background: #f7f9f5; }
* { box-sizing: border-box; }
body { margin: 0; }
.form-logo { display: block; width: 180px; max-width: 100%; height: auto; margin: 0 auto 28px; }
main { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 32px 18px; }
.card { width: 100%; max-width: 620px; padding: 40px; border: 1px solid #e4e9e0; border-radius: 20px; background: white; box-shadow: 0 14px 50px #304c3410; }
.card-heading h2 { font-family: 'Manrope', sans-serif; font-size: 24px; letter-spacing: -.8px; margin: 0 0 8px; }
.card-heading p { font-size: 13px; color: #859087; margin: 0 0 29px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { margin-bottom: 20px; min-width: 0; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
label span { color: #84937c; }
input, textarea { width: 100%; border: 1px solid #e0e6dc; background: #fcfdfb; border-radius: 8px; padding: 13px 14px; font: inherit; font-size: 13px; color: #173e36; }
input::placeholder, textarea::placeholder { color: #98a096; }
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus { outline: 2px solid #80a67a; outline-offset: 2px; }
[aria-invalid="true"] { border-color: #b84b45; }
button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 13px; border: 0; border-radius: 8px; background: #b38343; color: white; padding: 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
button:hover { background: #946b31; }
button:focus-visible, a:focus-visible { outline: 3px solid #80a67a; outline-offset: 4px; }
button span { font-size: 20px; }
.form-note { margin: 15px 0 0; text-align: center; font-size: 10px; color: #879181; }
.notice { padding: 12px 14px; border-radius: 8px; margin-bottom: 20px; font-size: 13px; line-height: 1.5; }
.success { background: #edf5e9; color: #28543a; }
.error { background: #fff0ee; color: #943b36; }
.field-error { display: block; color: #943b36; margin-top: 7px; font-size: 11px; }
@media (max-width: 480px) { main { padding: 20px 14px; } .card { padding: 25px; } .row { grid-template-columns: 1fr; gap: 0; } }
