/* variables */
:root {
  /* colors */
  --do9-color-primary-hsl: 250, 84%, 54%;
  --do9-color-bg-hsl: 0, 0%, 100%;
  --do9-color-contrast-high-hsl: 230, 7%, 23%;
  --do9-color-contrast-higher-hsl: 230, 13%, 9%;
  --do9-color-contrast-lower-hsl: 240, 4%, 85%;
  --do9-color-contrast-low-hsl: 240, 4%, 65%;
  --do9-color-contrast-medium-hsl: 225, 4%, 47%;
  --do9-color-black-hsl: 230, 13%, 9%;

  /* spacing */
  --do9-space-2xs: 0.375rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --do9-space-2xs: 0.5625rem;
  }
}

/* component */
:root {
  --dev-phone-radius: 14%;
  --dev-phone-img-ratio: 0.56;
  --dev-tablet-radius: 6%;
  --dev-tablet-img-ratio: 0.75;
  --dev-browser-radius: 1.5%;
  --dev-browser-img-ratio: 1.6;
  --dev-laptop-radius: 3%;
  --dev-laptop-img-ratio: 1.6;
  --dev-desktop-radius: 3%;
  --dev-desktop-img-ratio: 1.6;
}

/* #region (Phone) */
.dev-phone, .dev-phone__body {
  position: relative;
  width: 100%;
}

.dev-phone {
  z-index: 1;
}

.dev-phone__body {
  background-color: hsl(var(--do9-color-bg-hsl));
  --phone-inner-shadow: inset 0 0 0.285em hsla(0, 0%, 0%, 0.15), inset 0 0 0.1em hsla(0, 0%, 0%, 0.035), inset 0 0 0.05em hsla(0, 0%, 0%, 0.005);
  box-shadow: var(--phone-inner-shadow);
  padding: 3%;
  z-index: 2;
  border-top-left-radius: var(--dev-phone-radius) calc(var(--dev-phone-radius) * var(--dev-phone-img-ratio));
  border-top-right-radius: var(--dev-phone-radius) calc(var(--dev-phone-radius) * var(--dev-phone-img-ratio));
  border-bottom-right-radius: var(--dev-phone-radius) calc(var(--dev-phone-radius) * var(--dev-phone-img-ratio));
  border-bottom-left-radius: var(--dev-phone-radius) calc(var(--dev-phone-radius) * var(--dev-phone-img-ratio));
}
.dev-phone--dark .dev-phone__body {
  background-color: hsl(var(--do9-color-black-hsl));
  border: 3px solid #F34747;
}

.dev-phone__media {
  position: relative;
  overflow: hidden;
  border-top-left-radius: calc(var(--dev-phone-radius) * 0.85) calc(var(--dev-phone-radius) * 0.85 * var(--dev-phone-img-ratio));
  border-top-right-radius: calc(var(--dev-phone-radius) * 0.85) calc(var(--dev-phone-radius) * 0.85 * var(--dev-phone-img-ratio));
  border-bottom-left-radius: calc(var(--dev-phone-radius) * 0.85) calc(var(--dev-phone-radius) * 0.85 * var(--dev-phone-img-ratio));
  border-bottom-right-radius: calc(var(--dev-phone-radius) * 0.85) calc(var(--dev-phone-radius) * 0.85 * var(--dev-phone-img-ratio));
}
.dev-phone__media img, .dev-phone__media svg, .dev-phone__media video {
  display: block;
  width: 100%;
  height: auto;
}
.dev-phone__media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.075);
  border-radius: inherit;
  pointer-events: none;
}
.dev-phone--dark .dev-phone__media::after {
  display: none;
}

.dev-phone__notch {
  position: absolute;
  z-index: 2;
  top: 0;
  width: 50%;
  right: 25%;
  height: 4%;
  border-radius: 0 0 0.85em 0.85em;
  background-color: hsl(var(--do9-color-bg-hsl));
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top-width: 0;
}
.dev-phone--dark .dev-phone__notch {
  background-color: hsl(var(--do9-color-black-hsl));
  border-width: 0;
}

.dev-phone--landscape .dev-phone__body {
  padding: 1.75%;
  border-top-left-radius: calc(var(--dev-phone-radius) * var(--dev-phone-img-ratio)) var(--dev-phone-radius);
  border-top-right-radius: calc(var(--dev-phone-radius) * var(--dev-phone-img-ratio)) var(--dev-phone-radius);
  border-bottom-right-radius: calc(var(--dev-phone-radius) * var(--dev-phone-img-ratio)) var(--dev-phone-radius);
  border-bottom-left-radius: calc(var(--dev-phone-radius)*var(--dev-phone-img-ratio)) var(--dev-phone-radius);
}
.dev-phone--landscape .dev-phone__media {
  border-top-left-radius: calc(var(--dev-phone-radius) * 0.85 * var(--dev-phone-img-ratio)) calc(var(--dev-phone-radius) * 0.85);
  border-top-right-radius: calc(var(--dev-phone-radius) * 0.85 * var(--dev-phone-img-ratio)) calc(var(--dev-phone-radius) * 0.85);
  border-bottom-left-radius: calc(var(--dev-phone-radius) * 0.85 * var(--dev-phone-img-ratio)) calc(var(--dev-phone-radius) * 0.85);
  border-bottom-right-radius: calc(var(--dev-phone-radius) * 0.85 * var(--dev-phone-img-ratio)) calc(var(--dev-phone-radius) * 0.85);
}
.dev-phone--landscape .dev-phone__notch {
  right: 0;
  height: 56%;
  top: 22%;
  width: 4%;
  border-radius: 0.85em 0 0 0.85em;
  border-right-width: 0px;
  border-top-width: 1px;
}

