.study-main { padding-bottom: 30px; }
.study-intro { max-width: 900px; padding: 62px 0 46px; }
.study-intro h1 { font-size: clamp(40px, 5vw, 62px); }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 19px; }
.study-section { padding: 42px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.study-section > p { max-width: 790px; }
.study-section h2[tabindex]:focus { outline: none; }
.study-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.study-facts p { font-size: 15px; }
.study-section .section-heading { margin-bottom: 24px; gap: 40px; }
.privacy-note { margin-top: 26px; border-left: 2px solid var(--line); padding-left: 24px; max-width: 860px; }
.privacy-note p { font-size: 15px; }
.research-note .note-followup, .research-note #additional-limitations { margin-top: 12px; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: white; min-height: 46px; padding: 12px 20px; font-weight: 600; line-height: 1.4; }
button:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); }
button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
button.secondary:hover:not(:disabled) { background: var(--sky); border-color: var(--blue); }
button:disabled { opacity: .48; cursor: not-allowed; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button span { margin-left: 12px; }
label { color: var(--ink); display: block; font-size: 16px; line-height: 1.6; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; }
textarea, input[type="text"] { display: block; width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 14px; margin-top: 8px; background: white; color: var(--ink); line-height: 1.65; }
textarea { resize: vertical; }
textarea:disabled { background: var(--sky); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-weight: 600; line-height: 1.5; margin-bottom: 16px; }
.consent-list label, .optional-consent label, .saved-confirmation { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 17px; max-width: 820px; }
.optional-consent { background: var(--sky); padding: 22px 24px 8px; max-width: 860px; }
.optional-consent legend { float: left; width: 100%; margin-bottom: 13px; }
.optional-consent label { clear: both; }
.small { font-size: 14px; color: var(--body); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.notice { padding: 16px 20px; border-left: 3px solid var(--blue); background: var(--sky); }
.notice.error { border-left-color: #9f5340; background: #fff4ef; color: #713b2e; }
.private-code { display: block; font-size: clamp(15px, 2vw, 20px); padding: 19px; background: var(--sky); letter-spacing: .03em; overflow-wrap: anywhere; width: fit-content; max-width: 100%; }
.saved-confirmation { margin-top: 25px; }
.input-caption { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.input-caption p, .input-caption span { font-size: 13px; color: var(--body); margin: 7px 0 0; }
.input-caption span { white-space: nowrap; }
.responses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 29px 0 38px; align-items: start; }
.responses article { background: var(--sky); padding: 25px 27px; border-top: 3px solid var(--line); min-width: 0; }
.responses h3 { font-size: 14px; color: var(--blue); margin-bottom: 18px; }
.response-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; color: var(--body); font-size: 16px; }
.rating-options { padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; }
.rating-options legend { padding-top: 20px; }
.rating-options label, .scale-options label { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; min-height: 44px; }
.rating-options label:has(input:checked), .scale-options label:has(input:checked) { background: var(--sky); border-color: var(--blue); }
.helpfulness { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.helpfulness fieldset { margin-bottom: 3px; }
.scale-options { display: flex; flex-wrap: wrap; gap: 8px; }
.scale-options label { gap: 8px; padding: 9px 12px; }
.rating-options input, .scale-options input { margin: 0; }
.support-note { margin: 35px 0 0; padding: 22px 25px; background: var(--sky); }
.support-note p { margin: 0; font-size: 15px; }
.withdrawal-section { border-bottom: 0; }
#withdraw-form { max-width: 650px; }
#withdraw-form button { margin-top: 16px; }
@media (max-width: 750px) {
  .study-intro { padding: 40px 0 34px; }
  .study-intro h1 { font-size: clamp(38px, 8vw, 54px); }
  .study-section { padding: 32px 0; }
  .study-facts, .responses, .helpfulness { grid-template-columns: 1fr; gap: 18px; }
  .study-facts p { margin: 0; }
  .study-section .section-heading { gap: 0; }
  .privacy-note { padding-left: 17px; }
  .responses article { padding: 22px 20px; }
  .button-row button { width: 100%; }
  .input-caption { display: block; }
  .input-caption span { display: block; }
  .optional-consent { padding-inline: 18px; }
}
