.question-hub,
.question-answer,
.assessment-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 96px;
}

.question-hub__hero,
.assessment-page > header {
    max-width: 790px;
    margin-bottom: 32px;
}

.question-hub h1,
.question-answer h1,
.assessment-page h1 {
    margin: 8px 0 14px;
    color: #06234a;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.question-hub__hero > p,
.assessment-page > header > p,
.question-answer article > p {
    color: #526079;
    font-size: 1.08rem;
    line-height: 1.7;
}

.question-filter {
    display: block;
    margin-top: 28px;
}

.question-filter input {
    width: 100%;
    min-height: 62px;
    padding: 0 22px;
    border: 1px solid #f0b323;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(6, 35, 74, .09);
    color: #06234a;
    font: inherit;
}

.journey-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 28px;
    padding: 10px;
    border: 1px solid #e7ebf0;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #fff9e9);
    box-shadow: 0 14px 30px rgba(6, 35, 74, .07);
}

.journey-strip span {
    display: grid;
    min-height: 44px;
    place-items: center;
    border: 1px solid #e7ebf0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .84);
    color: #263a57;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
}

.journey-strip span:first-child,
.journey-strip--compact span:first-child {
    border-color: #f0a500;
    color: #06234a;
    background: #fff2c7;
}

.question-route-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 24px;
}

.question-route-tabs a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid #e1e5eb;
    border-radius: 999px;
    color: #263a57;
    text-decoration: none;
}

.question-route-tabs a:hover,
.question-route-tabs a:focus-visible {
    border-color: #f0a500;
    background: #fff9e9;
}

.question-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.question-grid article {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(6, 35, 74, .06);
}

.question-grid article > span {
    color: #d58d00;
    font-size: .75rem;
    font-weight: 700;
}

.question-grid h2 {
    margin: 14px 0 10px;
    color: #06234a;
    font-size: 1.08rem;
    line-height: 1.35;
}

.question-grid h2 a,
.question-card__action {
    color: inherit;
    text-decoration: none;
}

.question-grid article > p {
    color: #657086;
    font-size: .9rem;
}

.question-card__action {
    margin-top: auto;
    color: #8d5c00;
    font-weight: 700;
}

.question-empty {
    padding: 32px;
    text-align: center;
}

.capability-map {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
    gap: 28px;
    margin-top: 56px;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background:
        radial-gradient(circle at 96% 5%, rgba(240, 165, 0, .18), transparent 28%),
        #fff;
    box-shadow: 0 20px 60px rgba(6, 35, 74, .08);
}

.capability-map h2 {
    margin: 8px 0 12px;
    color: #06234a;
    font-size: clamp(1.8rem, 3.6vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.capability-map p {
    color: #526079;
    line-height: 1.7;
}

.capability-map ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.capability-map li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 18px;
    border: 1px solid #e7ebf0;
    border-radius: 16px;
    background: #f8fafc;
}

.capability-map li span {
    grid-row: span 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #06234a;
    background: #ffd24c;
    font-size: .76rem;
    font-weight: 900;
}

.capability-map li strong {
    color: #06234a;
}

.capability-map li p {
    margin: 0;
    font-size: .9rem;
}

.question-answer {
    max-width: 900px;
}

.question-answer nav {
    display: flex;
    gap: 10px;
    margin-bottom: 42px;
    color: #657086;
}

.question-answer nav a {
    color: #8d5c00;
}

.question-answer article {
    padding: clamp(28px, 6vw, 64px);
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(6, 35, 74, .08);
}

.answer-route-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 12px;
}

.answer-route-summary div {
    padding: 16px;
    border: 1px solid #e7ebf0;
    border-radius: 14px;
    background: #f8fafc;
}

.answer-route-summary span {
    display: block;
    margin-bottom: 5px;
    color: #9a6500;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.answer-route-summary strong {
    color: #06234a;
}

.answer-copy {
    margin: 34px 0 22px;
    padding: 26px;
    border-left: 4px solid #f0a500;
    background: #fff9e9;
}

.answer-copy h2,
.assessment-related h2 {
    margin: 0 0 10px;
    color: #06234a;
}

.answer-copy p,
.question-answer aside p {
    margin: 0;
    line-height: 1.75;
}

.question-answer aside {
    padding: 20px;
    border-radius: 14px;
    background: #f4f7fa;
    color: #47566d;
}

.answer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.assessment-page > header > a {
    color: #8d5c00;
    font-weight: 700;
    text-decoration: none;
}

.assessment-shell {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.assessment-progress,
.assessment-card,
.assessment-result {
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(6, 35, 74, .08);
}

.assessment-progress {
    padding: 24px;
}

.assessment-progress > span {
    color: #8d5c00;
    font-weight: 700;
}

.assessment-progress > div {
    height: 8px;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #edf0f3;
}

.assessment-progress i {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f0a500, #ffd24c);
    transition: width .25s ease;
}

.assessment-progress p {
    margin: 0;
    color: #657086;
}

.assessment-live-summary {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
}

.assessment-live-summary div {
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
}

.assessment-live-summary dt {
    color: #9a6500;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.assessment-live-summary dd {
    margin: 4px 0 0;
    color: #263a57;
    font-size: .9rem;
}

.assessment-card,
.assessment-result {
    padding: clamp(26px, 5vw, 50px);
}

.assessment-step {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.assessment-step.is-active {
    display: grid;
    gap: 12px;
}

.assessment-step legend {
    margin-bottom: 22px;
    color: #06234a;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 750;
}

.assessment-step label {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 17px 18px;
    border: 1px solid #dfe3e8;
    border-radius: 13px;
    color: #263a57;
    cursor: pointer;
}

.assessment-step label:has(input:checked) {
    border-color: #eda500;
    background: #fff9e9;
    box-shadow: 0 0 0 2px rgba(240, 165, 0, .12);
}

.assessment-step input {
    width: 18px;
    height: 18px;
    accent-color: #e79c00;
}

.assessment-step > p {
    color: #657086;
    font-size: .88rem;
}

.assessment-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}

.assessment-result h2 {
    color: #06234a;
    font-size: clamp(1.75rem, 4vw, 3rem);
}

.assessment-result > p:not(.eyebrow) {
    color: #526079;
    line-height: 1.7;
}

.assessment-result dl {
    display: grid;
    gap: 12px;
    margin: 26px 0;
}

.assessment-result dl div {
    padding: 16px;
    border-radius: 13px;
    background: #f5f7f9;
}

.assessment-result dt {
    color: #9a6500;
    font-size: .75rem;
    font-weight: 750;
    text-transform: uppercase;
}

.assessment-result dd {
    margin: 5px 0 0;
    color: #263a57;
}

.text-button {
    display: block;
    margin-top: 15px;
    border: 0;
    background: transparent;
    color: #6b7280;
    text-decoration: underline;
    cursor: pointer;
}

.assessment-related {
    margin-top: 54px;
}

.assessment-related > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.assessment-related a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    background: #fff;
    color: #263a57;
    text-decoration: none;
}

@media (max-width: 820px) {
    .question-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .capability-map,
    .assessment-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .question-hub,
    .question-answer,
    .assessment-page {
        width: min(100% - 24px, 1180px);
        padding-top: 38px;
    }

    .question-grid,
    .answer-route-summary,
    .assessment-related > div {
        grid-template-columns: 1fr;
    }

    .journey-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .question-grid article {
        min-height: 190px;
    }

    .assessment-actions,
    .answer-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }
}
