/* Variables */
:root {
  /* Fonts */
  --hero-h1-font-family: 'Nunito', sans-serif;
  --hero-h1-font-size: 60px;
  --hero-h1-line-height: 120%;
  --hero-h1-font-weight: 700;
  --hero-h1-font-style: normal;

  /* Mobile Hero Fonts - Based on Figma */
  --mobile-h1-font-family: 'Nunito-Bold', sans-serif;
  --mobile-h1-font-size: 24px;
  --mobile-h1-line-height: 120%;
  --mobile-h1-font-weight: 700;

  --h2-font-family: 'Nunito', sans-serif;
  --h2-font-size: 44px;
  --h2-line-height: 120%;
  --h2-font-weight: 700;
  --h2-font-style: normal;

  --h3-font-family: 'Nunito', sans-serif;
  --h3-font-size: 32px;
  --h3-line-height: normal;
  --h3-font-weight: 700;
  --h3-font-style: normal;

  --h4-font-size: 24px;

  --regular-text-font-family: 'Nunito', sans-serif;
  --regular-text-font-size: 16px;
  --regular-text-line-height: 20px;
  --regular-text-font-weight: 400;
  --regular-text-font-style: normal;
  --regular-text-letter-spacing: -0.64px;

  /* Paragraph spacing/line-height (used in typography.css) */
  --paragraph-line-height: 1.4;
  --paragraph-margin-bottom: 24px;

  /* Lists spacing (used in typography.css) */
  --list-margin-y: 24px;
  --list-padding-left: 24px;
  --list-item-margin-bottom: 12px;

  --accent-text-font-family: 'Nunito', sans-serif;
  --accent-text-font-size: 20px;
  --accent-text-line-height: normal;
  --accent-text-font-weight: 700;
  --accent-text-font-style: normal;

  /* Effects */
  --ten-kartochki-box-shadow: 0px 5px 10px 0px rgba(19, 19, 19, 0.07);

  /* Colors */
  --berloga-magenta-10: rgba(181, 8, 71, 0.1);
  --berloga-magenta: #b50847;
  --berloga-white: #ffffff;
  --berloga-dark-blue: #395e88;
  --berloga-blue: #4eb3ca;
  --berloga-blue-10: rgba(78, 179, 202, 0.1);
  --berloga-blue-lightest: #eff8fa;
  --berloga-magenta-light: #f8e6ed;
  --berloga-text: #1a1a1a;
  --berloga-blue-darkest: #203853;
}

/* Responsive typography variables */
@media (max-width: 1440px) {
  :root {
    --hero-h1-font-size: 56px;
    --h2-font-size: 44px;
    --h3-font-size: 30px;
    --h4-font-size: 22px;
    --regular-text-font-size: 15px;
    --list-margin-y: 24px;
    --list-padding-left: 24px;
    --list-item-margin-bottom: 12px;
  }
}

@media (max-width: 1200px) {
  :root {
    --hero-h1-font-size: 48px;
    --h2-font-size: 40px;
    --h3-font-size: 28px;
    --h4-font-size: 20px;
    --regular-text-font-size: 15px;
    --paragraph-line-height: 1.3;
    --paragraph-margin-bottom: 20px;
    --list-margin-y: 20px;
    --list-padding-left: 24px;
    --list-item-margin-bottom: 12px;
  }
}

@media (max-width: 1024px) {
  :root {
    --hero-h1-font-size: 40px;
    --h2-font-size: 36px;
    --h3-font-size: 26px;
    --h4-font-size: 18px;
    --regular-text-font-size: 15px;
    --paragraph-line-height: 1.3;
    --paragraph-margin-bottom: 20px;
    --list-margin-y: 20px;
    --list-padding-left: 24px;
    --list-item-margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  :root {
    --hero-h1-font-size: 36px;
    --h2-font-size: 32px;
    --h3-font-size: 24px;
    --h4-font-size: 20px;
    --regular-text-font-size: 14px;
    --paragraph-line-height: 1.3;
    --paragraph-margin-bottom: 16px;
    --list-margin-y: 16px;
    --list-padding-left: 20px;
    --list-item-margin-bottom: 10px;
  }
}

@media (max-width: 375px) {
  :root {
    --hero-h1-font-size: 24px;
    --h2-font-size: 20px;
    --h3-font-size: 18px;
    --h4-font-size: 16px;
    --regular-text-font-size: 13px;
    --paragraph-line-height: 1.3;
    --paragraph-margin-bottom: 12px;
    --list-margin-y: 12px;
    --list-padding-left: 16px;
    --list-item-margin-bottom: 8px;
  }
}