* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f7f3;
    color: #1d2926;
    line-height: 1.6;
}


/* HEADER */

.header {
    background: #173f38;
    color: white;
    padding: 28px 7% 65px;
}

.back-button {
    display: inline-block;
    color: #d8ebe5;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 45px;
}

.back-button:hover {
    color: white;
}

.header-content {
    max-width: 750px;
}

.eyebrow {
    color: #9bd1bd;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.header h1 {
    font-size: 48px;
    margin: 8px 0 12px;
    line-height: 1.1;
}

.header p {
    color: #d6e5e0;
    max-width: 620px;
    font-size: 17px;
}


/* MAIN */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.practice-section {
    padding: 70px 0;
    border-bottom: 1px solid #dfe4df;
}

/* INFORMATION SECTIONS */

.info-section {
    padding: 70px 0;
    border-bottom: 1px solid #dfe4df;
}

.info-section > h2 {
    margin: 5px 0 10px;
    font-size: 32px;
    line-height: 1.2;
}

.info-intro {
    max-width: 820px;
    color: #68746f;
    margin-bottom: 30px;
}

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

.info-card {
    background: #fff;
    border: 1px solid #e1e5e1;
    border-radius: 16px;
    padding: 25px;
}

.info-card-icon {
    display: block;
    font-size: 25px;
    margin-bottom: 12px;
}

.info-card h3,
.skill-card h3 {
    margin-bottom: 6px;
    font-size: 19px;
}

.info-card p,
.skill-card p,
.skill-card li {
    color: #68746f;
    font-size: 14px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.skill-card {
    background: #fff;
    border: 1px solid #e1e5e1;
    border-radius: 16px;
    padding: 24px;
}

.skill-badge {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 15px;
    color: #fff;
    background: #3c806a;
    font-weight: 700;
}

.writing-card .skill-badge { background: #668573; }
.reading-card .skill-badge { background: #47758b; }
.listening-card .skill-badge { background: #c67c45; }

.skill-card ul {
    padding-left: 18px;
    margin-top: 13px;
}

.skill-card li {
    margin: 6px 0;
}

/* SCORE GUIDE */

.score-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr);
    gap: 22px;
    align-items: start;
}

.score-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e1e5e1;
    border-radius: 16px;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.score-table th,
.score-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid #e8ece9;
    vertical-align: top;
}

.score-table th {
    background: #173f38;
    color: #fff;
    font-size: 13px;
    letter-spacing: .4px;
}

.score-table td {
    font-size: 14px;
    color: #56635e;
}

.score-table td:first-child {
    color: #173f38;
    white-space: nowrap;
}

.score-table tbody tr:last-child td {
    border-bottom: 0;
}

.score-c2 { border-left: 5px solid #24624f; }
.score-c1 { border-left: 5px solid #3c806a; }
.score-b2 { border-left: 5px solid #6e91a3; }
.score-b1 { border-left: 5px solid #b89a61; }
.score-a2 { border-left: 5px solid #c67c45; }
.score-a1 { border-left: 5px solid #9e5c5c; }

.score-checker {
    background: #173f38;
    color: #fff;
    border-radius: 16px;
    padding: 26px;
}

.checker-label {
    color: #9bd1bd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.score-checker h3 {
    margin: 7px 0 5px;
    font-size: 22px;
}

.score-checker p {
    color: #d6e5e0;
    font-size: 14px;
}

.score-input-row {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.score-input-row input {
    width: 82px;
    min-width: 0;
    padding: 11px;
    border: 1px solid #9ab5ac;
    border-radius: 9px;
    font: inherit;
    font-weight: 700;
    outline: none;
}

.score-input-row input:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(155, 209, 189, .25);
}

.score-input-row button {
    flex: 1;
    border: 0;
    border-radius: 9px;
    padding: 11px 14px;
    background: #9bd1bd;
    color: #173f38;
    font-weight: 700;
    cursor: pointer;
}

.score-input-row button:hover {
    background: #b8e0d1;
}

.score-result {
    margin-top: 18px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .09);
    color: #e8f3ef;
    font-size: 14px;
}

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

.score-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-left: 4px solid #c67c45;
    background: #fff8ef;
    border-radius: 0 10px 10px 0;
    color: #675d51;
    font-size: 13px;
}


/* SECTION TITLE */

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.section-icon {
    min-width: 55px;
    height: 55px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-weight: bold;
    font-size: 22px;
}

.green {
    background: #3c806a;
}

.blue {
    background: #47758b;
}

.orange {
    background: #c67c45;
}

.section-label {
    color: #73837e;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin: 2px 0 5px;
    font-size: 30px;
}

.section-heading p {
    color: #68746f;
    max-width: 650px;
}


/* LEVEL GRID */

.level-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}


/* CARDS */

.level-card {
    position: relative;

    min-height: 155px;
    padding: 24px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    background: white;
    border: 1px solid #e1e5e1;
    border-radius: 15px;

    color: #20302b;
    text-decoration: none;

    transition: 0.25s;
}

.level-card:hover {
    transform: translateY(-5px);
    border-color: #567e70;
    box-shadow: 0 12px 28px rgba(35, 60, 52, 0.10);
}

.level-number {
    color: #bec8c4;
    font-size: 13px;
    font-weight: bold;
}

.level-card small {
    color: #81908a;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.2px;
}

.level-card h3 {
    margin: 3px 0;
    font-size: 20px;
}

.level-card p {
    font-size: 13px;
    color: #77837e;
}

.arrow {
    position: absolute;

    right: 20px;
    bottom: 18px;

    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #edf2ef;

    transition: 0.2s;
}

.level-card:hover .arrow {
    background: #173f38;
    color: white;
}


/* LEVEL COLORS */

.level-1 {
    border-top: 3px solid #74a991;
}

.level-2 {
    border-top: 3px solid #72a5a0;
}

.level-3 {
    border-top: 3px solid #6e91a3;
}

.level-4 {
    border-top: 3px solid #b89a61;
}

.level-5 {
    border-top: 3px solid #b87754;
}

.level-6 {
    border-top: 3px solid #9e5c5c;
}


/* FOOTER */

footer {
    text-align: center;
    padding: 35px;
    color: #71807a;
    font-size: 13px;
}


/* TABLET */

@media (max-width: 900px) {

    .level-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .score-layout {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 40px;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .header {
        padding: 25px 6% 45px;
    }

    .header h1 {
        font-size: 34px;
    }

    .level-grid {
        grid-template-columns: 1fr;
    }

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

    .practice-section,
    .info-section {
        padding: 50px 0;
    }

    .info-section > h2 {
        font-size: 27px;
    }

    .section-heading {
        flex-direction: column;
    }
}
