* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}


/* HEADER */

.top-header {
    min-height: 90px;
    padding: 20px 6%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header h1 {
    color: #173b63;
    font-size: 26px;
}

.top-header p {
    margin-top: 5px;
    color: #6b7280;
}

.home-btn {
    text-decoration: none;
    background: #173b63;
    color: white;
    padding: 11px 24px;
    border-radius: 8px;
    font-weight: bold;
}

.home-btn:hover {
    background: #0d2948;
}


/* MAIN */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 25px 60px;
}


/* HERO */

.hero {
    text-align: center;
    padding: 35px 20px 45px;
}

.badge {
    display: inline-block;
    background: #e1efff;
    color: #1763aa;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 38px;
    color: #173b63;
    margin-bottom: 12px;
}

.hero p {
    max-width: 650px;
    margin: auto;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}


/* SECTION */

.practice-section {
    background: white;
    padding: 30px;
    margin-bottom: 35px;
    border-radius: 18px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 27px;
}

.section-heading h2 {
    font-size: 25px;
    margin-bottom: 5px;
}

.section-heading p {
    color: #64748b;
    line-height: 1.5;
}

.section-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 29px;
}

.reading-heading .section-icon {
    background: #eaf4ff;
}

.math-heading .section-icon {
    background: #e9faf3;
}


/* LEVEL GRID */

.level-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


/* LEVEL CARD */

.level-card {
    position: relative;
    display: block;

    padding: 24px;
    min-height: 220px;

    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;

    text-decoration: none;
    color: #1f2937;

    transition: 0.25s ease;
}

.level-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* READING */

.reading-card:hover {
    border-color: #3182ce;
}

.reading-card .level-number {
    background: #eaf4ff;
    color: #1763aa;
}


/* MATH */

.math-card:hover {
    border-color: #16a085;
}

.math-card .level-number {
    background: #e7f8f3;
    color: #087f68;
}


/* NUMBER */

.level-number {
    display: flex;
    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;

    margin-bottom: 14px;
}


/* TEXT */

.level-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.level-card p {
    color: #64748b;
    line-height: 1.5;
    margin: 13px 0 20px;
}


/* DIFFICULTY */

.difficulty {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.beginner {
    background: #dcfce7;
    color: #15803d;
}

.easy {
    background: #ecfccb;
    color: #4d7c0f;
}

.intermediate {
    background: #fef3c7;
    color: #b45309;
}

.difficult {
    background: #ffedd5;
    color: #c2410c;
}

.advanced {
    background: #fee2e2;
    color: #b91c1c;
}

.challenge {
    background: #f3e8ff;
    color: #7e22ce;
}


/* START LINK */

.start-btn {
    font-weight: bold;
    color: #1763aa;
}

.math-card .start-btn {
    color: #087f68;
}


/* FOOTER */

footer {
    background: #173b63;
    color: #dbeafe;
    text-align: center;
    padding: 25px;
}


/* SAT SKILLS + SCORE GUIDE */

.learning-guide,
.score-guide {
    background: #ffffff;
    padding: 38px;
    margin-bottom: 35px;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.guide-intro {
    max-width: 780px;
    margin-bottom: 32px;
}

.guide-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #1763aa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.score-kicker {
    background: #e7f8f3;
    color: #087f68;
}

.guide-intro h2 {
    color: #173b63;
    font-size: 30px;
    margin-bottom: 10px;
}

.guide-intro p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.skill-subject + .skill-subject {
    margin-top: 38px;
    padding-top: 38px;
    border-top: 1px solid #e5e7eb;
}

.skill-subject-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.skill-subject-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #eef6ff;
    font-size: 25px;
}

.math-subject .skill-subject-icon {
    background: #e9faf3;
}