.dev-phone--front-light .dev-phone__body {
  box-shadow: var(--phone-inner-shadow), 0 1.2px 1.9px -1px rgba(0, 0, 0, 0.014),0 3.3px 5.3px -1px rgba(0, 0, 0, 0.038),0 8.5px 12.7px -1px rgba(0, 0, 0, 0.085),0 30px 42px -1px rgba(0, 0, 0, 0.15);
}

.dev-phone--top-light .dev-phone__shadow {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
  height: 1em;
  width: 100%;
  left: 0;
  bottom: -0.5em;
  border-radius: 100%;
  -webkit-filter: blur(5px);
          filter: blur(5px);
}
.dev-phone--top-light .dev-phone__shadow::before, .dev-phone--top-light .dev-phone__shadow::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}
.dev-phone--top-light .dev-phone__shadow::before {
  top: 20%;
  left: 10%;
  width: 80%;
  height: 40%;
  background-color: rgba(0, 0, 0, 0.4);
}
.dev-phone--top-light .dev-phone__shadow::after {
  top: 20%;
  left: 5%;
  width: 90%;
  height: 60%;
  background-color: rgba(0, 0, 0, 0.15);
}

/* #endregion */
/* #region (Tablet) */
.dev-tablet, .dev-tablet__body {
  position: relative;
  width: 100%;
}

.dev-tablet {
  z-index: 1;
}

.dev-tablet__body {
  background-color: hsl(var(--do9-color-bg-hsl));
  --tablet-inner-shadow: inset 0 0 0.285em hsla(0, 0%, 0%, 0.15), inset 0 0 0.1em hsla(0, 0%, 0%, 0.035), inset 0 0 0.05em hsla(0, 0%, 0%, 0.005);
  box-shadow: var(--tablet-inner-shadow);
  padding: 3%;
  z-index: 2;
  border-top-left-radius: var(--dev-tablet-radius) calc(var(--dev-tablet-radius) * var(--dev-tablet-img-ratio));
  border-top-right-radius: var(--dev-tablet-radius) calc(var(--dev-tablet-radius) * var(--dev-tablet-img-ratio));
  border-bottom-right-radius: var(--dev-tablet-radius) calc(var(--dev-tablet-radius) * var(--dev-tablet-img-ratio));
  border-bottom-left-radius: var(--dev-tablet-radius) calc(var(--dev-tablet-radius) * var(--dev-tablet-img-ratio));
}

.dev-tablet__media {
  position: relative;
  overflow: hidden;
  border-top-left-radius: calc(var(--dev-tablet-radius) * 0.75) calc(var(--dev-tablet-radius) * 0.75 * var(--dev-tablet-img-ratio));
  border-top-right-radius: calc(var(--dev-tablet-radius) * 0.75) calc(var(--dev-tablet-radius) * 0.75 * var(--dev-tablet-img-ratio));
  border-bottom-left-radius: calc(var(--dev-tablet-radius) * 0.75) calc(var(--dev-tablet-radius) * 0.75 * var(--dev-tablet-img-ratio));
  border-bottom-right-radius: calc(var(--dev-tablet-radius) * 0.75) calc(var(--dev-tablet-radius) * 0.75 * var(--dev-tablet-img-ratio));
}
.dev-tablet__media img, .dev-tablet__media svg, .dev-tablet__media video {
  display: block;
  width: 100%;
  height: auto;
}
.dev-tablet__media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.075);
  border-radius: inherit;
  pointer-events: none;
}

