/* Assessment-only rules; shared PHXEL tokens and components come from styles.css. */
html:has(.check-page) { scroll-behavior: auto; scroll-padding-top: 112px; }
.check-page { --mobile-assistant-clearance: 16px; }
.check-page main, .check-page .site-header { max-width: 1280px; }
.check-page .site-header { flex-wrap: nowrap; }
.check-page .section { padding-block: clamp(40px, 6vw, 80px); }
.check-page h1 { max-width: 1050px; font-size: clamp(38px, 6.6vw, 88px); line-height: 1; }
.check-page h2 { font-size: clamp(30px, 3.7vw, 50px); line-height: 1.08; }
.check-page h3 { font-size: clamp(23px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.04em; }
.check-page button { border-radius: 0; }
.check-page .button { border: 0; min-height: 52px; }
.check-page button.text-link { border: 0; border-bottom: 1px solid var(--muted); background: transparent; color: var(--white); }
.check-page button.text-link:hover { color: var(--lime); border-color: var(--lime); }
.check-page :is(h1, h2)[tabindex="-1"] { scroll-margin-top: 120px; }
.check-page :is(h1, h2)[tabindex="-1"]:focus { outline: none; }
.check-intro-grid, .check-question-grid, .check-results-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.check-intro-grid { margin-top: 36px; }
.check-copy-stack, .check-start { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.check-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; font: 700 13px/1.6 "Courier New", monospace; }
.check-page .check-note { color: var(--muted); font: 14px/1.6 "Courier New", monospace; }
.check-disciplines { display: flex; flex-wrap: wrap; gap: 12px 18px; list-style: none; padding: 24px 0; margin: 48px 0 0; border-block: 1px solid var(--line); font-weight: 800; font-size: clamp(16px, 1.7vw, 22px); }
.check-disciplines li:not(:last-child)::after { content: "/"; color: var(--lime); margin-left: 18px; }
.check-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.check-meta .eyebrow { margin: 0; }
.check-meta .check-note { flex-shrink: 0; }
#check-progress { appearance: none; display: block; width: 100%; height: 4px; margin: 20px 0 40px; border: 0; background: var(--line); color: var(--lime); }
#check-progress::-webkit-progress-bar { background: var(--line); }
#check-progress::-webkit-progress-value { background: var(--lime); }
#check-progress::-moz-progress-bar { background: var(--lime); }
.check-hint { margin-top: 24px; font-size: 17px; }
.check-answers { display: flex; flex-direction: column; gap: 10px; }
.check-answer { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 60px; padding: 16px 20px; border: 1px solid #555D62; background: var(--black); color: var(--white); text-align: left; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.check-answer::after { content: "→"; color: var(--lime); flex-shrink: 0; }
.check-answer[aria-pressed="true"] { border-color: var(--lime); background: var(--lime); color: var(--black); }
.check-answer[aria-pressed="true"]::after { content: "✓"; color: var(--black); }
.check-answer:focus-visible { outline-offset: 3px; }
@media (hover: hover) { .check-answer:hover { border-color: var(--lime); } }
.check-navigation { margin-top: 32px; }
.check-results-grid { margin-top: 40px; align-items: start; }
.check-page .check-diagnostic { max-width: none; }
.check-diagnostic figcaption { margin-bottom: 28px; }
.check-page .check-diagnostic .diagnostic-list li { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.check-page .check-diagnostic .diagnostic-list strong { font-size: clamp(16px, 1.7vw, 22px); }
.check-classification { font: 700 12px/1.6 "Courier New", monospace; color: var(--lime); }
.check-result-detail { display: grid; gap: 36px; }
.check-result-detail .eyebrow, .check-next .eyebrow, .check-further .eyebrow { margin-bottom: 16px; }
.check-page h3.eyebrow { font: 700 13px/1.6 "Courier New", monospace; letter-spacing: 1px; }
.check-result-label { margin-bottom: 16px; color: var(--lime); font: 700 14px/1.6 "Courier New", monospace; }
.check-result-detail h3 + p, .check-further h3 + p { margin-top: 20px; }
.check-next { margin-top: 48px; padding: clamp(24px, 4vw, 48px); background: var(--lime); color: var(--black); }
.check-next .eyebrow, .check-next p { color: var(--black); }
.check-next h3 { margin-top: 24px; }
.check-next > p:not(.eyebrow) { margin-top: 20px; max-width: 760px; }
.check-next .button { margin-top: 28px; background: var(--black); color: var(--lime); }
.check-next .button:hover { background: var(--white); color: var(--black); }
.check-next :focus-visible { outline-color: var(--black); }
.check-further { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.check-enquiry { margin-top: 32px; }
.check-enquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.check-field { min-width: 0; }
.check-field label { display: block; margin-bottom: 10px; font: 700 13px/1.6 "Courier New", monospace; letter-spacing: 1px; }
.check-field label span { color: var(--lime); }
.check-field input { width: 100%; min-width: 0; min-height: 52px; padding: 14px 16px; border: 1px solid #555D62; border-radius: 0; background: var(--black); color: var(--white); font: inherit; font-size: 16px; line-height: 1.5; }
.check-field input:focus { border-color: var(--lime); }
.check-consent { display: flex; align-items: center; gap: 14px; min-height: 44px; margin-block: 24px; padding-block: 10px; cursor: pointer; font-size: 16px; line-height: 1.6; }
.check-consent input { appearance: none; flex: 0 0 24px; width: 24px; height: 24px; margin: 0; border: 1px solid #555D62; border-radius: 0; background: var(--black); display: grid; place-content: center; cursor: pointer; }
.check-consent input:checked { background: var(--lime); border-color: var(--lime); }
.check-consent input:checked::after { content: ""; width: 6px; height: 12px; border: solid var(--black); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.check-enquiry :is(input, button):focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.check-enquiry .button { gap: 16px; text-align: left; }
.check-enquiry .button:disabled { cursor: wait; background: var(--lime); color: var(--black); }
.check-enquiry .check-note { margin-top: 16px; }
.check-enquiry-status { color: var(--lime); font: 700 14px/1.6 "Courier New", monospace; }
.check-enquiry-status:not(:empty) { margin-top: 20px; }
#enquiry-thanks { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .check-enquiry-fields { grid-template-columns: minmax(0, 1fr); }
    .check-enquiry .button { width: 100%; padding-inline: 14px; gap: 10px; font-size: 14px; }
}
@media (max-width: 800px) {
    .check-intro-grid, .check-question-grid, .check-results-grid { grid-template-columns: minmax(0, 1fr); }
    .check-page h2 { max-width: 680px; }
}
@media (max-width: 400px) {
    .check-answer { padding: 14px; font-size: 16px; }
    .check-page .check-diagnostic { padding: 18px 12px; }
    .check-classification { font-size: 11px; }
    .check-page .check-diagnostic .diagnostic-list li { gap: 8px; }
    .check-next { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .check-page *, .check-page *::before, .check-page *::after { animation: none; transition: none; scroll-behavior: auto; }
}
