#hero {
  --text-bright: rgba(255,255,255,1);
  --text-dim: #A090BB;
  --text-highlight: #7C04C0;
  height: 1620px;
}

h2 {
  font-family: var(--typeface-serif);
  font-size: 80px;
  font-weight: 500;
  line-height: 1.05;
  margin: auto;
  text-align: center;
}

header {
  background: #4F307C;
}

.hero-container {
  background: url("/assets/media/desk.svg")  no-repeat;
  background-position: center -85px;
  position: relative;
  top: 0;
  display: flex;
  justify-content: center;
  align-content: stretch;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  width: 2500px;
  overflow: hidden;
}

.hero-visual img {
  position: absolute;
  transition: left 0.2s, top 0.2s;
}

.hero-visual img.ink {
  transform: rotateX(54.7deg) rotateY(0deg) rotateZ(-45deg);
  opacity: 0.5;
}

.hero-visual img.isometric {
  transform: rotateX(54.7deg) rotateY(0deg) rotateZ(-45deg);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  opacity: 0.8;
}

.hero-visual img#macbook {
  width: 900px;
  top: 400px;
  left: 1050px;
  /* clip-path: path('M271 207L647 -11V276L955 457V786H378H-2V272H171L271 232V207Z'); */
  z-index: 500;
}

.hero-visual img#ipad {
  width: 640px;
  top: 960px;
  left: 875px;
}

.hero-visual img#book {
  width: 750px;
  top: 360px;
  left: 1800px;
}

.hero-visual img#board1 {
  width: 280px;
  top: 310px;
  left: 260px;
}

.hero-visual img#board2 {
  width: 500px;
  top: 680px;
  left: 500px;
}

.hero-visual img#board3 {
  width: 400px;
  top: 260px;
  left: 810px;
}

.hero-visual img#board4 {
  width: 340px;
  top: 570px;
  left: 1030px;
}

.hero-visual img#board5 {
  width: 400px;
  top: 340px;
  left: 1240px;
}

.hero-visual img#board6 {
  width: 240px;
  top: 20px;
  left: 1700px;
}

.hero-visual img#board7 {
  width: 400px;
  top: 140px;
  left: 2050px;
}

.hero-visual img#ink1 {
  width: 400px;
  top: 745px;
  left: 865px;
}

.hero-visual img#ink2 {
  width: 65px;
  top: 570px;
  left: 1800px;
}

.hero-visual p.subline  {
  position: absolute;
  transform: rotateX(54deg) rotateY(0deg) rotateZ(-45deg);
  transform-style: preserve-3d;
  width: 500px;
  top: 890px;
  left: 750px;
  color: var(--text-dim);
  font-size: 38px;
  font-weight: 500;
  line-height: 120%;
}

.hero-visual p.desknote {
  position: absolute;
  transform: rotateX(35.2deg) rotateY(-45deg) rotateZ(0deg);
  transform-style: preserve-3d;
  width: 500px;
  top: 1246px;
  left: 1171px;
  color: #73559E;
  font-size: 20px;
  font-weight: 500;
}

.hero-visual #overlay {
  position: absolute;
  background: linear-gradient(rgba(79,48,124,1),rgba(79,48,124,0));
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-text {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
}

.hero-text h1 {
  color: var(--text-bright);
  font-size: 200px;
  line-height: 0.9;
  text-shadow: 0px 0px 100px #3D255F;
  text-align: center;
  max-width: 740px;
  margin:auto;
}

#homepage-whatsnew a {
  font-size: 18px;
  color: var(--text-bright);
  display: inline-block;
  padding: 7px 15px 7px 17px;
  margin-bottom: 15px;
  border-radius: 30px;
  background-color: rgba(255,255,255,1);
  box-shadow: 0px 0px 4px rgba(0,0,0,0.1);
}

#homepage-whatsnew a:hover {
  color: var(--text-highlight);
}

#product .product-intro {
  margin: 5vw auto 4vw auto;
  text-align: center;
}

#product .product-intro a.product-teaser {
  font-size: 20px;
  font-weight: 500;
  display: inline-block;
  background: rgba(0,0,0,0.1);
  padding: 5px 16px 5px 16px;
  border-radius: 20px;
  margin-top: 10px;
  transition: transform 0.1s;
}

#product .product-intro a.product-teaser:hover {
  background: rgba(0,0,0,0.2);
  color: rgba(0,0,0,1);
  }

