.resources-hero {
    padding: 8rem 2.5rem 3.25rem;
    text-align: center;
}

.tool-kicker,
.section-number,
.result-eyebrow {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resources-hero h1 {
    max-width: 900px;
    margin: 0.75rem auto;
    font-size: clamp(2.15rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--text-primary) 35%, #1e3a8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.resources-hero > p {
    max-width: 720px;
    margin: 0 auto 1.25rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.privacy-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.78rem;
    font-weight: 650;
}

.privacy-note svg {
    width: 16px;
    height: 16px;
}

.assessment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 2.25rem;
    width: 100%;
    padding: 0 2.5rem;
    margin: 0 auto 4rem;
    box-sizing: border-box;
    align-items: start;
}

.card-panel {
    padding: 2.25rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-card);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
}

.card-panel h2 {
    margin: 0.4rem 0 0.65rem;
    font-size: 1.55rem;
}

.card-panel > p,
.intro-copy {
    color: var(--text-secondary);
}

.phase-options {
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 1.5rem 0 0;
    border: 0;
}

.phase-options-global {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phase-option {
    display: flex;
    gap: 0.8rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.phase-option:hover {
    border-color: rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

.phase-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-glow);
    box-shadow: 0 0 0 1px var(--primary);
}

.phase-option input {
    width: 18px;
    height: 18px;
    margin: 0.15rem 0 0;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.phase-option-copy {
    display: grid;
    gap: 0.3rem;
    line-height: 1.4;
}

.phase-option-copy strong {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.94rem;
}

.phase-option-copy small {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.dimension-question {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.dimension-question:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.dimension-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.dimension-heading h3 {
    margin: 0;
    font-size: 1.12rem;
}

.dimension-score {
    flex: 0 0 auto;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
}

.dimension-prompt {
    margin: 0 0 1rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.dimension-question .phase-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0;
}

.dimension-question .phase-option {
    padding: 0.75rem;
}

.dimension-question .phase-option-copy strong {
    color: var(--primary);
    font-size: 0.78rem;
}

.dimension-question .phase-option-copy small {
    font-size: 0.72rem;
}

.results-sidebar {
    position: sticky;
    top: 7rem;
}

.result-card {
    overflow: hidden;
}

.result-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.completion {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.phase-marker {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 1.25rem 0 1rem;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--primary), #1e40af);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.result-card > h2 {
    font-size: 1.35rem;
}

#phase-summary {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.55;
}

.profile-bars {
    display: grid;
    gap: 0.8rem;
    padding: 1.35rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.profile-row-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.74rem;
    font-weight: 700;
}

.profile-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.profile-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: width var(--transition-normal);
}

.insight-block {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 0.8rem;
    line-height: 1.5;
}

.insight-block.warning {
    background: #fff7ed;
    color: #9a3412;
}

.priorities-block {
    margin-top: 1.5rem;
}

.priorities-block h3 {
    margin-bottom: 0.85rem;
    font-size: 1rem;
}

.priorities-block ol {
    display: grid;
    gap: 0.8rem;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

.reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    background: white;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.reset-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.reset-button svg {
    width: 15px;
    height: 15px;
}

.interpretation-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    width: calc(100% - 5rem);
    margin: 0 auto 6rem;
    padding: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    background: rgba(239, 246, 255, 0.7);
    box-sizing: border-box;
}

.interpretation-note svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.interpretation-note h2 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.interpretation-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.6;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .assessment-layout {
        grid-template-columns: 1fr;
    }

    .results-sidebar {
        position: static;
    }

    .dimension-question .phase-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .resources-hero {
        padding: 7rem 1rem 2.5rem;
    }

    .assessment-layout {
        padding: 0 1rem;
    }

    .card-panel {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .phase-options-global,
    .dimension-question .phase-options {
        grid-template-columns: 1fr;
    }

    .dimension-heading {
        align-items: center;
    }

    .interpretation-note {
        width: calc(100% - 2rem);
        margin-bottom: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phase-option,
    .profile-fill {
        transition: none;
    }
}
