@charset "utf-8";

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

html,
body {
  min-height: 100%;
}

body {
  overflow-x: hidden;
  color: rgba(47, 47, 47, 1);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background: rgba(255, 119, 164, 1);
}

a {
  color: inherit;
}

img {
  display: block;
}

.landing {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: url("../image/avenora/background.png") center top / cover no-repeat;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 82px;
  padding: 0 190px 0 320px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 60px;
  height: 60px;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 92px;
  font-size: 28px;
  line-height: 1.2;
}

.legal-links a {
  text-underline-offset: 3px;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 365px;
  left: 320px;
}

.hero-copy h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.google-play {
  width: 407px;
  height: 120px;
  margin-top: 46px;
}

.phone-preview {
  position: absolute;
  z-index: 1;
  top: 122px;
  left: calc(50% + 240px);
  width: 473px;
  height: 904px;
}

@media (max-width: 1600px) {
  .site-header {
    height: 68px;
    padding-right: 8%;
    padding-left: 15.6%;
  }

  .brand {
    gap: 14px;
    font-size: 27px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .legal-links {
    gap: 64px;
    font-size: 23px;
  }

  .hero-copy {
    top: 33.8%;
    left: 15.6%;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .google-play {
    width: 339px;
    height: 100px;
    margin-top: 38px;
  }

  .phone-preview {
    top: 11.3%;
    left: 62.5%;
    width: 394px;
    height: auto;
  }
}

@media (max-width: 1050px) {
  .landing {
    min-height: 1120px;
    background-position: center top;
  }

  .site-header {
    height: 78px;
    padding: 0 28px;
  }

  .legal-links {
    gap: 30px;
    font-size: 18px;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 56px);
    margin: 112px auto 0;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .google-play {
    width: 326px;
    height: auto;
    margin: 38px auto 0;
  }

  .phone-preview {
    top: 570px;
    left: 50%;
    width: 414px;
    height: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .landing {
    min-height: 920px;
  }

  .site-header {
    align-items: flex-start;
    height: 104px;
    padding: 14px 18px 0;
  }

  .brand {
    gap: 9px;
    font-size: 21px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .legal-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    padding-top: 4px;
    font-size: 14px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin-top: 55px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.24;
  }

  .google-play {
    width: 250px;
    margin-top: 28px;
  }

  .phone-preview {
    top: 465px;
    width: 330px;
  }
}
