:root {

    --background: #F7F7F5;
    --text: #111111;
    --link: #111111;

}

[data-theme="dark"] {

    --background: #0E0E0E;
    --text: #ECECEC;
    --link: #ECECEC;

}


/* RESET */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;

}


body {

    background: var(--background);
    color: var(--text);

    font-family: "Inter", sans-serif;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.65;

    overflow-x: hidden;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    transition:
        background .35s ease,
        color .35s ease;

}


/* LAYOUT */

.wrapper {

    width: 100%;

    max-width: 1700px;

    margin: 0 auto;

    padding: 24px;

}


.grid {

    display: grid;

    grid-template-columns:
        1.35fr 1fr 1fr 1fr;

    gap: 48px;

    align-items: start;

}


/* CONTENT */

.section {

    padding-top: 0;

}


.section h2 {

    font-size: 14px;

    font-weight: 400;

    line-height: 1.4;

    color: #777;

    margin-bottom: 20px;

    letter-spacing: -0.01em;

}


.section p,
.section li,
.section a {

    font-size: 17px;

    line-height: 1.65;

    letter-spacing: -0.01em;

}


.section ul {

    list-style: none;

}


.section li + li {

    margin-top: 2px;

}


.section a {

    color: var(--link);

    text-decoration: none;

    display: inline-block;

    transition: opacity .2s ease;

}


.section a:hover {

    opacity: .55;

}


/* TABLET */

@media (max-width: 1100px) {

    .wrapper {

        padding: 24px;

    }


    .grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 48px;

    }

}


/* MOBILE */

@media (max-width: 768px) {

    body {

        font-size: 16px;

    }


    .wrapper {

        padding: 20px;

    }


    .grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .section {

        padding-top: 0;

    }


    .section p,
    .section li,
    .section a {

        font-size: 16px;

    }

}