#product .product-intro a.product-teaser:active {
  transform: scale(0.9);
  }

#product .product-modules {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#product .module {
  width: 100%;
  margin-top: 1vw;
  margin-bottom: 1vw;
  border-radius: 24px;
  overflow: hidden;
}

#product .module a {
  margin-top: 10px;
  font-size: 27px;
  font-weight: 500;
  color: var(--text-highlight);
}

#product .module.feature {
  background: rgba(255,255,255,0.7);
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.05), 0px 0px 12px rgba(0,0,0,0.05);
}

#product .module.feature:nth-child(even) {
  flex-direction: row-reverse;
}

#product .module.feature .feature-info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 10% 0 10%;
}

#product .module.feature .feature-visual img {
  display: block;
  max-width: 34vw;
  border-radius: 8px;
  opacity: 1;
}

#product .module.feature a.linkoverlay {
  display: block;
  width:100%;
  height:100%;
  top:0;
  left: 0;
  z-index: 1;
}

#product .module.feature, #product .module.feature .feature-visual img, #product .module.feature .feature-info {
  transform-origin: center;
}

/* #product .module.feature:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1), 0px 0px 80px rgba(0,0,0,0.1);
  background: rgba(255,255,255,1);
} */

#product .module.feature .feature-info .icon {
  width: 48px;
}

#product .module.feature .feature-info h3, #product .module.feature .feature-info p {
  font-size: min(3vw, 40px);
  margin-bottom: 0;
  line-height: 1.05;
}

#product .module.feature .feature-info h3 {
  font-weight: 500;
}

#product .module.feature .feature-info p {
  color: rgba(0,0,0,0.4);
}

#product .module.principle {
  text-align: center;
  background: #FFFBED;
  color: #181714;
  padding: 40px 6vw 40px 6vw;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

#product .module.principle h3 {
  font-family: var(--typeface-serif);
  font-size: 27px;
  font-style: italic;
  font-weight: 400;
  margin: 0 0 10px 0;
}

#product .module.principle p {
  font-family: var(--typeface-serif);
  font-size: 36px
}

#product .module.principle p em {
  font-style: italic;
  font-weight: 600;
}

#product .module.user {
  background: #403560;
  color: #FFFFFF;
  padding: 40px 6vw 40px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

#product .module.user .user-information {
  max-width: 760px;
}

#product .module.user h3 {
  font-size: 27px;
  font-weight: 500;
  color: #B2A4CA;
  margin: 0 0 10px 0;
}

#product .module.user p {
  font-family: var(--typeface-serif);
  font-style: italic;
  font-size: 36px;
  line-height: 1.2;
}

#product .module.user a {
  color: #FFE176;
}

#product .module.user img {
  max-width: 300px;
  max-height: 200px;
  border-radius: 6px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
  transform: rotate(-1deg)
}

#product .module.cta {
  background: #4F307C;
  color: #FFF;
  padding: 40px 60px 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#product .module.cta ul.cta-text li {
  font-size: 27px;
  line-height: 1.2;
  margin: 0;
  color: #A090BB;
}

#product .module.cta ul.cta-text li:first-child {
  font-weight: 500;
  color: #FFFFFF;
}

#product .module.cta .cta-buttons {
  font-size: 27px;
  font-weight: 500;
  display: flex;
  gap: 40px;
}

#product .module.cta .cta-buttons span {
  margin-right: 16px;
}

#product .module.cta .cta-buttons img {
  vertical-align: middle;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media only screen and (min-width: 1900px) {
  #product .product-modules {
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1vw;
  }
  #product .module.feature {
    width: 49%;
    margin-top: 0;
    margin-bottom: 0;
  }
  #product .module.feature .feature-info {
    padding: 0 5% 0 5%;
  }
  #product .module.feature .feature-visual img {
    height: 500px;
  }
  #product .module.feature .feature-info h3, #product .module.feature .feature-info p {
    font-size: 32px;
  }
}

