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

img {
  max-width: 100%;
  object-fit: contain;
}

/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --color-white: #fefefe;
  --color-white-48: rgba(255, 255, 255, 0.48);
  --color-gray: #6e6e6e;
  --color-gray-light: #f3f3f3;
  --color-black: #242321;
  --color-black-light: #fafafa;
  --color-orange: #f19514;
  --color-orange-light: #fff1de;
  --color-orange-bg: #fff8ef;
  --color-red: #f24713;
  --color-green: #10cc4f;

  /* Fonts */
  --font-heading: "Unbounded", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --container-width: 1440px;
  --section-gap: 80px;
}

/* ===== Base ===== */
html {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* ===== Container ===== */
.container {
  max-width: var(--container-width);
  width: calc(100% - 40px);
  margin: 0 auto;

  @media (max-width: 1440px) {
    --container-width: 1200px;
  }

  @media (max-width: 767px) {
    width: calc(100% - 24px);
  }
}

/* ===== Typography ===== */

.h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 64px;
  line-height: 74px;
  letter-spacing: 0;

  @media (max-width: 1200px) {
    font-size: 36px;
    line-height: 48px;
  }

  @media (max-width: 768px) {
    font-size: 24px;
    line-height: 32px;
  }
}

.h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0;

  @media (max-width: 1200px) {
    font-size: 32px;
    line-height: 40px;
  }

  @media (max-width: 768px) {
    font-size: 22px;
    line-height: 28px;
  }
}

.h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -2px;
}

.h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0;

  @media (max-width: 768px) {
    font-size: 15px;
    line-height: 130%;
  }
}

/* Body */
.body-400 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
}

.body-600 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
}

/* Small */
.small-400 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
}

.small-600 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
}

body .hide-1440 {
  @media (max-width: 1440px) {
    display: none !important;
  }
}

body .hide-1024 {
  @media (max-width: 1024px) {
    display: none !important;
  }
}

body .hide-767 {
  @media (max-width: 767px) {
    display: none !important;
  }
}

body .hide-375 {
  @media (max-width: 375px) {
    display: none !important;
  }
}

body .show-1440 {
  display: none;

  @media (min-width: 1441px) {
    display: block;
  }
}

body .show-1024 {
  display: none;

  @media (max-width: 1024px) {
    display: block;
  }
}

body .show-767 {
  display: none;

  @media (max-width: 767px) {
    display: block;
  }
}

body .show-375 {
  display: none;

  @media (max-width: 375px) {
    display: block;
  }
}

/* >= 1440 */
body .hide-min-1440 {
  @media (min-width: 1440px) {
    display: none !important;
  }
}

/* >= 1024 */
body .hide-min-1024 {
  @media (min-width: 1024px) {
    display: none !important;
  }
}

/* >= 768 */
body .hide-min-767 {
  @media (min-width: 767px) {
    display: none !important;
  }
}

/* >= 375 */
body .hide-min-375 {
  @media (min-width: 375px) {
    display: none !important;
  }
}

/* ===== Section spacing utilities ===== */
.sec-p-y {
  padding-top: 60px;
  padding-bottom: 60px;

  @media (max-width: 767px) {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.sec-m-t {
  margin-top: 60px;

  @media (max-width: 1024px) {
    margin-top: 20px;
  }

  @media (max-width: 767px) {
    margin-top: 32px;
  }
}

.sec-m-b {
  margin-bottom: 60px;

  @media (max-width: 1024px) {
    margin-top: 20px;
  }

  @media (max-width: 767px) {
    margin-top: 32px;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;

  &:hover {
    color: var(--color-orange);
  }
}
