/*
COMPONENTS
*/

/** BUTTONS **/
.button {
  display: inline-block;
  position: relative;
  font-family: "Sometype Mono", serif;
  font-weight: 500;
  font-size: .8rem;
  padding: 0 1.5rem;
  background: hsl(264, 66%, 65%);
  color: #F0F0E5;
  border-radius: .5rem;
  height: 64px;
  line-height: 64px;
  cursor: pointer;
  transition: background-color 0.2s;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

@media  (min-width: 768px) {
  .button {
    padding: 0 3rem;
    height: 72px;
    line-height: 72px;
    font-size: 1rem;
  }
}

.button-small {
  font-size: .8rem;
  padding: 0 1rem;
  height: 50px;
  line-height: 50px;
}

.button:before {
  content: "";
  position: absolute;
  inset: 0;
  filter: blur(0rem);
  transform: translate3d(.33rem,.33rem,-1px);
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(in lch 90deg, hsl(0, 87%, 34%), hsl(264, 69%, 28%));
  z-index: -1;
}

.button:hover,
.button:focus-visible {
  background: hsl(264, 51%, 56%);
}

.button-primary {

}

.button-large {

}




/** HERO **/
.hero {
  color: #F0F0E5;
  padding: 1rem 0 1rem;
  overflow: visible;
  background-repeat: no-repeat;
  background-position: right 65%;
  background-size: 200%;
}

@media (min-width: 540px) {
  .hero {
    background-size: 160%;
  }
}

.hero.hardlopen {
  background-size: 200%;
}

@media (min-width: 600px) {
  .hero.hardlopen {
    background-size: 140%;
  }
}

@media (min-width: 1024px) {
  .hero.hardlopen {
    background-size: 100%;
  }
}

.hero .container-content {
  display: flex;
  justify-content: flex-end;
}

.hero-content {
  text-align: right;
  z-index: 2;
}

.hero-title {
  font-size: clamp(.8rem, 8vw + 1rem, 5rem);
  text-shadow: 0 0 21px 1px rgba(0,0,0,0.75);
  line-height: 1.125;
  max-width: 620px;
}

.hero-title.fw {
  max-width: 40rem;
}

.hero-subtitle {
  font-size: clamp(.5rem, 1vw + 1rem, 2rem);
  text-shadow: 0px 0px 21px 1px rgba(0,0,0,0.75);
  padding-top: 3rem;
}

.hero-button {
  margin: 1rem 0;
}

/** ARTICLE **/
.article-split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 1rem 1rem 2rem;
  justify-content: space-between;
}





.article-split:has(.container-image + .article-content) {
  gap: 3rem;
}

.article-no-split {
  display: flex;
  flex-direction: row;
  padding: 3rem 1rem;
  justify-content: center;
}

.article-no-split p {
  text-wrap: pretty;
  max-width: 58ch;
}

.article-no-split h1,
.article-no-split h2,
.article-no-split h3 {
  text-wrap: balance;
  max-width: 32ch;
}

.article-split .article-content,
.article-split .container-image {

}

.article-split .container-image {
  background-color: #a20b0b;
  max-height: 360px;
  max-width: 360px;
  position: relative;
}

.article-split .container-image::before {
  content: "";
  position: absolute;
  inset: 0;
  filter: blur(0rem);
  transform: translate3d(3rem,3rem,-1px);

  pointer-events: none;
  background: rgb(240, 240, 229, 0.2);
  border-radius: 100rem;
}

.container-image .article-image {

  max-height: 360px;
  max-width: 360px;
  position: relative;
}

.article-button {
  margin: 1.5rem 0 0;
}



.q-block-container {

}

.card.article-q-split {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 2rem;
  justify-content: space-between;
}

.card.article-q-split .article-button {

}


@media (min-width: 756px ) {
  .q-block-container {
    display: flex;
    flex-direction: row;
    padding: 3rem 1rem;
    justify-content: center;
  }
}





@media (max-width: 919px ) {
  .article-split > .container-image  {
    order: 2;
  }
  .article-split > .container-image + .article-content  {
    order: 1;
  }
  .article-split.bio > .container-image  {
    order: 1;
    margin-top: 1rem;
  }
  .article-split.bio > .container-image + .article-content  {
    order: 2;
  }
  .article-split.bio.jn > .article-content  {
    order: 2;
    margin-top: 1rem;
  }
  .article-split.bio.jn > .article-content + .container-image  {
    order: 1;
  }

  .article-split .container-image,
  .container-image .article-image {
    width: 100%;
    height: 100%;

  }
}

@media (min-width: calc(920px) ) {
  .article-split {
    flex-direction: row;
  }
  .article-split:has(.container-image + .article-content) {
    gap: 6rem;
  }
}

@media (min-width: calc(1200px + 2rem) ) {
  .article-split {
    padding: 3rem 0;
  }
}





/** CARD **/
.card-container {
  gap: 1rem;
  padding: 3rem 1rem;
  flex-wrap: wrap;
}




.card {
  color: #F0F0E5;
  background: hsl(344, 61%, 40%);
  padding: .5rem 1.5rem 1.125rem;
  width: 100%;
  border-radius: 2rem;
  min-width: 320px;
  max-width: 440px;
}

@media (min-width: calc(920px) ) {
  .card-container {
    flex-direction: row;
  }
  .card {
    width: calc(50% - 1rem);
  }
}

@media (min-width: calc(86rem) ) {
  .card-container {
    flex-wrap: nowrap;
  }
  .card {
    width: 25%;
  }
}



a.card:hover,
a.card:focus-visible {
  background: hsl(264, 66%, 65%);
}

a.card p {
  margin-top: 0;
}


/** PRICING TABLE **/
.table-pricing {
  margin: 2rem 0 3rem;
}

.table-pricing th {
  padding-bottom: 1rem;
}

.table-pricing td {
  font-size: .8rem;
  padding: .125rem 1rem .125rem 0;
  position: relative;
}

.table-pricing td:first-child {
  width: 220px;
}

.table-pricing td:nth-child(2) {
  width: 50px;
  text-align: right;
}

.table-pricing .span-container {
  display: inline-block;
}

.table-pricing .badge-container {
  position: relative;
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

.table-pricing td img {
  position: absolute;
  top: -.15rem;
  left: -.8rem;
}

.span-container + .badge-container img {
  left: 0;
}


/** PARTNER LOGO'S **/
.container-partner-logos {

}

.partner-logo {
  height: 60px;
  display: inline-block;
  margin: 1rem 2rem;
}

.partner-logo.sq {
  height: 120px;
}

/** FOOTER **/
footer {
  color: #F0F0E5;

}

footer img {

  width: 100%;
  max-width: 200px;
}

footer p span:first-child {
  display: block;
  font-family: "Contrail One", serif;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

footer p span:last-child {
  letter-spacing: .08rem;
  font-size: .8rem;
  font-weight: 200;
}

footer .link {
  padding: .25rem;
}