.dev-tablet--landscape .dev-tablet__body {
  padding: 1.75%;
  border-top-left-radius: calc(var(--dev-tablet-radius) * var(--dev-tablet-img-ratio)) var(--dev-tablet-radius);
  border-top-right-radius: calc(var(--dev-tablet-radius) * var(--dev-tablet-img-ratio)) var(--dev-tablet-radius);
  border-bottom-right-radius: calc(var(--dev-tablet-radius) * var(--dev-tablet-img-ratio)) var(--dev-tablet-radius);
  border-bottom-left-radius: calc(var(--dev-tablet-radius)*var(--dev-tablet-img-ratio)) var(--dev-tablet-radius);
}
.dev-tablet--landscape .dev-tablet__media {
  border-top-left-radius: calc(var(--dev-tablet-radius) * 0.85 * var(--dev-tablet-img-ratio)) calc(var(--dev-tablet-radius) * 0.85);
  border-top-right-radius: calc(var(--dev-tablet-radius) * 0.85 * var(--dev-tablet-img-ratio)) calc(var(--dev-tablet-radius) * 0.85);
  border-bottom-left-radius: calc(var(--dev-tablet-radius) * 0.85 * var(--dev-tablet-img-ratio)) calc(var(--dev-tablet-radius) * 0.85);
  border-bottom-right-radius: calc(var(--dev-tablet-radius) * 0.85 * var(--dev-tablet-img-ratio)) calc(var(--dev-tablet-radius) * 0.85);
}

.dev-tablet--front-light .dev-tablet__body {
  box-shadow: var(--tablet-inner-shadow), 0 1.2px 1.9px -1px rgba(0, 0, 0, 0.014),0 3.3px 5.3px -1px rgba(0, 0, 0, 0.038),0 8.5px 12.7px -1px rgba(0, 0, 0, 0.085),0 30px 42px -1px rgba(0, 0, 0, 0.15);
}

.dev-tablet--top-light .dev-tablet__shadow {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
  height: 1em;
  width: 100%;
  left: 0;
  bottom: -0.5em;
  border-radius: 100%;
  -webkit-filter: blur(5px);
          filter: blur(5px);
}
.dev-tablet--top-light .dev-tablet__shadow::before, .dev-tablet--top-light .dev-tablet__shadow::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}
.dev-tablet--top-light .dev-tablet__shadow::before {
  top: 20%;
  left: 10%;
  width: 80%;
  height: 40%;
  background-color: rgba(0, 0, 0, 0.4);
}
.dev-tablet--top-light .dev-tablet__shadow::after {
  top: 20%;
  left: 5%;
  width: 90%;
  height: 60%;
  background-color: rgba(0, 0, 0, 0.15);
}

/* #endregion */
/* #region (Browser) */
.dev-browser,
.dev-browser__body {
  position: relative;
  width: 100%;
}

.dev-browser {
  z-index: 1;
}

.dev-browser__body {
  background: hsl(var(--do9-color-bg-hsl));
  padding: 2em 1.5% 1.5%;
  --browser-inner-shadow: inset 0 0 0.285em hsla(0, 0%, 0%, 0.15), inset 0 0 0.1em hsla(0, 0%, 0%, 0.035), inset 0 0 0.05em hsla(0, 0%, 0%, 0.005);
  box-shadow: var(--browser-inner-shadow);
  border-top-left-radius: var(--dev-browser-radius) calc(var(--dev-browser-radius) * var(--dev-browser-img-ratio));
  border-top-right-radius: var(--dev-browser-radius) calc(var(--dev-browser-radius) * var(--dev-browser-img-ratio));
  border-bottom-right-radius: var(--dev-browser-radius) calc(var(--dev-browser-radius) * var(--dev-browser-img-ratio));
  border-bottom-left-radius: var(--dev-browser-radius) calc(var(--dev-browser-radius) * var(--dev-browser-img-ratio));
  z-index: 2;
}

.dev-browser__media {
  overflow: hidden;
  border-radius: 0.25em;
}
.dev-browser__media img, .dev-browser__media svg, .dev-browser__media video {
  display: block;
  width: 100%;
  height: auto;
}

.dev-browser__dots {
  position: absolute;
  left: calc(1.5% + 0.4em);
  top: calc(1em - 6px);
  display: flex;
}
.dev-browser__dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: hsla(var(--do9-color-contrast-higher-hsl), 0.2);
  margin-right: var(--do9-space-2xs);
}

.dev-browser--front-light .dev-browser__body {
  box-shadow: var(--browser-inner-shadow), 0 1.2px 1.9px -1px rgba(0, 0, 0, 0.014),0 3.3px 5.3px -1px rgba(0, 0, 0, 0.038),0 8.5px 12.7px -1px rgba(0, 0, 0, 0.085),0 30px 42px -1px rgba(0, 0, 0, 0.15);
}

.dev-browser--top-light .dev-browser__shadow {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
  height: 1em;
  width: 100%;
  left: 0;
  bottom: -0.5em;
  border-radius: 100%;
  -webkit-filter: blur(5px);
          filter: blur(5px);
}
.dev-browser--top-light .dev-browser__shadow::before, .dev-browser--top-light .dev-browser__shadow::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}
.dev-browser--top-light .dev-browser__shadow::before {
  top: 20%;
  left: 10%;
  width: 80%;
  height: 40%;
  background-color: rgba(0, 0, 0, 0.4);
}
.dev-browser--top-light .dev-browser__shadow::after {
  top: 20%;
  left: 5%;
  width: 90%;
  height: 60%;
  background-color: rgba(0, 0, 0, 0.2);
}

