@font-face {
  font-family: "PBG Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "PBG Roboto";
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.pbg-hero {
  --pbg-hero-bg-start: #1c252b;
  --pbg-hero-bg-end: #303e49;
  --pbg-hero-accent: #6256d9;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, var(--pbg-hero-bg-start), var(--pbg-hero-bg-end));
  font-family: "PBG Roboto", Arial, sans-serif !important;
  font-stretch: normal;
}

.pbg-hero,
.pbg-hero * {
  box-sizing: border-box;
}

.pbg-hero__inner {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 76px 0 120px;
}

.pbg-hero__copy {
  max-width: 900px;
}

.pbg-hero__copy h1,
.pbg-hero__copy h2 {
  margin: 0;
  color: inherit;
  font-family: "PBG Inter", Arial, sans-serif !important;
  font-stretch: normal !important;
}

.pbg-hero__copy h1 {
  max-width: 920px;
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 900 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  text-transform: uppercase;
}

.pbg-hero__copy h2 {
  max-width: 720px;
  margin-top: 22px;
  color: #b9c4cb;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.02em !important;
}

.pbg-hero__body {
  max-width: 640px;
  margin-top: 26px;
  color: #c3ccd2;
  font-size: 17px;
  line-height: 1.72;
}

.pbg-hero__body p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.pbg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: center;
  margin-top: 34px;
}

.pbg-hero__button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  color: #fff;
  font-family: "PBG Inter", Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 200ms cubic-bezier(.2, .7, .3, 1), box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.pbg-hero__button:hover,
.pbg-hero__button:focus {
  color: #fff;
  text-decoration: none;
}

.pbg-hero__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .72);
  outline-offset: 3px;
}

.pbg-hero__button--primary {
  min-width: 160px;
  padding-right: 30px;
  padding-left: 30px;
  background: var(--pbg-hero-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 24px rgba(86, 73, 201, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 24px color-mix(in srgb, var(--pbg-hero-accent) 42%, transparent);
}

.pbg-hero__button--primary:hover,
.pbg-hero__button--primary:focus {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 34px rgba(86, 73, 201, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 34px color-mix(in srgb, var(--pbg-hero-accent) 50%, transparent);
}

.pbg-hero__button--secondary {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .03);
}

.pbg-hero__button--secondary:hover,
.pbg-hero__button--secondary:focus {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .075);
}

.pbg-hero__button--secondary span {
  font-size: 17px;
}

.pbg-hero__visual {
  position: relative;
  margin-top: 82px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: #071525;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .3), 0 46px 96px rgba(0, 0, 0, .52);
}

.pbg-hero__main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.pbg-hero__card {
  position: absolute;
  z-index: 2;
  width: min(29%, 320px);
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .24)) drop-shadow(0 30px 44px rgba(0, 0, 0, .44));
}

.pbg-hero__card--left {
  top: 14%;
  left: -2.4%;
}

.pbg-hero__card--right {
  right: -2.2%;
  bottom: -3.6%;
  width: min(27%, 290px);
}

@media (max-width: 690px) {
  .pbg-hero__inner {
    width: min(100% - 38px, 1180px);
    padding: 54px 0 76px;
  }

  .pbg-hero__copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .pbg-hero__copy h2 {
    font-size: 21px;
  }

  .pbg-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pbg-hero__button {
    width: 100%;
  }

  .pbg-hero__visual {
    margin-top: 52px;
    padding: 10px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pbg-hero__button {
    transition: none;
  }
}
