* { box-sizing: border-box; }
:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1b302b;
  background: #f0f4ef;
}
body { margin: 0; line-height: 1.5; }
.brand { background: #173b35; color: #fff; border-bottom: 3px solid #c8b16f; }
.brand-inner {
  max-width: 38rem; margin: auto; padding: .8rem 1rem;
  display: flex; align-items: center; gap: .8rem;
}
.brand img { border-radius: .7rem; background: #fff; object-fit: contain; }
.brand span { display: block; }
.product { font-weight: 800; letter-spacing: .08em; font-size: .94rem; }
.church { color: #e1ece5; font-size: .91rem; }
main { max-width: 38rem; margin: auto; padding: clamp(.8rem, 4vw, 1.5rem) 1rem 0; }
.card {
  background: #fff; border: 1px solid #d9e4dc; border-radius: 1.15rem;
  box-shadow: 0 .45rem 1.7rem #193c3010; padding: clamp(1rem, 5vw, 2rem);
}
h1 { margin: 0; color: #173b35; line-height: 1.13; font-size: clamp(1.65rem, 5.7vw, 2.4rem); letter-spacing: -.035em; }
.intro { color: #435950; margin: .65rem 0 1.1rem; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
label { display: block; font-weight: 700; margin-bottom: .3rem; }
input, #operator-form select {
  width: 100%; min-height: 3rem; padding: .6rem .75rem; margin-bottom: .75rem;
  border: 1px solid #8c9d93; border-radius: .58rem; background: #fcfdfc;
  color: #1b302b; font: inherit;
}
input::placeholder { color: #596960; }
:focus-visible { outline: 3px solid #397868; outline-offset: 2px; }
input[aria-invalid="true"] { border-color: #9e2c27; }
button {
  width: 100%; min-height: 3rem; border: 0; border-radius: .58rem; padding: .65rem 1rem;
  font: inherit; font-weight: 750; color: #fff; background: #23624e; cursor: pointer;
}
button:disabled { background: #47685d; cursor: wait; }
#submit { margin-top: .2rem; }
#challenge:not(:empty) { margin-bottom: .7rem; }
.status, .field-error { color: #86221b; }
.field-error:not(:empty) { display: block; font-size: .9rem; margin: -.5rem 0 .65rem; }
.status:empty, .field-error:empty { display: none; }
.status { margin: .7rem 0 0; }
.privacy { margin-top: 1rem; padding: .75rem .85rem; border-radius: .65rem; background: #edf4ed; color: #30483c; font-size: .9rem; }
.privacy p { margin: .2rem 0 0; }
footer { text-align: center; color: #3d584c; font-weight: 650; padding: .6rem 1rem 1rem; }
#confirmation { text-align: center; padding: 1rem 0; }
#confirmation button { margin-top: .75rem; background: #555b60; }
.confirmation-mark {
  display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 50%;
  width: 3rem; height: 3rem; background: #e0efe5; color: #23624e; font-size: 1.5rem; font-weight: 800;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