/* #endregion */
/* #region (Laptop) */
.dev-laptop {
  position: relative;
  z-index: 1;
  width: 100%;
}

.dev-laptop__body {
  width: 85%;
  margin: 0 auto;
  background-color: hsl(var(--do9-color-black-hsl));
  border: 3px solid hsl(var(--do9-color-contrast-low-hsl));
  border-bottom-width: 0;
  padding: 3% 1.5% 1.5%;
  border-top-left-radius: var(--dev-laptop-radius) calc(var(--dev-laptop-radius) * var(--dev-laptop-img-ratio));
  border-top-right-radius: var(--dev-laptop-radius) calc(var(--dev-laptop-radius) * var(--dev-laptop-img-ratio));
  z-index: 2;
}

.dev-laptop__media img, .dev-laptop__media svg, .dev-laptop__media video {
  display: block;
  width: 100%;
  height: auto;
}

.dev-laptop__base {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 3%;
  background: linear-gradient(hsla(var(--do9-color-contrast-low-hsl), 0.8), hsl(var(--do9-color-contrast-low-hsl)) 7% 55%, hsla(var(--do9-color-contrast-medium-hsl), 1) 55%, hsla(var(--do9-color-contrast-high-hsl), 0.6));
  border-bottom-left-radius: 10% 50%;
  border-bottom-right-radius: 10% 50%;
  z-index: 2;
}
.dev-laptop__base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 40%;
  width: 20%;
  height: 35%;
  border-radius: 0 0 1em 1em;
  background-color: hsla(var(--do9-color-contrast-medium-hsl), 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

.dev-laptop__shadow {
  position: absolute;
  z-index: 1;
  height: 1em;
  width: 94%;
  left: 3%;
  bottom: -0.5em;
  -webkit-perspective: 400px;
          perspective: 400px;
}
.dev-laptop__shadow::before, .dev-laptop__shadow::after {
  content: "";
  position: absolute;
}
.dev-laptop__shadow::before {
  top: 0;
  left: 1%;
  width: 98%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  -webkit-transform: rotateX(70deg);
          transform: rotateX(70deg);
  -webkit-filter: blur(5px);
          filter: blur(5px);
}
.dev-laptop__shadow::after {
  top: calc(44% - 1px);
  left: 4%;
  width: 92%;
  height: 12%;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-filter: blur(1px);
          filter: blur(1px);
}

/* #endregion */
/* #region (Desktop) */
.dev-desktop {
  position: relative;
  z-index: 1;
  width: 100%;
}

.dev-desktop__body {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  background-color: hsl(var(--do9-color-black-hsl));
  border: 3px solid hsl(var(--do9-color-contrast-low-hsl));
  padding: 4%;
  border-top-left-radius: var(--dev-desktop-radius) calc(var(--dev-desktop-radius) * var(--dev-desktop-img-ratio));
  border-top-right-radius: var(--dev-desktop-radius) calc(var(--dev-desktop-radius) * var(--dev-desktop-img-ratio));
  border-bottom-right-radius: var(--dev-desktop-radius) calc(var(--dev-desktop-radius) * var(--dev-desktop-img-ratio));
  border-bottom-left-radius: var(--dev-desktop-radius) calc(var(--dev-desktop-radius) * var(--dev-desktop-img-ratio));
}

.dev-desktop__media img, .dev-desktop__media svg, .dev-desktop__media video {
  display: block;
  width: 100%;
  height: auto;
}

.dev-desktop__base {
  position: relative;
  z-index: 1;
  width: 33%;
  margin: 0 auto;
  height: 0;
  padding-bottom: 15%;
  -webkit-perspective: 180px;
          perspective: 180px;
}

.dev-desktop__base-top {
  position: absolute;
  z-index: 3;
  top: -1px;
  left: 15%;
  width: 70%;
  height: 80%;
  -webkit-clip-path: polygon(3% 0%, 97% 0%, 100% 100%, 0% 100%);
          clip-path: polygon(3% 0%, 97% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(hsla(var(--do9-color-contrast-medium-hsl), 1), hsl(var(--do9-color-contrast-low-hsl)));
}

.dev-desktop__base-bottom {
  position: absolute;
  z-index: 2;
  top: calc(80% - 2px);
  left: 15%;
  width: 70%;
  height: 50%;
  border-radius: 0 0 0.25em 0.25em;
  -webkit-transform-origin: center top;
          transform-origin: center top;
  -webkit-transform: rotateX(80deg);
          transform: rotateX(80deg);
  background-color: hsl(var(--do9-color-contrast-low-hsl));
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.25);
}

.dev-desktop__shadow {
  position: absolute;
  z-index: 1;
  top: calc(80% - 2px);
  left: 17%;
  width: 66%;
  height: 50%;
  border-radius: 0 0 0.25em 0.25em;
  -webkit-transform-origin: center top;
          transform-origin: center top;
  -webkit-transform: rotateX(80deg);
          transform: rotateX(80deg);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4), 0 4px 4px rgba(0, 0, 0, 0.15);
}