.eyebrow {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.skill-subject-title h3,
.benchmark-heading h3,
.calculator-copy h3 {
    color: #1f2937;
    font-size: 22px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.skill-info-card {
    padding: 24px;
    border: 1px solid #dbe4ee;
    border-radius: 15px;
    background: #fbfdff;
}

.math-subject .skill-info-card {
    background: #fbfffd;
}

.skill-tag {
    display: inline-block;
    padding: 6px 10px;
    margin-bottom: 13px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #1763aa;
    font-size: 12px;
    font-weight: 800;
}

.math-subject .skill-tag {
    background: #e7f8f3;
    color: #087f68;
}

.skill-info-card h4 {
    color: #173b63;
    font-size: 18px;
    margin-bottom: 10px;
}

.importance {
    color: #5e6d7f;
    line-height: 1.65;
}

.example-box {
    margin-top: 17px;
    padding: 14px 16px;
    border-left: 4px solid #3182ce;
    border-radius: 8px;
    background: #f0f7ff;
}

.math-example {
    border-left-color: #16a085;
    background: #edf9f5;
}

.example-box strong {
    display: block;
    color: #334155;
    margin-bottom: 5px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.example-box p {
    color: #475569;
    line-height: 1.55;
}

.example-answer {
    display: block;
    margin-top: 5px;
    color: #087f68;
    font-weight: 800;
}


/* SCORE SCALE */

.score-scale {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.score-stat {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: #eef6ff;
    border: 1px solid #d7e9fb;
    border-radius: 14px;
}

.score-stat span {
    color: #52657a;
    font-size: 14px;
    font-weight: 700;
}

.score-stat strong {
    margin-top: 7px;
    color: #1763aa;
    font-size: 27px;
}

.score-stat.math-stat {
    background: #edf9f5;
    border-color: #d1eee5;
}

.score-stat.math-stat strong {
    color: #087f68;
}

.score-stat.total-stat {
    background: #173b63;
    border-color: #173b63;
}

.score-stat.total-stat span,
.score-stat.total-stat strong {
    color: #ffffff;
}

.score-plus,
.score-equals {
    color: #64748b;
    font-size: 26px;
    font-weight: 800;
}

.benchmark-wrap {
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

.benchmark-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 20px;
}

.benchmark-heading > p {
    max-width: 430px;
    color: #64748b;
    line-height: 1.55;
}

.table-scroll {
    overflow-x: auto;
}

.benchmark-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #ffffff;
}

.benchmark-table th,
.benchmark-table td {
    padding: 15px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.benchmark-table thead th {
    background: #173b63;
    color: #ffffff;
    font-size: 13px;
}

.benchmark-table tbody th {
    color: #334155;
    text-align: left;
}

.score-pill {
    display: inline-block;
    min-width: 92px;
    padding: 7px 10px;
    border-radius: 999px;
    font-weight: 800;
}

.score-pill.needs-work {
    background: #fee2e2;
    color: #b91c1c;
}

.score-pill.approaching {
    background: #fef3c7;
    color: #a16207;
}

.score-pill.meets {
    background: #dcfce7;
    color: #15803d;
}

.score-note {
    margin-top: 16px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* SCORE CALCULATOR */

.score-calculator {
    margin-top: 22px;
    padding: 26px;
    border-radius: 15px;
    background: #173b63;
    color: #ffffff;
}

.score-calculator .eyebrow,
.score-calculator .calculator-copy p {
    color: #cbdcf0;
}

.score-calculator .calculator-copy h3 {
    color: #ffffff;
    margin-bottom: 6px;
}

.calculator-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 13px;
    align-items: end;
    margin-top: 20px;
}

.calculator-fields label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
}

.calculator-fields input {
    width: 100%;
    padding: 12px 13px;
    border: 2px solid transparent;
    border-radius: 9px;
    outline: none;
    font-size: 16px;
}

.calculator-fields input:focus {
    border-color: #55c5aa;
}

#checkScoreBtn {
    border: 0;
    border-radius: 9px;
    padding: 13px 19px;
    background: #16a085;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

#checkScoreBtn:hover {
    background: #10846f;
}

.score-result {
    display: none;
    margin-top: 18px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

.score-result.show {
    display: block;
}

.score-result.error {
    background: #fee2e2;
    color: #991b1b;
}

.score-result strong {
    color: #ffffff;
}

.score-result.error strong {
    color: #991b1b;
}


/* TABLET */

@media (max-width: 900px) {

    .level-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .score-scale {
        grid-template-columns: 1fr;
    }

    .score-plus,
    .score-equals {
        transform: rotate(90deg);
        justify-self: center;
    }

    .benchmark-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .calculator-fields {
        grid-template-columns: 1fr 1fr;
    }

    #checkScoreBtn {
        grid-column: 1 / -1;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .top-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero h2 {
        font-size: 29px;
    }

    .practice-section {
        padding: 20px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .level-grid {
        grid-template-columns: 1fr;
    }

    .learning-guide,
    .score-guide {
        padding: 22px;
    }

    .guide-intro h2 {
        font-size: 26px;
    }

    .skills-grid,
    .calculator-fields {
        grid-template-columns: 1fr;
    }

    #checkScoreBtn {
        grid-column: auto;
    }

    .benchmark-wrap,
    .score-calculator {
        padding: 19px;
    }
}
