/* Reset & Base */
:root {
  --container-width: 1200px;
  --section-gap: 80px;
  --border-radius: 12px;

  --breakpoint-xs: 360px;
  --breakpoint-sm: 680px;
  --breakpoint-md: 1000px;
  --breakpoint-lg: 1200px;
  --breakpoint-xl: 1440px;
  --breakpoint-xxl: 1920px;

  --base-font-family: Inter, sans-serif;

  --color-background: #f9f9ff;
  --color-primary: #605bff;
  --color-primary-hover: #3731ff;
  --color-secondary-hover: #efefff;
  --color-primary-50: #605bff50;
  --color-gradient-primary: linear-gradient(
    162.69deg,
    #844fd9 -18.59%,
    #605bff 98.68%
  );

  --color-text: #4b5563;
  --color-footer-background: #202224;

  --container-padding: 0px;
  --color-links: var(--color-header-text);

  --color-mobile-menu-bg: #ffffff;
  --color-mobile-menu-text: #9ca3af;
  --color-header-text: #111827;
  --color-footer-text: #9a9aa9;
}

@media (max-width: 1024px) {
  :root {
    --container-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 100%;
  }
}

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

body {
  font-family: var(--base-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fff;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section-padding {
  padding: var(--section-gap) 0;
}

.section-padding-bottom {
  padding-bottom: var(--section-gap);
}

/* Typography */

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

.text {
  color: var(--color-text);
  line-height: 1.6;
}

.text-highlight {
  color: var(--color-primary);
}

/* Sections */
.gray-section {
  background: var(--color-background);
}

/* Media Queries */
@media (max-width: 1024px) {
  :root {
    --container-padding: 32px;
    --section-gap: 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 40px;
  }

  .container {
    padding: 0 25px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 25px;
  }
}

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

.flex-column {
  flex-direction: column;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

body {
  font-family: var(--base-font-family);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.h1 {
  font-size: 52px;
  line-height: 58px;
  font-weight: 700;
  margin-bottom: 28px;
}

.h2 {
  font-size: 48px;
  line-height: 54px;
  font-weight: 700;
}

.h3 {
  font-size: 22px;
  line-height: 28px;
}

@media screen and (max-width: 768px) {
  .h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .h3 {
    font-size: 16px;
    line-height: 24px;
  }
  .text {
    font-size: 14px;
    line-height: 20px;
  }
}
