:root {
  color-scheme: light;
  font: 16px/1.5 Arial, sans-serif;
  color: #31475b;
  --navy: #1f3a5f;
  --muted: #5a6d80;
  --surface: #f7f9fb;
  --divider: #e9eef4;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1px 1px 14px;
}
main > section {
  padding: clamp(18px, 4vw, 40px);
  border: 1px solid var(--divider);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 12px -8px rgb(31 58 95 / 22%);
}
h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
p { margin: 0; }
header { margin-bottom: 22px; }
#success h1 { margin-bottom: 12px; }
#success p + p { margin-top: 12px; }
label { display: block; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #8496aa;
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  color: inherit;
  background: var(--surface);
}
select:invalid { color: var(--muted); }
select { margin-bottom: 18px; }
textarea { display: block; resize: vertical; }
.hint { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
#recycling-fields {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
#recycling-fields legend { color: var(--navy); font-weight: 700; padding: 0; }
#recycling-fields .fields { margin-top: 8px; }
.contact-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
details { margin: 18px 0; border-top: 1px solid var(--divider); }
summary { padding: 12px 0 0; cursor: pointer; color: var(--navy); font-weight: 700; min-height: 44px; }
summary span { font-weight: 400; color: var(--muted); }
details[open] .fields { margin-top: 4px; }
button {
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  min-height: 48px;
  font: inherit;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}
button:hover { background: #285579; }
button:disabled { opacity: .7; cursor: progress; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid #286ea0; outline-offset: 3px; }
.error { margin-top: 10px; color: #a12424; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 680px) {
  .fields { grid-template-columns: 1fr; }
  button { width: 100%; }
}
