: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,
.heading-underline-wrapper h2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='10' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M6 2.5 C30 1.5, 50 3, 100 2.2 S150 1.8, 175 2.8 C185 3.5, 192 5, 190 7 C187 9, 180 8.8, 170 8.5 C130 7.5, 70 9, 12 8.2 C6 7.8, 3 6.5, 4 4.5 C5 2.8, 4 2.6, 6 2.5Z' fill='%2394DBA9' opacity='0.8'/%3E%3C/svg%3E");
    background-position: left bottom;
    background-size: calc(100% + 16px) 8px;
    background-repeat: no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-bottom: 2px;
    margin-left: -8px;
    padding-left: 8px;
    padding-right: 8px;
}

h3.sub-header {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M6 2 C30 1.2, 50 2.5, 100 1.8 S150 1.5, 175 2.2 C185 2.8, 192 4, 190 5.5 C187 7, 180 6.8, 170 6.8 C130 6, 70 7.2, 12 6.5 C6 6.2, 3 5, 4 3.5 C5 2.2, 4 2.1, 6 2Z' fill='%2394DBA9' opacity='0.8'/%3E%3C/svg%3E");
    background-position: left bottom;
    background-size: calc(100% + 12px) 6px;
    background-repeat: no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-bottom: 1px;
    margin-left: -6px;
    padding-left: 6px;
    padding-right: 6px;
}

.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));
    }
}
