.hero{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:60px;
  align-items:center;
}

.eyebrow{
  color:var(--accent2);
  margin-bottom:24px;
}

h1{
  font-family:var(--heading);
  font-size:clamp(3.5rem,7vw,7rem);
  line-height:.88;
  margin:0 0 26px;
}

h1 span{
  color:var(--accent);
  font-style:italic;
}

.copy{
  max-width:620px;
  color:var(--muted);
  line-height:1.8;
  font-size:1.08rem;
}

.buttons{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:34px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 24px;
  border-radius:var(--radius);
  text-decoration:none;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.primary{
  background:var(--accent);
  color:#10131a;
}

.secondary{
  border:1px solid rgba(255,255,255,.18);
  color:var(--text);
  background:rgba(255,255,255,.05);
}

.devices{
  position:relative;
  height:620px;
}

.device{
  position:absolute;
  background:#08090d;
  border:10px solid #08090d;
  box-shadow:0 35px 90px rgba(0,0,0,.45);
  overflow:hidden;
}

.desktop{
  width:590px;
  height:365px;
  border-radius:26px;
  left:0;
  top:40px;
  overflow:visible;
}

.desktop::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:-80px;
  width:130px;
  height:85px;
  background:linear-gradient(#222,#555);
  transform:translateX(-50%);
  clip-path:polygon(30% 0,70% 0,85% 100%,15% 100%);
  z-index:-1;
}

.desktop::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-92px;
  width:250px;
  height:14px;
  background:#333;
  border-radius:999px;
  transform:translateX(-50%);
  z-index:-2;
}

.tablet{
  width:235px;
  height:325px;
  border-radius:28px;
  right:105px;
  top:170px;
  z-index:3;
}

.phone{
  width:130px;
  height:248px;
  border-radius:34px;
  right:10px;
  top:245px;
  z-index:4;
}

.screen{
  width:100%;
  height:100%;
  background:#111;
  overflow:hidden;
}

.desktop .screen{
  border-radius:15px;
}

.website-preview{
  width:100%;
  height:100%;
  background-image:var(--preview-image);
  background-size:100% auto;
  background-position:var(--preview-position);
  background-repeat:no-repeat;
  background-color:#111;
}

.device-buttons{
  position:absolute;
  left:0;
  bottom:0;
  display:flex;
  gap:12px;
}

.live-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 18px;
  border-radius:var(--radius);
  text-decoration:none;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:var(--accent);
  color:#10131a;
}

.style-row{
  margin-top:70px;
  padding:28px;
  border-radius:28px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
}

.style-row h2{
  text-align:center;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--muted);
  margin-bottom:22px;
}

.tiles{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.tile{
  background:rgba(255,255,255,.06);
  color:white;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:18px;
  text-align:left;
  cursor:pointer;
}

.tile.active{
  border-color:var(--accent);
  box-shadow:0 0 0 1px var(--accent);
}

.tile strong{
  display:block;
  margin-bottom:6px;
}

.tile small{
  color:var(--muted);
}

@media(max-width:1100px){
  .hero{
    grid-template-columns:1fr;
  }

  .devices{
    transform:scale(.85);
    transform-origin:left top;
  }

  .tiles{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:700px){
  .devices{
    transform:scale(.55);
    transform-origin:left top;
    height:370px;
  }

  .buttons{
    flex-direction:column;
  }

  .tiles{
    grid-template-columns:1fr;
  }
}