@media only screen and (max-width: 1000px) {
  #hero {
    height: 1405px;
  }
  .hero-container {
    background-position: center -300px;
  }
  .hero-visual img.isometric, .hero-visual img.ink {
    display: none;
  }
  .hero-visual img#macbook {
    top: 200px;
    left: 780px;
    transform: scale(0.8);
  }
  .hero-visual img#ipad {
    top: 810px;
    left: 860px;
    transform: scale(0.8);
  }
  .hero-visual img#book {
    top: 520px;
    left: 1260px;
    transform: scale(0.7);
  }
  .hero-visual img#board2 {
    display: block;
    left: 680px;
    top: 420px;
    transform: rotateX(54.7deg) rotateY(0deg) rotateZ(-45deg) scale(0.8);
  }
  .hero-visual img#board4 {
    display: block;
    left: 970px;
    top: 260px;
    transform: rotateX(54.7deg) rotateY(0deg) rotateZ(-45deg) scale(0.7);
  }
  .hero-visual img#board6 {
    display: block;
    left: 1420px;
    top: 60px;
    transform: rotateX(54.7deg) rotateY(0deg) rotateZ(-45deg) scale(0.8);
  }
  .hero-visual img#ink2 {
    display: block;
    top: 580px;
    left: 1620px;
    transform: rotateX(54.7deg) rotateY(0deg) rotateZ(-45deg) scaleX(-0.8) scaleY(0.8);
  }
  .hero-visual p.subline {
    top: 810px;
    left: 700px;
    font-size: 30px;
    text-align: right;
  }
  .hero-visual p.desknote {
    left: 1140px;
    top: 1050px;
  }
  .hero-text {
    top: 40px;
  }
  .hero-text h1 {
    font-size: 100px;
  }
  h2 {
    font-size: 48px;
  }
  #product .module {
    border-radius: 16px;
  }
  #product .module.feature {
    padding: 32px;
  }
  #product .module.feature, #product .module.feature:nth-child(even) {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }
  #product .module.feature .feature-info {
    padding: 0;
  }
  #product .module.feature .feature-visual img {
    max-height: 400px;
    max-width: 100%;
    margin: 0;
  }
  #product .module.feature .feature-info h3, #product .module.feature .feature-info p {
    font-size: 30px;
  }
  #product .module.cta li {
    display: inline;
  }
  #product .module.cta {
    flex-direction: column;
    align-items: flex-start;
  }
  #product .module.cta .cta-buttons {
    margin-top: 40px;
    gap: 20px;
    flex-direction: column;
  }
}

@media only screen and (max-width: 680px) {
  #hero {
    height: 1350px;
  }
  .hero-container {
    background-position: 48.5% -420px;
  }
  .hero-text h1 {
    font-size: 70px;
  }
  .hero-visual img#book, .hero-visual img#ink1, .hero-visual img#board6  {
    display: none;
  }
  .hero-visual img#macbook {
    top: 160px;
    left: 750px;
    transform: scale(0.7);
    z-index: 0;
  }
  .hero-visual img#ipad {
    top: 710px;
    left: 920px;
    transform: scale(0.7);
    z-index: 0;
  }
  .hero-visual img#board2 {
    display: block;
    left: 1325px;
    top: 575px;
    transform: rotateX(54.7deg) rotateY(0deg) rotateZ(-45deg) scale(0.7);
    opacity: 0.6;
  }
  .hero-visual img#board4 {
    display: block;
    left: 870px;
    top: 665px;
    transform: rotateX(54.7deg) rotateY(0deg) rotateZ(-45deg) scale(0.8);
    opacity: 0.6;
  }
  .hero-visual p.subline {
    left: 1000px;
    top: 200px;
    transform: none;
    text-align: center;
    font-size: 24px;
    color: rgba(255,255,255,1);
  }
  .hero-visual p.desknote {
    display: none;
  }
  #product .product-intro {
    margin-top: 140px;
  }
}

#principles {
  margin-top: 10vw;
}

#principles .principles-essay {
  max-width: 1000px;
  margin: 4vw auto;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15), 0px 0px 30px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
}

#principles .essay-text {
  font-family: var(--typeface-serif);
  font-size: 27px;
  color: #181714;
  background: #FFFBED;
  padding: 5% 10% 5% 10%;
}

#principles .essay-text h3 {
  font-size: 27px;
  font-style: italic;
  margin-bottom: 80px;
}

#principles .essay-cta {
  font-size: 27px;
  color: #000000;
  background: #FFE176;
  padding: 5% 10% 5% 10%;
}

#principles li {
  margin-bottom: 6px;
}

#principles a {
  text-decoration: none;
  font-weight: 500;
}

#principles a:hover {
  text-decoration: underline;
}


header .sites .badge {
  background: #FFE176;
  color: black;
}

header .sites a.active {
  border-color: #FFE176;
}