/* #endregion */

/* utility classes */
.do9-max-width-2xs {
  max-width: 32rem;
}

.do9-max-width-4xs {
  max-width: 20rem;
}

.do9-max-width-xs {
  max-width: 38rem;
}

.do9-max-width-sm {
  max-width: 48rem;
}



/* ///////////////////////// */
/* variables */
:root {
  /* colors */
  --dy0-color-primary-hsl: 250, 84%, 54%;
  --dy0-color-bg-hsl: 0, 0%, 100%;
  --dy0-color-contrast-high-hsl: 230, 7%, 23%;
  --dy0-color-contrast-higher-hsl: 230, 13%, 9%;
  --dy0-color-contrast-lower-hsl: 240, 4%, 85%;
  --dy0-color-contrast-medium-hsl: 225, 4%, 47%;
}

/* component */
.device-group-1 {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(10, 1fr);
}
.device-group-1 > * {
  position: relative;
  grid-row: 1/-1;
}
.device-group-1 > *:nth-child(1), .device-group-1 > *:nth-child(3) {
  z-index: 1;
}
.device-group-1 > *:nth-child(1) {
  grid-column: 1/5;
}
.device-group-1 > *:nth-child(2) {
  z-index: 2;
  grid-column: 4/8;
}
.device-group-1 > *:nth-child(3) {
  grid-column: 7/11;
}
.device-group-1 .dev-phone-3d-wrapper {
  -webkit-perspective: 1000px;
          perspective: 1000px;
}
.device-group-1 .dev-phone-3d-wrapper:first-child .dev-phone,
.device-group-1 .dev-phone-3d-wrapper:last-child .dev-phone {
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.device-group-1 .dev-phone-3d-wrapper:first-child .dev-phone {
  -webkit-transform: rotateY(30deg);
          transform: rotateY(30deg);
  -webkit-transform-origin: left center;
          transform-origin: left center;
}
.device-group-1 .dev-phone-3d-wrapper:last-child .dev-phone {
  -webkit-transform: rotateY(-30deg);
          transform: rotateY(-30deg);
  -webkit-transform-origin: right center;
          transform-origin: right center;
}
.device-group-1:hover .dev-phone-3d-wrapper:first-child .dev-phone {
  -webkit-transform: rotateY(20deg);
          transform: rotateY(20deg);
}
.device-group-1:hover .dev-phone-3d-wrapper:last-child .dev-phone {
  -webkit-transform: rotateY(-20deg);
          transform: rotateY(-20deg);
}

.device-group-2 {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(12, 1fr);
  padding-bottom: 2.5%;
}
.device-group-2 > * {
  position: relative;
  grid-row: 1/-1;
}
.device-group-2 .dev-phone {
  z-index: 2;
  grid-column: 1/4;
  bottom: -5%;
}
.device-group-2 .dev-laptop {
  z-index: 1;
  grid-column: 2/13;
}

.device-group-3 {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(12, 1fr);
  padding-bottom: 3.75%;
}
.device-group-3 > * {
  position: relative;
  grid-row: 1/-1;
}
.device-group-3 .dev-phone {
  z-index: 2;
  grid-column: 1/4;
  bottom: -5%;
}
.device-group-3 .dev-desktop {
  z-index: 1;
  grid-column: 2/13;
}

.device-group-4 {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(12, 1fr);
  padding-bottom: 2.75%;
}
.device-group-4 > * {
  position: relative;
  grid-row: 1/-1;
}
.device-group-4 .dev-phone {
  z-index: 2;
  grid-column: 1/3;
  bottom: -5%;
}
.device-group-4 .dev-desktop {
  z-index: 1;
  grid-column: 2/10;
}
.device-group-4 .dev-laptop {
  z-index: 2;
  bottom: -5%;
  grid-column: 6/13;
}

.spaca-sec {
    padding:  50px 0 !important;
}



/* //////////////////////////////////////////////////////// */
/* Device media containers maintain aspect ratio */
.dev-phone__media,
.dev-laptop__media {
  position: relative;
  min-height: 100px;
  overflow: hidden; /* This keeps the scaled image within bounds */
}

/* Placeholder backgrounds when no image */
.device-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsl(var(--dy0-color-contrast-lower-hsl));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.device-placeholder::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, 
    hsl(var(--dy0-color-contrast-medium-hsl)) 0%,
    hsl(var(--dy0-color-contrast-lower-hsl)) 100%);
  opacity: 0.3;
  clip-path: polygon(30% 40%, 70% 40%, 50% 70%);
}

/* Mobile placeholder aspect ratio */
.device-placeholder--mobile {
  aspect-ratio: 9 / 19.5;
}

/* Laptop placeholder aspect ratio */
.device-placeholder--laptop {
  aspect-ratio: 16 / 10;
}

