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

html,
body {
  margin: 0;
  font-family: "Inter", sans-serif;
}

:root {
  /* Base colors */
  --main-white: #ffffff;
  --main-black: #09090c;

  /* Accent blue */
  --accent-blue: #496afd;
  --accent-blue-hover: #2040cd;
  --accent-blue-active: #0f2791;

  /* Accent purple */
  --accent-purple: #8230ca;
  --accent-purple-hover: #6000b3;
  --accent-purple-active: #400077;

  /* Backgrounds */
  --blue-bg: #e7eefd;
  --purple-bg: #ede5fd;
  --green-bg: #f4ffc2;

  /* Tags */
  --tag-blue: #d2e1ff;
  --tag-purple: #e2d3fe;

  /* Text & overlays */
  --text-secondary: #7a7a7a;
  --bg-grey: rgba(0, 0, 0, 0.1);
  --overlay-white: rgba(255, 255, 255, 0.3);

  /* Font family */
  --font-family-base: "Inter", sans-serif;

  /* Font weights */
  --font-weight-bold: 700;
  --font-weight-medium: 500;
  --font-weight-regular: 400;

  /* Font sizes */
  --font-size-h1: 64px; /* Bold */
  --font-size-h2: 48px; /* Bold */
  --font-size-h3: 32px; /* Bold */
  --font-size-h4: 28px; /* Bold */
  --font-size-bb1: 24px; /* Bold */
  --font-size-bb2: 20px; /* Bold */
  --font-size-b1: 24px; /* Medium */
  --font-size-b2: 20px; /* Medium */
  --font-size-b3: 16px; /* Medium */
  --font-size-b4: 14px; /* Regular */
  --font-size-b5: 12px; /* Regular */

  /* Line heights */
  --line-height-h3: 40px;
  --line-height-bb1: 36px;
  --line-height-bb2: 24px;
  --line-height-b1: 36px;
  --line-height-b2: 32px;
  --line-height-b3: 24px;
  --line-height-b4: 24px;
  --line-height-b5: 18px;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.header {
  padding: 5px;
  .header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 13px 52px;
  }

  .header__logo {
    font-size: 22px;
    color: var(--accent-blue);
  }

  .header__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
}

.hero {
  padding: 24px 0 80px;
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
x
  .hero__inner {
    display: flex;
    align-items: center;
    gap: 48px;
  }

  .hero__content {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .hero__tag {
    align-self: flex-start;
    padding: 8px 17px;
    border-radius: 32px;
    background: var(--tag-purple);
    color: var(--accent-purple);
    font-size: var(--font-size-b3);
    font-weight: 500;
    line-height: 24px;
  }

  .hero__title {
    margin: 0px;
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-h3);
    color: var(--main-black);
  }

  .hero__accent {
    color: var(--accent-blue);
  }

  .hero__subtitle {
    margin: 0;
    max-width: 504px;
    font-size: var(--font-size-b3);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-b3);
    color: var(--main-black);
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: var(--font-size-b3);
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
  }

  .hero__btn--primary {
    background: var(--accent-blue);
    color: var(--main-white);
  }

  .hero__btn--primary:hover {
    background: var(--accent-blue-hover);
  }

  .hero__btn--secondary {
    background: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
  }

  .hero__btn--secondary:hover {
    color: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
  }

  .hero__social {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .hero__avatars {
    display: flex;
  }

  .hero__avatar {
    --hero-avatar-size: 45px;
    width: var(--hero-avatar-size);
    height: var(--hero-avatar-size);
    border-radius: 50%;
    border: 3px solid var(--main-white);
    object-fit: cover;
    background: var(--main-white);
  }

  .hero__avatar + .hero__avatar {
    margin-left: -22px;
  }

  .hero__social-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-secondary);
  }

  .hero__social-text strong {
    font-weight: 700;
  }

  .hero__media {
    margin: 35px 0 42px;
    background-image: url('./assets/hero_background.png');
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero__image {
    width: 100%;
    height: auto;
    display: block;
    background-size:  object-fit;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__title {
    font-size: 44px;
  }
}
