.prescreen-page {
  background:
    radial-gradient(circle at 10% 5%, rgba(169,120,66,.08), transparent 26rem),
    radial-gradient(circle at 92% 32%, rgba(126,130,99,.10), transparent 28rem),
    var(--ivory);
}

.prescreen-header .nav-wrap { min-height: 74px; }
.preview-back {
  font-size: 13px;
  font-weight: 700;
  color: var(--bronze-dark);
  text-decoration: none;
  padding: 10px 0;
}
.preview-back:hover { text-decoration: underline; }

.prescreen-hero { padding: 34px 0 70px; }
.prescreen-shell { width: min(900px, 100%); }
.preview-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 12px 16px;
  border: 1px solid rgba(169,120,66,.24);
  border-radius: 14px;
  background: rgba(255,255,255,.68);
  color: #65513d;
  font-size: 13px;
}
.preview-banner strong {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(169,120,66,.13);
  color: var(--bronze-dark);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.prescreen-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}
.prescreen-topline h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 62px);
}
.progress-copy {
  min-width: 150px;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
}
.progress-copy span, .progress-copy strong { display: block; }
.progress-copy strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
}
.progress-track {
  height: 4px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(32,40,42,.08);
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bronze), #c09a69);
  transition: width .3s ease;
}

.screen { display: none; }
.screen.is-active { display: block; animation: screenIn .24s ease; }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(32,40,42,.09);
  border-radius: 28px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 22px 65px rgba(47,39,29,.08);
}
.question-card h2 {
  max-width: 760px;
  margin-bottom: 13px;
  font-size: clamp(30px, 5vw, 45px);
}
.question-card h3 { font-size: 21px; }
.step-kicker, .guidance-label {
  margin: 0 0 11px;
  color: var(--bronze-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.lede, .question-help {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}
.lede { font-size: 17px; }

fieldset {
  min-width: 0;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}
legend, .field-label {
  display: block;
  margin: 0 0 12px;
  color: #3b4241;
  font-size: 14px;
  font-weight: 800;
}
.option-stack, .option-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
fieldset > .option-stack, fieldset > .option-grid { margin-top: 0; }
.option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-stack.compact { margin-top: 0; }

.choice, .check-choice, .ack {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid rgba(32,40,42,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.72);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.choice:hover, .check-choice:hover, .ack:hover {
  border-color: rgba(169,120,66,.43);
  background: #fff;
}
.choice:has(input:checked), .check-choice:has(input:checked), .ack:has(input:checked) {
  border-color: rgba(169,120,66,.68);
  background: #fffaf3;
  box-shadow: inset 0 0 0 1px rgba(169,120,66,.08);
}
.choice input, .check-choice input, .ack input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: var(--bronze-dark);
}
.choice span { display: block; }
.choice strong { display: block; }
.choice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.ack {
  margin-top: 14px;
  background: #fbf8f2;
}
.ack span { font-size: 14px; }

.choice.has-error, .check-choice.has-error, .ack.has-error {
  border-color: #b65749;
  background: #fff7f5;
}

.guidance, .conditional-block, .delivery-callout, .policy-note, .preview-final-note {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #f6efe5;
  border: 1px solid rgba(169,120,66,.14);
}
.guidance[hidden], .conditional-block[hidden] { display: none; }
.guidance p:last-child, .conditional-block > *:last-child,
.delivery-callout span:last-child, .preview-final-note p:last-child { margin-bottom: 0; }

.conditional-block {
  background: rgba(246,239,229,.62);
}
.conditional-block fieldset:first-child { margin-top: 0; }

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.check-choice {
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 13px;
}
.care-plan .check-choice { border-radius: 14px; }

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 28px;
}
.policy-grid article {
  padding: 20px;
  border: 1px solid rgba(32,40,42,.09);
  border-radius: 18px;
  background: #fffdf9;
}
.policy-grid article > span {
  display: block;
  margin-bottom: 8px;
  color: var(--bronze-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.policy-grid h3 { margin-bottom: 7px; }
.policy-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.package-list {
  display: grid;
  gap: 0;
  margin-top: 27px;
  border-top: 1px solid var(--line);
}
.package-list > div {
  display: grid;
  grid-template-columns: minmax(150px, .6fr) 1.4fr;
  gap: 20px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.package-list span { color: var(--muted); }

.two-col-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 25px;
}
.two-col-info > div {
  padding: 20px;
  border: 1px solid rgba(32,40,42,.09);
  border-radius: 18px;
  background: #fffdf9;
}
.two-col-info p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.delivery-callout {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
}
.delivery-callout strong { color: var(--bronze-dark); }
.delivery-callout span {
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
}

.text-input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(32,40,42,.16);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.text-input:focus {
  outline: 2px solid rgba(169,120,66,.24);
  border-color: var(--bronze);
}
.microcopy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.screen-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}
.screen-actions .button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.text-button {
  border: 0;
  background: transparent;
  color: var(--bronze-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.text-button:hover { text-decoration: underline; }

.form-error {
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid rgba(182,87,73,.28);
  border-radius: 13px;
  background: #fff4f1;
  color: #7e342a;
  font-size: 13px;
}
.form-error[hidden] { display: none; }

.ack-stack {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.ack-stack .ack { margin-top: 0; }

.result-card h2 { margin-bottom: 16px; }
.result-card .result-status {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3ecdf;
  color: var(--bronze-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.result-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.result-list li {
  padding: 13px 15px;
  border-radius: 13px;
  background: #f8f3eb;
  color: #4f5755;
  font-size: 14px;
}

@media (max-width: 700px) {
  .prescreen-hero { padding-top: 22px; }
  .prescreen-shell { width: 100%; }
  .preview-banner { align-items: flex-start; }
  .prescreen-topline { align-items: flex-start; }
  .progress-copy { min-width: 90px; }
  .question-card { border-radius: 22px; }
  .option-grid, .policy-grid, .two-col-info { grid-template-columns: 1fr; }
  .package-list > div { grid-template-columns: 1fr; gap: 3px; }
  .delivery-callout { display: block; }
  .delivery-callout strong, .delivery-callout span { display: block; }
  .delivery-callout span { margin-top: 6px; }
}

@media (max-width: 520px) {
  .prescreen-header .nav-wrap { min-height: 66px; }
  .prescreen-header .brand { min-width: 0; }
  .prescreen-header .brand-emblem { width: 44px; height: 44px; font-size: 25px; }
  .prescreen-header .brand-words strong { font-size: 17px; }
  .prescreen-header .brand-words small { font-size: 8px; }
  .preview-back { font-size: 12px; }
  .preview-banner { display: block; }
  .preview-banner strong { display: inline-block; margin-bottom: 7px; }
  .prescreen-topline { display: block; }
  .progress-copy { margin-top: 12px; text-align: left; }
  .progress-copy span, .progress-copy strong { display: inline; margin-right: 8px; }
  .question-card { padding: 22px 18px; }
  .choice { padding: 14px 13px; }
  .screen-actions { align-items: stretch; flex-direction: column-reverse; }
  .screen-actions .button { justify-content: center; width: 100%; }
  .text-button { padding: 8px 0; }
}
