#score-section {
    width: 100%;
    margin-bottom: 8px;
}

.score-heading {
    margin-bottom: 20px;
}

.score-heading-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-dim);
    margin-bottom: 6px;
}

.score-heading-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 5vw, 26px);
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    letter-spacing: -0.01em;
}

.score-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
    max-width: 68ch;
    margin: 10px 0 20px;
}


.overall-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--box-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}

.overall-ring-wrap {
    position: relative;
    flex-shrink: 0;
    width: 148px;
    height: 148px;
}

.overall-ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overall-number {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}

.overall-denom {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.overall-info {
    min-width: 0;
}

.overall-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.overall-grade {
    font-family: var(--font-display);
    font-size: clamp(26px, 6vw, 34px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 6px;
    min-height: 1.1em;
}

.overall-verdict {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-color);
    margin: 0;
    max-width: 40ch;
    min-height: 1.55em;
}


.ring {
    display: block;
    flex-shrink: 0;
}

.ring-track {
    fill: none;
    stroke: var(--border-color);
}

.ring-fill {
    fill: none;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}


.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.cat-card {
    background: var(--box-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 20px;
    opacity: 0;
    transform: translateY(8px);
    animation: cat-card-in 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cat-card.is-pending .cat-score {
    color: var(--text-dim);
}

@keyframes cat-card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cat-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.cat-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cat-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
}

.cat-icon svg {
    width: 22px;
    height: 22px;
}

.cat-label {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 2px;
}

.cat-score-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cat-score {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
}

.cat-points {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dim);
    background: var(--border-soft);
    padding: 2px 7px;
    border-radius: 999px;
}

.cat-checks {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-color);
}

.cat-check-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.cat-check-label {
    flex: 1;
    min-width: 0;
}

.cat-check-pts {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.cat-check.is-good .cat-check-dot { background: var(--accent); }
.cat-check.is-good .cat-check-pts { color: var(--accent); }
.cat-check.is-bad  .cat-check-dot { background: var(--accent-red); }
.cat-check.is-bad  .cat-check-label { color: var(--text-dim); }
.cat-check.is-bad  .cat-check-pts { color: var(--text-dim); }

@media (max-width: 640px) {
    .overall-card {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .overall-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cat-grid {
        grid-template-columns: 1fr;
    }
}
