* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f7fa;
  color: #17324e;
  font:
    16px/1.6 system-ui,
    sans-serif;
}
header {
  max-width: 1100px;
  margin: auto;
  padding: 30px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #135384;
  font-size: 23px;
  font-weight: 800;
}
header small {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
}
.mark {
  display: grid;
  place-items: center;
  background: #135384;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.header-label {
  font-size: 14px;
  color: #526d82;
}
main {
  max-width: 800px;
  margin: 28px auto 60px;
  padding: 0 20px;
}
.card {
  background: white;
  border: 1px solid #dbe5ed;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 16px 60px #1837500a;
}
.eyebrow {
  color: #13756b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.4px;
}
h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 18px 0;
}
h2 {
  font-size: 25px;
  line-height: 1.3;
}
p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.intro {
  font-size: 18px;
  color: #4e6579;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}
.pill {
  background: #eaf6f3;
  color: #14665d;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.subtle {
  color: #536b7c;
}
.action-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}
button {
  min-height: 48px;
  border: 1px solid #c6d6e1;
  border-radius: 12px;
  padding: 12px 22px;
  background: white;
  color: #174c75;
  font: 600 16px system-ui;
  cursor: pointer;
}
.primary {
  background: #145885;
  color: white;
  border-color: #145885;
}
.primary:hover {
  background: #0f456b;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #11867c;
  outline-offset: 4px;
}
progress {
  width: 100%;
  height: 8px;
  accent-color: #178779;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-weight: 650;
  font-size: 18px;
  padding: 0;
  margin-bottom: 10px;
  width: 100%;
  overflow-wrap: anywhere;
}
.question {
  padding: 24px 0;
  border-bottom: 1px solid #e4ebf0;
}
.help {
  font-size: 14px;
  color: #536b7c;
  margin: 0 0 12px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d7e3eb;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0;
  min-height: 48px;
  cursor: pointer;
}
.choice:has(input:checked) {
  border-color: #158478;
  background: #eff9f6;
}
input[type="radio"],
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #148375;
  flex-shrink: 0;
}
input[type="text"],
textarea,
select {
  width: 100%;
  font: 16px system-ui;
  color: #17324e;
  border: 1px solid #b9cbd9;
  border-radius: 10px;
  padding: 14px;
  background: white;
  min-height: 48px;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
.matrix-row {
  padding: 15px;
  background: #f5f8fa;
  border-radius: 14px;
  margin: 12px 0;
}
.matrix-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.error {
  color: #a12b33;
  font-size: 14px;
  margin-top: 8px;
}
.notice {
  background: #edf5fb;
  padding: 16px;
  border-radius: 12px;
}
.success {
  width: 60px;
  height: 60px;
  background: #e2f5ee;
  color: #14786b;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 32px;
}
footer {
  text-align: center;
  color: #587185;
  font-size: 13px;
  padding: 20px;
}
.required {
  color: #a12b33;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  header {
    padding: 20px;
  }
  .header-label {
    display: none;
  }
  main {
    margin: 8px auto 30px;
    padding: 0 14px;
  }
  .card {
    padding: 25px 20px;
    border-radius: 20px;
  }
  h1 {
    font-size: 29px;
  }
  .intro {
    font-size: 16px;
  }
  .action-row button {
    padding: 12px 16px;
  }
  .meta {
    gap: 8px;
  }
}
