@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--colors--body-bg);
    color: var(--colors--white);
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size--text-default);
    line-height: var(--line-height--text-default);
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size--h1-desktop);
    line-height: var(--line-height--h1);
}

h2 {
    font-size: var(--font-size--h2-desktop);
    line-height: var(--line-height--h2);
}

h3 {
    font-size: var(--font-size--h3-desktop);
    line-height: var(--line-height--h3);
}

h4 {
    font-size: var(--font-size--h4-desktop);
    line-height: var(--line-height--h4);
}

h5 {
    font-size: var(--font-size--h5-desktop);
    line-height: var(--line-height--h5);
}

a {
    color: var(--colors--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--colors--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

/* Section base */
.section {
    padding: var(--section-padding);
    position: relative;
}

/* Text utilities */
.text-primary {
    color: var(--colors--primary-color);
}

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

.text-center {
    text-align: center;
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Grid utility */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Subheading text */
.subtitle {
    font-size: var(--font-size--text-lg);
    color: var(--colors--gray-color);
    line-height: var(--line-height--text-default);
    max-width: 600px;
}

/* Section header block */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-top: 16px;
    margin-bottom: 20px;
}

.section-header .subtitle {
    margin: 0 auto;
}
