:root {
    --grey-50: #FAFAFA;
    --grey-100: #F5F5F5;
    --grey-200: #EDEDEF;
    --grey-300: #DFDFE2;
    --grey-400: #BABAC0;
    --grey-500: #9999A3;
    --grey-600: #6F6F7B;
    --grey-700: #5C5C66;
    --grey-800: #3F3F45;
    --grey-900: #1F1F23;
    --mint-50: #F7FCF9;
    --mint-100: #E8F7ED;
    --mint-200: #D1F0DA;
    --mint-300: #B2E5C2;
    --mint-400: #94DBA9;
    --mint-500: #75D191;
    --mint-600: #54C677;
    --mint-700: #329654;
    --mint-800: #1F5C36;
    --mint-900: #0C2417;


    --primary-main: var(--mint-400);
    --primary-light: var(--mint-100);

    /* Background */
    --background-light: var(--grey-50);
    --background-dark: var(--grey-900);
    --background-light-accent: var(--grey-200);
    --background-dark-accent: var(--grey-700);

    /* Text - Dark Mode */
    --text-dark-primary: var(--grey-900);
    --text-dark-secondary: var(--grey-700);

    /* Text - Light Mode */
    --text-light-primary: var(--grey-50);
    --text-light-secondary: var(--grey-200);

    --logo-font: 'Roboto', sans-serif;
    --main-font: 'Poppins', sans-serif;
    --roboto-font: 'Roboto', sans-serif;
    --breakpoint-tb: 992px;
    --breakpoint-mb: 576px;
    --max-content-12: 1280px;
    --max-content-9: 1088px;

    --nav-header-height: 70px;
    --text-underline-offset: 0.3rem;

    --box-shadow: 0px 16px 32px hsl(240deg 4% 5% / 10%);

    .headline-large-tb {
        font-size: 2rem;
    }

    .headline-large-mb {
        font-size: 1.5rem;
    }

    .headline-medium-dt {
        font-size: 1.5rem;
    }
}

body {
    background-color: var(--background-light);
    color: var(--text-dark-primary);
    font-family: var(--main-font);
    margin: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    overscroll-behavior-x: none;
}

a {
    text-decoration: none;
    color: var(--text-dark-primary);
    position: relative;
}


.heading-underline-wrapper h1::before {
    width: calc(100% + 6px);
    height: 6px;
    left: -3px;
    transform: rotate(0.5deg);
    border-radius: 23% 18% 25% 22%;
    background: var(--mint-400);
    bottom: 0px;
    z-index: -1;
    opacity: 0.8;
    content: "";
    position: absolute;
}

.heading-underline-wrapper h2::before {
    width: calc(100% + 6px);
    height: 6px;
    left: -3px;
    transform: rotate(0.5deg);
    border-radius: 23% 18% 25% 22%;
    background: var(--mint-400);
    bottom: 0px;
    z-index: -1;
    opacity: 0.8;
    content: "";
    position: absolute;
}

h3.sub-header::before {
    width: calc(100% + 6px);
    height: 4px;
    left: -3px;
    transform: rotate(0.5deg);
    border-radius: 23% 18% 25% 22%;
    background: var(--mint-400);
    bottom: 0px;
    z-index: -1;
    opacity: 0.8;
    content: "";
    position: absolute;
}

.background-wrapper {
    padding: 64px;
    max-width: 1408px;
    margin: auto;
}

.background-wrapper.grey {
    background-color: var(--background-light-accent);
    border-radius: 8px;
}

.heading-underline-wrapper {
    width: 100%;
    z-index: 1;
}

p {
    line-height: 150%;
    font-size: 1.125rem;
    font-weight: 300;
    margin-block-start: 0;
    margin-block-end: 0;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 125%;
    text-align: left;
    position: relative;
    display: inline;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 125%;
    text-align: left;
    position: relative;
    display: inline;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 125%;
    position: relative;
    display: inline;
}


.smooth-underline::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-dark-primary);
    transition: width 0.3s ease;
}

.smooth-underline:hover::before {
    width: 100%;
}

.smooth-underline::part(link) {
    text-decoration: none;
    color: var(--text-dark-primary);
}

.terminal-look {
    font-family: var(--logo-font);
}

.card-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.card-grid.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
}

.content-container {
    display: flex;
    flex-direction: column;
}

.slogan-content {
    color: var(--mint-500);
    font-size: clamp(1rem, 1.3rem + 5.4vw, 5.5rem);
    margin: 0;
}

.button-text {
    font-size: 1.125rem;
    font-weight: 500
}

section {
    padding: 64px 32px;
}

header {
    padding: 0 98px;
}

.uppercase {
    text-transform: uppercase;
}

.page-headlines {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    section {
        padding: 96px 32px
    }

    header {
        padding: 0 64px
    }

    .background-wrapper {
        padding: 32px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    section {
        padding: 64px 16px
    }

    header {
        padding: 0 32px
    }

    p {
        font-size: 1rem;
    }

    .background-wrapper {
        padding: 0;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .card-grid.two-col {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .card-grid.three-col {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
