@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

html {
    font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6rem;
}

:root {
    /* background-colors */
    --primary: oklch(0.596 0.1274 163.23);
    --primary-dark: oklch(0.4751 0.092 158.29);
    --bg: oklch(0.9851 0 0);
    --bg-70: oklch(0.9851 0 0 / .8);
    --bg-green-light: oklch(0.9793 0.0207 166.11);
    /* text-colors */
    --text: oklch(0.2077 0.0398 265.75);
    --text-gray: oklch(0.3717 0.0392 257.29);
    --text-muted: oklch(0.76 0 264);
    --text-inverse: oklch(0.997 0 0);
    /* text-size */
    --h1-size: 2.986rem;
    --h2-size: 2.488rem;
    --h3-size: 2.074rem;
    --h4-size: 1.728rem;
    --h5-size: 1.44rem;
    --h6-size: 1.2rem;
    --p-size: 1rem;
    --small-size: 0.833rem;
    --extra-small-size: 0.694rem;
}

body {
    background-color: var(--bg);
    color: var(--text);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

h2 {
    font-size: var(--h6-size);
}

p {
    color: var(--text-gray);
}

.container {
    max-width: 80rem;
    margin: auto;
}

nav {
    font-size: var(--small-size);
    background-color: var(--bg-70);
    border-bottom: 0.1rem solid #dedede;
}

.menu {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 3rem;
    align-items: center;
    gap: 1rem;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#logo {
    background-color: var(--primary);
    color: var(--text-inverse);
    border-radius: 50%;
    font-size: var(--p-size);
    font-weight: 600;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#brand {
    font-size: var(--h6-size);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--text);
}

.links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.link {
    position: relative;
}

.link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #dedede;
    bottom: 0;
    left: 0;
    transition: 200ms;
}

.link:hover::after,
.link:active::after {
    background-color: var(--primary);
}

.btn {
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}

.btn:hover {
    background-color: var(--primary);
    transition: ease 300ms;
}

.btn:hover a {
    color: var(--text-inverse);
}

#hero {
    /* background-color: var(--primary); */
    color: var(--primary);
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    /* padding-bottom: 3rem; */
    position: relative;
    z-index: -1;
}

.blur {
    backdrop-filter: blur(4px);
}

.hero {
    padding: 6rem 3rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3rem;
}

#hero p {
    color: var(--text-gray);
    font-weight: 500;
}

#hero h1 {
    font-size: var(--h2-size);
    line-height: var(--h2-size);
}

#hero img {
    position: absolute;
    object-fit: cover;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 55%;
}

section {
    padding: 2rem 3rem;
}

#action {
    margin-top: -3.5rem;
}

#action h3 {
    color: var(--text);
    font-weight: 500;
}

#contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    background-color: var(--bg);
    color: var(--text-gray);
}

#faq {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

#market-block {
    background-color: var(--primary);
    color: var(--text-inverse);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}


.card>div {
    background-color: white;
    padding: 2rem;
    border: 1px solid #dedede;
    border-radius: 1rem;
    flex-grow: 1;
}

.card-title {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    font-size: large;
}

.full-btn {
    border: 1px solid var(--primary);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: var(--text-inverse);
    font-weight: 500;
}

.full-btn:hover {
    background-color: var(--primary-dark);
    transition: ease 300ms;
}

.cloud {
    background-color: white;
    padding: 2rem;
    border: 1px solid #dedede;
    border-radius: 1rem;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    flex-direction: column;
}


.green {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: baseline;
    background-color: var(--bg-green-light);
}

.green h3 {
    color: var(--primary);
    font-weight: 400;
}

.white {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    background-color: white;
}

.white p {
    color: var(--text-gray);
}

.white h3 {
    color: var(--primary);
    font-weight: 400;
}

.grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 1rem;
}

.g-two {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
}

.g-three {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
}

.centered {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
    justify-items: center;
}

h2 {
    font-size: var(--h4-size);
}

.important {
    font-weight: 700;
    font-size: var(--h3-size);
}

footer {
    border-top: 1px solid #dedede;
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 3rem;
}


@media (width < 64rem) {
    .grid {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
        flex-direction: column;
    }
}

@media (width < 40rem) {
    .links {
        display: none;
    }

    .menu {
        justify-content: center;
    }
}