@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Poppins";
    font-style: normal;
    font-weight: 200;
    src: url("./assets/fonts/poppins-v23-latin-200.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url("./assets/fonts/poppins-v23-latin-200.ttf")
            format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: url("./assets/fonts/poppins-v23-latin-regular.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
            url("./assets/fonts/poppins-v23-latin-regular.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: url("./assets/fonts/poppins-v23-latin-600.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url("./assets/fonts/poppins-v23-latin-600.ttf")
            format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
:root {
    --color-red-hsl: 0, 78%, 62%;
    --color-cyan-hsl: 180, 62%, 55%;
    --color-orange-hsl: 34, 97%, 64%;
    --color-blue-hsl: 212, 86%, 64%;

    --color-very-dark-blue: hsl(234, 12%, 34%);
    --color-grayish-blue: hsl(229, 6%, 66%);
    --color-very-light-gray: hsl(0, 0%, 98%);
    --color-white: #fff;

    --font-sans: "Poppins", sans-serif;
    --font-thin: 200;
    --font-normal: 400;
    --font-semibold: 600;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}
input,
button,
textarea,
select {
    font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}
.sr-only {
    position: absolute;
    width: 0.125rem;
    height: 0.125rem;
    padding: 0;
    margin: -0.125rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
body {
    min-height: 100vh;
    background-color: var(--color-very-light-gray);
    color: var(--color-grayish-blue);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.intro {
    padding-top: 5.4375rem;
    padding-bottom: 3.9375rem;
}
.intro__title {
    letter-spacing: 0.05em;
    color: var(--color-very-dark-blue);
    text-align: center;
    font-size: clamp(1.5rem, 1.127vw + 1.236rem, 2.25rem);
    margin-bottom: clamp(1.313rem, 0.376vw + 1.224rem, 1.563rem);
}
.intro__title--sub {
    display: block;
    font-weight: var(--font-thin);
    margin-bottom: clamp(0.813rem, 0.188vw + 0.768rem, 0.938rem);
}
.intro__title--main {
    display: block;
    font-weight: var(--font-semibold);
}
.intro__description {
    text-align: center;
    margin: 0 auto;
    letter-spacing: var(--tracking-body);
    line-height: 1.5625rem;
    padding: 0 2rem;
    max-width: 62ch;
}
.feature__list {
    width: min(100vw - 4rem, 69.375rem);
    list-style: none;
    margin: 0 auto;
    display: grid;
    gap: 1.875rem;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 5rem;
}
.feature__item {
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background-color: var(--color-white);
    padding: clamp(1.75rem, 0.38vw + 1.66rem, 2rem);
    border-radius: 0.5rem;
    box-shadow: 0px 24px 60px -24px hsla(var(--item-color-hsl), 40%);
}
.feature__item::after {
    background-color: hsl(var(--item-color-hsl));
    display: block;
    position: absolute;
    content: "";
    height: 0.25rem;
    left: 0;
    right: 0;
    top: 0;
}
.feature__item:nth-child(1) {
    --item-color-hsl: var(--color-cyan-hsl);
}
.feature__item:nth-child(2) {
    --item-color-hsl: var(--color-red-hsl);
}
.feature__item:nth-child(3) {
    --item-color-hsl: var(--color-orange-hsl);
}
.feature__item:nth-child(4) {
    --item-color-hsl: var(--color-blue-hsl);
}
.feature__title {
    font-size: 1.25rem;
    line-height: 1.6875rem;
    color: var(--color-very-dark-blue);
    letter-spacing: -0.01em;
    margin-bottom: clamp(0.5rem, 0.188vw + 0.456rem, 0.625rem);
}

.feature__description {
    line-height: 1.4375rem;
    font-size: 0.8125rem;
    letter-spacing: 0.005em;
    margin-bottom: clamp(2rem, 0.657vw + 1.85rem, 2.4375rem);
}
.feature__icon {
    float: right;
}
@media screen and (min-width: 40em) {
    .feature__list {
        grid-template-columns: 1fr 1fr;
    }
    .feature__title {
        letter-spacing: initial;
    }
}
@media screen and (min-width: 60em) {
    .feature__list {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .feature__item:nth-child(1) {
        grid-row: span 2;
        align-self: center;
    }
    .feature__item:nth-child(4) {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
        align-self: center;
    }
}