/* Device images overlay on placeholder */
.device-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

/* When image loads, hide placeholder */
.device-image[src]:not([src=""]) ~ .device-placeholder {
  display: none;
}

/* Magnifying glass cursor for both laptop and mobile images */
.device-image--laptop,
.device-image--mobile {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

/* Hover effect - same for both mobile and laptop - NO opacity change */
.device-image--laptop:hover,
.device-image--mobile:hover {
  transform: scale(1.02);
}

/* Only show interactive cursor when image exists */
.device-image[style*="display: none"] ~ .device-placeholder {
  cursor: default;
}

/* Lightbox styles - lighter background */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Closing animation class */
.lightbox.closing {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.closing .lightbox__content {
  animation: zoomOut 0.4s ease forwards;
}

/* Modern close button */
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.lightbox__close:hover,
.lightbox__close:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
}

.lightbox__content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomIn 0.4s ease;
  cursor: zoom-out;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}

/* Zoom in animation when opening */
@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Zoom out animation when closing */
@keyframes zoomOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.7);
    opacity: 0;
  }
}

/* Focus styles for accessibility - visible without ruining design */
.device-image:focus {
  outline: none; /* Remove default outline */
}

/* Custom focus ring that follows the device shape */
.dev-phone__media:focus-within,
.dev-laptop__media:focus-within {
  position: relative;
}

.dev-phone__media:focus-within::after,
.dev-laptop__media:focus-within::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 3px solid;
  border-radius: inherit;
  pointer-events: none;
  z-index: 10;
  animation: focusPulse 2s ease-in-out infinite;
}
/* Remove focus outline after click (but keep it for keyboard navigation) */
.device-image:focus:not(:focus-visible) {
  outline: none;
}

.dev-phone__media:focus-within:not(:focus-visible)::after,
.dev-laptop__media:focus-within:not(:focus-visible)::after {
  display: none;
}

/* Only show focus when using keyboard, not mouse clicks */
.dev-phone__media:has(.device-image:focus:not(:focus-visible))::after,
.dev-laptop__media:has(.device-image:focus:not(:focus-visible))::after {
  display: none;
}

/* Subtle pulse animation for focus */
@keyframes focusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
  }
}

/* Make sure focus is visible but elegant */
.device-image:focus-visible {
  outline: none;
}

.dev-phone__media:has(.device-image:focus-visible)::after,
.dev-laptop__media:has(.device-image:focus-visible)::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 3px solid #4A90E2;
  border-radius: inherit;
  pointer-events: none;
  z-index: 10;
  animation: focusPulse 2s ease-in-out infinite;
}

/* Ensure images maintain their aspect ratio */
.dev-phone__media img {
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.dev-laptop__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .lightbox__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }
  
  .lightbox__close svg {
    width: 18px;
    height: 18px;
  }
}
/* 
------------ */
.sty-tecno-ul {
  
    margin-top: 20px;
}
/* --------------- */




/* Color Palette Bubbles */
.color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.color-swatch {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  /* Subtle border for visibility on both light and dark backgrounds */
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.3), 
    0 0 0 3px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hover and Focus states */
.color-swatch:hover,
.color-swatch:focus {
  transform: scale(1.15);
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.5), 
    0 0 0 3px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.2);
  outline: none;
}

/* Keyboard focus visible indicator */
.color-swatch:focus-visible {
  outline: 3px solid #4A90E2;
  outline-offset: 3px;
}

/* Active state */
.color-swatch:active {
  transform: scale(1.1);
}

/* Copied feedback animation - pulse then return to normal */
.color-swatch.copied {
  animation: copyPulse 0.5s ease;
}

@keyframes copyPulse {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.3);
    box-shadow: 
      0 0 0 3px rgba(16, 185, 129, 0.5), 
      0 0 0 5px rgba(16, 185, 129, 0.3),
      0 4px 16px rgba(16, 185, 129, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 
      0 0 0 2px rgba(255, 255, 255, 0.3), 
      0 0 0 3px rgba(0, 0, 0, 0.15),
      0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .color-swatch {
    width: 30px;
    height: 30px;
  }
}

/* same spacing reset as before if needed */
.sty-tecno-ul {
  margin: 0;
  padding: 0 !important;
    
}

/* make each item behave like the old blockquote */
.text-component .sty-tecno-ul .tecno-item {
  padding-left: 1em;
  border-left: 4px solid var(--color-contrast-low);
  margin-bottom: calc(var(--space-unit) * 0.9375 * var(--text-space-y-multiplier, 1));
  line-height: calc(var(--body-line-height) * var(--line-height-multiplier, 1));
}

/* small tweak so labels feel like headings */
.text-component .sty-tecno-ul .tecno-item strong {
  display: block;
  margin-bottom: 0.15rem;
}
.text-component .sty-tecno-ul .tecno-item strong {
  display: block;
  margin-bottom: -20px !important;
}

