.pq-callout {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.75rem;
  padding:clamp(1.3rem,4vw,2.7rem);
  border:1px solid #ddc9ae;
  background:#f7ecdc;
  border-radius:1.5rem;
}
.pq-callout h2 {margin:.3rem 0 .45rem;font-size:clamp(1.65rem,3vw,2.5rem)}
.pq-callout p:last-child {margin:0;max-width:52ch}
.pq-callout .button {flex:none}
.pq-hero {
  display:grid;
  grid-template-columns:1.12fr .88fr;
  align-items:center;
  gap:clamp(1.4rem,5vw,5rem);
  margin-block:1.5rem 2rem;
}
.pq-hero h1 {font-size:clamp(2.5rem,6.8vw,5.6rem);line-height:1;margin:.35rem 0 1rem}
.pq-hero em {color:#824b2e}
.pq-hero img {width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:1.25rem}
.pq-hero p:last-child {max-width:48ch}
.pq-wrap {margin-bottom:clamp(3rem,8vw,7rem)}
.pq-form,.pq-results {padding:clamp(1.1rem,4vw,2.7rem);border:1px solid #ded5c7;border-radius:1.5rem;background:#fffdf9}
.pq-form {max-width:51rem;margin-inline:auto}
.pq-form [hidden],.pq-results[hidden],.pq-form[hidden] {display:none}
.pq-progress {margin-bottom:1.75rem}
.pq-progress div {display:flex;flex-wrap:wrap;justify-content:space-between;gap:.3rem 1rem;font-size:.88rem}
.pq-progress strong {color:#73462e}
.pq-progress progress {width:100%;height:.65rem;accent-color:#824b2e}
.pq-question {padding:0;margin:0;border:0;min-width:0}
.pq-question legend {padding:0;font:700 clamp(1.4rem,4vw,2.1rem)/1.17 Georgia,serif}
.pq-question legend:focus,.pq-results h2:focus {outline:0}
.pq-hint {margin:.5rem 0 1.15rem;color:#5e5147}
.pq-options,.pq-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.pq-option {display:flex;align-items:center;gap:.65rem;padding:.8rem;border:1px solid #d5c9b9;border-radius:.75rem;min-height:3.2rem;cursor:pointer;background:white}
.pq-option:hover {border-color:#824b2e}
.pq-option:has(input:checked) {background:#f8ecdf;border-color:#824b2e}
.pq-option input {width:1.16rem;height:1.16rem;flex:none;margin:0;accent-color:#824b2e}
.pq-option:focus-within {outline:2px solid #824b2e;outline-offset:2px}
.pq-actions {display:flex;justify-content:space-between;flex-wrap:wrap;gap:.65rem;margin-top:1.35rem}
.pq-actions .button {margin-left:auto;cursor:pointer}
.pq-secondary {padding:.72rem .95rem;border:1px solid #aa9785;background:transparent;color:inherit;border-radius:2rem;font:inherit;cursor:pointer}
.pq-secondary:hover {background:#f7ecdc}
#pq-error {color:#8f2f25;font-weight:650;margin-bottom:0}
.pq-cards {grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}
.pq-results h2 {margin:.25rem 0 .5rem;font-size:clamp(1.6rem,4vw,3rem)}
.pq-card {display:flex;flex-direction:column;align-items:flex-start;padding:1.2rem;border:1px solid #ded5c7;border-radius:1rem;background:#fff}
.pq-card:first-child {background:#f7ecdc;border-color:#ddc9ae}
.pq-card h3 {margin:.4rem 0 0;font:700 1.45rem/1.14 Georgia,serif}
.pq-concentration {margin:.3rem 0;color:#5e5147;font-size:.9rem}
.pq-match,.pq-note {font-size:.87rem;color:#5e5147}
.pq-card a {margin-top:auto;color:#713d24;text-decoration:underline;text-underline-offset:.2em;font-weight:700}
.pq-note {margin:1rem 0 0}
@media (max-width:720px) {
  .pq-callout {align-items:flex-start;flex-direction:column}
  .pq-hero {grid-template-columns:1fr}
  .pq-hero img {aspect-ratio:2.6/1}
  .pq-cards {grid-template-columns:1fr}
}
@media (max-width:490px) {
  .pq-options {grid-template-columns:1fr}
}