/* link to website */

/* variables */
:root {
  /* colors */
  --bp3-color-primary-hsl: 265, 65%, 60%; /* updated to match site purple */
  --bp3-color-bg-hsl: 0, 0%, 100%;
  --bp3-color-contrast-high-hsl: 230, 7%, 23%;
  --bp3-color-contrast-higher-hsl: 230, 13%, 9%;
  --bp3-color-white-hsl: 0, 0%, 100%;

  /* spacing */
  --bp3-space-2xs: 0.375rem;
  --bp3-space-xs: 0.5rem;
  --bp3-space-sm: 0.75rem;
  --bp3-space-md: 1.25rem;

  /* typography */
  --bp3-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --bp3-space-2xs: 0.5625rem;
    --bp3-space-xs: 0.75rem;
    --bp3-space-sm: 1.125rem;
    --bp3-space-md: 2rem;

    /* typography */
    --bp3-text-sm: 1rem;
  }
}

/* icons */
.bp3-icon {
  height: var(--bp3-size, 1em);
  width: var(--bp3-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

/* component */
.btn-fx-1 {
  --border-radius: 0.25em;
  --transition-duration: .3s;
  position: relative;
  display: inline-block;
  border-radius: var(--border-radius);
  line-height: 1;
  text-decoration: none;
  color: hsl(var(--bp3-color-primary-hsl));
  transition: var(--transition-duration);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
}
.btn-fx-1 span, .btn-fx-1 .btn-fx-1__icon-wrapper {
  position: relative;
  z-index: 2;
}
.btn-fx-1 .bp3-icon {
  display: block;
  will-change: transform;
  transition: var(--transition-duration);
}
.btn-fx-1 .bp3-icon:first-child {
  color: hsl(var(--bp3-color-primary-hsl));
}
.btn-fx-1 .bp3-icon:last-child {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  color: hsl(var(--bp3-color-white-hsl));
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
}
.btn-fx-1:hover {
  color: hsl(var(--bp3-color-white-hsl));
}
.btn-fx-1:hover .bp3-icon:first-child {
  opacity: 0;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}
.btn-fx-1:hover .bp3-icon:last-child {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.btn-fx-1:hover .btn-fx-1__inner::after {
  -webkit-transform: skewY(0deg) scaleY(2);
          transform: skewY(0deg) scaleY(2);
}
.btn-fx-1:focus {
  outline: none;
  box-shadow: 0 0 0 1px hsl(var(--bp3-color-bg-hsl)), 0 0 0 3px hsl(var(--bp3-color-primary-hsl));
}

.btn-fx-1__inner {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: hsla(var(--bp3-color-primary-hsl), 0.15);
  overflow: hidden;
  -webkit-clip-path: inset(0% 0% 0% 0% round var(--border-radius));
          clip-path: inset(0% 0% 0% 0% round var(--border-radius));
}
.btn-fx-1__inner::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 100%;
  background-color: hsl(var(--bp3-color-primary-hsl));
  -webkit-transform-origin: center bottom;
          transform-origin: center bottom;
  -webkit-transform: skewY(10deg) scaleY(0);
          transform: skewY(10deg) scaleY(0);
  transition: -webkit-transform var(--transition-duration);
  transition: transform var(--transition-duration);
  transition: transform var(--transition-duration), -webkit-transform var(--transition-duration);
}

.btn-fx-2 {
  position: relative;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn-fx-2 span {
  position: relative;
  display: inline-flex;
  -webkit-clip-path: inset(0%);
          clip-path: inset(0%);
}
.btn-fx-2 em {
  display: inline-flex;
}
.btn-fx-2 em * {
  color: hsl(var(--bp3-color-primary-hsl));
  padding: 0.25em 0;
  will-change: transform;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.btn-fx-2 em:last-child {
  position: absolute;
  top: 0;
  left: 0;
}
.btn-fx-2 em:last-child * {
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
}
.btn-fx-2::before, .btn-fx-2::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  left: 0;
  width: 100%;
}
.btn-fx-2::before {
  background-color: hsla(var(--bp3-color-primary-hsl), 0.2);
}
.btn-fx-2::after {
  background-color: hsl(var(--bp3-color-primary-hsl));
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  -webkit-transform-origin: right center;
          transform-origin: right center;
}
.btn-fx-2:hover em *:nth-child(2) {
  transition-delay: 0.05s;
}
.btn-fx-2:hover em *:nth-child(3) {
  transition-delay: 0.1s;
}
.btn-fx-2:hover em *:nth-child(4) {
  transition-delay: 0.15s;
}
.btn-fx-2:hover em *:nth-child(5) {
  transition-delay: 0.2s;
}
.btn-fx-2:hover em *:nth-child(6) {
  transition-delay: 0.25s;
}
.btn-fx-2:hover em *:nth-child(7) {
  transition-delay: 0.3s;
}
.btn-fx-2:hover em *:nth-child(8) {
  transition-delay: 0.35s;
}
.btn-fx-2:hover em *:nth-child(9) {
  transition-delay: 0.4s;
}
.btn-fx-2:hover em *:nth-child(10) {
  transition-delay: 0.45s;
}
.btn-fx-2:hover em:first-child * {
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}
.btn-fx-2:hover em:last-child * {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.btn-fx-2:hover::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
  -webkit-transform-origin: left center;
          transform-origin: left center;
}

.btn-fx-3 {
  --transition-duration: 0.3s;
  position: relative;
  display: inline-block;
  color: hsl(var(--bp3-color-bg-hsl));
  line-height: 1;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
  will-change: transform;
  transition: -webkit-transform var(--transition-duration);
  transition: transform var(--transition-duration);
  transition: transform var(--transition-duration), -webkit-transform var(--transition-duration);
}
.btn-fx-3 span {
  will-change: transform;
  transition: opacity var(--transition-duration), -webkit-transform var(--transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: opacity var(--transition-duration), transform var(--transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: opacity var(--transition-duration), transform var(--transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform var(--transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
}
.btn-fx-3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: hsl(var(--bp3-color-contrast-higher-hsl));
  border-radius: inherit;
  will-change: transform;
  transition: box-shadow var(--transition-duration), -webkit-transform var(--transition-duration) cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform var(--transition-duration) cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition-duration);
  transition: transform var(--transition-duration) cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition-duration), -webkit-transform var(--transition-duration) cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-fx-3:active {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}
.btn-fx-3:hover span {
  opacity: 0;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
}
.btn-fx-3:hover::before {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.btn-fx-3:hover .btn-fx-3__icon-wrapper {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.btn-fx-3:focus {
  outline: none;
}
.btn-fx-3:focus::before {
  box-shadow: 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1), 0 0 0 3px hsla(var(--bp3-color-contrast-higher-hsl), 0.15);
}

.btn-fx-3__inner {
  position: relative;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  -webkit-clip-path: inset(0%);
          clip-path: inset(0%);
}

.btn-fx-3__icon-wrapper {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  will-change: transform;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  transition: -webkit-transform var(--transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: transform var(--transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: transform var(--transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform var(--transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
}
.btn-fx-3__icon-wrapper .bp3-icon {
  margin: auto;
}

.btn-fx-4 {
  --transition-duration: .3s;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(var(--bp3-color-contrast-higher-hsl));
  box-shadow: 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  line-height: 1;
  text-decoration: none;
  color: hsl(var(--bp3-color-bg-hsl));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--transition-duration);
}
.btn-fx-4 span {
  position: relative;
  z-index: 2;
}
.btn-fx-4::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: hsla(var(--bp3-color-bg-hsl), 0.25);
  will-change: transform;
  -webkit-transform: skewX(-15deg) translate(calc(-100% - 0.5em));
          transform: skewX(-15deg) translate(calc(-100% - 0.5em));
  pointer-events: none;
}
.btn-fx-4:hover::before {
  -webkit-transform: skewX(-15deg) translate(calc(100% + 0.5em));
          transform: skewX(-15deg) translate(calc(100% + 0.5em));
  transition: -webkit-transform var(--transition-duration);
  transition: transform var(--transition-duration);
  transition: transform var(--transition-duration), -webkit-transform var(--transition-duration);
}
.btn-fx-4:focus {
  outline: none;
  box-shadow: 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1), 0 0 0 3px hsla(var(--bp3-color-contrast-higher-hsl), 0.15);
}

/* utility classes */
.bp3-margin-left-2xs {
  margin-left: var(--bp3-space-2xs);
}

.bp3-padding-x-sm {
  padding-left: var(--bp3-space-sm);
  padding-right: var(--bp3-space-sm);
}

.bp3-padding-y-xs {
  padding-top: var(--bp3-space-xs);
  padding-bottom: var(--bp3-space-xs);
}

.bp3-padding-x-md {
  padding-left: var(--bp3-space-md);
  padding-right: var(--bp3-space-md);
}

.bp3-radius-md {
  border-radius: 0.25em;
}

.bp3-text-sm {
  font-size: var(--bp3-text-sm);
}

/* Force white text on hover in dark mode */
[data-theme="dark"] .btn-fx-1:hover,
[data-theme="dark"] .btn-fx-1:hover span,
[data-theme="dark"] .btn-fx-1:hover .bp3-icon {
  color: #fff !important;
  fill: #fff !important;
  stroke: #fff !important;
}
/* .esign-link-btn .btn-fx-1__inner {
  background-color: hsla(
    var(--color-primary-h),
    var(--color-primary-s),
    var(--color-primary-l),
    0.2
  );

  font-weight: 400;

} */
.esign-link-btn {
  color: var(--color-primary-bula);
}
.btn-fx-1 .icon:first-child {
    color: var(--color-primary-bula);
}